skip to main content
10.1145/3490354.3494448acmconferencesArticle/Chapter ViewAbstractPublication PagesicaifConference Proceedingsconference-collections
research-article

Deep Q-learning market makers in a multi-agent simulated stock market

Published:04 May 2022Publication History

ABSTRACT

Market makers play a key role in financial markets by providing liquidity. They usually fill order books with buy and sell limit orders in order to provide traders alternative price levels to operate. This paper focuses precisely on the study of these markets makers strategies from an agent-based perspective. In particular, we propose the application of Reinforcement Learning (RL) for the creation of intelligent market markers in simulated stock markets. This research analyzes how RL market maker agents behaves in non-competitive (only one RL market maker learning at the same time) and competitive scenarios (multiple RL market markers learning at the same time), and how they adapt their strategies in a Sim2Real scope with interesting results. Furthermore, it covers the application of policy transfer between different experiments, describing the impact of competing environments on RL agents performance. RL and deep RL techniques are proven as profitable market maker approaches, leading to a better understanding of their behavior in stock markets.

References

  1. Marco Avellaneda and Sasha Stoikov. 2008. High-frequency trading in a limit order book. Quantitative Finance 8 (4 2008), 217--224. Issue 3. Google ScholarGoogle ScholarCross RefCross Ref
  2. David Byrd, Maria Hybinette, and Tucker Hybinette Balch. 2019. ABIDES: Towards High-Fidelity Market Simulation for AI Research. (4 2019). http://arxiv.org/abs/1904.12066Google ScholarGoogle Scholar
  3. Tanmoy Chakraborty and Michael Kearns. 2011. Market making and mean reversion. Proceedings of the ACM Conference on Electronic Commerce, 307--313. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Nicholas Tung Chan and Christian Shelton. 2001. An Electronic Market-Maker.Google ScholarGoogle Scholar
  5. David Cournapeau. 2007. Scikit-Learn (Machine learning in Python). https://scikit-learn.org/stable/.Google ScholarGoogle Scholar
  6. Thomas G Fischer and Thomas Fischer. 2018. Reinforcement learning in financial markets-a survey. 12 (2018). https://www.iwf.rw.fau.de/research/iwf-discussion-paper-series/Google ScholarGoogle Scholar
  7. Sumitra Ganesh, Nelson Vadori, Mengda Xu, Hua Zheng, Prashant Reddy, and Manuela Veloso. 2019. Reinforcement Learning for Market Making in a Multi-agent Dealer Market. (11 2019). http://arxiv.org/abs/1911.05892Google ScholarGoogle Scholar
  8. Sven Gronauer and Klaus Diepold. 2021. Multi-agent deep reinforcement learning: a survey. Artificial Intelligence Review (2021). Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Jens Kober, J. Andrew Bagnell, and Jan Peters. 2013. Reinforcement learning in robotics: A survey. International Journal of Robotics Research 32 (9 2013), 1238--1274. Issue 11. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Xiaofei Lu and Frédéric Abergel. 2018. Order-book modelling and market making strategies. (6 2018). http://arxiv.org/abs/1806.05101Google ScholarGoogle Scholar
  11. Scott Lundberg. 2018. SHAP (SHapley Additive exPlanations). https://shap.readthedocs.io/en/latest/index.html.Google ScholarGoogle Scholar
  12. Tom Mitchell. 1997. Machine Learning. (1997).Google ScholarGoogle Scholar
  13. Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. 2015. Human-level control through deep reinforcement learning. Nature 518 (2 2015), 529--533. Issue 7540. Google ScholarGoogle ScholarCross RefCross Ref
  14. Yagna Patel. 2018. Optimizing Market Making using Multi-Agent Reinforcement Learning. (12 2018). http://arxiv.org/abs/1812.10252Google ScholarGoogle Scholar
  15. Kun Shao, Zhentao Tang, Yuanheng Zhu, Nannan Li, and Dongbin Zhao. 2019. A Survey of Deep Reinforcement Learning in Video Games. (12 2019). http://arxiv.org/abs/1912.10944Google ScholarGoogle Scholar
  16. Thomas Spooner, John Fearnley, Rahul Savani, and Andreas Koukorinis. 2018. Market Making via Reinforcement Learning. (4 2018). http://arxiv.org/abs/1804.04216Google ScholarGoogle Scholar
  17. Richard S Sutton and Andrew G Barto. 2011. Reinforcement learning: An introduction. (2011).Google ScholarGoogle Scholar
  18. Yi Wang, Hongtao Zhou, and Wei Zeng. 2011. The agent-based simulation of inventory-based model's impact on market maker trading mechanism. IWACI 2011, 601--604. Google ScholarGoogle ScholarCross RefCross Ref
  19. Christopher Watkins. 1989. Learning from Delayed Rewards. Ph. D. Dissertation. King's College, Cambridge, UK.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    ICAIF '21: Proceedings of the Second ACM International Conference on AI in Finance
    November 2021
    450 pages
    ISBN:9781450391481
    DOI:10.1145/3490354

    Copyright © 2021 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 4 May 2022

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article
  • Article Metrics

    • Downloads (Last 12 months)39
    • Downloads (Last 6 weeks)1

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader