Index history
ifb_index_historyRetrieve daily history and percentage changes for a selected Fara Bourse index, with adjustable range and step for trend analysis.
Instructions
Get the daily history of a Fara Bourse index since 2009, with change over a day, week, month and year.
latest is the newest value; changes_pct compares it with 1, 5, 21 and 250 trading days before; points
are newest first. Long trend: days=2000, step="monthly".
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": "ifb_index_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Latest trading days (1-5000; all history is about 4,100). | |
| step | No | Every day, 5th or 21st trading day (long ranges). | daily |
| index | No | total = شاخص کل; equal_weight = total equal-weight; price = price index; equal_weight_price; sukuk = weighted sukuk index. | total |