get_price_history
Retrieve OHLCV price candles and period summary for a ticker, with optional interval, date range, and extended hours, to analyze trends and performance.
Instructions
OHLCV candles plus a summary (change, % change, high/low, average volume) for a period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Lookback window, ignored when start_date is set. | 1M |
| symbol | Yes | Ticker, e.g. "AAPL" or "$SPX". | |
| end_date | No | YYYY-MM-DD (default today). | |
| interval | No | Candle size. Minute candles only work with day periods (1D-10D) or with start_date. Default picks a sensible size. | |
| start_date | No | YYYY-MM-DD; overrides `period`. | |
| max_candles | No | Return only the most recent N candles; the summary always covers the full range. | |
| extended_hours | No | Include pre/post-market candles (intraday). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||