[Paper Review] A Continuous Time Asynchronous Model of the Stock Market; Beyond the LLS Model
This paper proposes a continuous-time, asynchronous agent-based model of the stock market where millions of individual traders with unique decision functions interact via a central order-matching mechanism. Using a stack-based algorithm to manage trader wake-up times, decision delays, and order execution, the model captures real-time market dynamics—especially timing and order flow—beyond the limitations of the LLS model, enabling realistic simulation of price behavior and trader strategies such as chartism, fundamentalism, and noise trading.
In order to simulate the complex phenomena manifested in stock markets, we introduce a continuous asynchronous model in which millions of individual traders interact through a central orders matching mechanism, just as it happens in real stock markets. Each trader has a unique decision function, which allows him/ her to trade at any time, to react to external news, to respond to price changes (or volume, volatility, etc.), and to consider the "fundamental price". As a simple example we consider three "generic" decision functions, which correspond to three trader profiles: Noisy, Fundamentalist and Chartist.
Motivation & Objective
- To develop a more realistic simulation of stock market dynamics by modeling individual traders as asynchronous agents with independent decision-making.
- To address the limitations of prior models (like LLS) by incorporating the precise timing of trades, which is critical for capturing real market characteristics.
- To enable diverse trader behavior through customizable decision functions, including fundamentalist, chartist, and noisy traders, each with unique response rules.
- To implement an efficient, scalable simulation framework capable of handling millions of traders in real-time computational time.
Proposed method
- The model uses a stack-based architecture to manage trader states: Dormant Stack (inactive traders), Decision Stack (active traders evaluating market conditions), and Transferred Orders Stack (orders awaiting market entry).
- Traders wake up based on self-defined triggers (e.g., time intervals, price changes, news events), enabling true asynchronous behavior independent of a global clock.
- Orders are limit orders with price and quantity, sorted in BUY/SELL stacks by price; execution occurs when the best ask is below the best bid, with execution price set by the earlier order.
- Each trader applies a unique decision function: random traders choose positions probabilistically, fundamentalists trade based on deviation from a noisy fundamental price, and chartists use polynomial extrapolation of past prices.
- The market world clock advances only when events occur, ensuring computational efficiency without simulating idle time.
- The model supports configurable parameters such as price volatility (Sigma), fundamental price variation (Sigma_FP), and order delay times, enabling flexible scenario testing.
Experimental results
Research questions
- RQ1How does an asynchronous, continuous-time agent-based model improve the realism of stock market simulations compared to synchronous or discrete-time models?
- RQ2To what extent can diverse trader behaviors—fundamentalist, chartist, and noisy—emerge from simple, rule-based decision functions in a continuous-time market?
- RQ3Can the model reproduce key empirical features of real markets, such as volatility clustering and non-Gaussian return distributions, through the interaction of heterogeneous agents?
- RQ4How does the timing of trades and order submission affect market microstructure and price formation in the absence of a synchronized trading schedule?
- RQ5What is the computational efficiency and scalability of the stack-based algorithm in simulating millions of traders with unique decision rules in real-time?
Key findings
- The stack-based architecture enables efficient, real-time simulation of millions of traders with asynchronous decision-making, with no idle waiting time in the computational loop.
- The model successfully captures the importance of trade timing and order flow correlations, which are critical for replicating real market dynamics often missed in earlier models.
- Three distinct trader profiles—noisy, fundamentalist, and chartist—can be implemented with configurable parameters, allowing for heterogeneous market behavior.
- The fundamentalist trader uses a noisy estimate of the fundamental price and adjusts position size based on the deviation between market price and perceived fundamental value.
- The chartist trader uses a polynomial fit of the last N market prices to predict future price and adjusts orders accordingly, with order size proportional to the expected price change.
- The model is computationally efficient, capable of simulating a full year of market activity with millions of traders in seconds, due to event-driven computation and optimized stack handling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.