Get real: realism metrics for robust limit order book market simulations

Machine learning (especially reinforcement learning) methods for trading are increasingly reliant on simulation for agent training and testing. Furthermore, simulation is important for validation of hand-coded trading strategies and for testing hypotheses about market structure. A challenge, however, concerns the robustness of policies validated in simulation because the simulations lack fidelity. In fact, researchers have shown that many market simulation approaches fail to reproduce statistics and stylized facts seen in real markets. As a step towards addressing this we surveyed the literature to collect a set of reference metrics and applied them to real market data and simulation output. Our paper provides a comprehensive catalog of these metrics including mathematical formulations where appropriate. Our results show that there are still significant discrepancies between simulated markets and real ones. However, this work serves as a benchmark against which we can measure future improvement.

[1]  Long-Memory in an Order-Driven Market , 2006 .

[2]  Matteo G. Richiardi,et al.  Bayesian Estimation of Agent-Based Models , 2017 .

[3]  Aymen Jedidi,et al.  Limit Order Books , 2016 .

[4]  Michael P. Wellman,et al.  Generating Realistic Stock Market Order Streams , 2020, AAAI.

[5]  J. Farmer,et al.  The Predictive Power of Zero Intelligence in Financial Markets , 2003, Proceedings of the National Academy of Sciences of the United States of America.

[6]  J. Bouchaud,et al.  Fluctuations and Response in Financial Markets: The Subtle Nature of 'Random' Price Changes , 2003, cond-mat/0307332.

[7]  Michael P. Wellman,et al.  Welfare Effects of Market Making in Continuous Double Auctions , 2015, AAMAS.

[8]  Michael P. Wellman,et al.  Latency arbitrage, market fragmentation, and efficiency: a two-market model , 2013, EC '13.

[9]  Alexander Outkin,et al.  A NASDAQ Market Simulation - Insights on a Major Market from the Science of Complex Adaptive Systems , 2007, Complex Systems and Interdisciplinary Science.

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

[11]  Wei Cui,et al.  An agent-based modeling approach to study price impact , 2012, 2012 IEEE Conference on Computational Intelligence for Financial Engineering & Economics (CIFEr).

[12]  John Fearnley,et al.  Market Making via Reinforcement Learning , 2018, AAMAS.

[13]  Mauro Napoletano,et al.  Market stability vs. market resilience: Regulatory policies experiments in an agent-based model with low- and high-frequency trading , 2019, Journal of Economic Behavior & Organization.

[14]  M. C. Recchioni,et al.  A Calibration Procedure for Analyzing Stock Price Dynamics in an Agent-Based Framework , 2014 .

[15]  R. Almgren,et al.  Direct Estimation of Equity Market Impact , 2005 .

[16]  신기덕 2010 , 2019, The Winning Cars of the Indianapolis 500.

[17]  Wing Lon Ng,et al.  Can a zero-intelligence plus model explain the stylized facts of financial time series data? , 2012, AAMAS.

[18]  Mauro Napoletano,et al.  Market Stability vs. Market Resilience: Regulatory Policies Experiments in an Agent-Based Model with Low- and High-Frequency Trading , 2016, Journal of Economic Behavior & Organization.

[19]  Peter Beling,et al.  Behavior Based Learning in Identifying High Frequency Trading Strategies , 2011 .

[20]  A. Lo,et al.  Econometric Models of Limit-Order Executions , 1997 .

[21]  A. Lo,et al.  Reconciling Efficient Markets with Behavioral Finance: The Adaptive Markets Hypothesis , 2005 .

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

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

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

[25]  H. Geman,et al.  Order Flow, Transaction Clock, and Normality of Asset Returns , 2000 .

[26]  Michel M. Dacorogna,et al.  The Intraday Multivariate Structure of the Eurofutures Markets , 1998 .

[27]  Eric Bonabeau,et al.  Agent-based modeling: Methods and techniques for simulating human systems , 2002, Proceedings of the National Academy of Sciences of the United States of America.

[28]  Olivier Brandouy,et al.  A re-examination of the “zero is enough” hypothesis in the emergence of financial stylized facts , 2012 .

[29]  2001 , 2018, Wild Onion Nurse.

[30]  J. Dickhaut,et al.  Price Formation in Double Auctions , 1998 .

[31]  David Byrd Explaining Agent-Based Financial Market Simulation , 2019, ArXiv.

[32]  Michael P. Wellman,et al.  Stronger CDA strategies through empirical game-theoretic analysis and reinforcement learning , 2009, AAMAS.

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

[34]  Michael P. Wellman,et al.  Multiagent Reinforcement Learning: Theoretical Framework and an Algorithm , 1998, ICML.

[35]  J. Teichmann,et al.  Deep hedging , 2018, Quantitative Finance.

[36]  J. Bouchaud,et al.  Trades, Quotes and Prices: Financial Markets Under the Microscope , 2018 .

[37]  R. Cont Empirical properties of asset returns: stylized facts and statistical issues , 2001 .

[38]  Svitlana Vyetrenko,et al.  Risk-Sensitive Compact Decision Trees for Autonomous Execution in Presence of Simulated Market Response , 2019, ArXiv.

[39]  Alexander Fadeev,et al.  Optimal execution for portfolio transactions , 2006 .

[40]  Michael Kearns,et al.  Reinforcement learning for optimized trade execution , 2006, ICML.

[41]  Ash Booth,et al.  High frequency trading strategies, market fragility and price spikes: an agent based model perspective , 2018, Annals of Operations Research.

[42]  M. Mézard,et al.  Statistical Properties of Stock Order Books: Empirical Results and Models , 2002 .

[43]  Li Li,et al.  Responses of the Stock Market to Macroeconomic Announcements Across Economic States , 1998, SSRN Electronic Journal.

[44]  Peter A. Beling,et al.  An agent based model of the E-Mini S&P 500 applied to flash crash analysis , 2011, 2012 IEEE Conference on Computational Intelligence for Financial Engineering & Economics (CIFEr).

[45]  Charles M. Macal,et al.  Tutorial on agent-based modelling and simulation , 2005, Proceedings of the Winter Simulation Conference, 2005..

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

[47]  A. Kyle Continuous Auctions and Insider Trading , 1985 .

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

[49]  Robert Almgren,et al.  Optimal execution of portfolio trans-actions , 2000 .

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

[51]  Maria Hybinette,et al.  ABIDES: Towards High-Fidelity Market Simulation for AI Research , 2019, ArXiv.

[52]  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.

[53]  Tanmoy Chakraborty,et al.  Market making and mean reversion , 2011, EC '11.

[54]  David W. Lu,et al.  Agent Inspired Trading Using Recurrent Reinforcement Learning and LSTM Neural Networks , 2017, 1707.07338.

[55]  Michael J. North,et al.  Tutorial on agent-based modelling and simulation , 2005, Proceedings of the Winter Simulation Conference, 2005..

[56]  Manmohan Krishna Chandraker,et al.  Learning To Simulate , 2018, ICLR.

[57]  M. Dacorogna,et al.  A geographical model for the daily and weekly seasonal volatility in the foreign exchange market , 1993 .

[58]  Jim Gatheral No-dynamic-arbitrage and market impact , 2009 .