IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2312.14903.html
   My bibliography  Save this paper

Scalable Agent-Based Modeling for Complex Financial Market Simulations

Author

Listed:
  • Aaron Wheeler
  • Jeffrey D. Varner

Abstract

In this study, we developed a computational framework for simulating large-scale agent-based financial markets. Our platform supports trading multiple simultaneous assets and leverages distributed computing to scale the number and complexity of simulated agents. Heterogeneous agents make decisions in parallel, and their orders are processed through a realistic, continuous double auction matching engine. We present a baseline model implementation and show that it captures several known statistical properties of real financial markets (i.e., stylized facts). Further, we demonstrate these results without fitting models to historical financial data. Thus, this framework could be used for direct applications such as human-in-the-loop machine learning or to explore theoretically exciting questions about market microstructure's role in forming the statistical regularities of real markets. To the best of our knowledge, this study is the first to implement multiple assets, parallel agent decision-making, a continuous double auction mechanism, and intelligent agent types in a scalable real-time environment.

Suggested Citation

  • Aaron Wheeler & Jeffrey D. Varner, 2023. "Scalable Agent-Based Modeling for Complex Financial Market Simulations," Papers 2312.14903, arXiv.org, revised Jan 2024.
  • Handle: RePEc:arx:papers:2312.14903
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2312.14903
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Lamperti, Francesco & Roventini, Andrea & Sani, Amir, 2018. "Agent-based model calibration using machine learning surrogates," Journal of Economic Dynamics and Control, Elsevier, vol. 90(C), pages 366-389.
    2. Ivan Jericevich & Patrick Chang & Tim Gebbie, 2021. "Simulation and estimation of an agent-based market-model with a matching engine," Papers 2108.07806, arXiv.org, revised Aug 2021.
    3. repec:hal:spmain:info:hdl:2441/20hflp7eqn97boh50no50tv67n is not listed on IDEAS
    4. Farmer, J. Doyne & Axtell, Robert L., 2022. "Agent-Based Modeling in Economics and Finance: Past, Present, and Future," INET Oxford Working Papers 2022-10, Institute for New Economic Thinking at the Oxford Martin School, University of Oxford.
    5. Andrei Kirilenko & Albert S. Kyle & Mehrdad Samadi & Tugkan Tuzun, 2017. "The Flash Crash: High-Frequency Trading in an Electronic Market," Journal of Finance, American Finance Association, vol. 72(3), pages 967-998, June.
    6. Parameswaran Gopikrishnan & Vasiliki Plerou & Luis A. Nunes Amaral & Martin Meyer & H. Eugene Stanley, 1999. "Scaling of the distribution of fluctuations of financial market indices," Papers cond-mat/9905305, arXiv.org.
    7. Jean-Philippe Bouchaud & Marc Mezard & Marc Potters, 2002. "Statistical properties of stock order books: empirical results and models," Quantitative Finance, Taylor & Francis Journals, vol. 2(4), pages 251-256.
    8. James H. Stock & Mark W. Watson, 2001. "Vector Autoregressions," Journal of Economic Perspectives, American Economic Association, vol. 15(4), pages 101-115, Fall.
    9. Robert Engle, 2001. "GARCH 101: The Use of ARCH/GARCH Models in Applied Econometrics," Journal of Economic Perspectives, American Economic Association, vol. 15(4), pages 157-168, Fall.
    10. Johannes Dahlke & Kristina Bogner & Matthias Mueller & Thomas Berger & Andreas Pyka & Bernd Ebersberger, 2020. "Is the Juice Worth the Squeeze? Machine Learning (ML) In and For Agent-Based Modelling (ABM)," Papers 2003.11985, arXiv.org.
    11. Engle, Robert F, 1982. "Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation," Econometrica, Econometric Society, vol. 50(4), pages 987-1007, July.
    12. Jean-Philippe Bouchaud & J. Doyne Farmer & Fabrizio Lillo, 2008. "How markets slowly digest changes in supply and demand," Papers 0809.0822, arXiv.org.
    13. Jean-Philippe Bouchaud & Marc Mezard & Marc Potters, 2002. "Statistical properties of stock order books: empirical results and models," Science & Finance (CFM) working paper archive 0203511, Science & Finance, Capital Fund Management.
    14. LeBaron, Blake & Arthur, W. Brian & Palmer, Richard, 1999. "Time series properties of an artificial stock market," Journal of Economic Dynamics and Control, Elsevier, vol. 23(9-10), pages 1487-1516, September.
    15. Johannes Vitalis Siven & Jeffrey Todd Lins, 2009. "Gain/loss asymmetry in time series of individual stock prices and its relationship to the leverage effect," Papers 0911.4679, arXiv.org, revised Nov 2009.
    16. Johann Lussange & Stefano Vrizzi & Sacha Bourgeois-Gironde & Stefano Palminteri & Boris Gutkin, 2022. "Stock Price Formation: Precepts from a Multi-Agent Reinforcement Learning Model," Post-Print hal-03827363, HAL.
    17. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    18. Black, Fischer & Scholes, Myron S, 1973. "The Pricing of Options and Corporate Liabilities," Journal of Political Economy, University of Chicago Press, vol. 81(3), pages 637-654, May-June.
    19. Sumitra Ganesh & Nelson Vadori & Mengda Xu & Hua Zheng & Prashant Reddy & Manuela Veloso, 2019. "Reinforcement Learning for Market Making in a Multi-agent Dealer Market," Papers 1911.05892, arXiv.org.
    20. Benoit Mandelbrot, 2015. "The Variation of Certain Speculative Prices," World Scientific Book Chapters, in: Anastasios G Malliaris & William T Ziemba (ed.), THE WORLD SCIENTIFIC HANDBOOK OF FUTURES MARKETS, chapter 3, pages 39-78, World Scientific Publishing Co. Pte. Ltd..
    21. Cox, John C. & Ross, Stephen A. & Rubinstein, Mark, 1979. "Option pricing: A simplified approach," Journal of Financial Economics, Elsevier, vol. 7(3), pages 229-263, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Jovanovic, Franck & Schinckus, Christophe, 2017. "Econophysics and Financial Economics: An Emerging Dialogue," OUP Catalogue, Oxford University Press, number 9780190205034.
    2. Anirban Chakraborti & Ioane Muni Toke & Marco Patriarca & Frederic Abergel, 2011. "Econophysics review: I. Empirical facts," Quantitative Finance, Taylor & Francis Journals, vol. 11(7), pages 991-1012.
    3. Thiago W. Alves & Ionut Florescu & George Calhoun & Dragos Bozdog, 2020. "SHIFT: A Highly Realistic Financial Market Simulation Platform," Papers 2002.11158, arXiv.org, revised Aug 2020.
    4. Kyubin Yim & Gabjin Oh & Seunghwan Kim, 2016. "Understanding Financial Market States Using an Artificial Double Auction Market," PLOS ONE, Public Library of Science, vol. 11(3), pages 1-15, March.
    5. Troy Tassier, 2013. "Handbook of Research on Complexity, by J. Barkley Rosser, Jr. and Edward Elgar," Eastern Economic Journal, Palgrave Macmillan;Eastern Economic Association, vol. 39(1), pages 132-133.
    6. Anirban Chakraborti & Ioane Muni Toke & Marco Patriarca & Frederic Abergel, 2011. "Econophysics review: II. Agent-based models," Quantitative Finance, Taylor & Francis Journals, vol. 11(7), pages 1013-1041.
    7. Anirban Chakraborti & Ioane Muni Toke & Marco Patriarca & Frédéric Abergel, 2011. "Econophysics review: I. Empirical facts," Post-Print hal-00621058, HAL.
    8. Antonio Doria, Francisco, 2011. "J.B. Rosser Jr. , Handbook of Research on Complexity, Edward Elgar, Cheltenham, UK--Northampton, MA, USA (2009) 436 + viii pp., index, ISBN 978 1 84542 089 5 (cased)," Journal of Economic Behavior & Organization, Elsevier, vol. 78(1-2), pages 196-204, April.
    9. Johann Lussange & Ivan Lazarevich & Sacha Bourgeois-Gironde & Stefano Palminteri & Boris Gutkin, 2021. "Modelling Stock Markets by Multi-agent Reinforcement Learning," Computational Economics, Springer;Society for Computational Economics, vol. 57(1), pages 113-147, January.
    10. Michele Vodret & Iacopo Mastromatteo & Bence Tóth & Michael Benzaquen, 2023. "Microfounding GARCH models and beyond: a Kyle-inspired model with adaptive agents," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 18(3), pages 599-625, July.
    11. Derksen, M. & Kleijn, B. & de Vilder, R., 2022. "Heavy tailed distributions in closing auctions," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 593(C).
    12. M. Derksen & B. Kleijn & R. de Vilder, 2020. "Heavy tailed distributions in closing auctions," Papers 2012.10145, arXiv.org.
    13. Detlef Seese & Christof Weinhardt & Frank Schlottmann (ed.), 2008. "Handbook on Information Technology in Finance," International Handbooks on Information Systems, Springer, number 978-3-540-49487-4, November.
    14. Jean-Philippe Bouchaud & Julien Kockelkoren & Marc Potters, 2006. "Random walks, liquidity molasses and critical response in financial markets," Quantitative Finance, Taylor & Francis Journals, vol. 6(2), pages 115-123.
    15. Juan C. Henao-Londono & Sebastian M. Krause & Thomas Guhr, 2021. "Price response functions and spread impact in correlated financial markets," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 94(4), pages 1-20, April.
    16. Siddiqi, Hammad, 2007. "Rational Interacting Agents and Volatility Clustering: A New Approach," MPRA Paper 2984, University Library of Munich, Germany.
    17. Sandrine Jacob Leal & Mauro Napoletano & Andrea Roventini & Giorgio Fagiolo, 2016. "Rock around the clock: An agent-based model of low- and high-frequency trading," Journal of Evolutionary Economics, Springer, vol. 26(1), pages 49-76, March.
    18. Baosheng Yuan & Kan Chen, 2005. "Impact of Investor's Varying Risk Aversion on the Dynamics of Asset Price Fluctuations," Papers physics/0506224, arXiv.org.
    19. Martin D. Gould & Mason A. Porter & Stacy Williams & Mark McDonald & Daniel J. Fenn & Sam D. Howison, 2010. "Limit Order Books," Papers 1012.0349, arXiv.org, revised Apr 2013.
    20. Hommes, Cars H., 2006. "Heterogeneous Agent Models in Economics and Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 23, pages 1109-1186, Elsevier.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2312.14903. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.