IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v10y2022i9p1456-d802570.html
   My bibliography  Save this article

Stochastic Neural Networks-Based Algorithmic Trading for the Cryptocurrency Market

Author

Listed:
  • Vasu Kalariya

    (Department of Computer Science and Engineering, Institute of Technology, Nirma University, Ahmedabad 382481, Gujarat, India)

  • Pushpendra Parmar

    (Department of Computer Science and Engineering, Institute of Technology, Nirma University, Ahmedabad 382481, Gujarat, India)

  • Patel Jay

    (Department of Computer Science and Engineering, Institute of Technology, Nirma University, Ahmedabad 382481, Gujarat, India)

  • Sudeep Tanwar

    (Department of Computer Science and Engineering, Institute of Technology, Nirma University, Ahmedabad 382481, Gujarat, India)

  • Maria Simona Raboaca

    (National Research and Development Institute for Cryogenic and Isotopic Technologies—ICSI Rm. Valcea, Uzinei Street, No. 4, 240050 Ramnicu Valcea, Romania)

  • Fayez Alqahtani

    (Software Engineering Department, College of Computer and Information Sciences, King Saud University, Riyadh 12372, Saudi Arabia)

  • Amr Tolba

    (Computer Science Department, Community College, King Saud University, Riyadh 11437, Saudi Arabia)

  • Bogdan-Constantin Neagu

    (Department of Power Engineering, “Gheorghe Asachi” Technical University of Iasi, 700050 Iasi, Romania)

Abstract

Throughout the history of modern finance, very few financial instruments have been as strikingly volatile as cryptocurrencies. The long-term prospects of cryptocurrencies remain uncertain; however, taking advantage of recent advances in neural networks and volatility, we show that the trading algorithms reinforced by short-term price predictions are bankable. Traditional trading algorithms and indicators are often based on mean reversal strategies that do not advantage price predictions. Furthermore, deterministic models cannot capture market volatility even after incorporating price predictions. Thus motivated by these issues, we integrate randomness in the price prediction models to simulate stochastic behavior. This paper proposes hybrid trading strategies that take advantage of the traditional mean reversal strategies alongside robust price predictions from stochastic neural networks. We trained stochastic neural networks to predict prices based on market data and social sentiment. The backtesting was conducted on three cryptocurrencies: Bitcoin, Ethereum, and Litecoin, for over 600 days from August 2017 to December 2019. We show that the proposed trading algorithms are better when compared to the traditional buy and hold strategy in terms of both stability and returns.

