Options Payoff
workflow.run_options_payoffPayoff, P&L, and breakeven price for a single-leg Deribit BTC/ETH option (long or short call/put) at a given scenario price at expiry. Deribit BTC/ETH options are coin-settled: premium, P&L, and the max profit/loss caps come back denominated in the base coin (BTC/ETH), not USD; a scenarioPnlUsd convenience field converts the coin P&L back to USD at the scenario price. Coin settlement means a long call's upside is capped (max profit = 1 − premium per unit, not unlimited) while a long put's upside is technically unbounded as price falls toward zero, the mirror image of a USD-settled option's payoff shape, not a bug. Edge cases: strike, premium, quantity and scenarioPrice above zero; a coin premium for a call must be below 1. Not covered: early exercise, margin, fees, Greeks, the probability of profit and the value before expiry; the result is the payoff at expiry at one scenario price. Use when user asks "what does my BTC call/put pay off at price X?" or "where's my breakeven on this option?". Returns: intrinsicPerUnitCoin, scenarioPnlCoin, scenarioPnlUsd, breakevenPrice, maxLossCoin/maxProfitCoin (null = unbounded), isProfitable. With exchange "binance" (USDT-settled, flat payoff, premiumUsdt instead of premiumCoin) it returns the USDT equivalents: intrinsicPerUnitUsdt, scenarioPnlUsdt, breakevenPrice (K + premium for a call, K - premium for a put), maxLossUsdt/maxProfitUsdt (null = unbounded: a long call's profit is unlimited, a long put's best case is K - premium); USDT is not converted to USD.
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": {
"optionType": "<optionType>",
"position": "<position>",
"strike": "<strike>",
"quantity": "<quantity>",
"scenarioPrice": "<scenarioPrice>"
},
"name": "workflow.run_options_payoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strike | Yes | Strike price in USD | |
| currency | No | Underlying. Default BTC. XAU and XAG (gold, silver) only with exchange binance. | |
| exchange | No | Venue whose settlement rules apply. "deribit" (default): BTC/ETH, coin-settled, premium in the base coin. "binance": BTC/ETH/XAU/XAG, USDT-settled, flat payoff max(0, S-K) per unit, premium in USDT (use the *Usdt premium fields); the result carries exchange and settlement fields. | |
| position | Yes | Option position: "long" (bought) or "short" (sold) | |
| quantity | Yes | Number of contracts (Deribit BTC/ETH options have contract_size 1.0, so this is coin-denominated size) | |
| optionType | Yes | Option type: "call" or "put" | |
| premiumCoin | No | Deribit only. Premium paid/received per contract, in the base coin (matches Deribit's own quoted price, e.g. 0.02 BTC); must be < 1 for a call | |
| premiumUsdt | No | Binance only. Premium paid/received per unit, in USDT (e.g. 1500); must be < strike for a put | |
| scenarioPrice | Yes | Underlying price in USD to evaluate the payoff at |