u = self.underlying_id[0], a computed size, and
from pulse import structures, InstrumentType, Option, PeriodType, PeriodID).
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.
- Manual
- Helper
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.
- Manual
- Helper
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.
- Manual
- Helper
Each diagonal leg has its own delta
diagonal_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.
- Manual
- Helper
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 sopremium(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.- Manual

