V3_INDEX_SNAPSHOT_OHLC()
StandardPro
- Retrieves the real-time current day OHLC.
- Exchanges typically generate a price report every second for popular indices like SPX.
Example
=THETADATA.V3_INDEX_SNAPSHOT_OHLC("SPX", "")Parameters
symbolRequired -
The stock or index symbol, or underlying symbol for options. Specify '*' for all symbols or a comma separated list when appropriate.
Type: string
Behavior: Required.
min_time -
Filters snapshots to include only data with a timestamp greater or equal to the specified value (HH:mm:ss.SSS format).
Type: string
Behavior: Optional.
Returns
A grid (string[][]) - a header row followed by one row per result. See the REST API reference for the full response schema.