calculate_greeks
Compute option Greeks (Delta, Gamma, Theta, Vega, Rho) for Indian stock options using Black-Scholes with inputs for spot price, strike price, time to expiry, and optional volatility and risk-free rate.
Instructions
Calculate option Greeks (Delta, Gamma, Theta, Vega, Rho) using Black-Scholes. T = time in years to expiry.
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": {
"S": "<S>",
"K": "<K>",
"T": "<T>"
},
"name": "calculate_greeks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| K | Yes | ||
| S | Yes | ||
| T | Yes | ||
| r | No | ||
| sigma | No | ||
| option_type | No | call |