index_history_ohlc
Retrieve historical OHLC bars for an index symbol over a specified date range and interval. Specify symbol, start/end dates, and interval to get open, high, low, and close data.
Instructions
[STANDARD] Historical OHLC bars for an index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The stock or index symbol, or underlying symbol for options. | |
| end_date | No | The end date (inclusive). | |
| end_time | No | The end time (inclusive) in the specified day. | 16:00:00 |
| interval | Yes | The size of the time interval must be one of the available options listed below. Intervals less than 1m are available only for single-day requests. | 1s |
| start_date | No | The start date (inclusive). | |
| start_time | No | The start time (inclusive) in the specified day. | 09:30:00 |