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

Many learning agents interacting with an agent-based market model

Author

Listed:
  • Matthew Dicks
  • Andrew Paskaramoorthy
  • Tim Gebbie

Abstract

We consider the dynamics and the interactions of multiple reinforcement learning optimal execution trading agents interacting with a reactive Agent-Based Model (ABM) of a financial market in event time. The model represents a market ecology with 3-trophic levels represented by: optimal execution learning agents, minimally intelligent liquidity takers, and fast electronic liquidity providers. The optimal execution agent classes include buying and selling agents that can either use a combination of limit orders and market orders, or only trade using market orders. The reward function explicitly balances trade execution slippage against the penalty of not executing the order timeously. This work demonstrates how multiple competing learning agents impact a minimally intelligent market simulation as functions of the number of agents, the size of agents' initial orders, and the state spaces used for learning. We use phase space plots to examine the dynamics of the ABM, when various specifications of learning agents are included. Further, we examine whether the inclusion of optimal execution agents that can learn is able to produce dynamics with the same complexity as empirical data. We find that the inclusion of optimal execution agents changes the stylised facts produced by ABM to conform more with empirical data, and are a necessary inclusion for ABMs investigating market micro-structure. However, including execution agents to chartist-fundamentalist-noise ABMs is insufficient to recover the complexity observed in empirical data.

