Skip to main content
The snippets assume the shared scaffold (u = self.underlying_id[0], a computed size, and from pulse import structures, InstrumentType, Option, PeriodType, PeriodID).
Reading the deltasA higher-delta option is closer to the money (lower strike for calls, higher strike for puts). spread_by_delta(long_delta=…, short_delta=…) buys the long_delta leg and sells the short_delta leg - the deltas decide which strike is long vs short.

Bull call spread

Buy a call, sell a higher call to cheapen it - a bullish debit play.
  • Max profit - (short strike - long strike) - net debit.
  • Max loss - the net debit paid. Bias - bullish, defined risk.

Bear call spread

Sell a call, buy a higher call for protection - a bearish/neutral credit play.
  • Max profit - the net credit. Max loss - (long strike - short strike) - credit. Bias - bearish, defined risk.

Bull put spread

Sell a put, buy a lower put to cap the risk - a bullish/neutral credit play.
  • Max profit - the net credit. Max loss - (short strike - long strike) - credit. Bias - bullish, defined risk.

Bear put spread

Buy a put, sell a lower put to cheapen it - a bearish debit play.
  • Max profit - (long strike - short strike) - net debit. Max loss - the net debit. Bias - bearish, defined risk.
Signal-driven verticalsTo flip between bull-put and bear-call spreads from an external signal series, see the Vertical Spreads with Signals notebook.
Last modified on November 4, 2026