Wednesday, March 27, 2024

How to beat the S&P 500 without much effort: A one-year moving average strategy


Summary

- One of the most successful strategies for long-term investment returns is to buy and hold a broad-coverage index fund.

- The SPY is an exchange-traded fund (ETF) that tracks the S&P 500, and is a good example of broad-coverage index fund.

- A simple strategy can be devised to obtain even better than buy-and-hold long-term returns, employing fast- and slow-moving averages.

- We explain and test a one-year moving average strategy that in the long term performs significantly better than buying and holding SPY.

The one-year moving average for SPY from 1995 to 2018

The graph below has been created with Yahoo Finance (). It shows the variation of the SPY exchange-traded fund (ETF) from 1995 to 2018 (in red), plus the one-year moving average during that period (in blue). The SPY tracks the S&P 500 index, and had a net expense ratio of 0.09% at the time of this writing. One of the advantages of index funds is that they have a low expense ratio compared with actively-managed mutual funds.



Note that there are two moving averages in the graph: (a) the SPY “share” price (or net asset value per share) at any given time, which is the fastest moving average possible for the fund; and (b) the SPY’s one-year moving average, which is a slow-moving simple average of the fund’s share prices. (see ).

Simple inspection would suggest that, after an initial purchase, one would do better than holding SPY by employing a simple two-step strategy: (1) sell when the SPY crosses below its one-year moving average; and (2) buy back when SPY crosses above its one-year moving average.

A test of the strategy

While on the graph the simple strategy above may look appealing, the strategy must be tested with real data and under realistic assumptions. The figure below shows part of a screen snapshot of a test of the strategy, with multiple trades on a spreadsheet. Each row of the spreadsheet corresponds to one trade. The first row corresponds to the initial buy. A conservative fee of US$ 40 per trade is assumed, in part to account for bid-ask spread losses.




The figure below shows the final rows of the simulation, the result of a comparison buy-and-hold baseline strategy, and the percentage difference. Starting with an investment of US$ 100,000 made in January 1, 1995, the simple one-year moving average strategy gets us to US$ $980,558 on January 1, 2018. The buy-and-hold baseline strategy gets us to US $611,714. That is, the simple one-year moving average strategy performs about 60 percent better.




The simulation disregards dividends and sweep account gains (whereby cash earns interest). At the time of this writing, one could easily get money market yields in sweep accounts that were comparable in value to the SPY dividend.

Is the 365 days used for the moving average optimal? Probably not, but our simulation suggests that this number is effective at limiting false positives while at the same time capturing major drops of the index (e.g., those in the two recessions in the period considered). False positives would be much more frequent with a faster moving average, such as a 50-day moving average. If too frequent, false positives can significantly increase trading-related losses, to the point of negating the benefit of the strategy.

Thursday, February 29, 2024

Is a PE ratio of 12 attractive? A simulation-based view of company valuation


Summary

- The price/earnings (PE) ratio is one of the most widely used measures of company valuation.

- Through a simulation, we show that if growth is expected to slow down, then PE ratios are likely to go down, possibly in a dramatic fashion.

- For example, if earnings are expected to grow only 2% per year, then an attractive PE ratio would be 7.95. This is much lower than the PE ratio of 12, which is generally seen as attractive.

- For a PE ratio of 12 to be attractive, the expected earnings growth has to be at least 10.18% per year.

The PE ratio

The price/earnings (PE) ratio is one of the most widely used measures of company valuation (). It is calculated by dividing a company's share price by its earnings per share. Essentially, the PE ratio reflects a company’s value, as seen by the stock market, divided by its net profits.

What is an attractive PE ratio?

From early 2009 to early 2019 the SPY exchange-traded fund (ETF) has gone up in value approximately 222.72%. The SPY is an index fund, which tracks the S&P 500 index (, ). It had a relatively low net expense ratio of 0.09% at the time of this writing. The SPY has also paid dividends during this period. In early 2019 the dividend was a little less than 2%.

If you bought US$ 10,000 in shares of a company, and had a return comparable to buying and holding the SPY in the 2009-2019 period above, the shares would be valued at approximately US$ 32,272 after 10 years. The spreadsheet section in the figure below shows a simulation where earnings are assumed to grow 2% per year over a period of 20 years. As you can see, the value of US$ 32,272 is reached at year 10. The EP percentages go up because they assume that the share prices remain constant; in reality those prices would go up, keeping the PE ratio somewhat constant. The first EP percentage is the reverse of the PE ratio.



At the top left you see the PE ratio associated with this return. It is a fairly low 7.95. This is much lower than the PE of 12, which is often seen as attractive by investors. That is, if you want to purchase shares of a company whose earnings are expected to grow only 2% per year, and obtain a return for the next 10 years that is comparable to the S&P 500 in the 2009-2019 period, then you should buy shares in a company with a PE ratio of 7.95.

The same simulation-based approach can be used to find out what growth rate would be needed for a PE ratio of 12 to be attractive. This is summarized in the spreadsheet section in the figure below. For a PE ratio of 12 to be attractive, the expected earnings growth has to be at least 10.18% per year.



The PEG ratio

Note that the PEG ratio () in the first spreadsheet section, also shown at the top left, is 3.97. The PEG ratio is the PE ratio divided by the expected annual earnings growth. This PEG ratio is much higher than 1, which is generally perceived as an attractive PEG ratio. And still, the return on the investment in 10 years will no doubt be attractive (the S&P 500 had a remarkable run in the 2009-2019 period), as long as the PE ratio is a low 7.95.

In the second spreadsheet section, the PEG ratio is 1.179, which is much closer to 1. This highlights one interesting property of the relationship between the PEG and the PE ratios - it is a nonlinear relationship. The closer the earnings growth gets to zero, the more warped it becomes, pushing the PEG ratio higher and away from 1 (assuming that the PE ratio is positive).

When growth slows down, the stock market may collapse, even without a recession

The above discussion highlights the fact that, if growth is expected to slow down, then PE ratios are also likely to go down. PE ratios may go down dramatically, leading to a severe stock market correction, even without a recession ().

In fact, as we can see from the discussion above, a severe correction may happen even without earnings going down! In other words, earnings may still keep growing, but at such a slow pace that the market is compelled to adjust PE ratios downward to match the lowered return expectations.

Tuesday, January 30, 2024

Where is the yield curve un-inversion?

The figures below show the graphs of the 10y-3m Treasury yields and 10y-2y Treasury yields. The inversion in the 10y-3m graph is the best indication of an impending recession, and that graph typically un-inverts immediately prior to a recession.





While the first graph does not show an un-inversion, the second (i.e., 10y-2y) does. And the second tends to predict the first, because the 2y yields tend to predict the 3m yields. That is where the yield curve un-inversion is, at the moment. The video linked below discusses this in a bit more detail.

Sunday, December 31, 2023

Fortune favors the bold, and so does misfortune

The figure below illustrates a truth that most investors know, but tend to forget. Taking high levels of risk in the financial markets increases the tail probabilities, which are associated with massive gains and massive losses. The lure of high-risk decisions and related investment instruments often acts as a sort of tax on the statistically illiterate.



But investors can reduce the chances that they will end up at the left tail end of the probability distribution. When it comes to stock investing, paying attention to two events can help. The first is the percentage difference between 10-year and 3-month U.S. Treasury yields falling below zero, because a U.S. recession tends to occur within the next 18 months.

The second is the stock market, measured by an index such as the S&P 500, reaching a double-top within that that period of 18 months after the percentage difference between 10-year and 3-month U.S. Treasury yields falls below zero. This combination is extremely bearish. And this is where we are about now. The video linked below discusses this in a bit more detail.

Friday, December 1, 2023

The nonlinear relationship between the PE and PEG ratios


Summary

- The price/earnings (PE) and the price/earnings to growth (PEG) ratios are widely used measures of company valuation.

- Generally speaking, a PE of 12 is considered indicative of fair value, and so is a PEG of 1.

- These are gross simplifications that would apply only to a company whose annual earnings growth rate is about 10 percent.

