BtcSpotVolatilityTargetedRegimeFilteredLong
Hypotheses
BTC Spot Volatility-Targeted Regime-Filtered Long (BINANCE_SPOT, Daily, Continuous Inverse-Vol Exposure Scaling, 3-Parameter)
Hypotheses
A LONG-ONLY, single-instrument, DAILY strategy on BTCUSDT.BINANCE_SPOT whose CORE mechanism is continuous VOLATILITY TARGETING (risk-scaling), not directional momentum timing. This is a direct implementation of the analyst's repeated, explicit recommendation for the spot quota: 'a spot long-only fill needs a mechanism that fires frequently enough to populate OOS windows (continuous trend/breakout or vol-targeting long), not rare deep-drawdown entries.' Every drawdown-accumulation spot variant has now failed on the same event-sparsity / OOS-empty / holdout-decay signature (the class is closed beyond its one deployed BTC-daily instance), so this deliberately uses the OPPOSITE structure: it is ALWAYS evaluating exposure and rebalances continuously, so walk-forward OOS windows are densely populated by construction. The strategy holds a long BTC position whose SIZE is scaled inversely to recent realized volatility toward a constant target risk level, and is gated OFF (to cash) only by a slow regime filter. Two complementary, well-documented sources of risk-adjusted edge: (1) VOL TARGETING — cutting exposure when realized vol spikes (the periods that contain crypto's sharpest drawdowns/crashes) and restoring it when vol normalizes raises Sharpe versus static buy-and-hold by truncating the worst left-tail days; (2) REGIME FILTER — only carrying exposure while BTC is above its long moving average removes the prolonged bear-market beta drag that depresses buy-and-hold Sharpe. CRITICAL DESIGN NOTES separating this from the closed families: NOT drawdown-accumulation (no rare deep-dip gate — exposure is continuous), NOT directional momentum/trend timing (the regime filter is a slow on/off bull gate, not a fast EMA-cross momentum bet that the session declared dead), NOT basis/carry/cross-venue, NOT COIN-M (engine-blocked), NOT HYPERLIQUID (BTC spot has 6+ years of history → robust walk-forward). Intentionally minimal: 3 tunables (target_vol, vol_lookback, sma_period).
Hypotheses
Iteration 6 fixes exactly the reported Layer-1 failure, which was a CONFIG defect, not a code defect: the previous submission left config.instrument_id and config.bar_type as None, so the strategy could not even be instantiated. The config now sets instrument_id='BTCUSDT.BINANCE_SPOT' and bar_type='BTCUSDT.BINANCE_SPOT-1-DAY-LAST-EXTERNAL' with leverage=1.0 — the correct venue per the routing rule (long-only, no leverage, no funding-based edge => spot CASH, not futures) and the daily timeframe the hypothesis mandates for a 6+ year walk-forward history. The only source edit is an added docstring paragraph documenting this iteration, so the code hash differs from the previous submission (Layer 0) while all previously passing logic — the vol-target sizing, regime gate, cash-buffer fill fix from iteration 5, band-gated rebalancing, long-only order flow and imports — is byte-for-byte unchanged.
Hypotheses
Artifact-contaminated long-only spot BTC vol-target that is also the closed spot-long class with a hard-fail drawdown — not worth 2 hours of optimization, and not rescuable by fixing the bug. With max_exposure=1.0 on a long-only CASH spot account (no leverage), no single day can return more than BTC's own move (~±40%), yet the series shows 2021-05-19 +209.4% (a day BTC crashed ~-30%, when a long should be down), 2024-07-04 +102.1%, 2018-02-01 +84.5%, 2019-09-26 +62.8% — physically impossible prints indicating a NAV/equity-reconstruction accounting artifact (the docstring's hand-rolled CASH-account usdt_cash+qty*price reconstruction across IOC rebalances is a likely cause; mechanism not independently verified), so the 1509% headline, Sharpe 0.99 and PSR 0.993 are untrustworthy. Independently, even at face value it fails: max_drawdown 52.3% (CI to 74%) is past the L19 >50% hard-abandon line on a strategy whose entire purpose was truncating drawdowns, and with only 36 trades over 9 years it is exactly the L49 (<40 trades AND >50% DD) long-only-spot signature. beta 0.43 / benchmark_correlation 0.76 show it is mostly scaled BTC buy-and-hold beta, not an active edge, so fixing the accounting would still leave a >50%-DD scaled-beta hold. Failure pattern: suspected backtest artifact + risk_reject long-only spot BTC, >50% DD, <40 trades (L19/L49).
Implementation
Long-only, unlevered BTCUSDT.BINANCE_SPOT daily strategy whose core mechanism is continuous volatility targeting rather than directional timing. Each daily bar it measures annualized realized volatility (30-day stdev of log returns) and a slow regime gate (close > SMA(200)). While the regime is on it holds a long sized to target_vol / realized_vol of portfolio value, capped at 100% invested (no leverage); when realized vol spikes the position is scaled down, when vol normalizes it is scaled back up. A 10%-of-NAV rebalance band throttles turnover against the 0.10% spot fee, and a 3% cash buffer keeps every CASH buy fundable so orders fill instead of resting. Regime off (close below the SMA) exits fully to cash. Exposure is evaluated every bar, so walk-forward OOS windows are densely populated by construction. Three tunables: target_vol, vol_lookback, sma_period.
Verification Results
Verification failed (Layer 1 — config): config.instrument_id and config.bar_type are REQUIRED (got instrument_id=None, bar_type=None). Set both to the hypothesis's instrument, e.g. instrument_id='BTCUSDT.BINANCE', bar_type='BTCUSDT.BINANCE-4-HOUR-LAST-EXTERNAL'.
Backtest Review
Continuous vol-targeting does populate the sample densely enough to compute (unlike the drawdown-accumulation variants); low fee drag (commission 2.49% of gross)
Backtest Review
avg_trade_return_pct 2.28% and no liquidation; config/fill deadlocks from prior iterations are resolved
Backtest Review
Impossible single-day returns at <=1x spot exposure: 2021-05-19 +209.4% (a BTC crash day), 2024-07-04 +102.1%, 2018-02-01 +84.5%, 2019-09-26 +62.8% — a NAV/equity-accounting artifact contaminating the 1509% headline, Sharpe and PSR
Backtest Review
max_drawdown 52.3% (CI to 74%) — past the L19 >50% hard-abandon line, on a strategy whose purpose was to truncate drawdowns
Backtest Review
Only 36 trades over 9 years + >50% DD = the L49 long-only-spot abandon signature
Backtest Review
beta 0.43, benchmark_correlation 0.76 — mostly scaled BTC buy-and-hold beta, not an active edge; win_rate 25%, 9 max consecutive losses
Backtest and paper results are hypothetical. Trading involves risk of loss.