Strategies
Multi-leg option positions: payoff, break-evens, scenarios and a named strategy catalogue.
Compose positions from legs, or start from one of the named presets, then ask the position for its expiration payoff, scenario table, Greeks or a classification. scanStrategies and optimizeStrategy search a chain for candidates under explicit objectives.
Try it live
Common APIs
fn
strategySee the reference for its full contract.constlegsPlain leg records for custom strategies.fnlistStrategiesEvery named builder: name, description, multi-expiry flag, and a canonical example input.fnbullCallSpreadSee the reference for its full contract.fnironCondorSee the reference for its full contract.fncoveredCallSee the reference for its full contract.fnclassifyStrategyClassify a leg list (or a Position) against the named-strategy catalog.fnscanStrategiesEnumerate, score, and rank option structures over a strike grid.fnexplainPositionSee the reference for its full contract.fnpayoffSvgRender a {@link Position}'s payoff diagram as a self-contained `<svg>` string.Guides
Complete API reference
Browse all public exports, types, and feature imports below.