Python function:
getOHLCV()Product Overview
Overview
Index OHLCV provides standardized Open, High, Low, Close, and Volume bars for major market indices. Tickers use theI: prefix convention (e.g., I:SPX for the S&P 500, I:DJI for the Dow Jones Industrial Average). The legacy ^ prefix (e.g., ^SPX) is also accepted.
Index values are computed from their constituent securities and disseminated by the index provider or exchange. Scalar Field aggregates tick-level index values into OHLCV bars at the requested granularity.
Data Pipeline
Index data is sourced from consolidated exchange feeds that disseminate real-time index values:- Tick-level collection: Raw index values are captured at tick granularity as they are published by the exchanges.
- Bar aggregation: Tick data is aggregated into OHLCV bars at the requested timeframe (daily, hourly, or minute). Each bar captures the open (first tick), high (maximum), low (minimum), close (last tick), and a transaction count where applicable.
- Snapshot data: Real-time snapshots provide the current index value, session high/low, open/close, and change metrics.
Coverage
- Major U.S. indices: S&P 500 (
I:SPX), Dow Jones Industrial Average (I:DJI), NASDAQ Composite (I:COMP), Russell 2000 (I:RUT), VIX (I:VIX), and many more. - Sector and thematic indices: Technology, healthcare, energy, and other sector-specific indices.
- Daily history: Extensive historical data varying by index.
- Intraday: Minute and hourly bars available during market hours.
Supported Modes
Ticker Convention
Indices use theI: prefix. Legacy ^ prefix is also accepted and automatically translated.