Options P/L before expiry (model estimate)
options_pnl_before_expiryBlack-Scholes model estimate of a position's P/L a given number of days from now at a given underlying price, for up to 8 legs. Each option leg needs its days to expiry and volatility. The interest rate and dividend yield must be supplied; nothing is built in.
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": {
"legs": "<legs>",
"underlying_price": "<underlying_price>",
"days_from_now": "<days_from_now>",
"rate_pct": "<rate_pct>",
"dividend_yield_pct": "<dividend_yield_pct>"
},
"name": "options_pnl_before_expiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | ||
| rate_pct | Yes | Interest rate per year in percent, continuously compounded (0 is allowed). | |
| days_from_now | Yes | Calendar days from now; not after any leg's expiry. | |
| underlying_price | Yes | Underlying price in dollars at which to value the position. | |
| dividend_yield_pct | Yes | Dividend yield per year in percent, continuous (0 is allowed). |