MODELING STOCK MARKET BASED ON GENETIC CELLULAR AUTOMATA

Tao Zhou, Pei-Ling Zhou, Bing-Hong Wang, Zi-Nan Tang, Jun LiuInternational Journal of Modern Physics B 2004 · DOI

Introduction

Traditional financial models often rely on the Efficient Market Hypothesis (EMH), assuming rational agents and Gaussian "random walk" price movements. However, empirical data consistently reveals "fat tails"—extreme price swings that occur far more frequently than normal distributions predict. This paper, published in the International Journal of Modern Physics B, addresses this discrepancy by proposing a Genetic Cellular Automata (GCA) model. By treating investors as evolving agents on a grid, the researchers successfully replicate the complex, non-linear dynamics of real-world markets.

The Genetic Cellular Automata Model

The core of the study is a multi-agent system where 1,600 "stockholders" are arranged in a 40x40 two-dimensional lattice. Unlike global models, this structure utilizes an "expanded Von Neumann relationship," where agents are primarily influenced by their immediate neighbors.

Agent Behavior and Evolution

Stockholders are categorized by risk profiles: risk-neutral, risk-averse, and risk-taking (trend-followers). The innovation lies in the integration of Genetic Algorithms (GA). Agents possess a "fitness" score tied to their capital growth. Through selection and crossover operators, less successful agents "learn" by adopting the strategies (genes) of wealthier neighbors. This mechanism mimics social learning and naturally gives rise to herd behavior. An "independence degree" ($λ$) parameter controls the balance between individual logic and neighbor imitation.

Simulated Market Dynamics

The model generates synthetic price data by matching buyers and sellers based on their evolved strategies. The resulting price time series exhibits the volatile, non-periodic trends characteristic of actual financial indices.

Simulated price time series showing non-periodic fluctuations.

Statistical Validation: Lévy Distributions and Fat Tails

The primary validation of the GCA model lies in its ability to replicate the statistical properties of real markets, such as the S&P 500. The distribution of price returns in the simulation follows a Lévy distribution in the central part, followed by an exponential truncation.

Log-probability distribution of returns showing Lévy distribution characteristics.

As shown in the distribution analysis, the model produces significantly more "large events" (extreme price changes) than a standard normal process. This suggests that the local interactions and genetic evolution of agents are sufficient to drive the market away from a simple random walk toward the complex scaling behavior seen in reality.

Conclusion

The GCA model demonstrates that complex market phenomena—like frequent crashes and booms—can emerge from simple local interactions and social learning. While the current model is a small-scale abstraction, it provides a robust framework for understanding how investor psychology and neighborhood influence shape global market stability. Future work may explore more sophisticated trading mechanisms and the impact of mutation rates on long-term market equilibrium.

Reference: Zhou, T., et al. (2004). Modeling Stock Market Based on Genetic Cellular Automata. International Journal of Modern Physics B.

Summary updated

Abstract

An artificial stock market is established with the modeling method and ideas of cellular automata. Cells are used to represent stockholders, who have the capability of self-teaching and are affected by the investing history of the neighboring ones. The neighborhood relationship among the stockholders is the expanded Von Neumann relationship, and the interaction among them is realized through selection operator and crossover operator. Experiment shows that the large events are frequent in the fluctuations of the stock price generated by the artificial stock market when compared with a normal process and the price returns distribution is a Lévy distribution in the central part followed by an approximately exponential truncation.
BibTeX
@article{zhou2004modeling,
  author = {Tao Zhou and Pei-Ling Zhou and Bing-Hong Wang and Zi-Nan Tang and Jun Liu},
  title = {{MODELING STOCK MARKET BASED ON GENETIC CELLULAR AUTOMATA}},
  journal = {International Journal of Modern Physics B},
  year = {2004},
  doi = {10.1142/s0217979204025932},
}
Figure