get_historical_prices
Retrieve historical OHLCV price data for any financial symbol. Choose a preset period or define custom start/end dates with adjustable interval granularity.
Instructions
Get historical OHLCV price data for a symbol.
Provide either period (e.g. "1y") OR an explicit start/end date range
("YYYY-MM-DD"); if start/end are given they take precedence over period.
interval controls granularity — intraday intervals (1m..1h) are only
available for recent ranges (Yahoo limits ~7-60 days). Returns a dict keyed
by ISO timestamp with Open/High/Low/Close/Volume (and Dividends/Splits when
actions is true). history_metadata includes timezone & instrument info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| period | No | 1mo | |
| symbol | Yes | ||
| actions | No | ||
| prepost | No | ||
| interval | No | 1d | |
| auto_adjust | No |