Price and yield history
ifb_historyRetrieve daily OHLC price and volume history for a single Iran Fara Bourse instrument by ID or symbol, with yield-to-maturity for bonds and treasury bills, newest first.
Instructions
Get daily price history of one instrument: first, high, low and closing price and volume per trading day, newest first.
Bonds and treasury bills also get ytm_pct per day. Days with no trade are absent.
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": {
"instrument": "<instrument>"
},
"name": "ifb_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Latest trading days (1-250). | |
| instrument | Yes | Id from ifb_search or ifb_yields (e.g. 33314) or an exact symbol (e.g. فرابورس1). |