← Back to directory

Compute payoff and profit or loss of a multi-leg option and stock position at ex...

https://www.brainiac.software/api/v1/options-analytics/strategy-payoff

Overview

Compute 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. Docs: https://www.brainiac.software/api/options-analytics/strategy-payoff

Protocol x402 (POST)
Price $0.03
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Multi-leg Option Strategy Payoff
Source bazaar
Indexed 2026-11-24 19:01:01

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "dividendYield": 0, "grid": { "from": 80, "step": 1, "to": 120 }, "legs": [ { "kind": "option", "premium": 5.47, "qty": 1, "sigma": 0.25, "strike": 100, "timeYears": 0.25, "type": "call" }, { "kind": "option", "premium": 1.92, "qty": -1, "sigma": 0.25, "strike": 110, "timeYears": 0.25, "type": "call" } ], "multiplier": 100, "rate": 0.04, "spot": 100, "valuationTimeYears": 0 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "breakevens": [ 103.55 ], "grid": [ { "pnlAtExpiry": -355, "pnlAtValuation": -337.518626, "spot": 80 }, { "pnlAtExpiry": -355, "pnlAtValuation": -332.879352, "spot": 81 } ], "inputsUsed": { "dividendYield": 0, "frontExpiryYears": 0.25, "legCount": 2, "multiplier": 100, "rate": 0.04, "spot": 100, "valuationTimeYears": 0 }, "limitations": [ "Expiry P/L = Σ (leg value − premium) × qty × multiplier. Option legs use the multiplier (default 100); stock legs are per share and ignore it. A negative qty", "Breakevens and max profit/loss are exact on the piecewise-linear expiry payoff, evaluated at spot 0, each strike and the slope as spot → ∞. Unlimited sides" ], "maxLoss": -355, "maxProfit": 645, "model": "intrinsic at expiry", "netPremium": -355, "sources": [ { "retrievedAt": "2026-11-14", "source": "Black-Scholes-Merton model (Black and Scholes 1973, Merton 1973); formulas as in Hull, Options, Futures and Other Derivatives", "status": "ok", "url": "https://en.wikipedia.org/wiki/Black%E2%80%93Scholes_model" } ], "unlimitedLoss": false, "unlimitedProfit": false }, "type": "json" }