Suggested Citation

  • Matthew Dicks & Andrew Paskaramoorthy & Tim Gebbie, 2023. "Many learning agents interacting with an agent-based market model," Papers 2303.07393, arXiv.org, revised Nov 2023.
  • Handle: RePEc:arx:papers:2303.07393
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. 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.
    2. Challet, Damien & Marsili, Matteo & Zhang, Yi-Cheng, 2000. "Modeling market mechanism with minority game," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 276(1), pages 284-315.
    3. Peter Winker & Manfred Gilli & Vahidin Jeleskovic, 2007. "An objective function for simulation based inference on exchange rate data," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 2(2), pages 125-145, December.
    4. J. Donier & J. Bonart & I. Mastromatteo & J.-P. Bouchaud, 2015. "A fully consistent, minimal model for non-linear market impact," Quantitative Finance, Taylor & Francis Journals, vol. 15(7), pages 1109-1121, July.
    5. J. Doyne Farmer, 2002. "Market force, ecology and evolution," Industrial and Corporate Change, Oxford University Press and the Associazione ICC, vol. 11(5), pages 895-953, November.
    6. Jonathan Donier & Julius Bonart & Iacopo Mastromatteo & Jean-Philippe Bouchaud, 2014. "A fully consistent, minimal model for non-linear market impact," Papers 1412.0141, arXiv.org, revised Mar 2015.
    7. Gur Huberman & Werner Stanzl, 2004. "Price Manipulation and Quasi-Arbitrage," Econometrica, Econometric Society, vol. 72(4), pages 1247-1275, July.
    8. Matthew Dicks & Andrew Paskaramoorthy & Tim Gebbie, 2022. "A simple learning agent interacting with an agent-based market model," Papers 2208.10434, arXiv.org, revised Nov 2023.
    9. Pagan, Adrian, 1996. "The econometrics of financial markets," Journal of Empirical Finance, Elsevier, vol. 3(1), pages 15-102, May.
    10. Marsili, Matteo, 2001. "Market mechanism and expectations in minority and majority games," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 299(1), pages 93-103.
    11. Kyle, Albert S, 1985. "Continuous Auctions and Insider Trading," Econometrica, Econometric Society, vol. 53(6), pages 1315-1335, November.
    12. Potters, Marc & Bouchaud, Jean-Philippe, 2003. "More statistical properties of order books and price impact," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 324(1), pages 133-140.
    13. John Geweke & Susan Porter‐Hudak, 1983. "The Estimation And Application Of Long Memory Time Series Models," Journal of Time Series Analysis, Wiley Blackwell, vol. 4(4), pages 221-238, July.
    14. Jean-Philippe Bouchaud & Yuval Gefen & Marc Potters & Matthieu Wyart, 2003. "Fluctuations and response in financial markets: the subtle nature of `random' price changes," Papers cond-mat/0307332, arXiv.org, revised Aug 2003.
    15. Ivan Jericevich & Patrick Chang & Tim Gebbie, 2021. "Simulation and estimation of a point-process market-model with a matching engine," Papers 2105.02211, arXiv.org, revised Aug 2021.
    16. Challet, D. & Zhang, Y.-C., 1997. "Emergence of cooperation and organization in an evolutionary game," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 246(3), pages 407-418.
    17. Hasbrouck, Joel, 1988. "Trades, quotes, inventories, and information," Journal of Financial Economics, Elsevier, vol. 22(2), pages 229-252, December.
    18. Ivan Jericevich & Patrick Chang & Tim Gebbie, 2020. "Comparing the market microstructure between two South African exchanges," Papers 2011.04367, arXiv.org.
    19. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    20. Dieter Hendricks & Diane Wilcox, 2014. "A reinforcement learning extension to the Almgren-Chriss model for optimal trade execution," Papers 1403.2229, arXiv.org.
    21. J. Doyne Farmer & Austin Gerig & Fabrizio Lillo & Henri Waelbroeck, 2013. "How efficiency shapes market impact," Quantitative Finance, Taylor & Francis Journals, vol. 13(11), pages 1743-1758, November.
    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. Olivier Guéant, 2016. "The Financial Mathematics of Market Liquidity: From Optimal Execution to Market Making," Post-Print hal-01393136, HAL.
    2. Emilio Said, 2022. "Market Impact: Empirical Evidence, Theory and Practice," Working Papers hal-03668669, HAL.
    3. 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.
    4. Emilio Said, 2022. "Market Impact: Empirical Evidence, Theory and Practice," Papers 2205.07385, arXiv.org.
    5. Didier SORNETTE, 2014. "Physics and Financial Economics (1776-2014): Puzzles, Ising and Agent-Based Models," Swiss Finance Institute Research Paper Series 14-25, Swiss Finance Institute.
    6. D. Sornette, 2014. "Physics and Financial Economics (1776-2014): Puzzles, Ising and Agent-Based models," Papers 1404.0243, arXiv.org.
    7. A. Corcos & J-P Eckmann & A. Malaspinas & Y. Malevergne & D. Sornette, 2002. "Imitation and contrarian behaviour: hyperbolic bubbles, crashes and chaos," Quantitative Finance, Taylor & Francis Journals, vol. 2(4), pages 264-281.
    8. Gu, Gao-Feng & Chen, Wei & Zhou, Wei-Xing, 2008. "Empirical regularities of order placement in the Chinese stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 387(13), pages 3173-3182.
    9. 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.
    10. Miquel Montero, 2021. "Predator–prey model for stock market fluctuations," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 16(1), pages 29-57, January.
    11. Jean-Philippe Bouchaud, 2021. "The Inelastic Market Hypothesis: A Microstructural Interpretation," Papers 2108.00242, arXiv.org, revised Jan 2022.
    12. Brunovský, Pavol & Černý, Aleš & Komadel, Ján, 2018. "Optimal trade execution under endogenous pressure to liquidate: Theory and numerical solutions," European Journal of Operational Research, Elsevier, vol. 264(3), pages 1159-1171.
    13. Challet, Damien, 2008. "Inter-pattern speculation: Beyond minority, majority and $-games," Journal of Economic Dynamics and Control, Elsevier, vol. 32(1), pages 85-100, January.
    14. 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.
    15. Andre Cardoso Barato & Iacopo Mastromatteo & Marco Bardoscia & Matteo Marsili, 2011. "Impact of meta-order in the Minority Game," Papers 1112.3908, arXiv.org, revised Nov 2012.
    16. Derick Diana & Tim Gebbie, 2023. "Anomalous diffusion and price impact in the fluid-limit of an order book," Papers 2310.06079, arXiv.org, revised Jan 2024.
    17. Fabrizio Lillo, 2021. "Order flow and price formation," Papers 2105.00521, arXiv.org.
    18. Wyart, Matthieu & Bouchaud, Jean-Philippe, 2007. "Self-referential behaviour, overreaction and conventions in financial markets," Journal of Economic Behavior & Organization, Elsevier, vol. 63(1), pages 1-24, May.
    19. 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.
    20. Anirban Chakraborti & Ioane Muni Toke & Marco Patriarca & Frédéric Abergel, 2011. "Econophysics review: I. Empirical facts," Post-Print hal-00621058, HAL.

    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:2303.07393. 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.