Black-Scholes value and Greeks
black_scholesBlack-Scholes model value of one European-style call or put per share and per 100-share contract, with delta, gamma, theta per calendar day, vega per volatility point and rho per rate point. All inputs, including the interest rate and dividend yield, must be supplied.
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": {
"option_type": "<option_type>",
"underlying_price": "<underlying_price>",
"strike": "<strike>",
"days_to_expiry": "<days_to_expiry>",
"volatility_pct": "<volatility_pct>",
"rate_pct": "<rate_pct>",
"dividend_yield_pct": "<dividend_yield_pct>"
},
"name": "black_scholes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strike | Yes | Strike in dollars. | |
| rate_pct | Yes | Interest rate per year in percent (0 is allowed). | |
| option_type | Yes | ||
| days_to_expiry | Yes | Calendar days to expiry (above zero). | |
| volatility_pct | Yes | Volatility per year in percent, for example 30. | |
| underlying_price | Yes | Underlying price in dollars. | |
| dividend_yield_pct | Yes | Dividend yield per year in percent (0 is allowed). |