Options profit calculator
profit_calculatorRead-onlyIdempotent
Price any options trade with up to eight legs: maximum profit and loss, breakevens, net credit or debit, the model's chance of profit at expiration and the expected move. Pass a strategy name (for example iron_condor or bull_put_spread) to build standard legs from the stock price, or pass the legs yourself with strikes and prices. Ask it for the max loss on a spread, the breakeven on a straddle, or the chance a condor finishes profitable. Returns a link that opens the same trade in the Optionscanner calculator.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Days to expiration. | |
| legs | No | The legs of the trade, up to eight. Each has a side (buy or sell), a type (call, put or stock), a strike for options, a quantity, and optionally the price per share paid or received; a missing price is estimated from the implied volatility. | |
| spot | Yes | Stock price in dollars. | |
| iv_pct | Yes | Implied volatility, percent per year (30 means 30 percent). | |
| rate_pct | No | Interest rate the model uses, percent per year. Default 4. | |
| strategy | No | A standard structure built from the stock price: long_call, long_put, covered_call, cash_secured_put, bull_call_spread, bear_put_spread, bull_put_spread, bear_call_spread, iron_condor, long_straddle, long_strangle. Omit when passing legs. |