2020 Stock Market Crash

From edegan.com
Jump to navigation Jump to search

Summary

Between the 19th of February, 2020, and the 23rd of March, 2020, the S&P500 (^GSPC) fell from 3,386.15 to 2,237.40, using adjusted closing prices. It subsequently climbed back to 3,276.02 on the 22nd of July, 2020. Some people seem to think it will keep going. I expect a massive crash.

To predict the upcoming (?) 2020 stock market crash, I propose examining the market using three techniques:

  • Historical crash analysis
  • Price-to-earnings (or revenue, etc.) analysis that attempts to factor defaults
  • Extrapolating based on the market-to-economy relationship

I could also employ a pure chartist approach, perhaps to give the counterfactual.

S&P 500 data

As much as I love the Dow, it accounts for about 25% of the economy, whereas the S&P500 accounts for around 80%. So I'll likely use the S&P500. I'll download both from Yahoo:

The site complains about start dates being ahead of end dates with start dates before 1976ish... Usually, the issue doesn't happen with 2digit date less than 41. But you can edit the URL directly using Unix Timestamps.

COMPUSTAT data

COMPUSTAT updates its fundamentals quarterly and monthly security files daily. I did a pull of the entire fundamentals quarterly database from 2015-01 to 2020-07. It has close prices, as well as highs and lows. I pulled close, as averaging highs and lows seems like it might be skewed given the context (especially over short time periods).

Historic Crashes

Data before the 1980s probably isn't useful. It was a different world back then, both in terms of globalization and in terms of how stock markets worked. So, I'll start with the 1987 crash and go forward from there. I'm going to suggest three classes of crash, like hurricanes:

Class Description
1 Flash crashes and other short-term market anomalies
2 Short to medium term economic disturbances that are limited to a sector
3 Economic crises

My starting list comes from a list of stock market crashes.

Using the largest decline on the Dow of the year (except for 1994) as the crash day gives: Result(Copy to clipboard)

Event Start Year Class Largest SingleDay Date Notes
Black Monday 1987 3 -22.60% 10/19/1987 A -3.8% in 3 days and an -8% follows a week later. Preceeded by a -4.6% 3 days earlier, and a -3.8% 2 days before that.
Early 90s recession 1990 2 -3.30% 8/6/1990 It plummets even more on Nov 15th of 1991, with a 3.8%
Part II of the early 90s 1994 2 -2.40% 2/4/1994 Almost the same drop on Nov 22nd (actually slightly larger), later in the year
Dot Com Crash 2000 3 -5.70% 4/14/2000 A -3.7% five weeks earlier
Financial crisis 2007 2 -3.30% 2/27/2007 Lot of volatility later in the year
Financial crisis II 2008 3 -7.90% 10/15/2008 Series of ~4% drops in Sept and then some 5-6% ones in Oct/Nov.
2010 Flash Crash 2010 1 -3.60% 5/20/2010 Were -3.2% on 6th May and on 4th June
Aug 2011 Fall 2011 1 -5.50% 8/8/2011 First drop was on 4th Aug (-4.3%), then 8th, then 10th (-4.6%). Other bid declines in Sept and Nov.
2015–16 stock market selloff 2015 1 -3.60% 8/24/2015 Was a -3.1% 3 days earlier and a -2.8% a week later
Asian Contagion 1997 1 -7.2% 10/27/1997 Had been a 3.1% decline in Aug
1998 Bear Market 1998 2 -6.40% 8/31/1998 Was a -4.2% 4 days earlier, a a -3.4% on the 4th before that. It was also followed by a -3.2% on the 10th Sept.
Friday 13th Mini-crash 1989 1 -6.90% 10/13/1989 Appears isolated

Data driven approach

Identify crashes as using the largest single-day declines on the DJIA:

Date Adj Close Volume SingleDayChange
10/19/1987 1738.73999 87230000 -22.6%
10/26/1987 1793.930054 35420000 -8.0%
1/8/1988 1911.310059 27440000 -6.9%
10/13/1989 2569.26001 37620000 -6.9%
10/27/1997 7161.200195 91830000 -7.2%
8/31/1998 7539.069824 117890000 -6.4%
4/14/2000 10305.76953 267580000 -5.7%
9/17/2001 8920.700195 565600000 -7.1%
9/29/2008 10365.4502 385940000 -7.0%
10/7/2008 9447.110352 362520000 -5.1%
10/9/2008 8579.19043 436740000 -7.3%
10/15/2008 8577.910156 374350000 -7.9%
10/22/2008 8519.209961 348840000 -5.7%
11/5/2008 9139.269531 264640000 -5.0%
11/19/2008 7997.279785 350470000 -5.1%
11/20/2008 7552.290039 528130000 -5.6%
12/1/2008 8149.089844 321010000 -7.7%
8/8/2011 10809.84961 479980000 -5.5%
3/9/2020 23851.01953 750430000 -7.8%
3/11/2020 23553.2207 663960000 -5.9%
3/12/2020 21200.61914 908260000 -10.0%
3/16/2020 20188.51953 770130000 -12.9%
3/18/2020 19898.91992 871360000 -6.3%
6/11/2020 25128.16992 647780000 -6.9%

