How does war affect the stock market? (Historical Backtest)
How does war affect the stock market? Can we expect poor returns and increased volatility? Or is it a good time to buy when you hear the sound of cannons?
Perhaps counterintuitive, history suggests that stock markets show less volatility during wars and geopolitical conflicts, and Nathan Rothschild’s famous quote “buy to the sound of cannons, sell to the sound of trumpets” might be somewhat true. US stocks have performed reasonably well during wars. However, wars on home soil might change the picture dramatically.
That you should buy to the sound of cannons might come as a surprise for many because a war normally has immense uncertainty about the outcome – defeat or win. Uncertainty is what the stock market dislikes the most! Let’s look at some evidence from the past:
Stock market performance during wars
Buy to the sound of cannons, sell to the sound of trumpets.
The above quote, presumably said by the famous banker Nathan Rothschild, is repeatedly quoted when a new conflict pops up. Is it any truth in it? Let’s start by finding out how stocks have performed during conflicts and war. We use the US stock market as a proxy because the US has long datasets. However, keep in mind that the US has not had a war on home soil for a very long time. Luckily, many have researched the performance before.
For example, LPL Research conducted a thorough backtest in 2020:
Trading Rules
THIS SECTION IS FOR MEMBERS ONLY. _________________ BECOME A MEBER TO GET ACCESS TO TRADING RULES IN ALL ARTICLES CLICK HERE TO SEE ALL 400 ARTICLES WITH BACKTESTS & TRADING RULESHow does war affect the stock market? WW2
The famous stock market strategist Barton Biggs wrote a book in 2008 called Wealth, War & Wisdom. In the book Biggs published a very interesting chart showing the performance of Dow Jones during WW2:
When the first bombs landed at Pearl Harbor, the stock market initially fell almost 20%. However, the setback was temporary as the bottom was set just a few months after the Japanese attack. Before the end of the war, the Dow Jones rose over 60% before the Germans and the Japanese surrendered (in real returns). If we look at the S&P 500 we find these monthly returns from 1941 to the end of 1945 (S&P 500 didn’t exist at the time but it has been constructed retrospectively):
For clarification: The US joined the war in December 1941. Prior to this, the stock market had a drawdown, probably in anticipation of the US being dragged into the conflict, but clearly had a solid performance in 1942 and the first half of 1943. The source is officialdata.org. Let’s look at another anecdotal evidence: the Iraqi invasion of Kuwait on the 2nd of August 1990:
The initial reaction was a selloff at lower prices, but already in October, the market had fully discounted a war. When the US forces forced the Iraqi army out of Kuwait, the stock market rose sharply. Why doesn’t the stock market react worse to a war? Most likely because the governments start printing money or reshuffle money to create more activity. This brings us to another study:
How does war affect the stock market? Volatility goes down
In a recent study called Stock Volatility And The War Puzzle, Gustavo Cortes, Angela Vossmeyer, and Marc Weidenmier looked into the performance of US stocks from 1890 to 2017. The authors are mainly interested in the war periods, but the whole period was used as a benchmark. Perhaps surprisingly, periods of war and conflict have LESS volatility than periods of less geopolitical problems:
How come periods of wars and conflicts show less volatility? The authors believe it boils down to government spending: The figure above shows the relationship between defense expenditures to total expenditures (the blue line) and stock market volatility (the grey line). Visually, it indicates an inverse relationship where higher defense expenditures are associated with lower volatility. The authors calculated the correlation to a negative 0.26.
How does war affect the stock market? Extinction
Keep in mind that none of the wars covered above were fought on US soil. This, of course, spares the US from damage or destruction of infrastructure. Germany lay in ruins after WW2 and the stock market was closed for several years. When it opened in 1945, it opened 90% lower to our knowledge. Likewise, the Russian invasion of Ukraine has created havoc on the Russian economy and the stock exchange is still closed as of writing (but Western investors have lost more or less everything). We expect Russia to nationalize everything sooner or later. Also, the Russian stock market presumably performed just as well as the US stock market up until 1917, when it closed and never opened until 1991. And, of course, investors lost it all if they were still alive 74 years later.
How does war affect other assets?
There are many other asset classes than stocks.
Gold, for example, is perceived as a safe haven in times of turbulence. After the US terminated the convertibility of the US dollar to gold in 1971, we have witnessed a rise in the gold price when uncertainty picked up.
It happened during the Iran revolution, Iraq’s invasion of Kuwait, and the beginning of the war in Iraq in 2003. However, as pointed out in this article, the gold price might react to anticipated money printing. Gold has served as a useful inflation hedge for several thousand years, and wars often lead to a rise in the money supply, which eventually means higher consumer prices. Commodities also tend to go up because business and supply chains get disrupted. Oil, for example, has “always” risen when the geopolitical landscape gets uncertain. But commodities are notoriously difficult to predict and have shown poor long-term returns compared to stocks.
How does war affect the stock market? Conclusions
Massive military spending during conflicts and wars reduces uncertainty about the future profitability of companies. Any war or conflict is often discounted beforehand or during the first stage of the war, for later to rise. Perhaps counterintuitively, forecasting might become easier despite geopolitical wars! However, we must separate wars fought on home or foreign soil. Forecasting is immensely difficult, but the aggregate of the market might be the best indication we have. The markets are always looking ahead and rarely focus on what has happened. This is why it seems so counterintuitive when it goes up on presumably bad news. How does war affect the stock market is sometimes hard to grasp for most of us.