Skip to main content
Glama

Optionscanner

Options profit calculator

profit_calculator
Read-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
NameRequiredDescriptionDefault
daysYesDays to expiration.
legsNoThe 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.
spotYesStock price in dollars.
iv_pctYesImplied volatility, percent per year (30 means 30 percent).
rate_pctNoInterest rate the model uses, percent per year. Default 4.
strategyNoA 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources