Strategies
Cross-Asset Risk-Regime Allocator on Index ETFs — Long QQQ in Risk-On, Flight-to-Quality Long TLT + Short QQQ in Risk-Off, Daily Bars, Trend + Realized-Vol Gate (USEQ, Long+Short, 2-Parameter)
Outcome: Abandoned
CrossAssetRiskRegimeQqqTltUseq
Outcome Summary
This candidate proposed a genuinely different family from the abandoned crypto funding-carry clones — a flight-to-quality regime switcher on US index ETFs... never got that far, stalling through three consecutive coding timeouts over two iterations, so the edge remains entirely untested.
Hypothesis
coding_stuck_3_timeouts
Implementation
Cross-asset risk-regime allocator on US index ETFs (daily USEQ bars). The regime is read off SPY (primary, signal-only, never traded): a continuous risk score = SPY's percentage deviation from its sma_len SMA minus a penalty for elevated realized volatility (stdev of the last vol_lookback daily log returns divided by the median of its own trailing vol history, penalised only above a fixed 1.5x multiple). RISK-ON (score above +1% hysteresis) holds a LONG QQQ sleeve at 90% of equity. RISK-OFF (score below -1%) rotates to LONG TLT (65% weight) plus a modest SHORT QQQ (35% weight) — a genuine short book that expresses the flight-to-quality bid in Treasuries while equities de-risk. Inside the hysteresis band the previous state is held, so flips are a handful per year. Whole-share sizing, gross notional capped at 90% of equity in both states, entries deferred one session after the exit that frees the capital.
Iteration History
sandbox_timeout: Verification failed (Layer 3 — sandbox backtest): smoke test exceeded the 300s wall-clock limit on a ~20000-bar window (2400 days of SPY.USEQ-1-DAY-LAST-EXTERNAL). This almost always means per-bar work that scales with history — e.g. rescanning the full funding/supplementary series, or rebuilding a list and calling min()/sorted() inside calculate_signal()/on_bar() on every bar. Precompute sorted timestamp arrays ONCE in __init__ and use bisect, or cache lookups keyed by timestamp, so per-bar cost is O(log n) not O(n).
Outcome Summary
A strategy this structurally involved risks exceeding the coder's time budget; a simpler first cut may be needed to get a testable version out of coding.
Abandoned at the coding stage after the developer agent stalled through three consecutive timeouts (coding_stuck_3_timeouts) across 2 iterations; verification, backtesting, and analysis were never reached.
A cross-asset, long+short risk-regime allocator on US index ETFs that reads a trend + realized-vol regime off SPY to hold long QQQ when risk-on and rotate into long TLT plus a short QQQ leg when risk-off, harvesting the flight-to-quality equity/bond correlation with only two tunables.
No performance data exists: the strategy never produced a backtest, optimization, or any stage verdict because it did not clear the coding stage.
Backtest and paper results are hypothetical. Trading involves risk of loss.