calculate_iv
Calculate implied volatility from an option's market price using Newton-Raphson. Requires underlying price, strike, time to expiry, and market price.
Instructions
Calculate Implied Volatility from market price using Newton-Raphson.
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>",
"S": "<S>",
"K": "<K>",
"T": "<T>"
},
"name": "calculate_iv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| K | Yes | ||
| S | Yes | ||
| T | Yes | ||
| r | No | ||
| option_type | No | call | |
| market_price | Yes |