Index card and index history
br_indexFetch a Tehran Stock Exchange index quote and optional daily history for a chosen ISIN using Mofid or Agah sources, with optional member symbol lists.
Instructions
Show a market index (Mofid: market cap, free float, ratios, intraday move, members) and its daily history.
Without days only Mofid answers. With days, Mofid adds daily candles and Agah its total-index series. Next:
br_industries for sector indices, br_market for today's snapshot.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "br_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Add this many days of daily history (0 = none). | |
| index | No | Index ISIN: IREXOVERALLINDEX (overall), IRX6XTPI0006 (TEDPIX), IRXZXOCI0006 (Fara-bourse), or one from br_search kind='index'. Agah history: total index only. | IREXOVERALLINDEX |
| source | No | mofid, agah or all; each answers in its own block. | all |
| members | No | Mofid: list this many member symbols (0 = none). |