Agent-based Liquidity Risk Modelling for Financial Markets
ArXiv ID: 2505.15296 “View on arXiv”
Authors: Perukrishnen Vytelingum, Rory Baggott, Namid Stillman, Jianfei Zhang, Dingqiu Zhu, Tao Chen, Justin Lyon
Abstract
In this paper, we describe a novel agent-based approach for modelling the transaction cost of buying or selling an asset in financial markets, e.g., to liquidate a large position as a result of a margin call to meet financial obligations. The simple act of buying or selling in the market causes a price impact and there is a cost described as liquidity risk. For example, when selling a large order, there is market slippage – each successive trade will execute at the same or worse price. When the market adjusts to the new information revealed by the execution of such a large order, we observe in the data a permanent price impact that can be attributed to the change in the fundamental value as market participants reassess the value of the asset. In our ABM model, we introduce a novel mechanism where traders assume orderflow is informed and each trade reveals some information about the value of the asset, and traders update their belief of the fundamental value for every trade. The result is emergent, realistic price impact without oversimplifying the problem as most stylised models do, but within a realistic framework that models the exchange with its protocols, its limit orderbook and its auction mechanism and that can calculate the transaction cost of any execution strategy without limitation. Our stochastic ABM model calculates the costs and uncertainties of buying and selling in a market by running Monte-Carlo simulations, for a better understanding of liquidity risk and can be used to optimise for optimal execution under liquidity risk. We demonstrate its practical application in the real world by calculating the liquidity risk for the Hang-Seng Futures Index.
Keywords: Agent-Based Modeling (ABM), Liquidity Risk, Price Impact, Limit Order Book, Monte-Carlo Simulation, Futures
Complexity vs Empirical Score
- Math Complexity: 6.5/10
- Empirical Rigor: 5.0/10
- Quadrant: Holy Grail
- Why: The paper employs stochastic ABM frameworks, Poisson processes, and Bayesian updating with moderate mathematical density, while demonstrating backtest-ready application on real Hang-Seng Futures data with Monte-Carlo simulations.
flowchart TD
A["Research Goal:<br>Model Liquidity Risk &<br>Transaction Costs in Markets"] --> B["Methodology:<br>Agent-Based Model ABM"]
B --> C{"Data & Inputs"}
C --> C1["Hang-Seng Futures<br>Index Data"]
C --> C2["Order Book<br>Protocols"]
C --> C3["Market<br>Microstructure"]
B --> D["Computational Process:<br>Monte-Carlo Simulations"]
D --> E["Emergent Price Impact<br>Traders update beliefs<br>based on order flow info"]
E --> F["Outcomes & Findings"]
F --> F1["Realistic Price Impact<br>Permanent & Temporary"]
F --> F2["Liquidity Risk<br>Quantification"]
F --> F3["Optimal Execution<br>Strategy Optimization"]