- For example, a company whose earnings are growing at an annual 75 percent rate would be fairly valued with a PE of 260.47 and a PEG of 3.47.

The PE ratio

One can easily obtain the price/earnings (PE) ratio for any publicly traded company from Yahoo Finance (). The PE ratio is one of the most widely used measures of company valuation (). It is calculated by dividing a company's share price by its earnings per share. Essentially, the PE ratio reflects a company’s value, as seen by the stock market, divided by its net profits.

Earnings growth and the PEG ratio

The price/earnings to growth (PEG) ratio can also be easily obtained from Yahoo Finance. It is calculated as the PE ratio divided by the expected annual earnings growth rate (). At the time of this writing, the PEG value shown on Yahoo Finance (noted as “PEG Ratio (5 yr expected)”) reflects the expected annual earnings growth rate for the next 5 years. With both the PE and PEG ratios, one can obtain the expected annual earnings growth by dividing the PE by the PEG.

The nonlinear relationship between the PE and PEG ratios

Let us assume that a good investment today would give you the same return in 10 years as a very low-cost fund tracking the S&P 500 would have given in the past 10 years. Such an investment would turn US$ 10,000 into US$ 32,272 in a period of 10 years. For the rationale behind these assumptions, see a previous post where I introduce a simulation-based approach for company valuation ().

The table below shows the simulation-based fair value PE and PEG ratios associated with various annual earnings growth rates. The lowest growth rate shown is minus 50 percent, which would refer to a company whose net profits are going down by 50 percent every year. The highest growth rate shown is 100 percent, for a company whose net profits are doubling every year.



Generally speaking, a PE of 12 is considered indicative of fair value, and so is a PEG of 1. As you can see, these are gross simplifications that would apply only to a company whose annual earnings growth rate is about 10 percent. By contrast, a company whose earnings are contracting at a 2 percent annual rate would be fairly valued with a PE of 6.51 and a PEG of -3.25. At the other end of the growth rate scale, a company whose earnings are growing at an annual 75 percent rate would be fairly valued with a PE of 260.47 and a PEG of 3.47.

The bottom line: the relationship between the PE and PEG ratios is nonlinear. This is why valuations sometimes look odd to those thinking in terms of a PE of 12 and a PEG of 1. High growth companies, often in cutting-edge technology areas, may be fairly valued at PEs that look astronomical and PEGs that are significantly greater than 1.

Friday, October 20, 2023

A simulation-based valuation of the S&P 500: October 2023

The figure below shows two simulation-based valuations of the S&P 500. They assume a fair price-to-earnings (PE) ratio for the S&P 500 that is the inverse of half of the 10-year U.S. Treasury yield. The price (at the top) is the most recent top value of the S&P 500.



The numbers on the left consider a more benign scenario: S&P 500 earnings in 2023 are up by 3.20% from the previous year, and the 10-year U.S. Treasury yield is at 4.91%. The numbers on the right refer to a less positive scenario: S&P 500 earnings are up by 1.10%, and the 10-year U.S. Treasury yield is at 5.47%.

The second scenario takes us to a fair price for the S&P 500 of 2,015.07, which is 58.18% down from the most recent high. The video linked below discusses these simulations, some of the most recent values for the simulation inputs, and a few other things.

Thursday, September 28, 2023

A simulation-based valuation of the S&P 500: September 2023

The figure below shows two simulation-based valuations of the S&P 500. They assume a fair price-to-earnings (PE) ratio for the S&P 500 that is the inverse of half of the 10-year U.S. Treasury yield. The price (at the top) is the most recent top value of the S&P 500.



The numbers on the left consider a more benign scenario: S&P 500 earnings in 2023 are up by 3.20% from the previous year, and the 10-year U.S. Treasury yield is at 4.62%. The numbers on the right refer to a less positive scenario: S&P 500 earnings are up by 1.20%, and the 10-year U.S. Treasury yield is at 5.48%.

The second scenario takes us to a fair price for the S&P 500 of 2,012.28, which is 58.24% down from the most recent high. The video linked below discusses these simulations, some of the most recent values for the simulation inputs, and a few other things.