API Documentation

⌘K
POST/api/1/derivatives/options/strategy

Strategy Analysis

Analyze a multi-leg options strategy. Returns net debit/credit, max profit/loss, breakeven points, payoff curve, and aggregate Greeks.

Request Body

required
application/json
object
identifierstring

Underlying security identifier

legsarray
Array of:
object
typestring
Allowed values:
callput
strikenumber
expirationstring
quantitynumber
sidestring
Allowed values:
buysell

Responses

Was this helpful?
Request
curl -X POST \
  'https://api.eulerpool.com/api/1/derivatives/options/strategy' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json'
200 Response
{
  "netDebit": 0,
  "maxProfit": 0,
  "maxLoss": 0,
  "breakeven": [],
  "payoffCurve": {
    "prices": [],
    "payoff": []
  },
  "greeksNet": {
    "delta": 0,
    "gamma": 0,
    "theta": 0,
    "vega": 0,
    "rho": 0
  }
}