Skip to main content
Structures that lean on skew (different-delta legs), term structure (different expiries), or unequal quantities (1×2 ratios). The snippets assume the shared scaffold (u = self.underlying_id[0], a computed size, and from pulse import structures, InstrumentType, Option, PeriodType, PeriodID).
Where the legs liveA higher-delta call is closer to the money (lower strike); a lower-delta call is further OTM (higher strike). The term-structure recipes resolve a near expiry (nth=1) and a far expiry (nth=2) from the same min_dte floor.

Risk reversal

Sell an OTM put to fund a long OTM call - a bullish, often near-zero-cost lean via the skew.
  • Max profit - unbounded above the call strike. Max loss - large below the put strike (behaves like long the underlying).
  • Breakeven - near spot, shifted by the net premium. Bias - bullish, undefined downside.

Calendar call spread

Sell the near call, buy the far call at the same strike - collect faster near-leg decay and stay long term-structure vol.
  • Max profit - around the strike as the near leg decays. Max loss - the net debit paid.
  • Breakeven - set by the far leg’s value at near expiry. Bias - neutral, long vega.

Diagonal call spread

Like a calendar, but the two legs sit at different strikes - pairs term structure with a directional tilt.
  • Max profit - near the short strike at near expiry. Max loss - the net debit (when opened for a debit).
  • Breakeven - set by the far leg’s value at near expiry. Bias - bullish-leaning, long vega.
Each diagonal leg has its own deltadiagonal_spread_by_delta resolves delta on the near expiry and far_delta on the far one, so the two legs land on different strikes. For one strike across two expiries, use calendar_spread_by_delta, whose far leg reuses the near strike and snaps to the closest one that expiry lists.

Ratio call spread

Buy 1 call, sell 2 higher calls (a 1×2) - often a credit, profiting from a moderate move up to the short strike.
  • Max profit - around the short strike at expiry. Max loss - unbounded above the short strike (one extra naked short call).
  • Breakeven - an upper breakeven above the short strike. Bias - moderately bullish, undefined upside risk.

Zero-cost call spread

A 1×2 where the short strike is picked by a premium constraint - buy 1 call at K1, sell 2 calls at K2 chosen so premium(K1) ≈ 2 × premium(K2), opening for roughly zero net premium.
  • Max profit - around K2 at expiry. Max loss - unbounded above K2 (the extra naked short call).
  • Breakeven - an upper breakeven above K2. Bias - moderately bullish, financed by skew.
No structures helper - resolve manuallyThe short strike is selected by a premium relationship, not a fixed delta, so there is no structures helper. The strike.value resolver returns the strike whose premium is closest to a target (here k1_price / 2), which lands K2 directly - no manual smile scan.
Last modified on November 4, 2026