historical-prices
Retrieve historical OHLCV bars for stock symbols or OCC option contracts over a specified date range with daily, weekly, or monthly intervals.
Instructions
Historical OHLCV bars for a stock symbol or OCC option contract over a time range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End date in YYYY-MM-DD | |
| start | Yes | Start date in YYYY-MM-DD | |
| symbol | Yes | Stock symbol or OCC option contract (e.g. AAPL or AAPL250117C00150000). Use longer intervals for longer ranges. | |
| interval | No | Bar interval | daily |
| session_filter | No | Include extended-hours bars (all) or regular sessions only (open). Applies only to Tradier; Alpaca ignores this. | all |