Strikes
FreeValueStandardPro
List available strike prices for an option at a given expiration.
Lists all strikes that are available for an option with a given symbol and expiration date. This endpoint is updated overnight.
rust
pub fn option_list_strikes(&self, symbol: &str, expiration: &str) -> OptionListStrikesBuilder<'_>Execute with .await → Result<Vec<String>, Error>.
Example
rust
let rows = tdx.option_list_strikes("SPY", "20250321").await?;
for value in &rows {
println!("{value}");
}Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | yes | — | Ticker symbol (e.g. AAPL) |
expiration | date | yes | — | Expiration date YYYYMMDD |
timeout_ms | int | no | — | Per-request deadline in milliseconds. 0 means no deadline. |
Response
A list of strings — one strike value per row.