price_history
Retrieve OHLCV price history for Iranian bourse symbols as daily, weekly, monthly, or yearly bars; optionally back-adjust for capital increases and dividends to analyze long-term performance.
Instructions
OHLCV price history since listing (تاریخچه قیمت), daily or aggregated to weekly/monthly/yearly bars, optionally back-adjusted for capital increases and dividends. For long ranges prefer granularity='monthly' or 'yearly' over thousands of daily rows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Newest rows to return (max 5000). 250 daily rows is about 70 KB; for long ranges use granularity instead of a big limit | |
| symbol | Yes | Persian symbol such as 'فولاد', or an insCode | |
| to_date | No | Range bound: Gregorian 2026-11-03 / 20261103 or Jalali 1405/08/12. Omit for no bound. | |
| adjusted | No | Back-adjust for capital increases/dividends (تعدیل شده) | |
| from_date | No | Range bound: Gregorian 2026-11-03 / 20261103 or Jalali 1405/08/12. Omit for no bound. | |
| granularity | No | 'daily' (default), 'weekly' (Saturday-start), 'monthly' or 'yearly' (Jalali) bars: open/high/low/close, summed volume and value, change % per period | daily |