get_price_history
Retrieve daily OHLCV history for a Tehran Stock Exchange symbol. Supports full history or a specified number of days, with optional CSV export for large datasets.
Instructions
Daily OHLCV history for one symbol (raw / unadjusted), newest last.
days<=0 means the full available history. Large pulls (or save_csv=True) are written to a CSV file and the response returns {file_path, summary, sample} instead of every row, to protect the context window. Prices in Rial.
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": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| symbol | Yes | ||
| save_csv | No |