IV rank and percentile
iv_rankMeasure where an Indian F&O underlying's current at-the-money implied volatility sits within its historical range using rank and percentile, helping assess whether options are cheap or expensive.
Instructions
IV rank and IV percentile for an Indian F&O underlying: where today's at-the-money implied volatility sits against its own history (default one year). Rank = position between the period low and high (0-100); percentile = share of sessions with lower IV. History comes from official NSE F&O bhavcopies, measured the same way every day (nearest expiry at least 7 days out, ATM call/put average). For NIFTY it also ranks India VIX. The first call for a long lookback downloads many files and may return partial coverage; calling again continues.
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": {
"symbol": "<symbol>"
},
"name": "iv_rank"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Underlying, e.g. NIFTY, BANKNIFTY, RELIANCE | |
| lookback_days | No | Trading sessions of history (default 252 ≈ 1 year) |