Staying Invested vs Timing the Market: Best Days, Worst Days, the 200-Day Rule and Dollar-Cost Averaging since 1988
Published:
Investment firms often warn that if you had missed the market’s ten best days, you would have lost a large share of your return, so you should never sell. Traders answer that you could also have missed the ten worst days. Both claims use the same data, so I computed them side by side for the S&P 500 with dividends since 1988, and then tested two things a real investor might do: follow a simple trend rule, and spread a lump sum over a year instead of investing it at once.
Staying invested turned $10,000 at the start of 1988 into about $650,000 by December 2026, a return of 11.3% a year. Missing the ten best days would have cut that to $289,000, and missing the ten worst days would have raised it to $1.56 million. Both numbers are true, and neither is useful on its own, because the best and worst days come together. All ten of the best days happened while the S&P 500 was below its 200-day average, in the middle of a sell-off: six in the autumn of 2008 and March 2009, three in March and April 2020, and one in April 2025. Thirteen of the twenty best days came within two weeks of one of the twenty worst. Someone who missed both the ten best and the ten worst days would have ended with $695,000, a little more than someone who stayed invested.
A simple trend rule: smaller crashes, lower returns
Since the worst days cluster in bear markets, a natural idea is to step aside when the market is in a downtrend. A common rule is to hold the S&P 500 only when it closed above its 200-day moving average the day before, and to hold Treasury bills otherwise. Over the same 39 years, with a cost of 0.1% each time the rule switched, it turned $10,000 into $317,000, or 9.3% a year, about two points a year less than staying invested. In exchange, its worst peak-to-trough loss was 21%, against 55% for buy and hold.
The rule earned its keep in only one decade. From 2000 to 2009 it returned 2.7% a year while buy and hold lost 0.9% a year, because it was out of the market for most of both bear markets. From 1988 to 1999, in the 2010s and in the 2020s it lagged by three to six points a year, because it kept selling after short drops and buying back higher; it switched 228 times in 39 years. Whether that trade is worth it depends on whether you would actually hold on through a 55% drop. For a person who would sell in a panic at the bottom, a rule that limits the loss to about 20% may be the better choice even at a lower average return.
Lump sum or dollar-cost averaging
The same logic applies to new money. For every month since 1988, I compared investing a lump sum at once with investing it in twelve equal monthly parts while the rest earned Treasury-bill interest. After twelve months the lump sum was ahead in 78% of the 456 starting months, by 4.5 points on average, simply because stocks rise more often than they fall. Spreading the money out helped in the other 22%, sometimes a lot: in the worst tenth of cases the lump sum was behind by more than 6.5 points. Dollar-cost averaging is insurance against bad timing, and like most insurance, it costs money on average.
How I measured it
I used the S&P 500 total return index (dividends reinvested) from Yahoo Finance from January 4, 1988 to December 1, 2026, and the three-month Treasury bill rate from FRED (DTB3) for cash. “Missing” a day means its return is removed. For the trend rule, the signal is the previous day’s close compared with the 200-day simple moving average of the total return index, and each switch costs 0.1%; taxes are ignored, which would hurt the trend rule more since it sells often. The dollar-cost averaging test starts at every month-end and compares the two approaches twelve months later, before taxes and fees.
Not investment advice. Past returns do not predict future returns.