stock_history_ohlc
Fetch historical OHLC bar data for any stock, with configurable intervals and date ranges. Supports up to one month per request.
Instructions
[VALUE] Historical OHLC bars for a stock. Max 1 month per request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The date to fetch data for. If present, this overrides start_date and end_date. | |
| venue | No | Used to specify the venue of the real time or historic request. ``nqb`` = Nasdaq Basic; ``utp_cta`` = merged UTP & CTA. | nqb |
| 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 |