r/algorithmictrading • u/Optimal_Emu3624 • Jun 24 '26
Backtest I backtested the 3 most boring textbook rules over 20 years (7 assets, net of fees, Monte Carlo) — where they beat buy & hold and where they got wrecked. Roast the method.
Before anything fancy, I pressure-tested the boring baselines over a real multi-regime window — and I'm posting the failures, not just the wins.
Rules (one fixed rule each, nothing fit to the data):
- Trend: long while price > 200-day SMA, else cash.
- Momentum: long while trailing 6-month return > 0, else cash.
- Mean-reversion: long when price < lower 20-day Bollinger band, else flat. All act on the next day's close (no lookahead).
Data: Yahoo daily adjusted, ~20 years (equities since 2005, BTC since 2014) — spans 2008, 2020, 2022. Fees: equities 0.03%/side, crypto 0.40%/side, charged only on trade days. Block-bootstrap Monte Carlo (2,000 paths) for path-luck bands.
What held up:
- The trend filter roughly halved max drawdown on every equity/crypto market over 20 years (SPY −21% vs −55% B&H, QQQ −27% vs −53%, BTC −71% vs −83%) — at the cost of lagging raw return. Classic risk reduction, across real crashes.
- The one return-and-risk win: trend on NVDA, +100,038% vs +84,447% buy & hold, −54% vs −85% drawdown. (Single-name survivorship — flagged.)
Where it failed (shown, not hidden):
- Long Treasuries (TLT): the overlay barely cut drawdown and missed the bull (+2% vs +85%).
- Mean-reversion got run over on gold and lost −66% on BTC.
- Momentum lagged badly on small caps.
Caveats I know (tell me the ones I don't): hand-picked liquid survivors (selection bias), daily-close fills + flat per-side cost (no intraday slippage), no parameter optimization, and 20yr is still short for strong claims.
What I'm asking:
- For long/flat systems, your preferred risk-adjusted metric when cash days deflate vol — Sortino, Calmar, exposure-adjusted?
- Reasonable crypto cost model — flat taker per switch, or maker/limit fills?
- What would make you trust a "halves drawdown" claim — rolling windows, regime splits, walk-forward OOS?
2
u/No_Maintenance_9709 Jun 25 '26
2
u/algorier Jun 25 '26
Hidden angle: Research luck may matter more than market luck.
I'd trust a "halves drawdown" claim more if the result survived being wrong.
200 SMA works. What about 180? 220? EMA? Weekly signals?
A lot of strategies survive market stress but fail parameter stress.
If the edge disappears when you make small, reasonable changes, the backtest may be describing your research path more than the market.
1
u/FlyTradrHQ Jun 24 '26
Monte Carlo on 7 assets is a narrow base. Survivorship bias is the quiet issue. Did they survive the full 20 years or were they chosen because they lasted? Also check if your net-of-fees includes slippage or just commission. Most textbook strategies lose on execution costs, not signal quality.
2
u/FlyTradrHQ Jun 24 '26
Boring rules survive because they have fewer degrees of freedom to overfit. Momentum and mean reversion capture structural inefficiencies that persist across regimes. The real question is whether your Monte Carlo models transaction costs and slippage at realistic levels. Most backtests that wreck out of sample skipped execution modeling.
1
u/LatterRain5 Jun 24 '26
🤣🤣🤣🤣🤣🤣🤣🤣🤣
1
u/algorier Jun 28 '26
Hidden angle: the post assumes drawdown reduction from long/flat rules reflects edge in the signal, when a large part of it may simply be hidden exposure control that changes what “risk-adjusted” even means.
The moment you go long/flat, you’ve stopped testing a market edge in isolation and started testing a hybrid: signal plus an implicit volatility timing rule. Cash isn’t neutral in these systems—it’s an active position that reshapes both distribution and path.
That’s why drawdown “improves” so cleanly in some regimes. You’re not just avoiding downside, you’re deleting entire chunks of market exposure where most of the variance lived. The metric then rewards the absence of participation, not necessarily better information.
This is where Calmar/Sortino start to get slippery. They assume risk is something the strategy experiences continuously, but long/flat systems are discontinuous by design. Two systems with identical entry logic can look radically different just from how aggressively they de-risk into cash, even if the predictive content hasn’t changed.
The harder question isn’t which metric to use, but whether you’re comfortable separating “signal quality” from “capital deployment rule” in the first place. Most backtests silently fuse them and then attribute everything to the signal.
At what point does a drawdown reduction become more about market absence than market prediction?
1
u/[deleted] Jun 26 '26
[removed] — view removed comment