strategy_payoff
Calculate expiry payoff and probability for multi-leg option strategies using legs, spot, days to expiry, and implied volatility.
Instructions
Payoff analysis for a multi-leg option strategy at expiry.
Args: legs: list of {strike, right ('C'/'P'), qty (+ long / - short), premium, lot_size?} spot: current underlying price t_days: calendar days to expiry iv: annualized IV for probability estimate (decimal) lot_size: shares per contract (e.g. 6750 for CANBK), or use per-leg lot_size
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>",
"spot": "<spot>"
},
"name": "strategy_payoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iv | No | ||
| legs | Yes | ||
| spot | Yes | ||
| t_days | No | ||
| lot_size | No |