[Paper Review] High-frequency financial market simulation and flash crash scenarios analysis: an agent-based modelling approach
This paper presents a high-frequency agent-based financial market simulator that replicates millisecond-level price dynamics in the E-Mini S&P 500 futures market using a central limit order book and heterogeneous trader behaviors. It successfully reproduces stylized facts and simulates the 2010 Flash Crash with realistic dynamics, revealing that the crash amplitude depends non-monotonically on the Sell Algorithm’s volume share and market maker inventory limits, while fundamental trader frequency reduces crash severity.
This paper describes simulations and analysis of flash crash scenarios in an agent-based modelling framework. We design, implement, and assess a novel high-frequency agent-based financial market simulator that generates realistic millisecond-level financial price time series for the E-Mini S&P 500 futures market. Specifically, a microstructure model of a single security traded on a central limit order book is provided, where different types of traders follow different behavioural rules. The model is calibrated using the machine learning surrogate modelling approach. Statistical test and moment coverage ratio results show that the model has excellent capability of reproducing realistic stylised facts in financial markets. By introducing an institutional trader that mimics the real-world Sell Algorithm on May 6th, 2010, the proposed high-frequency agent-based financial market simulator is used to simulate the Flash Crash that took place that day. We scrutinise the market dynamics during the simulated flash crash and show that the simulated dynamics are consistent with what happened in historical flash crash scenarios. With the help of Monte Carlo simulations, we discover functional relationships between the amplitude of the simulated 2010 Flash Crash and three conditions: the percentage of volume of the Sell Algorithm, the market maker inventory limit, and the trading frequency of fundamental traders. Similar analyses are carried out for mini flash crash events. An innovative "Spiking Trader" is introduced to the model, aiming at precipitating mini flash crash events. We analyse the market dynamics during the course of a typical simulated mini flash crash event and study the conditions affecting its characteristics. The proposed model can be used for testing resiliency and robustness of trading algorithms and providing advice for policymakers.
Motivation & Objective
- To develop a realistic high-frequency agent-based financial market simulator capable of generating millisecond-level price time series for the E-Mini S&P 500 futures market.
- To calibrate the model using machine learning surrogate modeling to reproduce key stylized facts of financial markets.
- To simulate the 2010 Flash Crash by introducing an institutional trader mimicking Sell Algorithm 1, and validate the simulated dynamics against historical events.
- To analyze the functional relationships between flash crash amplitude and key market conditions: Sell Algorithm volume share, market maker inventory limit, and fundamental trader trading frequency.
- To introduce a novel 'Spiking Trader' agent to simulate mini flash crash events and study their dynamics and sensitivity to market parameters.
Proposed method
- The model implements a central limit order book microstructure for a single security, simulating real-time order matching at 100ms intervals.
- Traders are modeled as distinct agent types—market makers, high-frequency traders, fundamental traders, and institutional traders—each following predefined behavioral rules.
- The model is calibrated using machine learning surrogate modeling to match statistical properties of real high-frequency data, validated via moment coverage ratio and statistical tests.
- The 2010 Flash Crash is simulated by injecting an institutional trader with behavior matching the real-world Sell Algorithm 1, as documented by the SEC and CFTC.
- Monte Carlo simulations are used to explore functional relationships between crash amplitude and three key parameters: Sell Algorithm volume share, market maker inventory limit, and fundamental trader frequency.
- A novel 'Spiking Trader' agent is introduced to induce mini flash crash events, enabling analysis of their dynamics and sensitivity to market conditions.
Experimental results
Research questions
- RQ1How well can the proposed agent-based model reproduce the stylized facts of high-frequency financial markets, such as volatility clustering and fat tails?
- RQ2To what extent does the simulated 2010 Flash Crash replicate the dynamics observed in the actual historical event?
- RQ3What is the functional relationship between the amplitude of the simulated 2010 Flash Crash and the percentage of volume attributed to the Sell Algorithm?
- RQ4How do the market maker’s inventory limit and the frequency of fundamental trader orders influence the amplitude and frequency of both large and mini flash crash events?
- RQ5What conditions trigger and shape the characteristics of mini flash crash events, and how does the introduction of a 'Spiking Trader' agent affect these dynamics?
Key findings
- The model successfully reproduces key stylized facts of financial markets, as confirmed by statistical tests and moment coverage ratio analysis.
- The simulated 2010 Flash Crash exhibits market dynamics consistent with historical observations, validating the model’s realism.
- The relationship between crash amplitude and the Sell Algorithm’s volume share is non-monotonic, indicating complex market feedback effects.
- The relationship between crash amplitude and the market maker’s inventory limit is also non-monotonic, with intermediate limits leading to the largest crashes.
- Higher trading frequency of fundamental traders is associated with smaller crash amplitudes, suggesting their stabilizing role during stress events.
- The market maker’s inventory limit significantly affects both the frequency and amplitude of mini flash crash events, while fundamental trader frequency shows no significant influence in the experiments.
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.