cond-mat0110120/order
1: %\documentclass[aps,prl,preprint,groupedaddress]{revtex4}
2: %\documentclass[aps,prl,preprint,superscriptaddress]{revtex4}
3: \documentclass[aps,prl,twocolumn,groupedaddress]{revtex4}
4: 
5: % if you use PostScript figures in your article
6: % use the graphics package for simple commands
7: % \usepackage{graphics}
8: % or use the graphicx package for more complicated commands
9: \usepackage{graphicx}
10: % or use the epsfig package if you prefer to use the old commands
11: % \usepackage{epsfig}
12: 
13: % The amssymb package provides various useful mathematical symbols
14: \usepackage{amssymb}
15: 
16: %\bibliographystyle{apsrev}
17: \bibliographystyle{h-physrev}
18: \begin{document}
19: 
20: 
21: % Title, authors and addresses
22: 
23: 
24: \title{Ordered phase and non-equilibrium fluctuation in stock market}
25: 
26: \author{Jun-ichi Maskawa}
27: \affiliation{Department of Management Information, Fukuyama Heisei University, Fukuyama, Hiroshima 720-0001, Japan}
28: 
29: 
30: % Abstract
31: \begin{abstract}
32: We analyze the statistics of daily price change of stock market in the framework of a statistical physics model for the collective fluctuation of stock portfolio. 
33: In this model the time series of price changes are coded into the sequences of up and down spins, and the Hamiltonian of the system is expressed by spin-spin interactions as in spin glass models of disordered magnetic systems. 
34: Through the analysis of Dow-Jones industrial portfolio consisting of 30 stock issues by this model, we find a non-equilibrium fluctuation mode on the point slightly below the boundary between ordered and disordered phases. 
35: The remaining 29 modes are still in disordered phase and well described by Gibbs distribution. 
36: The variance of the fluctuation is outlined by the theoretical curve and peculiarly large in the non-equilibrium mode compared with those in the other modes remaining in ordinary phase.
37: \end{abstract}
38: 
39: \maketitle
40: 
41: 
42: % main text
43: %\section{}
44: %\label{}
45: The number of days in which prices of all stock issues in Dow-Jones industrial portfolio moved in the same direction is 80 within 3636 trading days in the period from 9/Jul/86 to 22/Nov/00, while its probability is $2^{-29}$ when we assume Bernoulli trials.
46: How can we explain the factor $10^7$ in the difference between these values?
47: The methods and the concepts, as scaling and criticality, developed in material science have been applied to the study of financial markets \cite{mandel,mantegna,econo}.
48: Recently a framework based on spin glass model to study the collective price changes of stock portfolios was proposed \cite{maskawa,takayasu}.
49: The application to 1-minute price changes in D-J portfolio made clear that the concept of energy works even in financial markets as well as the above physical concepts.
50: Here we study the properties of daily price changes in D-J portfolio based on the same model and attempt an explanation of the factor $10^7$ by Gibbs factor of canonical distribution.
51: Through this study we clarify the applicability of the spin glass picture to the price fluctuations in a wide range of time scale and find a novel feature of stock market. That is a non-equilibrium fluctuation mode on the point close to the boundary between ordered and disordered phases. D-J portfolio has been quenched into the unstable region, but does not reach equilibrium. The variance of the fluctuation, which is physically equal to susceptibility and is called (the square of) risk in financial economy, is outlined by the theoretical curve and peculiarly large in the non-equilibrium mode compared with those in the other modes remaining in ordinary phase.
52: 
53: In this paper, we concentrate on the statistics of the sign of price change \cite{maskawa,takayasu}. 
54: The time series of price changes are coded into the sequences of up and down spins $S_i = \pm 1$ (i=1 to portfolio size N) and the Hamiltonian is expressed by long-range spin-spin interactions as Sherrington-Kirkpatrick model of spin glass \cite{s-k}, which is given by 
55: \begin{equation}
56: H[S,h]=-\sum_{<i,j>}J_{ij}S_i S_j-\sum_i h_i S_i,
57: \label{hamiltonian}
58: \end{equation}    
59: We consider a portfolio as a subset of the whole stock market, and the complement of the subset works as heat reservoir. Various observable quantities are obtained as the statistical averages with Gibbs weight assigned to each configuration in equilibrium. The interaction coefficients $J_{ij}$ are constant \cite{jij} but not fixed yet.
60: The external field $h_i$ is set to be zero in the analysis of actual data \cite{external}.
61: We use Thouless-Anderson-Palmer (TAP) mean field theory \cite{tap,mezard,fischer} whose fundamental equation is given by
62: \begin{equation}
63: m_i=\tanh (\sum_{j}J_{ij}m_j + h_i - \sum_{j}J_{ij}^2(1-m^2_j)m_i).
64: \label{mi}
65: \end{equation}    
66: of $m_i=<S_i>$ to determine those coefficients. The partial differentiation of TAP equation (\ref{mi}) with respect to $h_i$ yields the equation
67: \begin{equation}
68: \sum_{k}A_{ik}[{\bf m}]\chi_{kj}=\delta_{ij}
69: \label{achi}
70: \end{equation}    
71: where $\chi_{ij}=\partial m_i/\partial h_j$ is susceptibility and
72: \begin{equation}
73: A_{ij}[{\bf m}]= -J_{ij}-2J_{ij}^2m_i m_j +\delta_{ij}[ \sum_{k}J_{ik}^2(1-m^2_k)+\frac{1}{1-m_i^2}].
74: \label{aij}
75: \end{equation}    
76: On the other hand, fluctuation-response theorem relates the susceptibility $\chi_{ij}$ and the covariance $C_{ij}=<(S_i-m_i)(S_j-m_j)>$ as
77: \begin{equation}
78: \chi_{ij}=C_{ij}.
79: \label{chi}
80: \end{equation}    
81: Substituting the equation (\ref{chi}) into (\ref{achi}), we can derive the relation between $J_{ij}$ and $C_{ij}$. Interpreting $C_{ij}$ as the time average of empirical data over the observation time, $J_{ij}$ are phenomenologically determined by the equation
82: \begin{equation}
83: J_{ij}=\frac{-1+\sqrt{1-8C^{-1}_{ij}m_i m_j}}{4m_i m_j}
84: \label{jij}
85: \end{equation}
86: where  $ C^{-1}_{ij}$ is the (i, j)-element of the inverse of the covariance matrix. In the case with $m_i\approx0$ the approximation $J_{ij}\approx -C^{-1}_{ij}$ is applicable.
87: 
88: We investigate three datasets a, b and c of D-J portfolio consisting of N=30 stock issues in the framework of the model. The dataset a is the time series of stock prices sampled at 1-minute intervals in the period from 16-May-2000 to 21-Jun-2000, b is sampled at 10-minutes intervals in the period from 1-Dec-1999 to 11-Nov-2000, and c is the daily price in the period from 9-Jul-86 to 22-Nov-2000. The time evolutions of Intel's stock price on each time scale are shown in Fig. \ref{fig1} for an example. The time series of price changes are coded into the sequences of up and down spins. The covariance $C_{ij}$ for 435 pairs of i and j are derived from the coded data. Then the interaction coefficients $J_{ij}$ are calculated by the equation (\ref{jij}) \cite{ferro}. The energy spectra of the system (portfolio energy) are defined as the eigenvalues of the Hamiltonian $H[S,0]$. The probability density of portfolio energy for each dataset is empirically obtained from the relative frequency during the observation times as
89: \begin{equation}
90: p(E) =P(E-\frac{\Delta E}{2} \le H[S,0] \le E+\frac{\Delta E}{2})/\Delta E.
91: \label{pe}
92: \end{equation}
93: In our formalism that is given by the equation $p(E)=n(E)e^{ -E}/Z$ with the density of states $n(E)$ and the partition function $Z$ if the system is in equilibrium. The empirical probability weight $p(E)n(0)/p(0)n(E)$ is plotted in Fig. \ref{fig2} and compared with Gibbs weight as the theoretical prediction. In the panels a and b we see a remarkable fit of equilibrium line to empirical data. From these figures, the price changes sampled at 1 and 10-minutes intervals are well described by the model and are close to equilibrium. On the other hand, in the panel c some deviation of data from theoretical line is observed. Monte Carlo simulation of the probability distribution of the system magnetization $m=(1/N)\sum_{i=1}^{N}S_i$, which describes the degree of the alignment of price changes in portfolio, make more clear this difference in the nature of price changes on the different time scales. The result is shown in Fig. \ref{fig3}. We see the theory explains the empirical data very well in the panels a and b, while the dataset c shows entirely different profile from the theoretical prediction. Does this difference indicate the break down of the theory on the time scale of day? We investigate the theory in more detail by the mode analysis of TAP equation (\ref{mi}), and intend to explain this phenomenon in the framework of the theory.  
94: 
95: The stability of the ordinary phase is analyzed by the linear analysis of the equation (\ref{mi}). In our case, that is
96: \begin{equation}
97: \sum_{j} A_{ij}[{\bf 0}]m_j=h_i.
98: \label{linear}
99: \end{equation}
100: The diagonalization of symmetric matrix $A_{ij}$ of the equation (\ref{aij}) solve the equation (\ref{linear}) as $m_{\lambda}=h_{\lambda}/A_{\lambda}$, where $A_{\lambda}$ are eigenvalues of $A_{ij}$, $m_{\lambda}=\sum <\lambda\mid i> m_i$, and $h_{\lambda}=\sum <\lambda\mid i> h_i$ with the real orthogonal eigenvectors $<\lambda\mid i>$. The critical temperature $T_c$ is determined by the equation 
101: \begin{equation}
102: A_{\lambda_{min}}=0
103: \label{amin}
104: \end{equation}
105: $A_{\lambda_{min}}$ is the minimum eigenvalue of $A_{ij}$, which correspond to the maximum eigenvalue of the matrix $J_{ij}$ in the linear approximation. However $\beta=1/T$ is included into $J_{ij}$ in our case, so $A_{\lambda_{min}}$ itself fills the role of the measure of the distance from the critical point. In our systems a, b and c, 
106: $ A_{\lambda_{min}}= $ 0.353, 0.195 and -0.018 respectively. The systems c is in the position slightly below the critical point, while the systems a and b remain in ordinary phase. In order to visualize the statement, TAP free energy \cite{tap} of the system c is shown in Fig. \ref{fig4}, in which the parameter space $\{m_i\}$ is projected on the mode $m_{\lambda}$. In Fig. \ref{fig4}, the upper and lower curves represent TAP free energy as the function of the modes $m_{\lambda}$ belonging to the maximum and the minimum eigenvalues of $A_{ij}$ respectively. The system c is in the unstable region, because the lower curve of the free energy is concave at $ m_{\lambda_{min}}= $-0.067. 
107: The behavior of the price fluctuation belonging to this mode is entirely different from the remaining 29 modes. The probability of the magnetization fluctuation $S_{\lambda}=\sum <\lambda\mid i> S_i$ of the unstable mode and that of a ordinary mode belonging to the maximum eigenvalue $ A_{\lambda_{max}}$ are plotted in Fig. \ref{fig5} by filled circles and filled boxes respectively. The fluctuation distribution of the modes in ordinary phase are narrow and shows good agreement with the equilibrium distribution, while that of unstable mode is broad and does not reach equilibrium distribution.
108: 
109: The variance of each mode in the system a, b and c is plotted against eigenvalue $A_{\lambda}$ in Fig. \ref{fig6}. Those are compared with the theoretical curve $1/A_{\lambda}$ for infinite equilibrium system. The variance of the fluctuation, which is physically equal to susceptibility and is called (the square of) risk in financial economy, is outlined by the theoretical curve and peculiarly large in the non-equilibrium mode compared with those in the other modes remaining in ordinary phase. Closing to the critical point $A_{\lambda}=0$, however, we find a systematic deviation of data from the theoretical curve, which is due to the non-equilibrium property and the finite size effect of the systems.
110: 
111: The factor $10^7$ problem prompting us to introduce the interaction energy between stocks in the analysis of its collective fluctuation was partially explained by Gibbs weight in our model besides the single non-equilibrium mode. The physical picture of financial markets given here will be useful in the risk management and the selection of portfolios. The applicability of spin glass model to economical system seems to suggest the ubiquity of the applications to other fields such as competitive or frustrated ecological systems.
112: 
113: \bibliography{order}
114: 
115: \newpage
116: 
117: \begin{figure}
118: \includegraphics[width=6cm]{figure1.eps}
119: \caption{Time evolution of Intel's stock price on three time scales. 
120: {\bf a} The data sampled at 1-minute intervals in the period from 16-May-2000 to 21-Jun-2000.
121: {\bf b} The data sampled at 10-minute intervals in the period from 1-Dec-1999 to 11-Nov-2000.
122: {\bf c} The daily data in the period from 9-Jul-1986 to 22-Nov-2000 (3636 days).
123: }
124: \label{fig1}
125: \end{figure}
126: 
127: \newpage
128: 
129: \begin{figure*}
130: \includegraphics[width=6cm]{figure2a.eps}
131: \end{figure*}
132: \begin{figure*}
133: \includegraphics[width=6cm]{figure2b.eps}
134: \end{figure*}
135: 
136: \begin{figure*}
137: \includegraphics[width=6cm]{figure2c.eps}
138: \caption{Semi-log plot of the probability weight of portfolio energy $E$. 
139: Filled circle ($\bullet$):the empirical probability weight $p(E)n(0)/p(0)n(E)$.The probability density $p(E)$ is the empirical result, and the density of states $n(E)$ is numerically obtained by $2^{21}$ random sampling from $2^{30}$ configurations. $\Delta E=0.1$.
140: Solid line: Gibbs weight $e^{-E}$.
141: {\bf a} The result for the dataset a.
142: {\bf b} The result for the dataset b.
143: {\bf c} The result for the dataset c.
144: }
145: \label{fig2}
146: \end{figure*}
147: 
148: \begin{figure*}
149: \includegraphics[width=6cm]{figure3a.eps}
150: \end{figure*}
151: \begin{figure*}
152: \includegraphics[width=6cm]{figure3b.eps}
153: \end{figure*}
154: 
155: \begin{figure*}
156: \includegraphics[width=6cm]{figure3c.eps}
157: \caption{Probability of the system magnetization.
158: Filled circle ($\bullet$):the relative frequency.
159: Circle ($\circ$): Monte Carlo simulation of $2^{21}$ steps.
160: {\bf a} The result for the dataset a.
161: {\bf b} The result for the dataset b.
162: {\bf c} The result for the dataset c.
163: }
164: \label{fig3}
165: \end{figure*}
166: 
167: 
168: \begin{figure*}
169: \includegraphics[width=6cm]{figure4.eps}
170: \caption{Free energy as the function of the magnetization $m_{\lambda}$  for the system c. 
171: The upper and lower curves represent TAP free energy as the functions of the modes $ m_{\lambda_{max}}=\sum<\lambda_{max}\mid i>m_i$ 
172: and $m_{\lambda_{min}}=\sum<\lambda_{max}\mid i>m_i$ respectively.
173: }
174: \label{fig4}
175: \end{figure*}
176: 
177: \begin{figure*}
178: \includegraphics[width=6cm]{figure5.eps}
179: \caption{Probability of magnetization fluctuation $S_{\lambda}$  for the dataset c.  Filled boxes ($\blacksquare$) and circles ($\bullet$) represent relative frequency
180: $P(S-\Delta S/2 \le S_{\lambda} \le S+\Delta S/2)$ with $\Delta S=0.1$ for the mode $S_{\lambda_{max}}=\sum<\lambda_{max}\mid i>S_i$ and $S_{\lambda_{min}}=\sum<\lambda_{min}\mid i>S_i$ respectively. Boxes ($\square$) and circles ($\circ$) represent Monte Carlo simulations based on the model.
181: }
182: \label{fig5}
183: \end{figure*}
184: 
185: \begin{figure*}
186: \includegraphics[width=6cm]{figure6.eps}
187: \caption{Variance of the modes $S_{\lambda}$ against the eigenvalue $A_{\lambda}$. Circles ($\circ$), triangles ($\triangle$), and boxes ($\square$) represent the variance
188: for the datasets a, b and c respectively. Solid line represents the theoretical curve $1/A_{\lambda}$ for infinite equilibrium system. 
189: }
190: \label{fig6}
191: \end{figure*}
192: 
193: 
194: 
195: \end{document}
196: 
197: 
198: 
199: