quants.md
Rolling Walk-Forward Validation
Fragile
“Sliding fixed-length train/test windows with a pre-OOS purge”
From quants.md
As tested: The base rule its walk-forward slices: sector ETFs held while the 50-day is above the 200-day, 1/N capped at 25%, month-end. The example tunes nothing, so the walk-forward is a view of one run; rerun as that rule.
Holding today: XLK 19% · XLP 19% · XLV 19% · XLE 19% · XLF 19%
Edge per month-0.39 pts/mopts per month vs SPY
t-stat-1.9895% range -0.77 to -0.00
Months124Sep 1, 2016 – Dec 3, 2026
CAGR9.8%SPY 14.5%
Max drawdown-33.0%SPY -33.8%
Last 12 months+1.02 pts12 months, summed
Their backtest vs the rerun
| Window | CAGR | Sharpe | Max DD | |
|---|---|---|---|---|
| quants.md | 2000–2026 | — | — | — |
| Rerun | 2016–2026 | +9.8% | 0.55 | -33.0% |
Their dashboard · Source code · QuantJourney, Apache-2.0. Sharpe is after T-bills in the rerun, after a flat 2% in theirs.
Why fragile
- t-stat -1.98 is inside the noise
- 98% of resamples have no edge
- only 0% of nudged versions keep the edge, so it's a lucky setting
- one half carries it (-0.53 before 2021, -0.24 after)
Growth of $1
Rolling Walk-Forward ValidationSPY
Log scale. Traded at the next open after each signal, monthly rebalance, slippage on every trade.
Year by year
2016
-0.57 pts/mo4
2017
-0.31 pts/mo12
2018
-0.02 pts/mo12
2019
-0.85 pts/mo12
2020
-1.29 pts/mo12
2021
-0.10 pts/mo12
2022
+1.51 pts/mo12
2023
-1.20 pts/mo12
2024
-0.73 pts/mo12
2025
-0.92 pts/mo12
2026
+0.09 pts/mo12