get_historical
Retrieve historical OHLCV prices for a Saudi stock by specifying symbol, date range, and interval.
Instructions
Get historical OHLCV price data for a Saudi stock over a date range. Use this when the user asks for past prices, price trends, or chart-style historical data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Requires exact exchange symbol. If the user provides a company name, first use companies_list. If a previous tool result included resolved_instrument.symbol, reuse that symbol. Example: '1120'. | |
| from_date | No | Start date in YYYY-MM-DD format (default: 30 days ago) | |
| to_date | No | End date in YYYY-MM-DD format (default: today) | |
| interval | No | '1d' for daily, '1w' for weekly, '1m' for monthly, '30m' for 30-minute, or '60m' for 60-minute bars (default: '1d') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||