calculate_option_payoff
Calculate option payoff, profit/loss, and breakeven at expiry for long or short call/put positions based on strike, premium, and spot price.
Instructions
Payoff, profit/loss and breakeven of an option leg at expiry. Use for 'if I buy/sell a call/put at strike X for premium Y, what is my P&L if the stock ends at Z', options breakeven, max profit/loss questions. option_type: call|put. position: long|short.
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>",
"position": "<position>",
"strike": "<strike>",
"premium": "<premium>",
"spot_at_expiry": "<spot_at_expiry>"
},
"name": "calculate_option_payoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strike | Yes | ||
| premium | Yes | ||
| position | Yes | ||
| option_type | Yes | ||
| spot_at_expiry | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |