option_history_ohlc
Fetch historical OHLC bars for option contracts, with customizable intervals, expiration dates, and strike ranges. Supports up to one month of data per request.
Instructions
[VALUE] Historical OHLC bars for options. 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. | |
| right | No | The right (call or put) of the contract. | both |
| strike | No | The strike price of the contract in dollars (ie `100.00` for `$100.00`), or `*` for all strikes. | * |
| 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 |
| expiration | Yes | The expiration of the contract in `YYYY-MM-DD` or `YYYYMMDD` format. | |
| start_date | No | The start date (inclusive). | |
| start_time | No | The start time (inclusive) in the specified day. | 09:30:00 |
| strike_range | No | Used to specify a filter to limit the number of contracts returned relative to the underlying's spot price. Will return the specified number of strikes above and below the spot price, as well as the at-the-money strike. |