Tuesday, April 27, 2021

Timing the Market

 "Don't try to time the market" is some of the most frequently given advice to beginner investors. I decided to do some testing of the theory against a frequently discussed strategy: "buy the dip". I backtested investing in Apple from February 24, 2020 to February 8, 2021. I assumed that one investor (the anti timer) bought one share at the opening price every Monday, while a second investor (the dip buyer) bought one share at the opening price on the first day following a down day (a day with a closing price lower than the previous close). The logic here is that an investor might identify a stock they are bullish on over the weekend. The anti timer would simply buy as soon as possible, while the dip buyer would wait for the price to decline. If the Friday before that weekend was a down day, then I assume both the anti timer and dip buyer would buy at the Monday opening price. I ignored weeks with a market holiday, and weeks with an ex-dividend date. 

The anti timer outperformed the dip buyer in this analysis. The dip buyer paid a lower price in only six of the 39 weeks. The anti timer paid a total of $3,896.64, while the dip buyer paid $3,908.43 for the 39 shares. The close on February 12, 2021 (the final week of this analysis) was 135.37, making the 39 shares worth $5,279.43. Ignoring dividends, that is a 35.5% gain for the anti timer, and a 35.1% gain for the dip buyer. Not a huge difference. The logic against buying the dip is that equities generally increase over time, and the dips are unpredictable, so it is best to simply buy as early as possible. While this analysis confirms that, I wouldn't rule out the possibility that a more sophisticated dip buying strategy may be effective. This might be a topic for a future post. 

The six instances of the dip buying strategy paying a lower price are in bold.

DateMonday OpenFirst Dip Open
Feb 24, 2074.3271.63
Mar 2, 2070.5770.57
Mar 9, 2065.9465.94
Mar 16, 2060.4961.85
Mar 23, 2057.0257.02
Mar 30, 2062.6962.69
Apr 13, 2067.0871.85
Apr 20, 2069.4969.49
Apr 27, 2070.4571.18
May 11, 2077.0378.04
May 18, 2078.2579.17
Jun 1, 2079.4479.44
Jun 8, 2082.5686.18
Jun 15, 2083.3187.85
Jun 22, 2087.8487.84
Jul 6, 2092.594.18
Jul 13, 2097.2794.84
Jul 20, 2096.4296.42
Jul 27, 2093.7193.71
Aug 10, 20112.6112.6
Aug 17, 20116.06116.06
Aug 24, 20128.7126.18
Aug 31, 20127.58127.58
Sep 14, 20114.72114.72
Sep 21, 20104.54104.54
Sep 28, 20115.01113.79
Oct 5, 20113.91113.91
Oct 12, 20120.06121
Oct 19, 20119.96119.96
Oct 26, 20114.01114.01
Nov 9, 20120.5120.5
Nov 16, 20118.92118.61
Nov 30, 20116.97122.6
Dec 7, 20122.31122.31
Dec 14, 20122.6122.6
Jan 4, 21133.52133.52
Jan 11, 21129.19128.5
Jan 25, 21143.07139.52
Feb 8, 21136.03136.03
Total3896.643908.43

No comments:

Post a Comment