Skip to content

index_snapshot_ohlc()

StandardPro
  • Retrieves the real-time current day OHLC.
  • Exchanges typically generate a price report every second for popular indices like 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: List[str]
min_time  -

Filters snapshots to include only data with a timestamp greater or equal to the specified value (HH:mm:ss.SSS format).

Type: datetime.time

Sample Code

py

Response

Returns OHLC for a given index price change

array of: