QqqVolRegimeManagedExposureLS
Hypotheses
QQQ Volatility-Regime Managed Exposure — Long-Short, Single-Instrument: Scale Into the Nasdaq-100 When Realized Volatility Is LOW (the Documented Vol-Managed Sharpe Premium) and FLIP SHORT Only in High-Vol Downtrend 'Crash' Regimes, Discrete Regime Holds with Hysteresis (QQQ.USEQ, Daily Bars, 3-Parameter)
Hypotheses
A CONTINUOUSLY-ENGAGED, LONG-SHORT volatility-regime timing strategy on QQQ.USEQ (Nasdaq-100 ETF), built around one of the most robust, out-of-sample-replicated findings in asset pricing — the VOLATILITY-MANAGED PORTFOLIO effect (Moreira & Muir 2017): scaling equity exposure DOWN when realized volatility is high and UP when it is low raises risk-adjusted returns, because high-volatility states do not deliver proportionally higher returns (the risk-return tradeoff is flat-to-inverted at short horizons), so de-risking in high vol avoids drawdowns without sacrificing much upside. This is deliberately a DIFFERENT and HIGHER-MAGNITUDE family than the equity strategies already in the pipeline (KO/PEP cointegration reversion, QQQ turn-of-month seasonality, XLK/XLU beta-regime sector rotation) and explicitly NOT the weak daily z-score reversion that just died flat on XLF — the signal here is a documented Sharpe-raising structural effect, not a marginal per-trade fade. It combines two robust effects: (1) VOL-MANAGEMENT — size exposure by the realized-volatility regime; (2) CRASH-REGIME SHORTING — high realized volatility CONFIRMED by a broken price trend (QQQ below its trend SMA) is the empirically reliable predictor of continued negative equity returns (crashes cluster in high-vol/downtrend states), so the strategy FLIPS SHORT there rather than merely de-risking. Because it holds a position at all times (full long in calm uptrends, reduced long in mid-vol, short in high-vol downtrends), it CANNOT produce empty walk-forward OOS windows or an empty 15-day holdout — the failure mode that killed the deep-drawdown basket and threatens low-frequency event strategies. Positions change only on discrete vol/trend REGIME transitions with a hysteresis band, so holds last weeks (meaningful per-trade returns, no micro-rebalance churn), giving ~10-20 regime changes/year × 25+ years of QQQ daily history (since 1999, spanning 2000/2008/2020/2022 vol spikes) = a large, robust trade sample. Commission-free USEQ execution (~0.02-0.05% RT) makes the discrete rotations trivially net-positive. FEE ARITHMETIC: each regime hold spans weeks; a full-long leg through a calm uptrend captures multiple percent of QQQ's advance, a short leg through a high-vol crash captures a multi-percent decline avoided/profited — per-regime-hold capture ~1-5% vs ~0.04% round-trip = 25-125x the cost floor, far above the 0.15% viability bar. Only 3 free parameters (vol lookback, high-vol percentile threshold, trend SMA length), all economically pre-specified, to resist overfitting.
Hypotheses
Implements both documented effects the hypothesis names, and expresses them as one continuous decision variable rather than a gated flag: the returned signal IS the target exposure, varying bar to bar with realized volatility (Moreira-Muir constant-risk scaling), and going negative only in the high-vol/broken-trend state where negative equity returns cluster. Exactly 3 free parameters (vol_lookback, high_vol_pct, trend_len), all clamped in code and declared in _param_bounds; target_vol, the exposure bounds and the short size are economically pre-specified constants, not search dimensions. Because a positive target always clears min_exposure, the strategy takes a position on the first post-warmup bar and is engaged thereafter, so no walk-forward OOS window or holdout can come back empty. Churn control: rebalancing is gated on a 0.25 exposure tolerance measured against the exposure ACTUALLY HELD, read back from the engine position (quantity x price / equity) rather than from process state, and the crash-regime hysteresis keys off the live position sign - so both the rebalance decision and the short hold survive a restart or a replay unchanged, and neither depends on an uptime-anchored counter. One honest consequence of the base template: a re-size or a flip is an exit on one bar and a re-entry on the next, so the book is flat for a single session at each regime change. Performance is O(1) per bar (running sums for the return variance and both means) plus a bounded 252-element percentile count. Venue is USEQ per the hypothesis: commission-free execution (~0.02-0.05% round trip) makes weeks-long regime holds capturing 1-5% each trivially net-positive, and leverage stays at 1.0 so the vol-managed target is a real de-risking rule rather than a margin cap that never binds.
Hypotheses
vol_managed_beta_high_drawdown_subfloor_sharpe: the vol-managed exposure book produced a 55.19% max drawdown (CI high 53%) — a hard-abandon breach (L19) and a failure of its own de-risking premise — while delivering only base Sharpe 0.604 (CI low 0.2375, below the 0.5 floor) and NEGATIVE information ratio (-0.14) vs buy-and-hold. The 854% headline is QQQ beta (beta 0.28) carried by a handful of implausible outlier days (+31% to +48% single-day returns, kurtosis 5.7) that indicate a compounding/position-sizing-on-equity artifact (L36), not a repeatable edge. Fee viability is fine (avg_trade_return_pct 2.47%), but 3-parameter optimization cannot lift a sub-1.0 beta-driven Sharpe to the ~1.5 promotion floor nor fix a structural 55% drawdown — the ~225-trial deflation would only lower the already-marginal Sharpe. Not worth the 2-hour run.
Implementation
Volatility-regime managed exposure on QQQ.USEQ daily bars, continuously engaged and long-short. calculate_signal returns the TARGET SIGNED EXPOSURE as a fraction of equity every bar: in risk-on states it is the volatility-managed long target = target_vol / realized_vol (20-session annualized realized vol, 15% risk budget) clamped to [0.20, 1.00], so exposure is full in calm tape and cut back as volatility rises; in the crash regime - realized vol in its top 20th percentile of the trailing year CONFIRMED by QQQ trading below its 200-session SMA - the target flips to -0.50 (short), held until the vol percentile falls a clear 10 points back or the trend repairs. Trading is discrete: the position is only rebuilt when the target flips sign or drifts more than 0.25 exposure from what is actually held, so holds run for weeks with roughly 10-20 changes per year. Sizing is whole shares at leverage 1.0 with no borrowed notional.
Verification Results
Analyst: evaluate risk-ADJUSTED return vs a buy-and-hold QQQ benchmark (the claim is a Sharpe improvement, not total return) over the full multi-decade WF, and confirm the crash-short adds value across real high-vol downtrends.
Verification Results
In the 1-year sandbox the crash-short leg is a net drag and the book is essentially long-biased QQQ exposure: only 1 short trade (0% win, largest_loss -$9,981, main driver of the 11.1% max drawdown), beta 0.63 / correlation 0.85 to buy-and-hold, alpha -0.077, information_ratio -1.60 — it underperformed simple buy-and-hold QQQ this window (Sharpe 0.27). A performance/edge question for the analyst, not a code defect (both effects implemented correctly; result positive: total_return 3.06%, PF 1.25). The vol-managed Sharpe premium and the crash-short's payoff can only be judged over the full 25-year history spanning 2000/2008/2020/2022.
Verification Results
No change required; optionally log when the fallback path is hit.
Verification Results
When engine position quantity is unreadable, _sync_position falls back to held_exposure = pos_side*(|_target| or max_exposure) — a sensible churn-avoidance fallback (only a sign flip then forces exit), but if it ever engaged persistently it could mask a genuine re-size. NT exposes quantity.as_double() reliably in backtest so this shouldn't trigger; noted for completeness.
Backtest Review
USEQ fee viability is not the problem: avg_trade_return_pct 2.47% is far above the 0.05% floor
Backtest Review
Always-engaged regime design avoids empty walk-forward/holdout windows
Backtest Review
profit_factor 2.85 and positive raw alpha 0.038 show a real gross long-QQQ tilt
Backtest Review
126 trades over 27 years is a reasonable regime-hold cadence (not undersampled for the strategy type)
Backtest Review
max_drawdown 55.19% (CI high 53%) exceeds the >50% hard-abandon threshold (L19) — a vol-managed strategy that took a 55% drawdown failed at its own thesis
Backtest Review
Base Sharpe 0.604 with sharpe_ci_low 0.2375 is below the 0.5 OOS floor before any deflation; base Sharpe is the ceiling for an always-engaged directional book (L63)
Backtest Review
information_ratio -0.14: negative risk-adjusted alpha vs buy-and-hold — this is a levered long-QQQ that underperforms its benchmark risk-adjusted
Backtest Review
Returns are outlier-driven (single days of +31% to +48%, kurtosis 5.7) — compounding/position-riding-equity artifact (L36), not repeatable edge
Backtest Review
Short leg is a net drag: short_win_rate 0.286 over 35 shorts
Outcome Summary
QqqVolRegimeManagedExposureLS bet on the well-documented volatility-managed portfolio effect, sizing QQQ exposure inversely to realized volatility and flipping short only in high-vol downtrend crash regimes, and it cleared fee viability easily (avg per-trade return 2.47%) across 126 regime-hold trades over 27 years. But at the backtest-review gate the numbers undercut the thesis: a 55.19% max drawdown breached the hard-abandon threshold and directly contradicted the de-risking premise, while base Sharpe of 0.604 (CI low 0.2375) and a negative -0.14 information ratio revealed a levered long-QQQ book that lagged buy-and-hold on a risk-adjusted basis. The 854% headline return traced to a handful of implausible outlier days (+31% to +48%, kurtosis 5.7), a compounding-on-equity artifact rather than durable edge, and the short leg only added drag. The analyst abandoned it after one iteration, concluding 3-parameter optimization could neither fix the structural drawdown nor lift the beta-driven Sharpe toward the promotion floor, so it never reached optimization or later stages.
Outcome Summary
A volatility-managed book must actually reduce drawdown to justify itself; a 55% drawdown with a sub-1.0, benchmark-lagging Sharpe signals the headline return is QQQ beta plus compounding-on-equity outliers, not the documented vol-managed premium.
Outcome Summary
The analyst issued an 'abandon' verdict at the pre-optimization backtest-review gate: the 55.19% max drawdown breached the >50% hard-abandon threshold and contradicted the strategy's own de-risking thesis, while the sub-floor Sharpe (0.604, CI low below 0.5) and negative information ratio marked it as beta-driven rather than a repeatable edge that 3-parameter optimization could lift to the ~1.5 promotion floor.
Outcome Summary
A continuously-engaged long/short volatility-managed exposure strategy on QQQ.USEQ daily bars that scales into the Nasdaq-100 when realized volatility is low, cuts exposure as vol rises, and flips short only in high-vol/broken-trend crash regimes, using three pre-specified parameters (vol lookback, high-vol percentile, trend SMA length).
Outcome Summary
Over 27 years (1999-2026, 6,904 bars) it ran 126 trades (91 long, 35 short) with an 854% total return, profit factor 2.85, and avg_trade_return_pct 2.47%, but only a base Sharpe of 0.604 (CI low 0.2375), a negative information ratio of -0.14 vs buy-and-hold, and a 55.19% max drawdown. Returns were outlier-driven (single-day gains of +31% to +48%, kurtosis 5.7) and the short leg was a net drag (short win rate 0.286).
Backtest and paper results are hypothetical. Trading involves risk of loss.