Compute multi-leg option strategy payoff
options-analytics_strategy-payoffCompute payoff and profit or loss of a multi-leg option and stock position at expiry and at a valuation date, with exact breakevens, maximum profit and loss, and unlimited-risk flags. Price $0.03 USDC. POST /api/v1/options-analytics/strategy-payoff. An unpaid call returns the x402 payment terms and does not run.
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": {
"spot": "<spot>",
"legs": "<legs>"
},
"name": "options-analytics_strategy-payoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | grid, object. Optional. | |
| legs | Yes | legs, array. Required. | |
| rate | No | rate, number, from -0.2 to 1. Required. | |
| spot | Yes | spot, number. Required. | |
| multiplier | No | multiplier, number. Required. | |
| dividendYield | No | dividendYield, number, from -0.2 to 1. Required. | |
| valuationTimeYears | No | valuationTimeYears, value. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | grid. Array. | |
| model | No | model. String. | |
| maxLoss | No | maxLoss. Number. | |
| sources | No | sources. Array. | |
| maxProfit | No | maxProfit. Number. | |
| breakevens | No | breakevens. Array. | |
| inputsUsed | No | inputsUsed. Object. | |
| netPremium | No | netPremium. Number. | |
| limitations | No | limitations. Array. | |
| unlimitedLoss | No | unlimitedLoss. Boolean. | |
| unlimitedProfit | No | unlimitedProfit. Boolean. |