Skip to content

option_list_roots

FreeValueStandardPro

List all available option underlying symbols (roots). Use this to discover which tickers have option chains available in ThetaData.

Code Example

rust
let symbols: Vec<String> = tdx.option_list_symbols().await?;
println!("{} option roots available", symbols.len());
python
symbols = tdx.option_list_symbols()
print(f"{len(symbols)} option roots available")
go
symbols, err := client.OptionListSymbols()
if err != nil {
    log.Fatal(err)
}
fmt.Printf("%d option roots available\n", len(symbols))
cpp
auto symbols = client.option_list_symbols();

Parameters

None.

Response

(list)string[]
Underlying ticker symbols with available option chains

Notes

  • Returns all underlying symbols, not individual contracts. Use option_list_expirations and option_list_strikes to drill into a specific chain.
  • The Rust SDK method is option_list_symbols; "roots" refers to the underlying concept in ThetaData's API.

Released under the GPL-3.0-or-later License.