Get price history (OHLCV)
get_ohlcvRead-onlyIdempotent
Historical candles for one symbol as compact columns [time, open, high, low, close, volume] plus summary statistics (period return, high/low, average volume, annualized volatility, max drawdown). Set summary_only=true when you only need the statistics. Intraday intervals (1m–1h) are limited to recent ranges (1m: 7 days, 5m–30m: 60 days, 1h: 2 years).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date YYYY-MM-DD (UTC), defaults to today | |
| limit | No | Maximum candles returned (most recent kept) | |
| range | No | Lookback window; ignored when start is given | 3mo |
| start | No | Start date YYYY-MM-DD (UTC) | |
| symbol | Yes | One symbol, e.g. 'NVDA', 'BTC', 'CL=F', '^GSPC' | |
| interval | No | 1d | |
| summary_only | No |