Term-structure-driven calendar and diagonal spread analysis. Ranks setups by risk-adjusted edge, visualises the IV curve, and signals optimal entry conditions for current vol environment.
calendar-spread-optimizer-2026-06-06-v1spread_value = (front_theta_daily + vega_from_back) / cost_debit
| BSM theta/vega (Black-Scholes 1973) |
Term-structure regime: Johnson 2017 (VIX1M>VIX3M precedes drawdowns ~70% hit rate at 5-7d lead);
Hull-White 1987 (stochvol term structure).