Abstract:
This paper draws an analogy between a system in thermal and diffusive contact with a reservoir and
financial markets.
As a result of this analogy, a chemical potential can be defined for the markets.
It seems that the moving average of the chemical potential, when averaged over an appropriate window of time,
may reach a peak around market bottoms.
This is most successfully demonstrated for the 2002 market bottom.
The chemical potential of a few individual stocks is also examined.
CHEMICAL POTENTIAL OF THE STOCK MARKET
Aaron Koga
4 May 2007
Introduction
Much effort has been expended in the study of financial markets. Many different models have been developed to predict future price changes in the market based on recent trends. Although the effectiveness of technical analysis is consistently disputed by academic studies, there have been countless man hours invested in the creation of various statistical models for financial markets. In recent years, various models and mathematics, typically used in the description of physical systems, have been applied to financial markets. For example, a paper last year by Kleinert and Chen fitted price changes in the S&P500 and NASDAQ 100 to a Boltzmann distribution. Normally used in statistical mechanics, this distribution was used to describe the short term price changes of the markets. Kleinert and Chen showed that the distribution widens as a function of the sampling period, as theory predicts. Also, they demonstrated that the ``temperature'' of the market (a parameter in the Boltzmann distribution) reached a maximum as the market peaked in 2001 [1]. In another study, a group of professors at the University of Tokyo showed that the S&P500 exhibited ``critical'' behavior surrounding the 1987 market crash known as Black Monday. They found that although the variance of the probability density function of price changes in the market normally scales with time, this behavior breaks down near market crashes. This is in analogy to the behavior of spins in a ferromagnetic material as the material reaches its critical temperature [2]. This paper draws an analogy between markets and a system-reservoir model in thermodynamics; the parameter known as the chemical potential is then examined for the market.System-Reservoir Model
The chemical potential,where U is the thermal average energy and N is the thermal average number of particles of a system. The chemical potential is a parameter that can be used to describe a system that is in thermal and diffusive contact with another system. A sketch of a system in contact with a reservoir is shown in FIG 1. An analogy can be drawn between the system-reservoir model and financial markets. Suppose that a financial market in a given period of time is a system with N particles and energy U. In that period of time, there are a number of trades executed and a price change in the market. Thus, it is intuitive to say that each trade is a particle in the system of the market. In a physical system, each particle may contribute to the energy. Likewise, each trade in the market contributes to the total increase or decrease in the price of the market. The energy is thus the equivalent of relative price change (percent change) in the market. Only a certain number of trades are made in the market (the system) during a period of time. However, the potential number of trades is much greater. If everyone who owns shares of a stock or who could buy shares of a stock attempted to trade in the market, a very large number of trades would be made with a finite change in market price. This system of potential trades, because it is so big, can be thought of as a reservoir. The number of trades executed,
exists for the market.
Measuring Chemical Potential
A graphing program known as Root, which is a C-interpreter, was used to calculate and examineChemical Potential of a Day
Thewhere
Chemical Potential Moving Average
This method for calculating the chemical potential was applied to data for the New York Stock Exchange (NYSE). The results, plotted in FIG 2, are very noisy and difficult to interpret. To average out some of the noise, a simple moving average was taken of the chemical potential. The equationwas used to calculate the chemical potential of each day. The value for t was tuned to 120 days, which was decided to be the optimal value. The results, in FIG 3 show the moving average of the chemical potential has a clear peak at the market bottom (which occurred in 2002).
Chemical Potential of Various Indices
The 120 day moving average was found for the Dow Jones Industrial Average (DJIA), NASDAQ, and S&P500. These are plotted in FIG 4-6. Of the indices examined here, the NASDAQ (the technology index that was hardest hit by the bear market) shows the clearest peak in chemical potential at the bottom of the 2002 bear market. Other local peaks in![]() |
Chemical Potential of Individual Stocks
-moving average, Time=0 corresponds to most recent day (April 2007). 60-day moving average (Top) is a better fit than the 120-day moving average (Bottom).
-moving average, Time=0 corresponds to most recent day (April 2007). 120-day moving average (Bottom) is a better fit than the 60-day moving average (Top).
-moving average, Time=0 corresponds to most recent day (April 2007). 120-day moving average (Bottom) is a better fit than the 60-day moving average (Top).Conclusions
The market can be thought of as a system that is in thermal and diffusive contact with a reservoir. It is then possible to define a chemical potential for the market and show that it has a significant peak during the market bottom of 2002. While significant potential peaks may correspond with market bottoms, smaller potential peaks do not have this correspondence. Also, minimum values of the potential do not consistently correspond with market tops. In technical analysis, the term ``follow through'' refers to days coming out of a correction when the market advances on higher volume. These days are thought to signal a healthy recovery for the market and often occur with only slightly higher volume. In addition, market advances on increasing volume accompanied by market declines on decreasing volume are thought to be a bullish sign. The correspondence of peaks in the chemical potential with market bottoms may be a manifestation of these two beliefs. Market tops are often thought to occur with large advances as well as declines. Declines are often met with increasing volume. Advances, however, are sometimes met with increasing and sometimes with decreasing volume. If this happens, then the chemical potential would not exhibit any real correspondence with market tops. When examining the chemical potential of individual stocks, there seems to be a correlation between market bottoms and peaks in the potential. It is important, however, to apply the correctBibliography
- 1
- H. Kleinert and X.J. Chen, Boltzmann Distribution and Temperature of Stock Markets, arXiv:physics/0609209v2, (2006).
- 2
- Y. Yamamoto, K. Kiyono, Z.R. Struzik, Critically and Phase Transition in Stock-Price Fluctuations, Phys. Rev. Lett. 96, 068701 (2006).
- 3
- C. Kittel and H. Kroemer, Thermal Physics, 2nd Edition, Twenty-fourth Printing (1980).
- 4
-
Financial Market, http://en.wikipedia.org/wiki/Financial
market.
- 5
- Find data at finance.yahoo.com.
