Did 252-day momentum hold? The lab's four-stage test on the S&P 500, 1994-2026
Verdict: DID NOT HOLD (passed the screen; failed out of sample, costs, robustness). Rule: hold the index while its close is above its close 252 trading days earlier; hold cash otherwise. Market: SPY (the S&P 500 with dividends). Costs: 5 basis points per switch. Run 2026-11-02-momentum.
The four stages
| Stage | Test | Result |
|---|---|---|
| 1 Screen | best of 6 settings in 1994-2007, discounted for the tries | passed: best was 252 days, Sharpe 0.92 vs buy and hold 0.68; deflated Sharpe probability 0.98 (pass at 0.9) |
| 2 Out of sample | the 252-day rule from 2008 on, never fitted to those years | failed: Sharpe 0.63 vs buy and hold 0.63; yearly growth 8.0% vs 11.1%; worst fall -31.4% vs -52.3% |
| 3 Costs | the cost per switch at which the edge is gone | failed: break-even at 2.5 bp per switch; 3.7 switches a year |
| 4 Robustness | other settings and other markets, out of sample | failed: 66.7% of settings, 0.0% of other markets and 33.3% of start years beat buy and hold |
What held, and what did not
- Risk-adjusted return (Sharpe) from 2008: not better than buy and hold.
- Growth: lower than buy and hold (8.0% a year vs 11.1%).
- Worst fall: smaller (-31.4% vs -52.3%).
Does the answer depend on the year the test starts?
The unseen period was started in each of these years in turn, the rule unchanged. (This check was added to the method after the first run of this test: from 2008 the rule beat buy and hold, from 2010 it did not, because the 2008 crash carried it.)
| Unseen years from | Sharpe | Buy and hold | Yearly growth | Buy and hold's | Worst fall | Buy and hold's |
|---|---|---|---|---|---|---|
| 2004 | 0.65 | 0.64 | 8.2% | 10.8% | -31.4% | -55.2% |
| 2006 | 0.64 | 0.64 | 8.2% | 11.1% | -31.4% | -55.2% |
| 2008 | 0.63 | 0.63 | 8.0% | 11.1% | -31.4% | -52.3% |
| 2010 | 0.67 | 0.86 | 9.1% | 14.1% | -31.4% | -33.7% |
| 2012 | 0.76 | 0.92 | 9.9% | 14.9% | -31.4% | -33.7% |
| 2014 | 0.62 | 0.83 | 7.9% | 13.5% | -31.4% | -33.7% |
Re-picking every year (walk-forward)
Choosing the setting with the best Sharpe over the previous 5 years each January, from 2008: Sharpe 0.66, yearly growth 7.4%, worst fall -21.7%. Picks: 2008: 252, 2009: 252, 2010: 189, 2011: 189, 2012: 126, 2013: 126, 2014: 42, 2015: 42, 2016: 126, 2017: 126, 2018: 126, 2019: 126, 2020: 21, 2021: 42, 2022: 42, 2023: 42, 2024: 21, 2025: 189, 2026: 189.
Every setting, out of sample
| Setting | Sharpe | Buy and hold |
|---|---|---|
| 21 | 0.51 | 0.63 |
| 42 | 0.72 | 0.63 |
| 63 | 0.64 | 0.63 |
| 126 | 0.72 | 0.63 |
| 189 | 0.78 | 0.63 |
| 252 | 0.63 | 0.63 |
Other markets, the same rule, out of sample
| Market | Sharpe | Buy and hold | Worst fall | Buy and hold's |
|---|---|---|---|---|
| QQQ | 0.70 | 0.77 | -31.4% | -50.0% |
| IWM | 0.39 | 0.46 | -27.4% | -54.3% |
| EFA | 0.16 | 0.31 | -32.0% | -58.3% |
| DIA | 0.59 | 0.60 | -23.7% | -48.9% |
How it was tested
- Daily adjusted closes (dividends reinvested) from Yahoo Finance's chart data; the signal is read at a day's close and acts on the next day, so no day uses information it would not have had.
- Cash earns nothing in this test (a money-market rate would add to the rule's side).
- The pass rules were fixed in the code before the data was read; every stage is reported whether it passed or not.
- The deflated Sharpe ratio follows Bailey and López de Prado (2014), "The Deflated Sharpe Ratio", Journal of Portfolio Management 40(5).
What this cannot tell
- One country's large stocks over about three decades is one path of history; a rule can fail on the next one.
- Taxes on each switch are not counted; in a taxable account they favour buy and hold.
- A lower worst fall can matter more to a reader than a higher Sharpe; the table shows both.