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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| symbol | Yes | ||
| save_csv | No |