Suggested Citation

  • Vasu Kalariya & Pushpendra Parmar & Patel Jay & Sudeep Tanwar & Maria Simona Raboaca & Fayez Alqahtani & Amr Tolba & Bogdan-Constantin Neagu, 2022. "Stochastic Neural Networks-Based Algorithmic Trading for the Cryptocurrency Market," Mathematics, MDPI, vol. 10(9), pages 1-15, April.
  • Handle: RePEc:gam:jmathe:v:10:y:2022:i:9:p:1456-:d:802570
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/10/9/1456/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/10/9/1456/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Masafumi Nakano & Akihiko Takahashi & Soichiro Takahashi, 2018. "Bitcoin technical trading with artificial neural network," CIRJE F-Series CIRJE-F-1078, CIRJE, Faculty of Economics, University of Tokyo.
    2. Jinan Liu & Apostolos Serletis, 2019. "Volatility in the Cryptocurrency Market," Open Economies Review, Springer, vol. 30(4), pages 779-811, September.
    3. Mokni, Khaled, 2021. "When, where, and how economic policy uncertainty predicts Bitcoin returns and volatility? A quantiles-based analysis," The Quarterly Review of Economics and Finance, Elsevier, vol. 80(C), pages 65-73.
    4. Jinan Liu & Apostolos Serletis, 2019. "Volatility in the Cryptocurrency Market," Open Economies Review, Springer, vol. 30(4), pages 779-811, September.
    5. Elie Bouri & Konstantinos Gkillas & Rangan Gupta & Christian Pierdzioch, 2021. "Forecasting Realized Volatility of Bitcoin: The Role of the Trade War," Computational Economics, Springer;Society for Computational Economics, vol. 57(1), pages 29-53, January.
    6. Ali, Robleh & Barrdear, John & Clews, Roger & Southgate, James, 2014. "The economics of digital currencies," Bank of England Quarterly Bulletin, Bank of England, vol. 54(3), pages 276-286.
    7. Masafumi Nakano & Akihiko Takahashi & Soichiro Takahashi, 2018. "Bitcoin technical trading with artificial neural network," CARF F-Series CARF-F-430, Center for Advanced Research in Finance, Faculty of Economics, The University of Tokyo.
    8. David Garcia & Frank Schweitzer, 2015. "Social signals and algorithmic trading of Bitcoin," Papers 1506.01513, arXiv.org, revised Sep 2015.
    9. Stjepan Beguv{s}i'c & Zvonko Kostanjv{c}ar & H. Eugene Stanley & Boris Podobnik, 2018. "Scaling properties of extreme price fluctuations in Bitcoin markets," Papers 1803.08405, arXiv.org.
    10. Masafumi Nakano & Akihiko Takahashi & Soichiro Takahashi, 2018. "Bitcoin technical trading with artificial neural network," CARF F-Series CARF-F-441, Center for Advanced Research in Finance, Faculty of Economics, The University of Tokyo.
    11. Masafumi Nakano & Akihiko Takahashi & Soichiro Takahashi, 2018. "Bitcoin Technical Trading with Articial Neural Network," CIRJE F-Series CIRJE-F-1090, CIRJE, Faculty of Economics, University of Tokyo.
    12. Begušić, Stjepan & Kostanjčar, Zvonko & Eugene Stanley, H. & Podobnik, Boris, 2018. "Scaling properties of extreme price fluctuations in Bitcoin markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 510(C), pages 400-406.
    13. Nakano, Masafumi & Takahashi, Akihiko & Takahashi, Soichiro, 2018. "Bitcoin technical trading with artificial neural network," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 510(C), pages 587-609.
    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. Keyur Patel & Karan Sheth & Dev Mehta & Sudeep Tanwar & Bogdan Cristian Florea & Dragos Daniel Taralunga & Ahmed Altameem & Torki Altameem & Ravi Sharma, 2022. "RanKer : An AI-Based Employee-Performance Classification Scheme to Rank and Identify Low Performers," Mathematics, MDPI, vol. 10(19), pages 1-21, October.
    2. Claire Davison & Peyman Akhavan & Tony Jan & Neda Azizi & Somayeh Fathollahi & Nastaran Taheri & Omid Haass & Mukesh Prasad, 2022. "Evaluation of Sustainable Digital Currency Exchange Platforms Using Analytic Models," Sustainability, MDPI, vol. 14(10), pages 1-12, 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. Flori, Andrea, 2019. "News and subjective beliefs: A Bayesian approach to Bitcoin investments," Research in International Business and Finance, Elsevier, vol. 50(C), pages 336-356.
    2. Lahmiri, Salim & Bekiros, Stelios, 2019. "Cryptocurrency forecasting with deep learning chaotic neural networks," Chaos, Solitons & Fractals, Elsevier, vol. 118(C), pages 35-40.
    3. Andrea Flori, 2019. "Cryptocurrencies In Finance: Review And Applications," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 22(05), pages 1-22, August.
    4. Helder Miguel Correia Virtuoso Sebastião & Paulo José Osório Rupino Da Cunha & Pedro Manuel Cortesão Godinho, 2021. "Cryptocurrencies and blockchain. Overview and future perspectives," International Journal of Economics and Business Research, Inderscience Enterprises Ltd, vol. 21(3), pages 305-342.
    5. Zura Kakushadze & Willie Yu, 2019. "Altcoin-Bitcoin Arbitrage," Bulletin of Applied Economics, Risk Market Journals, vol. 6(1), pages 87-110.
    6. Masafumi Nakano & Akihiko Takahashi, 2019. "A New Investment Method with AutoEncoder: Applications to Cryptocurrencies," CIRJE F-Series CIRJE-F-1128, CIRJE, Faculty of Economics, University of Tokyo.
    7. Fan Fang & Carmine Ventre & Michail Basios & Leslie Kanthan & David Martinez-Rego & Fan Wu & Lingbo Li, 2022. "Cryptocurrency trading: a comprehensive survey," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-59, December.
    8. Julien Chevallier & Dominique Guégan & Stéphane Goutte, 2021. "Is It Possible to Forecast the Price of Bitcoin?," Forecasting, MDPI, vol. 3(2), pages 1-44, May.
    9. Zura Kakushadze & Willie Yu, 2019. "Altcoin-Bitcoin Arbitrage," Papers 1903.06033, arXiv.org, revised Apr 2019.
    10. Fan Fang & Carmine Ventre & Michail Basios & Leslie Kanthan & Lingbo Li & David Martinez-Regoband & Fan Wu, 2020. "Cryptocurrency Trading: A Comprehensive Survey," Papers 2003.11352, arXiv.org, revised Jan 2022.
    11. Helder Sebastião & Pedro Godinho, 2021. "Forecasting and trading cryptocurrencies with machine learning under changing market conditions," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-30, December.
    12. R. K. Jana & Indranil Ghosh & Debojyoti Das, 2021. "A differential evolution-based regression framework for forecasting Bitcoin price," Annals of Operations Research, Springer, vol. 306(1), pages 295-320, November.
    13. Dimitris Andriosopoulos & Michalis Doumpos & Panos M. Pardalos & Constantin Zopounidis, 2019. "Computational approaches and data analytics in financial services: A literature review," Journal of the Operational Research Society, Taylor & Francis Journals, vol. 70(10), pages 1581-1599, October.
    14. Suhwan Ji & Jongmin Kim & Hyeonseung Im, 2019. "A Comparative Study of Bitcoin Price Prediction Using Deep Learning," Mathematics, MDPI, vol. 7(10), pages 1-20, September.
    15. Krzysztof Piasecki & Michał Dominik Stasiak, 2020. "Optimization Parameters of Trading System with Constant Modulus of Unit Return," Mathematics, MDPI, vol. 8(8), pages 1-17, August.
    16. Zvonko Merkaš & Vlasta Roška, 2021. "The Impact of Unsystematic Factors on Bitcoin Value," JRFM, MDPI, vol. 14(11), pages 1-17, November.
    17. Qiutong Guo & Shun Lei & Qing Ye & Zhiyang Fang, 2021. "MRC-LSTM: A Hybrid Approach of Multi-scale Residual CNN and LSTM to Predict Bitcoin Price," Papers 2105.00707, arXiv.org.
    18. Zura Kakushadze, 2018. "Cryptoasset Factor Models," Papers 1811.07860, arXiv.org, revised Feb 2019.
    19. Erdinc Akyildirim & Oguzhan Cepni & Shaen Corbet & Gazi Salah Uddin, 2023. "Forecasting mid-price movement of Bitcoin futures using machine learning," Annals of Operations Research, Springer, vol. 330(1), pages 553-584, November.
    20. Yue, Yao & Li, Xuerong & Zhang, Dingxuan & Wang, Shouyang, 2021. "How cryptocurrency affects economy? A network analysis using bibliometric methods," International Review of Financial Analysis, Elsevier, vol. 77(C).

    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:jmathe:v:10:y:2022:i:9:p:1456-:d:802570. 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.