IDEAS home Printed from https://ideas.repec.org/a/gam/jjrfmx/v13y2020i4p71-d344491.html
   My bibliography  Save this article

Deep Reinforcement Learning in Agent Based Financial Market Simulation

Author

Listed:
  • Iwao Maeda

    (Department of Systems Innovation, School of Engineering, The University of Tokyo, Tokyo 113-8654, Japan)

  • David deGraw

    (Daiwa Securities Co. Ltd., Tokyo 100-0005, Japan)

  • Michiharu Kitano

    (Daiwa Institute of Research Ltd., Tokyo 135-8460, Japan)

  • Hiroyasu Matsushima

    (Department of Systems Innovation, School of Engineering, The University of Tokyo, Tokyo 113-8654, Japan)

  • Hiroki Sakaji

    (Department of Systems Innovation, School of Engineering, The University of Tokyo, Tokyo 113-8654, Japan)

  • Kiyoshi Izumi

    (Department of Systems Innovation, School of Engineering, The University of Tokyo, Tokyo 113-8654, Japan)

  • Atsuo Kato

    (Daiwa Institute of Research Ltd., Tokyo 135-8460, Japan)

Abstract

Prediction of financial market data with deep learning models has achieved some level of recent success. However, historical financial data suffer from an unknowable state space, limited observations, and the inability to model the impact of your own actions on the market can often be prohibitive when trying to find investment strategies using deep reinforcement learning. One way to overcome these limitations is to augment real market data with agent based artificial market simulation. Artificial market simulations designed to reproduce realistic market features may be used to create unobserved market states, to model the impact of your own investment actions on the market itself, and train models with as much data as necessary. In this study we propose a framework for training deep reinforcement learning models in agent based artificial price-order-book simulations that yield non-trivial policies under diverse conditions with market impact. Our simulations confirm that the proposed deep reinforcement learning model with unique task-specific reward function was able to learn a robust investment strategy with an attractive risk-return profile.

