calculate_greeks
Calculates all option Greeks—Delta, Gamma, Theta, Vega, and Rho—for Indian options using the Black-Scholes model, helping assess price sensitivity and risk.
Instructions
Calculate all Option Greeks (Delta, Gamma, Theta, Vega, Rho) for a given option 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_greeks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iv | Yes | Implied Volatility as percentage, e.g. 15 for 15% | |
| rate | No | Risk-free rate in % (default: 7% for India) | |
| spot | Yes | Current underlying price | |
| type | Yes | Option type: CE (Call) or PE (Put) | |
| strike | Yes | Option strike price | |
| expiry_days | Yes | Days to expiry |