calculate_option_price
Computes theoretical option price using Black-Scholes model for Indian options from spot, strike, expiry days, implied volatility, and option type (CE/PE).
Instructions
Calculate theoretical option price using Black-Scholes model.
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": {
"spot": "<spot>",
"strike": "<strike>",
"expiry_days": "<expiry_days>",
"iv": "<iv>",
"type": "<type>"
},
"name": "calculate_option_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iv | Yes | IV as percentage | |
| rate | No | Risk-free rate % (default: 7) | |
| spot | Yes | Underlying price | |
| type | Yes | Option type | |
| strike | Yes | Strike price | |
| expiry_days | Yes | Days to expiry |