calculate_iv
Compute implied volatility for Indian options from market price, spot, strike, expiry, and type using the Newton-Raphson method.
Instructions
Calculate Implied Volatility from the market price of an option using Newton-Raphson method.
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": {
"market_price": "<market_price>",
"spot": "<spot>",
"strike": "<strike>",
"expiry_days": "<expiry_days>",
"type": "<type>"
},
"name": "calculate_iv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | Risk-free rate % (default: 7) | |
| spot | Yes | Underlying spot price | |
| type | Yes | Option type | |
| strike | Yes | Strike price | |
| expiry_days | Yes | Days to expiry | |
| market_price | Yes | Current market premium of the option |