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