IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v64y2024i5d10.1007_s10614-023-10495-z.html
   My bibliography  Save this article

Cryptocurrency Exchange Simulation

Author

Listed:
  • Kirill Mansurov

    (Saint Petersburg University: Sankt-Peterburgskij Gosudarstvennyj Universitet)

  • Alexander Semenov

    (University of Florida)

  • Dmitry Grigoriev

    (Saint Petersburg University: Sankt-Peterburgskij Gosudarstvennyj Universitet)

  • Andrei Radionov

    (Saint Petersburg University: Sankt-Peterburgskij Gosudarstvennyj Universitet)

  • Rustam Ibragimov

    (Imperial College Business School
    New Economic School)

Abstract

In this paper, we consider the approach of applying state-of-the-art machine learning algorithms to simulate some financial markets. In this case, we choose the cryptocurrency market based on the assumption that such markets more active today. As a rule, they have more volatility, attracting riskier traders. Considering classic trading strategies, we also introduce an agent with a self-learning strategy. To model the behavior of such agent, we use deep reinforcement learning algorithms, namely Deep Deterministic policy gradient. Next, we develop an agent-based model with following strategies. With this model, we will be able to evaluate the main market statistics, named stylized-facts. Finally, we conduct a comparative analysis of results for constructed model with outcomes of previously proposed models, as well as with the characteristics of real market. As a result, we conclude that our model with a self-learning agent gives a better approximation to the real market than a model with classical agents. In particular, unlike the model with classical agents, the model with a self-learning agent turns out to be not so heavy-tailed. Thus, we demonstrate that for a complete understanding of market processes simulation models should take into account self-learning agents that have a significant presence at modern stock markets.