Grouping them using 6-month windows gives 9 crashes:

  • 1987/1988: 3 obs (including largest)
  • 1989: 1 obs
  • 1997: 1 obs
  • 1998: 1 obs
  • 2000: 1 obs
  • 2001: 1 obs
  • 2008: 9 obs
  • 2011: 1 obs
  • 2020: 6 obs (and counting, including second and third largest)

Scripts and Analysis

The SQL script Analysis.sql is in E:\projects\stockmarket, as are the source files.

The dbase is stockmarket, and is loaded on mother. It's source files are in Bulk\stockmarket.

It loads the DJIA, the GSPC, and the crashes file. It will also load the COMPUSTAT pull.

Lit Review

It seems that there's a non-econ based literature that tries to predict crashes using various statistical techniques. A bunch of these papers appear in the journal "Physica A: Statistical Mechanics and its Applications" (WX Zhou abd D Sornette authored 3 of them, and Sornette wrote a book called "Why stock markets crash: critical events in complex financial systems" [1]). See, for example:

  • Can one make any crash prediction in finance using the local Hurst exponent idea? [2] *Antibubble and prediction of China's stock market and real-estate [3]
  • Can we predict crashes? The case of the Brazilian stock market [4]
  • Predicting critical crashes? A new restriction for the free variables [5]
  • Renormalization group analysis of the 2000–2002 anti-bubble in the US S&P500 index: explanation of the hierarchy of five crashes and prediction [6]
  • Autoregressive conditional duration as a model for financial market crashes prediction
  • The use of the Hurst exponent to predict changes in trends on the Warsaw Stock Exchange
  • Stock market dynamics: Before and after stock market crashes

Others in non-finance/econ journals include:

  • The Nasdaq crash of April 2000: Yet another example of log-periodicity in a speculative bubble ending in a crash [7]
  • Use of machine learning algorithms and twitter sentiment analysis for stock market prediction [8]
  • [PDF] Application of neural networks to stock market prediction, AS Kulkarni - Technical Report, 1996 - machine-learning.martinsewell.com [9]
  • Forecasting stock market crisis events using deep and statistical machine learning techniques, SP Chatzis, V Siakoulis, A Petropoulos… - Expert systems with …, 2018 - Elsevier
  • [BOOK] Stock Market Crashes: Predictable and Unpredictable and What to Do About Them [10]

In finance, econ, and business journals:

  • The “CAPS” prediction system and stock market returns, CN Avery, JA Chevalier, RJ Zeckhauser - Review of Finance, 2016 [11]
  • Testing for financial crashes using the log periodic power law model DS Brée, NL Joseph - International review of financial analysis, 2013 - Elsevier
  • Naive trading rules in financial markets and wiener-kolmogorov prediction theory: a study of" technical analysis" SN Neftci - Journal of Business, 1991 - JSTOR [12]
  • Stock market bubbles in the laboratory, DP Porter, VL Smith - Applied mathematical finance, 1994 - Taylor & Francis
  • Investor behavior in the October 1987 stock market crash: Survey evidence, RJ Shiller - 1987 - nber.org [13]
  • Bubble diagnosis and prediction of the 2005–2007 and 2008–2009 Chinese stock market bubbles, ZQ Jiang, WX Zhou, D Sornette, R Woodard… - Journal of economic …, 2010 - Elsevier [14]
  • Stock market crashes in 2007–2009: were we able to predict them?, S Lleo, WT Ziemba - Quantitative Finance, 2012 - Taylor & Francis
  • Market volatility prediction and the efficiency of the S & P 100 index option market, CR Harvey, RE Whaley - Journal of Financial Economics, 1992 - Elsevier [15]
  • Does trading volume contain information to predict stock returns? Evidence from China's stock markets, CF Lee, OM Rui - Review of Quantitative Finance and Accounting, 2000 - Springer [16]
  • US stock market crash risk, 1926–2010, DS Bates - Journal of Financial Economics, 2012 - Elsevier
  • Triggering the 1987 stock market crash: Antitakeover provisions in the proposed house ways and means tax bill? ML Mitchell, JM Netter - Journal of Financial Economics, 1989 - Elsevier [17]
  • To what extent did stock index futures contribute to the October 1987 stock market crash, A Antoniou, I Garrett - The Economic Journal, 1993 - academic.oup.com
  • [PDF] A mean-reversion theory of stock-market crashes, E Hillebrand - Journal of Finance, 2003 - cofar.uni-mainz.de [18]
  • Explaining what leads up to stock market crashes: A phase transition model and scalability dynamics, R Yalamova, B McKelvey - Journal of Behavioral Finance, 2011 - Taylor & Francis
  • Speculative bubbles, crashes and rational expectations, OJ Blanchard - Economics letters, 1979 - Elsevier

Particularly useful papers might include:

  • US stock market crashes and their aftermath: implications for monetary policy, FS Mishkin, EN White - 2002 - nber.org [19]
    • This paper examines fifteen historical episodes of stock market crashes and their aftermath in the United States over the last one hundred years.
  • Stock-market crashes and depressions, RJ Barro, JF Ursúa - 2009 - nber.org [20]
    • Long-term data for 30 countries up to 2006 reveal 232 stock-market crashes (multi-year real returns of–25% or less) and 100 depressions (multi-year macroeconomic declines of 10% or more), with 71 of the cases matched by timing. The United States has two of the matched …
  • [BOOK] Stock market crashes and speculative manias, EN White - 1996 - econpapers.repec.org [21]
    • This volume offers an authoritiative selection of the best published articles on the great speculative manias and stock market crashes, which highlights their important similarities. These phenomena disrupt the normal activities of investors who use financial markets to …
  • The predictability of stock market regime: evidence from the Toronto Stock Exchange,S Van Norden, H Schaller - The Review of Economics and Statistics, 1993 - JSTOR
    • Thus the existence of bubbles would not only account for occasional asset price crashes but also rapid run-ups in asset prices before a crash. The question we address is whether or not stock market crashes and the booms that precede them are related to apparent deviations …
  • Stock market crashes and dynamics of aftershocks, P Kapopoulos, F Siokis - Economics Letters, 2005 - Elsevier [22]
    • We begin with the intuitive observation that short-term business-as-usual process and bubble rising looks like an accelerated energy before an earthquake. In such a framework, the aftershocks resemble the correction process of the stock market. We investigate the statistical properties of stock returns in the financial markets just after a major market crash. It is found that the aftershocks obey the well-known Gutenberg–Richter simple rule in geophysics. Our empirical observations show that the statistical properties of aftershocks sequences in the crashes of late '90s and early '00s are essentially different from the ones observed a decade earlier.

Questions

  • Is there an objective definition of a crash?
    • Barro and Ursua 2009: multi-year real returns of –25% or less. They also define a depression as multi-year macroeconomic declines of 10% or more. Crashes and correlated with minor depressions 31% of the time, and major depressions 10% of the time. In reverse, minor depressions are associated with crashes 71% of the time and major ones 92% of the time.... Part of this analysis entails splitting the sample into different “bins” or categories, defined by the magnitudes of the stockmarket crashes or by the type of environment that characterized those events; for example, wars, currency or banking crises, and periods of global economic distress.
    • Mishkin and White 2002: On the face of it, defining a stock market crash or collapse is simple. When you see it, you know it. However, attempting a more precise definition and measurement over the course of a century is more difficult. ... As both fell slightly over 20 percent, a 20 percent drop in the market is used to define a stock market crash. The fall in the market, the depth is, however, only one characteristic of a crash. Speed is another feature. Therefore, we look at declines over windows of one day, five days, one month, three months, and one year....
  • Is there a taxonomy of stock market crashes?
    • Mishkin and White 2002: The description of the fifteen episodes of twentieth century stock market crashes suggests that we can place them into four categories. 1. Episodes in which the crashes did not appear to put stress on the financial system because interest-rate spreads did not widen appreciably. These include the crashes of 1903, 1940, 1946, 1962 and 2000. 2. Episodes in which the crashes were extremely sharp and which put stress on the 31 financial system, but where there was little widening of spreads subsequently because of intervention by the Federal Reserve to keep the financial system functioning in the wake of these crashes. These include the crashes of 1929 and 1987. 3. Episodes in which the crashes were associated with large increases in spreads suggesting severe financial distress. These include the crashes of 1907, 1930-33, 1937, 1973-74. 4. Episodes in which the crashes were associated with increases in spreads that were not as large as in the third category, suggesting some financial distress. These include the crashes of 1917, 1920, 1969-70 and 1990.
  • Are there standard measures of a crash?
    • First drop from peak
    • Largest drop from peak
    • Time to first recovery to peak
    • Time to sustained recovery to peak
    • Off-performance area (i.e., days x difference from peak?) Factoring expected growth?
    • Number of drops? Precursory volatility? Total volatility?

Scripts to build:

  • Identify a slump:
    • Automated: could calculate all 1 day, 1 week, 1 month, 3 month or 1 year cumulative drops and look for those of more than 20% a la Mishkin vs. 25% a la using Barro.
  • Find the previous peak.
  • Find any transitive returns to peak.
  • Find the 'permanent' return to peak (it turns out that you can go from crash to crash).
  • Calculate area lost in point-days and percent-days.