Suggested Citation

  • Iwao Maeda & David deGraw & Michiharu Kitano & Hiroyasu Matsushima & Hiroki Sakaji & Kiyoshi Izumi & Atsuo Kato, 2020. "Deep Reinforcement Learning in Agent Based Financial Market Simulation," JRFM, MDPI, vol. 13(4), pages 1-17, April.
  • Handle: RePEc:gam:jjrfmx:v:13:y:2020:i:4:p:71-:d:344491
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1911-8074/13/4/71/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1911-8074/13/4/71/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Lahmiri, Salim & Bekiros, Stelios, 2020. "Intelligent forecasting with machine learning trading systems in chaotic intraday Bitcoin market," Chaos, Solitons & Fractals, Elsevier, vol. 133(C).
    2. Wei Bao & Jun Yue & Yulei Rao, 2017. "A deep learning framework for financial time series using stacked autoencoders and long-short term memory," PLOS ONE, Public Library of Science, vol. 12(7), pages 1-24, July.
    3. Carl Chiarella & Giulia Iori, 2002. "A simulation analysis of the microstructure of double auction markets," Quantitative Finance, Taylor & Francis Journals, vol. 2(5), pages 346-353.
    4. Solomon, Sorin & Weisbuch, Gerard & de Arcangelis, Lucilla & Jan, Naeem & Stauffer, Dietrich, 2000. "Social percolation models," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 277(1), pages 239-247.
    5. Thomas Lux & Michele Marchesi, 1999. "Scaling and criticality in a stochastic multi-agent model of a financial market," Nature, Nature, vol. 397(6719), pages 498-500, February.
    6. Zhengyao Jiang & Dixing Xu & Jinjun Liang, 2017. "A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem," Papers 1706.10059, arXiv.org, revised Jul 2017.
    7. 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.
    8. 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.
    9. Levy, Moshe & Levy, Haim & Solomon, Sorin, 1994. "A microscopic model of the stock market : Cycles, booms, and crashes," Economics Letters, Elsevier, vol. 45(1), pages 103-111, May.
    10. Olga Streltchenko & Yelena Yesha & Timothy Finin, 2005. "Multi-Agent Simulation of Financial Markets," International Handbooks on Information Systems, in: Steven O. Kimbrough & D.J. Wu (ed.), Formal Modelling in Electronic Commerce, pages 393-419, Springer.
    11. Daigo Tashiro & Hiroyasu Matsushima & Kiyoshi Izumi & Hiroki Sakaji, 2019. "Encoding of high-frequency order information and prediction of short-term stock price by deep learning," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1499-1506, September.
    12. David Silver & Julian Schrittwieser & Karen Simonyan & Ioannis Antonoglou & Aja Huang & Arthur Guez & Thomas Hubert & Lucas Baker & Matthew Lai & Adrian Bolton & Yutian Chen & Timothy Lillicrap & Fan , 2017. "Mastering the game of Go without human knowledge," Nature, Nature, vol. 550(7676), pages 354-359, October.
    13. Thomas Spooner & John Fearnley & Rahul Savani & Andreas Koukorinis, 2018. "Market Making via Reinforcement Learning," Papers 1804.04216, arXiv.org.
    14. Nelson, Daniel B, 1991. "Conditional Heteroskedasticity in Asset Returns: A New Approach," Econometrica, Econometric Society, vol. 59(2), pages 347-370, March.
    15. Harvey, A C & Jaeger, A, 1993. "Detrending, Stylized Facts and the Business Cycle," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 8(3), pages 231-247, July-Sept.
    16. Paula Hill & Robert Faff, 2010. "The Market Impact of Relative Agency Activity in the Sovereign Ratings Market," Journal of Business Finance & Accounting, Wiley Blackwell, vol. 37(9‐10), pages 1309-1347, November.
    17. Silva, Francisco & Teixeira, Brígida & Pinto, Tiago & Santos, Gabriel & Vale, Zita & Praça, Isabel, 2016. "Generation of realistic scenarios for multi-agent simulation of electricity markets," Energy, Elsevier, vol. 116(P1), pages 128-139.
    18. Jun Muranaga & Tokiko Shimizu, 1999. "Market Microstructure and Market Liquidity," CGFS Papers chapters, in: Bank for International Settlements (ed.), Market Liquidity: Research Findings and Selected Policy Implications, volume 11, pages 1-28, Bank for International Settlements.
    19. 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 & Charle, 2015. "Human-level control through deep reinforcement learning," Nature, Nature, vol. 518(7540), pages 529-533, February.
    20. Paul Brewer & Jaksa Cvitanic & Charles R. Plott, 2013. "Market Microstructure Design and Flash Crashes: A Simulation Approach," Journal of Applied Economics, Taylor & Francis Journals, vol. 16(2), pages 223-250, November.
    21. E. Samanidou & E. Zschischang & D. Stauffer & T. Lux, 2007. "Agent-based Models of Financial Markets," Papers physics/0701140, arXiv.org.
    22. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    23. Raberto, Marco & Cincotti, Silvano & Focardi, Sergio M. & Marchesi, Michele, 2001. "Agent-based simulation of a financial market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 299(1), pages 319-327.
    24. Fama, Eugene F. & French, Kenneth R., 1993. "Common risk factors in the returns on stocks and bonds," Journal of Financial Economics, Elsevier, vol. 33(1), pages 3-56, February.
    25. Dietrich Stauffer, 2001. "Percolation Models Of Financial Market Dynamics," Advances in Complex Systems (ACS), World Scientific Publishing Co. Pte. Ltd., vol. 4(01), pages 19-27.
    26. Lahmiri, Salim & Bekiros, Stelios, 2019. "Cryptocurrency forecasting with deep learning chaotic neural networks," Chaos, Solitons & Fractals, Elsevier, vol. 118(C), pages 35-40.
    27. David Silver & Aja Huang & Chris J. Maddison & Arthur Guez & Laurent Sifre & George van den Driessche & Julian Schrittwieser & Ioannis Antonoglou & Veda Panneershelvam & Marc Lanctot & Sander Dieleman, 2016. "Mastering the game of Go with deep neural networks and tree search," Nature, Nature, vol. 529(7587), pages 484-489, January.
    28. Paul Brewer & Jaksa Cvitanic & Charles R. Plott, 2013. "Market microstructure design and flash crashes: A simulation approach," Journal of Applied Economics, Universidad del CEMA, vol. 16, pages 223-250, November.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Pankaj Kumar, 2021. "Deep Hawkes Process for High-Frequency Market Making," Papers 2109.15110, arXiv.org.
    2. Johann Lussange & Stefano Vrizzi & Stefano Palminteri & Boris Gutkin, 2024. "Modelling crypto markets by multi-agent reinforcement learning," Papers 2402.10803, arXiv.org.
    3. Yong Shi & Bo Li & Guangle Du, 2021. "Pyramid scheme in stock market: a kind of financial market simulation," Papers 2102.02179, arXiv.org, revised Feb 2021.
    4. Ali Taherizadeh & Shiva Zamani, 2023. "Winner Strategies in a Simulated Stock Market," IJFS, MDPI, vol. 11(2), pages 1-17, May.

    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. Iwao Maeda & David deGraw & Michiharu Kitano & Hiroyasu Matsushima & Kiyoshi Izumi & Hiroki Sakaji & Atsuo Kato, 2020. "Latent Segmentation of Stock Trading Strategies Using Multi-Modal Imitation Learning," JRFM, MDPI, vol. 13(11), pages 1-12, October.
    2. E. Samanidou & E. Zschischang & D. Stauffer & T. Lux, 2001. "Microscopic Models of Financial Markets," Papers cond-mat/0110354, arXiv.org.
    3. 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.
    4. Shuo Sun & Rundong Wang & Bo An, 2021. "Reinforcement Learning for Quantitative Trading," Papers 2109.13851, arXiv.org.
    5. E. Samanidou & E. Zschischang & D. Stauffer & T. Lux, 2007. "Agent-based Models of Financial Markets," Papers physics/0701140, arXiv.org.
    6. Huck, Nicolas, 2019. "Large data sets and machine learning: Applications to statistical arbitrage," European Journal of Operational Research, Elsevier, vol. 278(1), pages 330-342.
    7. Nosratabadi, Saeed & Mosavi, Amir & Duan, Puhong & Ghamisi, Pedram & Filip, Ferdinand & Band, Shahab S. & Reuter, Uwe & Gama, Joao & Gandomi, Amir H., 2020. "Data science in economics: comprehensive review of advanced machine learning and deep learning methods," LawArXiv kczj5, Center for Open Science.
    8. 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.
    9. Saeed Nosratabadi & Amir Mosavi & Puhong Duan & Pedram Ghamisi, 2020. "Data Science in Economics," Papers 2003.13422, arXiv.org.
    10. Saeed Nosratabadi & Amirhosein Mosavi & Puhong Duan & Pedram Ghamisi & Ferdinand Filip & Shahab S. Band & Uwe Reuter & Joao Gama & Amir H. Gandomi, 2020. "Data Science in Economics: Comprehensive Review of Advanced Machine Learning and Deep Learning Methods," Mathematics, MDPI, vol. 8(10), pages 1-25, October.
    11. Nosratabadi, Saeed & Mosavi, Amir & Duan, Puhong & Ghamisi, Pedram & Filip, Ferdinand & Band, Shahab S. & Reuter, Uwe & Gama, Joao & Gandomi, Amir H., 2020. "Data science in economics: comprehensive review of advanced machine learning and deep learning methods," MetaArXiv haf2v, Center for Open Science.
    12. Nosratabadi, Saeed & Mosavi, Amir & Duan, Puhong & Ghamisi, Pedram & Filip, Ferdinand & Band, Shahab S. & Reuter, Uwe & Gama, Joao & Gandomi, Amir H., 2020. "Data science in economics: comprehensive review of advanced machine learning and deep learning methods," OSF Preprints yc6e2, Center for Open Science.
    13. Nosratabadi, Saeed & Mosavi, Amir & Duan, Puhong & Ghamisi, Pedram & Filip, Ferdinand & Band, Shahab S. & Reuter, Uwe & Gama, Joao & Gandomi, Amir H., 2020. "Data science in economics: comprehensive review of advanced machine learning and deep learning methods," EdArXiv 5dwrt, Center for Open Science.
    14. Zechu Li & Xiao-Yang Liu & Jiahao Zheng & Zhaoran Wang & Anwar Walid & Jian Guo, 2021. "FinRL-Podracer: High Performance and Scalable Deep Reinforcement Learning for Quantitative Finance," Papers 2111.05188, arXiv.org.
    15. Nosratabadi, Saeed & Mosavi, Amir & Duan, Puhong & Ghamisi, Pedram & Filip, Ferdinand & Band, Shahab S. & Reuter, Uwe & Gama, Joao & Gandomi, Amir H., 2020. "Data science in economics: comprehensive review of advanced machine learning and deep learning methods," SocArXiv 9vdwf, Center for Open Science.
    16. Nosratabadi, Saeed & Mosavi, Amir & Duan, Puhong & Ghamisi, Pedram & Filip, Ferdinand & Band, Shahab S. & Reuter, Uwe & Gama, Joao & Gandomi, Amir H., 2020. "Data science in economics: comprehensive review of advanced machine learning and deep learning methods," Thesis Commons auyvc, Center for Open Science.
    17. 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.
    18. Omar Al-Ani & Sanjoy Das, 2022. "Reinforcement Learning: Theory and Applications in HEMS," Energies, MDPI, vol. 15(17), pages 1-37, September.
    19. Torsten Trimborn & Philipp Otte & Simon Cramer & Maximilian Beikirch & Emma Pabich & Martin Frank, 2020. "SABCEMM: A Simulator for Agent-Based Computational Economic Market Models," Computational Economics, Springer;Society for Computational Economics, vol. 55(2), pages 707-744, February.
    20. Amirhosein Mosavi & Yaser Faghan & Pedram Ghamisi & Puhong Duan & Sina Faizollahzadeh Ardabili & Ely Salwana & Shahab S. Band, 2020. "Comprehensive Review of Deep Reinforcement Learning Methods and Applications in Economics," Mathematics, MDPI, vol. 8(10), pages 1-42, September.

    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:gam:jjrfmx:v:13:y:2020:i:4:p:71-:d:344491. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.