get_price_history
Retrieve historical OHLCV bars plus earnings, dividends, and splits for a ticker across configurable timeframes and date ranges to support charting, backtesting, and event lookup.
Instructions
Historical OHLCV time-series bars and corporate event calendar for a single ticker: returns open, high, low, close, volume and period return across configurable timeframes (1m, 5m, 15m, 30m, 1h, 1d, 1wk, 1mo) and date ranges (from, to), plus optional earnings calendar (upcoming and historical EPS estimates vs actuals), dividends and stock splits. Use for historical charts, backtesting and corporate event lookup; for the current spot tick only, use get_quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional end date in YYYY-MM-DD format | |
| from | No | Optional start date in YYYY-MM-DD format | |
| limit | No | Maximum number of most recent bars to return, 1-250 (default 30) | |
| symbol | Yes | Ticker in standard market notation, e.g. AAPL, BRK-B, BTC-USD, EURUSD=X | |
| resolution | No | Bar timeframe: 1m, 5m, 15m, 30m, 1h, 1d (default), 1wk or 1mo | |
| include_events | No | Include quarterly earnings calendar (EPS estimate vs actual), dividend ex-dates and stock splits alongside the OHLCV series |