Probability of profit
POST/api/v1/pop
Probability of profit, breakevens, and max profit and loss for any position: up to 8 option legs plus stock.
Probability of profit uses a lognormal model of the stock price with the 30-day implied volatility. Money values are dollars for the whole position (100 shares per contract).
Request body
symbolstringoptional- Ticker, e.g.
AAPL. Needed to fill in any price, IV or stock price you leave out. legsarrayrequired- Up to 8 option legs and 1 stock leg.
Each leg is an object:
type:call,putorstockaction:buyorsellquantity: contracts (100 shares each), or shares for a stock leg. Default 1, up to 1,000,000.strikeandexpiry(YYYY-MM-DD): required for calls and putsprice: per share. Optional: left out, the current market price is used.iv: implied volatility as a whole percent (e.g.28.5). Optional: worked out from the price.
underlyingPricenumberoptional- Stock price to use. Default: the current price.
iv30numberoptional- 30-day implied volatility, whole percent, used for the probability. Default: the stock's IV30.
Response
The fields in data. See requests and responses for the envelope and errors.
probabilityOfProfitnumber- Chance (0 to 1) of making at least $0.01 at the earliest expiry.
probabilityOf50PctMaxProfitnumber- Chance of reaching half the max profit. Also
probabilityOf75PctMaxProfitandprobabilityOfMaxProfit. breakevensarray- Stock prices where the position breaks even at expiry, each with
profitWhen(above,beloworflat). maxProfit, maxLossnumber- Dollars for the whole position.
maxProfitUnlimitedandmaxLossUnlimitedsay when there is no limit. netCostnumber- What the position costs to open, in dollars. Negative for a credit.
collateralnumber|null- Estimated margin for naked short options, in dollars.
underlyingPrice, volatilityUsednumber- The stock price and the IV the probability used.
evaluatedAtstring- The date the probability is for: the earliest expiry.
legsarray- Your legs with the prices and IVs used.
calculatorUrlstring|null- Opens the same position in the calculator, at the same prices. Null when the calculator can't open it from a link.