Price and yield history
ifb_historyRetrieve daily open, high, low, close, volume and bond yield-to-maturity data for one instrument to analyze price trends over up to 250 trading days.
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, the yield to maturity on that day. Use it for trends ("how has
اخزا301 moved this month"). Days with no trade are absent. For today's price use ifb_quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many of the latest trading days to return (1-250). | |
| instrument | Yes | Instrument id from ifb_search or ifb_yields (digits, e.g. 33314) or an exact trading symbol (e.g. فرابورس1). |