quants.md
Bollinger Reversion
Fragile
“Buy below the lower band, exit at the midline”
From quants.md
As tested: Each sector ETF is bought on a close under its lower 20-day Bollinger band (2 standard deviations) and sold on a close over the middle band; 1/N capped at 25%, daily.
Tested as intended: their file writes the signals in a pandas style that silently does nothing under copy-on-write, so what their run actually traded is unclear.
Edge per month-0.33 pts/mopts per month vs SPY
t-stat-1.1495% range -0.88 to +0.23
Months124Sep 1, 2016 – Dec 3, 2026
CAGR10.9%SPY 14.5%
Max drawdown-32.9%SPY -33.8%
Last 12 months-0.39 pts12 months, summed
Their backtest vs the rerun
| Window | CAGR | Sharpe | Max DD | |
|---|---|---|---|---|
| quants.md | 2000–2026 | +7.0% | 0.42 | -35.2% |
| Rerun | 2016–2026 | +10.9% | 0.66 | -32.9% |
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.14 is inside the noise
- 87% of resamples have no edge
- only 0% of nudged versions keep the edge, so it's a lucky setting
- one half carries it (-0.80 before 2021, +0.15 after)
Growth of $1
Bollinger ReversionSPY
Log scale. Traded at the next open after each signal, daily rebalance, slippage on every trade.
Year by year
2016
+0.56 pts/mo4
2017
-0.91 pts/mo12
2018
+0.46 pts/mo12
2019
-1.64 pts/mo12
2020
-1.23 pts/mo12
2021
-1.03 pts/mo12
2022
+1.82 pts/mo12
2023
-0.77 pts/mo12
2024
-0.56 pts/mo12
2025
+0.35 pts/mo12
2026
-0.03 pts/mo12