Market Timing Simulator

 

This Market Timing Simulator allows you to compare the performance of two investing strategies:

This tool covers a time period stretching from January 1980 to present, allowing you to test drive your market timing strategy against historic events such as 1987’s “Black Monday”, the dot-com bubble of the early 2000’s, the Great Financial Crisis of 2008, and the COVID-19 pandemic.

The “stock market” refers to the S&P 500 index in this case (Vanguard’s VFINX fund to be precise), a basket of the 500 largest U.S. stocks.

Now you’re up — does the route to riches rely on time in the market, or timing the market?
 

Loading animation -- need inputs

Importing market prices…

 

Assumptions

Your Current & Future Savings
Initial Contribution $
Monthly Contribution $
Market Timing Strategy
Only invest when the market is down by x%+ from the current all-time high %
Time Period

 

Other Assumptions
Interest rate on cash %
Trading transaction fee $ per trade
 

Results

Click button to save / share your custom scenario
Investing Strategy Final Portfolio Value Average Annual Return
Invest whenever you have cash
Only invest when the market is down by x%+ from the current all-time high
All cash strategy (incl. interest)

 

Market Timing Strategy – Cash vs Stock Breakdown

 

Underlying Index Performance

 
 

Illustrative Examples

 

Troy and Abed in the Market

To illustrate how the tool works, let’s take the example of Troy and Abed. They’re study group partners at a local college who’ve decided to invest their savings in the stock market.

Troy and Abed each have $6,000 to start with, and will save an additional $200 per month going forward.

However, they’ve chosen different investing strategies:

They start investing on January 1st, 2010.

Using the actual performance data of the S&P 500 index from 2010 to the end of 2019 (a period of 10 years), how did they fare? [Visualized here]

Abed’s strategy allows him to capitalize on stock market corrections / crashes. For example, during the mini market crash of December 2018 — which saw the S&P 500 decline by 20.1% from its peak price — Abed had nearly $21,000 of cash which he used to buy stocks ‘on the cheap’.

On the other hand, Abed’s strategy results in him keeping cash on the sidelines when the market is doing well. As the S&P 500 index rose steadily from 2012 to 2018 — routinely setting new all-time high prices — Abed funneled his monthly contributions into a savings account instead of putting it to work in the markets.

In comparison, Troy invested his $200 monthly contributions into the market like clockwork. He never made any big trades during market crashes, and never held off from investing when the market might have looked “too high”.

All in all, Abed’s market timing strategy underperformed Troy’s regular investing strategy.
 

When Timing Does the Trick

That’s not to say that market timing can’t yield big profits.

Let’s assume that Abed started investing in 1997 with $6,000 initially, +$200 added per month, and a strategy of investing only when the market was down by 45%+ from the all-time high price. [Visualized here]

At the end of 2011 (a 15-year period), Abed would have a grand total of $73,587 in his portfolio. Meanwhile, Troy’s regular investing strategy would have only yielded $59,050. In this case, Abed would have outperformed by $14,537.

Abed’s strategy was so successful because he correctly predicted that there would be severe market declines on the horizon. His strategy allowed him to capitalize on the bursting of the dot-com bubble (a decline of 49.1% from the peak) and the great financial crisis of 2008 (a decline of 56.6% from the peak).
 

When Timing Falls Face Flat

However, we can also cherry-pick an example on the other end of the spectrum.

Let’s assume that Abed used the same strategy (only investing when the market is down by 45%), but starts in the year of 1980 (instead of 1997 as shown above). [Visualized here]

At the end of 1994 (a 15-year period), Abed would have a grand total of $49,960 in his portfolio. Meanwhile, Troy’s regular investing strategy would have only yielded $124,211. In this case, Abed would have underperformed by $74,251(!).

In this case, the market never declined by more than 45% in this 15-year period. The highest decline was 33.5% from the peak during 1987’s “Black Monday”. As a result, Abed never invests in the market at all! His savings stay entirely in cash, earning 2% per year.

Meanwhile, Troy’s money grew at an average of 11.7% per year.

¿Donde esta les market timing profits?

 

Notes

For the spreadsheet junkies: you can download a bare bones excel version of this tool here. This spreadsheet contains market pricing data up until May 6th, 2020.

 
 

Header image credit: Maddy Lykken





     

Moonshine Money: A Do-It-Yourself Guide to Personal Finance

A simple yet comprehensive guide to everything you need to know about managing your money, tracking your spending, getting out of debt, building wealth, and more. 100% free, like everything else here!

Comment Section

10 Responses to “Market Timing Simulator”

  1. PPan says:

    Hi Alan,

    Another great tool from you! Thank you!!

    As we know most times, time-in-the-market wins but it is still not 100 % of the times. I was trying come-up with a scenario where market timing would win but couldn’t find one. Can you share such a scenario.

    Thanks.

  2. […] recently chanced upon an interesting website called The Measure of a Plan. It has an interesting market timing simulator. This tool allows you to compare the performance of two investing […]

  3. […] (180.217.104.150 臺灣), 12/02/2020 21:30:16 → jimmyid4 : https://bit.ly/39AT0oK10F 12/02 21:30 The Measure of a Plan Does timing the market beat time in the market? Use this interactive simulator to find out. … […]

  4. B says:

    Love what you’ve done here and all you’ve made for public use! Great tools here for my personal use and

    How about a simulator for those who are prone to panic sell?

    i.e. “I’m worried market is going down (it’s already down by X%) … what if I move to cash and wait until Y condition before redeploying again?

  5. nabula says:

    hello
    thanks for the tool, is this tools still

    working ? my browser look like this

    https://i.imgur.com/OV6NcbA.jpeg

    thanks

    • Hi Nabula,

      Sorry for the long delay in fixing this. I’ve now managed to get the tool up and running again.

      Turns out I needed to update some code which had become deprecated (I was using TableTop.js to grab the market price values from Google Sheets, which needed to be swapped out for Papa Parse instead).

  6. […] hand at beating the performance of a simple buy-and-hold strategy, I invite you to play this simple market timing simulator game. […]

Leave a Reply

Your email address will not be published. Required fields are marked *