Did re-picking the best trading rule every year hold? $1 became $2.63; simply holding made $10.13.
Firsthand experiment run on 2026-10-29 for Did It Hold? The code and the full results (one row per rule) are kept with this material. This is a study of whether published-style trading rules hold up, not investment advice.
How this fits the series
Sister experiment on hypothesess.com: the Strategy Lab tested every combination of twelve classic filters (4,096) and asked whether the best combination survives a correction for how many were tried (link it: https://hypothesess.com, the Strategy Lab episodes). This piece asks the practical follow-up a trader would ask: what if you keep re-picking the best rule every year? Lead with that (the walk-forward section), and use the one-split result as the setup.
The question
Trading rules found by searching old prices (moving-average crossovers, "buy the dip" oscillators, breakouts, calendar effects) are sold as if they work. The honest test is simple: pick the best rules using one period, then look at a period the search never saw. Did they hold?
What we did
- Data: SPY, the S&P 500 exchange-traded fund, daily closes adjusted for dividends and splits (total return), from the Yahoo Finance chart feed. 1993-01-29 to 2026-10-28. Rules start on 1994-04-08, once the longest rule has its history: 8,194 trading days.
- Split: the "search" period is 1994-04-08 to 2009-12-31 (about 15.7 years). The "did it hold" period is 2010-01-04 to 2026-10-28 (about 16.8 years).
- Rules (224 variants in six families): long the fund or in cash.
- trend: price above its N-day average, N = 20 to 300 (29 rules)
- crossover: a fast average above a slow one, fast 5 to 50, slow 50 to 250 (89 rules)
- dip-buying: RSI with period 2, 3, 5 or 14; buy below 10/20/30/40, sell above 50/60/70/80 (64 rules)
- momentum: up over the last 21 to 252 days (12 rules)
- breakout: buy a 20/50/100/200-day high, sell a 10/20/50/100-day low (13 rules)
- calendar: turn of the month (in the market only the last 1-4 and first 1-4 trading days) and "sell in May" (17 rules)
- No look-ahead: each signal is decided at a day's close and applies from the next day's return.
- Costs: 0.05% per switch in or out (one way). Rerun with zero costs too (below).
- Measured: Sharpe ratio (average daily return over its standard deviation, annualised with the square root of 252; the risk-adjusted score most rule-sellers quote), compound annual growth, and the deepest peak-to-trough fall.
What we found
| Search period 1994‑2009 | Did‑it‑hold period 2010‑2026 | |
|---|---|---|
| Buy and hold: Sharpe | 0.47 | 0.87 |
| Buy and hold: annual growth | 7.8% | 14.2% |
| Buy and hold: deepest fall | 55% | 34% |
| Rules with a better Sharpe than buy and hold | 150 of 224 | 2 of 224 |
| Rules with more growth than buy and hold | 0 of 224 |
- The best rule of the search period was "the 35-day average above the 225-day average" (a crossover): Sharpe 0.95 and 12.3% a year in 1994-2009, against buy and hold's 0.47 and 7.8%. It switched about once a year.
- After 2010 it ranked 114th of 224, the middle of the pack: Sharpe 0.66, 8.7% a year, while simply holding earned 14.2% a year at Sharpe 0.87.
- It did not even soften the falls: its deepest fall after 2010 was 34%, the same as holding (34%). The 2020 crash came and went faster than a 225-day average can react.
- All ten best rules of the search period were crossovers of almost the same shape. Their median Sharpe after 2010 was 0.69, below buy and hold's 0.87.
- Rankings kept some order (rank correlation 0.49 between a rule's Sharpe before and after 2010): similar rules stayed similar to each other, but the whole field fell below simply holding.
- The best rules after 2010 were rules that stayed in the market most of the time: RSI(14) buy below 40, sell above 80 (in the market 93% of days; Sharpe 0.88 against 0.87; growth 14.2%, the same as holding). In the search period that rule scored only 0.42. Nobody would have picked it.
- Without costs it is the same story: 171 of 224 rules beat buy and hold's Sharpe in the search period, 3 after 2010, and 1 beat its growth. Costs are not what killed the rules.
The fairer test: re-pick the best rule every year
A real trader would not pick once in 2009 and stop. So we also ran a walk-forward test: every January from 1999, take the rule with the best Sharpe over the previous five years and hold it for that year; same 224 rules, same costs.
| 1999 to 2026‑10‑28 (27.8 years) | Re‑picked every year | Buy and hold |
|---|---|---|
| Sharpe | 0.35 | 0.53 |
| Growth a year | 3.5% | 8.7% |
| $1 became | $2.63 | $10.13 |
| Deepest fall | 31% | 55% |
- The re-picked rule beat holding in 6 of 28 years. Five of those six were the six years the market fell (2000, 2001, 2002, 2008, 2018; not 2022). In the 22 years the market rose, it beat holding once (1999).
- It used 19 different rules and changed rule at 20 of the 27 year-ends: each year's "best rule" was mostly the last five years' luck.
- In five years (2003, 2004, 2005, 2006, 2017) the picked rule never bought at all and sat in cash while the market rose.
- What it did buy: a shallower deepest fall (31% against 55%). What that cost: $10.13 became $2.63.
The same test with interest on cash
The figures above let cash earn nothing, which is unfair to rules that sit in cash. Rerun with cash earning the 13-week US Treasury bill rate (Yahoo Finance chart feed, ^IRX, read 2026-10-30), and Sharpe measured on returns above that rate (the textbook definition):
| 1999 to 2026‑10‑28, cash earns the T‑bill rate | Re‑picked every year | Buy and hold |
|---|---|---|
| $1 became | $4.70 | $10.13 |
| Growth a year | 5.7% | 8.7% |
| Sharpe (above the T-bill rate) | 0.34 | 0.43 |
| Deepest fall | 34% | 55% |
- With interest on cash the re-picked rule beat holding in 8 of 28 years: all six years the market fell (2000, 2001, 2002, 2008, 2018, 2022) and two rising years (1999, 2007). It used 16 different rules.
- Interest on cash roughly halves the gap ($4.70 against $2.63) but does not close it.
- The one-split result barely moves: 163 of 224 rules beat holding's Sharpe on 1994-2009, 1 of 224 after 2010; the best 1994-2009 rule ranked 119th afterwards.
- Lead with the T-bill version as the fair one; give the 0% version as the simpler first run.
Why: the more you search, the better the best one looks by luck
The search period's winner looked impressive partly because it was the best of 224. Even rules with no edge at all produce a "best" one. A worked example (the figure a reader can change). It is an idealised approximation for independent rules with no edge, not a measurement of how much luck inflated these particular, correlated rules:
- If you try N rules with no real edge, the best of them shows an annualised Sharpe of about sqrt(2 x ln N) / sqrt(years) just from chance (the expected maximum of N independent standard normal draws, scaled to the test length).
- N = 224 rules over the 15.7-year search period of the one-split test (not the rolling five-year windows of the walk-forward): sqrt(2 x ln 224) = sqrt(10.81) = 3.29; divided by sqrt(15.7) = 3.96 gives about 0.83.
- N = 10 rules: sqrt(2 x 2.30) = 2.15, / 3.96 = 0.54. N = 1,000 rules: sqrt(13.82) = 3.72, / 3.96 = 0.94.
- Inputs a reader can move: number of rules tried (1 to 10,000), years of data (1 to 40). Output: the Sharpe the best rule shows by luck alone.
- Caveat for this example: real rules are correlated with each other (our 89 crossovers are near-copies), so the luck bar for them is lower than for independent ones; and every long-or-cash rule carries some of the market's own return. The formula is the shape of the problem, not a test of these exact rules.
What we are unsure of
- One market (US large companies) and one split year. A bull market after 2010 punishes rules that sit in cash; a different split (for example 2000-2002 or 2008 in the test period) would favour trend rules. That is itself the point: the result of a rule depends on which years you happen to test it on.
- The main tables let cash earn nothing; the T-bill rerun above fixes that and is the fairer figure.
- Taxes are ignored (not tested).
- 224 rules is a small search next to what software can do. We did not test a larger search; the luck example suggests the best in-sample rule would look better, but that is an expectation, not a finding.
What a reader can do with it
- Before trusting any backtest, ask how many rules were tried to find it, and whether it was tested on years it was not chosen on.
- Count a rule as held only if it beats simply holding after costs on data it never saw.
- In this test, a rule that looked great in one period was middling in the next; check whether yours does the same.
Earlier research that found the same thing
- Brock, Lakonishok and LeBaron (1992), "Simple Technical Trading Rules and the Stochastic Properties of Stock Returns", Journal of Finance 47(5): moving-average and breakout rules looked profitable on the Dow 1897-1986. https://doi.org/10.1111/j.1540-6261.1992.tb04681.x
- Sullivan, Timmermann and White (1999), "Data-Snooping, Technical Trading Rule Performance, and the Bootstrap", Journal of Finance 54(5): in the original Brock et al. sample the best rule stayed significant even after correcting for how many rules were searched; in their later data (1987-1996) it showed no convincing outperformance. The correction alone did not erase it. https://doi.org/10.1111/0022-1082.00163
- Bailey, Borwein, Lopez de Prado and Zhu (2014), "Pseudo-Mathematics and Financial Charlatanism: The Effects of Backtest Overfitting on Out-of-Sample Performance", Notices of the American Mathematical Society 61(5): how many trials it takes to find an impressive backtest by chance. https://www.ams.org/notices/201405/rnoti-p458.pdf
- Data: Yahoo Finance chart feed for SPY (dividend-adjusted daily closes), read 2026-10-29.
Voice
The site's verdict format suits this: "Did it hold? No: 150 of 224 rules beat the market on the years they were picked on, 2 on the years after." Keep the tone curious, not smug: the rules are not stupid, the search is what fools people. One short first-person line about running it is fine ("we ran every rule ourselves"). Claims to keep narrow: one market, one split, one look-back. Say what we found, not that it is "the normal result" everywhere or that we know the cause. Keep the fixed-split luck example (15.7 years) apart from the rolling five-year selector. Keep a short "Earlier research" section that names and cites each of the three papers above; they are the reason to trust that this is a known pattern and not one run's quirk. Do not claim the result would hold in other markets or splits: we tested one, and say so (the "What we are unsure of" list is the honest version). Call it a backtest, never a live test.