Task 20
VIX Regime Gate → Strategy → BacktestEnter a ticker (an index ETF like SPY or QQQ makes most sense). The CBOE VIX term structure (^VIX vs ^VIX3M) is a regime switch: when the curve is in contango (1-month below 3-month) markets are calm and the agent holds long; when it inverts (1-month above 3-month — acute fear) or VIX spikes past a level, it stands aside in cash. The gate is applied with same-day VIX → next-open execution, so it is lookahead-free.