Towards understanding the predictability of stock markets from the perspective of computational complexity

This paper initiates a study into the century-old issue of market predictability from the perspective of computational complexity. We develop a simple agent-based model for a stock market where the agents are traders equipped with simple trading strategies, and their trades together determine the stock prices. Computer simulations show that a basic case of this model is already capable of generating price graphs which are visually similar to the recent price movements of high tech stocks. In the general model, we prove that if there are a large number of traders but they employ a relatively small number of strategies, then there is a polynomial-time algorithm for predicting future price movements with high accuracy. On the other hand, if the number of strategies is large, market prediction becomes complete in two new computational complexity classes CPP and BCPP, where PNP[&Ogr;(log n)] e BCPP e CPP = PP. These computational completeness results open up a novel possibility that the price graph of a actual stock could be sufficiently deterministic for various prediction goals but appear random to all polynomial-time prediction algorithms.

[1]  A. Lo,et al.  A Non-Random Walk Down Wall Street , 1999 .

[2]  Sendhil Mullainathan,et al.  A Memory Based Model of Bounded Rationality , 2000 .

[3]  G ClarkeRoger,et al.  Bullish or Bearish , 1998 .

[4]  J. Proudfoot,et al.  Noise , 1931, The Indian medical gazette.

[5]  Lane A. Hemaspaandra,et al.  Threshold Computation and Cryptographic Security , 1993, ISAAC.

[6]  H. White,et al.  Data‐Snooping, Technical Trading Rule Performance, and the Bootstrap , 1999 .

[7]  T. Andersen THE ECONOMETRICS OF FINANCIAL MARKETS , 1998, Econometric Theory.

[8]  T. Lux The socio-economic dynamics of speculative markets: interacting agents, chaos, and the fat tails of return distributions , 1998 .

[9]  Werner F. M. De Bondt,et al.  Betting on trends: Intuitive forecasts of financial risk and return , 1993 .

[10]  Yacov Yacobi,et al.  Cryptocomplexity and NP-Completeness , 1980, ICALP.

[11]  Richard H. Day,et al.  Bulls, bears and market sheep , 1990 .

[12]  Benoit B. Mandelbrot,et al.  Fractals and Scaling in Finance , 1997 .

[13]  Paul B. Andreassen,et al.  Judgmental extrapolation and the salience of change , 1990 .

[14]  Yacov Yacobi,et al.  The Complexity of Promise Problems with Applications to Public-Key Cryptography , 1984, Inf. Control..

[15]  H. Markowitz,et al.  The Random Character of Stock Market Prices. , 1965 .

[16]  E. Fama,et al.  Efficient Capital Markets : II , 2007 .

[17]  David Applegate,et al.  Sampling and integration of near log-concave functions , 1991, STOC '91.

[18]  R. Gomory,et al.  Fractals and Scaling in Finance: Discontinuity, Concentration, Risk. Selecta Volume E , 1997 .

[19]  L. Summers,et al.  Noise Trader Risk in Financial Markets , 1990, Journal of Political Economy.

[20]  Patrick Billingsley,et al.  Probability and Measure. , 1986 .