Get 40% Off
👀 👁 🧿 All eyes on Biogen, up +4,56% after posting earnings. Our AI picked it in March 2024.
Which stocks will surge next?
Unlock AI-picked Stocks

Modeling Chaos & Stability In The Stock Market

Published 04/23/2015, 08:10 AM
Updated 07/09/2023, 06:31 AM

Probing the link between financial markets and chaotic states, fractals, and related topics dates to the 1960s, when mathematician Benoit Mandelbrot effectively launched this line of research with his seminal study of cotton prices that documented “recurring patterns at every scale in data,” notes Wikipedia. The subject of chaos and how to exploit it for profit is an ongoing arena for study, albeit with mixed results. The Hurst exponent, for instance, attracted a lot of interest a number of years ago, in part due to an influential and widely read review of the indicator by Edgar Peters in his 1991 book Chaos and Order in the Capital Markets: A New View of Cycles, Prices, and Market Volatility.

There’s still plenty debate about how one might apply the Hurst exponent and related metrics in the day-to-day business of money management. Yet the field of chaos theory remains an intriguing and potentially rewarding area for research. My own interest in this corner has waxed and waned over the years, but I was intrigued anew when I read David Varadi’s brief but thought-provoking essay in March on “Using a Self-Similarity Metric with Intraday Data to Define Market Regimes.” As he explains,

Self-dissimilar objects are associated with complexity and chaos. Several mathematicians (including Mandelbrot) have observed that markets are clearly non-gaussian or non-normal. Markets exhibit “fat-tails” and have a distribution that shares more in common with a Levy distribution than the normal distribution which is used frequently in quantitative finance. But the market does not have a constant distribution- at times the market behavior is fairly normal in character while at other times the market is wild and unpredictable. The question is how we can effectively determine which regime the market is in so that we can apply the appropriate trading strategies to mitigate risk.

3rd party Ad. Not an offer or recommendation by Investing.com. See disclosure here or remove ads .

Varadi offers a simple but potentially useful answer with a measure of self-similarity based on analyzing the market’s intraday range and how it changes in the short term relative to a longer-run window. As a basis for further exploration, let’s take a stab at translating Varadi’s instructions by generating the data in R (see code below) for analyzing the US stock market via the S&P 500.

Varadi advises that “values above 0.5 indicate that the market is in a ‘chaos’ regime and is much less predictable and non-stationary; values below 0.5 indicate that the market is stable and much more predictable.”

Here’s a look at the indicator over the past year:

regime.indicator2015-04-23

Note that this metric has been bouncing around the 0.5 mark recently (red line in chart above), which suggests an equilibrium/neutral condition. That’s in contrast with the stable regime (below 0.5) that prevailed in late-2014 through this past January.

Why is any of this relevant? Because most of the gains in the stock market through time are generated during the stable regime. As an illustration, let’s reproduce a chart in Varadi’s post, where he separates the stable regime from its chaotic counterpart and generates wealth indexes for each data set. The key message, he notes, is that “the market performs quite poorly in ‘chaos’ conditions, and seems to make all of its long-term returns in the ‘stable’ regime.”

regimes.22015-04-22

The notion that trending/momentum factors are valuable sources of risk premia is old news, of course. The challenge is figuring out when market conditions are ripe for earning a profit from these factors… and when they’re not.

3rd party Ad. Not an offer or recommendation by Investing.com. See disclosure here or remove ads .

Varadi’s indicator is hardly the last word on modeling the market’s evolution between chaos and stability, but it’s a useful first approximation. As such, it’s a good benchmark for additional research and looking for possibilities for enhancing this signal. (For additional perspective on this indicator, take a look at his follow-up piece here.)

Latest comments

Risk Disclosure: Trading in financial instruments and/or cryptocurrencies involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors. Prices of cryptocurrencies are extremely volatile and may be affected by external factors such as financial, regulatory or political events. Trading on margin increases the financial risks.
Before deciding to trade in financial instrument or cryptocurrencies you should be fully informed of the risks and costs associated with trading the financial markets, carefully consider your investment objectives, level of experience, and risk appetite, and seek professional advice where needed.
Fusion Media would like to remind you that the data contained in this website is not necessarily real-time nor accurate. The data and prices on the website are not necessarily provided by any market or exchange, but may be provided by market makers, and so prices may not be accurate and may differ from the actual price at any given market, meaning prices are indicative and not appropriate for trading purposes. Fusion Media and any provider of the data contained in this website will not accept liability for any loss or damage as a result of your trading, or your reliance on the information contained within this website.
It is prohibited to use, store, reproduce, display, modify, transmit or distribute the data contained in this website without the explicit prior written permission of Fusion Media and/or the data provider. All intellectual property rights are reserved by the providers and/or the exchange providing the data contained in this website.
Fusion Media may be compensated by the advertisers that appear on the website, based on your interaction with the advertisements or advertisers.
© 2007-2024 - Fusion Media Limited. All Rights Reserved.