Model-based gym environments for limit order book trading
Not on the map. Why?
Abstract (arXiv)
Within the mathematical finance literature there is a rich catalogue of mathematical models for studying algorithmic trading problems -- such as market-making and optimal execution -- in limit order books. This paper introduces mbtgym, a Python module that provides a suite of gym environments for training reinforcement learning (RL) agents to solve such model-based trading problems. The module is set up in an extensible way to allow the combination of different aspects of different models. It supports highly efficient implementations of vectorized environments to allow faster training of RL agents. In this paper, we motivate the challenge of using RL to solve such model-based limit order book problems in mathematical finance, we explain the design of our gym environment, and then demonstrate its use in solving standard and non-standard problems from the literature. Finally, we lay out a roadmap for further development of our module, which we provide as an open source repository on GitHub so that it can serve as a focal point for RL research in model-based algorithmic trading.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 8 of its 55 references that are in the map. First posted on arXiv 16 Sep 2022.
Builds on
8 of 55 references.
References · 8
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2018Market Making via Reinforcement Learningcited by 47
- 2019Reinforcement Learning for Market Making in a Multi-agent Dealer Marketcited by 39
- 2021ABIDES-Gym: Gym Environments for Multi-Agent Discrete Event Simulation and Application to Financial Marketscited by 36
- 2019How to Evaluate Trading Strategies: Single Agent Market Replay or Multiple Agent Interactive Simulation?cited by 15
- 2020Robust Market Making via Adversarial Reinforcement Learningcited by 14
- 2018Optimizing Market Making using Multi-Agent Reinforcement Learningcited by 13
- 2022Market Making with Scaled Beta Policiescited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 0; 2026: 1.
3 papers.
- 2023JAX-LOB: A GPU-Accelerated limit order book simulator to unlock large scale reinforcement learning for tradingcited by 14
- 2024Limit Order Book Simulation and Trade Evaluation with K-Nearest-Neighbor Resamplingcited by 1
- 2026Robust Market Making with Hawkes Order Flow and Price Impact via Adversarial Reinforcement Learningcited by 0
- 2026Robust Market Making with Hawkes Order Flow and Price Impact via Adversarial Reinforcement Learning19 Sep 2026
- 2024Limit Order Book Simulation and Trade Evaluation with K-Nearest-Neighbor Resampling10 Sep 2024
- 2023JAX-LOB: A GPU-Accelerated limit order book simulator to unlock large scale reinforcement learning for trading25 Aug 2023