ABIDES-MARL: A Multi-Agent Reinforcement Learning Environment for Endogenous Price Formation and Execution in a Limit Order Book
Patrick Cheridito, Jean-Loup Dupret, Zhexin Wu
TL;DR
ABIDES-MARL introduces a MARL-enabled, end-to-end limit-order-book simulator that decouples kernel interruption from state collection, enabling synchronized learning among multiple adaptive agents. By embedding an informed trader, a liquidity trader, and competing market makers within a Kyle-style multi-period game, the framework demonstrates how equilibrium-like price formation and endogenous liquidity emerge from strategic interaction, validated by recovering the Kyle model and analyzing execution against learned opponents. The study systematically compares linear and nonlinear policy classes, revealing that linear policies support robust, Moore-like price discovery while nonlinear policies can empower the informed trader and destabilize convergence, especially with richer market competition. The work provides a reproducible, extensible platform for analyzing equilibrium behavior in realistic markets and paves the way for integrating agentic AI with econometric market microstructure models.
Abstract
We present ABIDES-MARL, a framework that combines a new multi-agent reinforcement learning (MARL) methodology with a new realistic limit-order-book (LOB) simulation system to study equilibrium behavior in complex financial market games. The system extends ABIDES-Gym by decoupling state collection from kernel interruption, enabling synchronized learning and decision-making for multiple adaptive agents while maintaining compatibility with standard RL libraries. It preserves key market features such as price-time priority and discrete tick sizes. Methodologically, we use MARL to approximate equilibrium-like behavior in multi-period trading games with a finite number of heterogeneous agents-an informed trader, a liquidity trader, noise traders, and competing market makers-all with individual price impacts. This setting bridges optimal execution and market microstructure by embedding the liquidity trader's optimization problem within a strategic trading environment. We validate the approach by solving an extended Kyle model within the simulation system, recovering the gradual price discovery phenomenon. We then extend the analysis to a liquidity trader's problem where market liquidity arises endogenously and show that, at equilibrium, execution strategies shape market-maker behavior and price dynamics. ABIDES-MARL provides a reproducible foundation for analyzing equilibrium and strategic adaptation in realistic markets and contributes toward building economically interpretable agentic AI systems for finance.
