ABIDES: Towards High-Fidelity Multi-Agent Market Simulation

We introduce ABIDES, an open source Agent-Based Interactive Discrete Event Simulation environment. ABIDES is designed from the ground up to support agent-based research in market applications. While proprietary simulations are available within trading firms, there are no broadly available high-fidelity market simulation environments. ABIDES enables the simulation of tens of thousands of trading agents interacting with an exchange agent to facilitate transactions. It supports configurable pairwise noisy network latency between each individual agent as well as the exchange. Our simulator's message-based design is modeled after NASDAQ's published equity trading protocols ITCH and OUCH. We introduce the design of the simulator and illustrate its use and configuration with sample code, validating the environment with example trading scenarios. The utility of ABIDES for financial research is illustrated through experiments to develop a market impact model. The core of ABIDES is a general-purpose discrete event simulation, and we demonstrate its breadth of application with a non-finance work-in-progress simulating secure multiparty federated learning. We close with discussion of additional experimental problems it can be, or is being, used to explore, such as the development of machine learning trading algorithms. We hope that the availability of such a platform will facilitate research in this important area.

[1]  Dhananjay K. Gode,et al.  Allocative Efficiency of Markets with Zero-Intelligence Traders: Market as a Partial Substitute for Individual Rationality , 1993, Journal of Political Economy.

[2]  Steven Gjerstad,et al.  The Competitive Market Paradox , 2007 .

[3]  Travis E. Oliphant,et al.  Guide to NumPy , 2015 .

[4]  Michael P. Wellman Methods for Empirical Game-Theoretic Analysis , 2006, AAAI.

[5]  Sean Luke,et al.  MASON: A Multiagent Simulation Environment , 2005, Simul..

[6]  Manuela Veloso,et al.  Get real: realism metrics for robust limit order book market simulations , 2019, ICAIF.

[7]  R. G. Ingalls,et al.  Agent-Based Modeling and Simulation , 2017, Encyclopedia of Machine Learning and Data Mining.

[8]  Jerry Banks,et al.  Handbook of simulation - principles, methodology, advances, applications, and practice , 1998, A Wiley-Interscience publication.

[9]  Michael P. Wellman,et al.  Spoofing the Limit Order Book: An Agent-Based Model , 2017, AAMAS.

[10]  Levent Yilmaz,et al.  Agent-based simulation applications in marketing research: an integrated review , 2014, J. Simulation.

[11]  Maria Hybinette,et al.  How to Evaluate Trading Strategies: Single Agent Market Replay or Multiple Agent Interactive Simulation? , 2019, ArXiv.

[12]  Leigh Tesfatsion,et al.  Agent-Based Computational Economics: Growing Economies From the Bottom Up , 2002, Artificial Life.

[13]  David Jefferson,et al.  Fast Concurrent Simulation Using the Time Warp Mechanism. Part I. Local Control. , 1982 .

[14]  Matthew Zook,et al.  The microgeographies of global finance: High-frequency trading and the construction of information inequality , 2014 .

[15]  S. Solomon,et al.  A microscopic model of the stock market: Cycles, booms, and crashes , 1994 .

[16]  Nelson Minar,et al.  The Swarm Simulation System: A Toolkit for Building Multi-Agent Simulations , 1996 .

[17]  Daniel Friedman,et al.  The Double Auction Market : Institutions, Theories, And Evidence , 2018 .

[18]  Kenneth N. Levy,et al.  Financial Market Simulation , 2004 .

[19]  Robert Axelrod,et al.  Advancing the art of simulation in the social sciences , 1997, Complex..

[20]  R. C. Merton,et al.  Theory of Rational Option Pricing , 2015, World Scientific Reference on Contingent Claims Analysis in Corporate Finance.

[21]  K. Mani Chandy,et al.  Asynchronous distributed simulation via a sequence of parallel computations , 1981, CACM.

[22]  F. Black,et al.  The Pricing of Options and Corporate Liabilities , 1973, Journal of Political Economy.

[23]  Wes McKinney,et al.  Data Structures for Statistical Computing in Python , 2010, SciPy.

[24]  Harry M. Markowitz,et al.  Simulating Security Markets in Dynamic and Equilibrium Modes , 2010 .

[25]  Maria Hybinette,et al.  Stockyard: A discrete event-based stock market exchange simulator , 2017, 2017 Winter Simulation Conference (WSC).

[26]  John Dickhaut,et al.  Price Formation in Double Auctions , 2001, E-Commerce Agents.

[27]  B. LeBaron A builder's guide to agent-based financial markets , 2001 .