option_chain
Retrieve Tehran derivatives option chains by underlying and expiry, showing strikes with call/put prices, volume, open interest, and computed moneyness, intrinsic/time value, ratios, and max pain.
Instructions
Option chain (اختیار معامله) of the Tehran derivatives market: for an underlying ('اهرم', 'شستا', 'وبملت' ...) and expiry, every strike with its call (خرید) and put (فروش) leg - last/close price, bid/ask, volume, value, open interest, change % - plus derived (computed, not published) moneyness ITM/OTM, intrinsic and time value, break-even, bid-ask spread, put/call ratios, top open-interest strikes and an estimated max pain. Omit underlying to list the underlyings that have options. Prices are rial per underlying unit, one contract = contract_size units; legs with no trade today show no price; open interest is the clearing house's daily figure.
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": "option_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Chain: maximum strike rows over all expiries (default 15; the strikes nearest the underlying's price, or the top by sort_by, are kept). Underlyings list: maximum underlyings (default 30). (max 60) | |
| expiry | No | 'nearest' (default), 'all', or one expiry date: Gregorian 2026-11-18 or Jalali 1405/08/27. | |
| market | No | 'bourse' or 'fara' (Fara Bourse). Omit for both where applicable. | |
| sort_by | No | Chain: strike (default), distance (from the underlying's price), volume, open_interest, value. Underlyings list: open_interest (default), volume, value, name, expiry. | |
| moneyness | No | 'itm' (in the money), 'otm' or 'atm' (the strike nearest the underlying's price). Applies to each leg: an ITM call at 50,000 pairs with an OTM put. | |
| min_volume | No | Only legs with at least this many contracts traded today | |
| underlying | No | Underlying symbol or fragment, e.g. 'اهرم', 'شستا', 'وبملت', 'شپنا' (or one of its option symbols such as 'ضهرم8029'). Omit to list the underlyings that have options, with expiries, open interest and volume. | |
| option_type | No | 'call' (خرید), 'put' (فروش) or omit for both | |
| min_open_interest | No | Only legs with at least this many open contracts | |
| strike_window_pct | No | Only strikes within this percent of the underlying's price, e.g. 10 |