Skip to content

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 .awaitResult<Vec<String>, Error>.

Example

rust
let rows = tdx.index_list_dates("SPX").await?;
for value in &rows {
    println!("{value}");
}

Parameters

NameTypeRequiredDefaultDescription
symbolstringyesTicker symbol (e.g. AAPL)
timeout_msintnoPer-request deadline in milliseconds. 0 means no deadline.

Response

A list of strings — one date value per row.

Released under the Apache-2.0 License.