calculate_option_price
Calculate theoretical option prices using the Black-Scholes model with spot price, strike price, time to expiry, risk-free rate, volatility, and option type.
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": {
"S": "<S>",
"K": "<K>",
"T": "<T>"
},
"name": "calculate_option_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| K | Yes | ||
| S | Yes | ||
| T | Yes | ||
| r | No | ||
| sigma | No | ||
| option_type | No | call |