Suggested Citation

  • Kirill Mansurov & Alexander Semenov & Dmitry Grigoriev & Andrei Radionov & Rustam Ibragimov, 2024. "Cryptocurrency Exchange Simulation," Computational Economics, Springer;Society for Computational Economics, vol. 64(5), pages 2585-2603, November.
  • Handle: RePEc:kap:compec:v:64:y:2024:i:5:d:10.1007_s10614-023-10495-z
    DOI: 10.1007/s10614-023-10495-z
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-023-10495-z
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-023-10495-z?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Serban, Alina F., 2010. "Combining mean reversion and momentum trading strategies in foreign exchange markets," Journal of Banking & Finance, Elsevier, vol. 34(11), pages 2720-2727, November.
    2. Eric Smith & J Doyne Farmer & Laszlo Gillemot & Supriya Krishnamurthy, 2003. "Statistical theory of the continuous double auction," Quantitative Finance, Taylor & Francis Journals, vol. 3(6), pages 481-514.
    3. R. Rosillo & D. de la Fuente & J. A. L. Brugos, 2013. "Technical analysis and the Spanish stock exchange: testing the RSI, MACD, momentum and stochastic rules using Spanish market companies," Applied Economics, Taylor & Francis Journals, vol. 45(12), pages 1541-1550, April.
    4. William Wai Him Tsang & Terence Tai Leung Chong, 2009. "Profitability of the On-Balance Volume Indicator," Economics Bulletin, AccessEcon, vol. 29(3), pages 2424-2431.
    5. Balvers, Ronald J. & Wu, Yangru, 2006. "Momentum and mean reversion across national equity markets," Journal of Empirical Finance, Elsevier, vol. 13(1), pages 24-48, January.
    6. Frank McGroarty & Ash Booth & Enrico Gerding & V. L. Raju Chinthalapati, 2019. "High frequency trading strategies, market fragility and price spikes: an agent based model perspective," Annals of Operations Research, Springer, vol. 282(1), pages 217-244, November.
    7. José Manuel Galán & Luis R. Izquierdo & Segismundo S. Izquierdo & José Ignacio Santos & Ricardo del Olmo & Adolfo López-Paredes & Bruce Edmonds, 2009. "Errors and Artefacts in Agent-Based Modelling," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 12(1), pages 1-1.
    8. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    9. Ioanid Rosu, 2009. "A Dynamic Model of the Limit Order Book," The Review of Financial Studies, Society for Financial Studies, vol. 22(11), pages 4601-4641, November.
    10. Huber, Jürgen & Kleinlercher, Daniel & Kirchler, Michael, 2012. "The impact of a financial transaction tax on stylized facts of price returns—Evidence from the lab," Journal of Economic Dynamics and Control, Elsevier, vol. 36(8), pages 1248-1266.
    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. Frank McGroarty & Ash Booth & Enrico Gerding & V. L. Raju Chinthalapati, 2019. "High frequency trading strategies, market fragility and price spikes: an agent based model perspective," Annals of Operations Research, Springer, vol. 282(1), pages 217-244, November.
    2. 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.
    3. Zhiyuan Yao & Zheng Li & Matthew Thomas & Ionut Florescu, 2024. "Reinforcement Learning in Agent-Based Market Simulation: Unveiling Realistic Stylized Facts and Behavior," Papers 2403.19781, arXiv.org.
    4. Rama Cont & Adrien de Larrard, 2013. "Price Dynamics in a Markovian Limit Order Market," Post-Print hal-00552252, HAL.
    5. Pankaj Kumar, 2021. "Deep Hawkes Process for High-Frequency Market Making," Papers 2109.15110, arXiv.org.
    6. Martin D. Gould & Mason A. Porter & Stacy Williams & Mark McDonald & Daniel J. Fenn & Sam D. Howison, 2013. "Limit order books," Quantitative Finance, Taylor & Francis Journals, vol. 13(11), pages 1709-1742, November.
    7. 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.
    8. 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.
    9. Wang, Yougui & Stanley, H.E., 2009. "Statistical approach to partial equilibrium analysis," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 388(7), pages 1173-1180.
    10. Marcello Rambaldi & Emmanuel Bacry & Jean-Franc{c}ois Muzy, 2018. "Disentangling and quantifying market participant volatility contributions," Papers 1807.07036, arXiv.org.
    11. Adam Zaremba & Jacob Koby Shemer, 2018. "Price-Based Investment Strategies," Springer Books, Springer, number 978-3-319-91530-2, March.
    12. 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.
    13. Zijian Shi & John Cartlidge, 2024. "Neural stochastic agent‐based limit order book simulation with neural point process and diffusion probabilistic model," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 31(2), June.
    14. Weibing Huang & Charles-Albert Lehalle & Mathieu Rosenbaum, 2015. "Simulating and Analyzing Order Book Data: The Queue-Reactive Model," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 110(509), pages 107-122, March.
    15. repec:spo:wpmain:info:hdl:2441/f6h8764enu2lskk9p4oq9ig8k is not listed on IDEAS
    16. Rama Cont & Adrien De Larrard, 2011. "Price dynamics in a Markovian limit order market," Papers 1104.4596, arXiv.org.
    17. Zhang, Yuanyuan & Chan, Stephen & Chu, Jeffrey & Nadarajah, Saralees, 2019. "Stylised facts for high frequency cryptocurrency data," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 513(C), pages 598-612.
    18. Zaremba, Adam & Kizys, Renatas & Raza, Muhammad Wajid, 2020. "The long-run reversal in the long run: Insights from two centuries of international equity returns," Journal of Empirical Finance, Elsevier, vol. 55(C), pages 177-199.
    19. Rama Cont & Sasha Stoikov & Rishi Talreja, 2010. "A Stochastic Model for Order Book Dynamics," Operations Research, INFORMS, vol. 58(3), pages 549-563, June.
    20. Alessio Emanuele Biondo, 2019. "Order book modeling and financial stability," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 14(3), pages 469-489, September.
    21. Alexander Lykov & Stepan Muzychka & Kirill Vaninsky, 2016. "Investor'S Sentiment In Multi-Agent Model Of The Continuous Double Auction," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 19(06), pages 1-29, 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:kap:compec:v:64:y:2024:i:5:d:10.1007_s10614-023-10495-z. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.