Skip to content
Fourohtwo

Payoff of any option strategy from its legs

saylorinnovations.com/api/options/strategy-payoff

Payoff of any option strategy from its legs - max profit, max loss, breakeven prices, net debit or credit and a payoff table at expiry for spreads and condors

SolanaAnswering
GEThttps://saylorinnovations.com/api/options/strategy-payoff

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/options/strategy-payoff?legs=%5B%7B%22type%22%3A%22call%22%2C%22strike%22%3A100%2C%22premium%22%3A5%2C%22qty%22%3A1%7D%2C%7B%22type%22%3A%22call%22%2C%22strike%22%3A110%2C%22premium%22%3A2%2C%22qty%22%3A-1%7D%5D"

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "legs": "[{\"type\":\"call\",\"strike\":100,\"premium\":5,\"qty\":1},{\"type\":\"call\",\"strike\":110,\"premium\":2,\"qty\":-1}]"
}

More from Saylor Innovations Data Desk