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. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strike | Yes | Strike price in USD | |
| currency | No | Underlying coin. Default BTC. | |
| position | Yes | ||
| quantity | Yes | Number of contracts (Deribit BTC/ETH options have contract_size 1.0, so this is coin-denominated size) | |
| optionType | Yes | ||
| premiumCoin | Yes | 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 | |
| scenarioPrice | Yes | Underlying price in USD to evaluate the payoff at |