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

A Gated Recurrent Unit Approach to Bitcoin Price Prediction

Author

Listed:
  • Aniruddha Dutta

    (Haas School of Business, University of California, Berkeley, CA 94720, USA)

  • Saket Kumar

    (Haas School of Business, University of California, Berkeley, CA 94720, USA
    Reserve Bank of India, Mumbai, Maharashtra 400001, India)

  • Meheli Basu

    (Joseph M. Katz Graduate School of Business, University of Pittsburgh, Pittsburgh, PA 15260, USA)

Abstract

In today’s era of big data, deep learning and artificial intelligence have formed the backbone for cryptocurrency portfolio optimization. Researchers have investigated various state of the art machine learning models to predict Bitcoin price and volatility. Machine learning models like recurrent neural network (RNN) and long short-term memory (LSTM) have been shown to perform better than traditional time series models in cryptocurrency price prediction. However, very few studies have applied sequence models with robust feature engineering to predict future pricing. In this study, we investigate a framework with a set of advanced machine learning forecasting methods with a fixed set of exogenous and endogenous factors to predict daily Bitcoin prices. We study and compare different approaches using the root mean squared error (RMSE). Experimental results show that the gated recurring unit (GRU) model with recurrent dropout performs better than popular existing models. We also show that simple trading strategies, when implemented with our proposed GRU model and with proper learning, can lead to financial gain.

Suggested Citation

  • Aniruddha Dutta & Saket Kumar & Meheli Basu, 2020. "A Gated Recurrent Unit Approach to Bitcoin Price Prediction," JRFM, MDPI, vol. 13(2), pages 1-16, February.
  • Handle: RePEc:gam:jjrfmx:v:13:y:2020:i:2:p:23-:d:315709
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. Luca Fantacci, 2019. "Cryptocurrencies and the Denationalization of Money," International Journal of Political Economy, Taylor & Francis Journals, vol. 48(2), pages 105-126, April.
    2. Léo Malherbe & Matthieu Montalban & Nicolas Bédu & Caroline Granier, 2019. "Cryptocurrencies and Blockchain: Opportunities and Limits of a New Monetary Regime," International Journal of Political Economy, Taylor & Francis Journals, vol. 48(2), pages 127-152, April.
    3. Pavel Ciaian & Miroslava Rajcaniova & d’Artis Kancs, 2016. "The economics of BitCoin price formation," Applied Economics, Taylor & Francis Journals, vol. 48(19), pages 1799-1815, April.
    4. Obryan Poyser, 2017. "Exploring the determinants of Bitcoin's price: an application of Bayesian Structural Time Series," Papers 1706.01437, arXiv.org.
    5. Marie Briere & Kim Oosterlinck & Ariane Szafarz, 2015. "Virtual Currency, Tangible Return: Portfolio Diversification with Bitcoins," Post-Print CEB, ULB -- Universite Libre de Bruxelles, vol. 16(6), pages 365-373.
    6. Yhlas Sovbetov, 2018. "Factors Influencing Cryptocurrency Prices: Evidence from Bitcoin, Ethereum, Dash, Litcoin, and Monero," Journal of Economics and Financial Analysis, Tripal Publishing House, vol. 2(2), pages 1-27.
    7. Selmi, Refk & Mensi, Walid & Hammoudeh, Shawkat & Bouoiyour, Jamal, 2018. "Is Bitcoin a hedge, a safe haven or a diversifier for oil price movements? A comparison with gold," Energy Economics, Elsevier, vol. 74(C), pages 787-801.
    8. Morten Linnemann Bech & Rodney Garratt, 2017. "Central bank cryptocurrencies," BIS Quarterly Review, Bank for International Settlements, September.
    9. Neil Gandal & Hanna Halaburda, 2016. "Can We Predict the Winner in a Market with Network Effects? Competition in Cryptocurrency Market," Games, MDPI, vol. 7(3), pages 1-21, July.
    10. Kaiser, Lars, 2019. "Seasonality in cryptocurrencies," Finance Research Letters, Elsevier, vol. 31(C).
    11. Blau, Benjamin M., 2018. "Price dynamics and speculative trading in Bitcoin," Research in International Business and Finance, Elsevier, vol. 43(C), pages 15-21.
    12. De Filippi, Primavera, 2014. "Bitcoin: a regulatory nightmare to a libertarian dream," Internet Policy Review: Journal on Internet Regulation, Alexander von Humboldt Institute for Internet and Society (HIIG), Berlin, vol. 3(2), pages 1-11.
    13. Abeer ElBahrawy & Laura Alessandretti & Anne Kandler & Romualdo Pastor-Satorras & Andrea Baronchelli, 2017. "Evolutionary dynamics of the cryptocurrency market," Papers 1705.05334, arXiv.org, revised Nov 2017.
    14. Zhaojie Luo & Xiaojing Cai & Katsuyuki Tanaka & Tetsuya Takiguchi & Takuji Kinkyo & Shigeyuki Hamori, 2019. "Can We Forecast Daily Oil Futures Prices? Experimental Evidence from Convolutional Neural Networks," JRFM, MDPI, vol. 12(1), pages 1-13, January.
    15. Léo Malherbe & Matthieu Montalban & Nicolas Bédu & Caroline Granier, 2019. "Cryptocurrencies and Blockchain: Opportunities and Limits of a New Monetary Regime," International Journal of Political Economy, Taylor & Francis Journals, vol. 48(2), pages 127-152, April.
    16. Young Bin Kim & Jun Gi Kim & Wook Kim & Jae Ho Im & Tae Hyeong Kim & Shin Jin Kang & Chang Hun Kim, 2016. "Predicting Fluctuations in Cryptocurrency Transactions Based on User Comments and Replies," PLOS ONE, Public Library of Science, vol. 11(8), pages 1-17, August.
    17. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    18. Sima Siami-Namini & Akbar Siami Namin, 2018. "Forecasting Economics and Financial Time Series: ARIMA vs. LSTM," Papers 1803.06386, arXiv.org.
    19. Sheila Dow, 2019. "Monetary Reform, Central Banks, and Digital Currencies," International Journal of Political Economy, Taylor & Francis Journals, vol. 48(2), pages 153-173, April.
    20. Cagli, Efe Caglar, 2019. "Explosive behavior in the prices of Bitcoin and altcoins," Finance Research Letters, Elsevier, vol. 29(C), pages 398-403.
    21. Adrian Blundell-Wignall, 2014. "The Bitcoin Question: Currency versus Trust-less Transfer Technology," OECD Working Papers on Finance, Insurance and Private Pensions 37, OECD Publishing.
    22. Marco Fama & Andrea Fumagalli & Stefano Lucarelli, 2019. "Cryptocurrencies, Monetary Policy, and New Forms of Monetary Sovereignty," International Journal of Political Economy, Taylor & Francis Journals, vol. 48(2), pages 174-194, April.
    23. Aaron Yelowitz & Matthew Wilson, 2015. "Characteristics of Bitcoin users: an analysis of Google search data," Applied Economics Letters, Taylor & Francis Journals, vol. 22(13), pages 1030-1036, September.
    24. Cheah, Eng-Tuck & Fry, John, 2015. "Speculative bubbles in Bitcoin markets? An empirical investigation into the fundamental value of Bitcoin," Economics Letters, Elsevier, vol. 130(C), pages 32-36.
    25. Katsiampa, Paraskevi, 2017. "Volatility estimation for Bitcoin: A comparison of GARCH models," Economics Letters, Elsevier, vol. 158(C), pages 3-6.
    26. Dyhrberg, Anne Haubo, 2016. "Bitcoin, gold and the dollar – A GARCH volatility analysis," Finance Research Letters, Elsevier, vol. 16(C), pages 85-92.
    27. Michel Rauchs & Garrick Hileman, 2017. "Global Cryptocurrency Benchmarking Study," Cambridge Centre for Alternative Finance Reports 201704-gcbs, Cambridge Centre for Alternative Finance, Cambridge Judge Business School, University of Cambridge.
    28. Lawrence H. White, 2015. "The Market for Cryptocurrencies," Cato Journal, Cato Journal, Cato Institute, vol. 35(2), pages 383-402, Spring/Su.
    29. Rainer Böhme & Nicolas Christin & Benjamin Edelman & Tyler Moore, 2015. "Bitcoin: Economics, Technology, and Governance," Journal of Economic Perspectives, American Economic Association, vol. 29(2), pages 213-238, Spring.
    30. Barrdear, John & Kumhof, Michael, 2016. "The macroeconomics of central bank issued digital currencies," Bank of England working papers 605, Bank of England.
    31. Dwyer, Gerald P., 2015. "The economics of Bitcoin and similar private digital currencies," Journal of Financial Stability, Elsevier, vol. 17(C), pages 81-91.
    32. Huck, Nicolas, 2010. "Pairs trading and outranking: The multi-step-ahead forecasting case," European Journal of Operational Research, Elsevier, vol. 207(3), pages 1702-1716, December.
    33. Corbet, Shaen & Lucey, Brian & Peat, Maurice & Vigne, Samuel, 2018. "Bitcoin Futures—What use are they?," Economics Letters, Elsevier, vol. 172(C), pages 23-27.
    34. Stephanie Lo & J. Christina Wang, 2014. "Bitcoin as money?," Current Policy Perspectives 14-4, Federal Reserve Bank of Boston.
    35. Gajardo, Gabriel & Kristjanpoller, Werner D. & Minutolo, Marcel, 2018. "Does Bitcoin exhibit the same asymmetric multifractal cross-correlations with crude oil, gold and DJIA as the Euro, Great British Pound and Yen?," Chaos, Solitons & Fractals, Elsevier, vol. 109(C), pages 195-205.
    36. Angela ROGOJANU & Liana BADEA, 2014. "The issue of competing currencies. Case study – Bitcoin," Theoretical and Applied Economics, Asociatia Generala a Economistilor din Romania - AGER, vol. 0(1(590)), pages 103-114, January.
    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. Yuze Li & Shangrong Jiang & Yunjie Wei & Shouyang Wang, 2021. "Take Bitcoin into your portfolio: a novel ensemble portfolio optimization framework for broad commodity assets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-26, December.
    2. Chuen Yik Kang & Chin Poo Lee & Kian Ming Lim, 2022. "Cryptocurrency Price Prediction with Convolutional Neural Network and Stacked Gated Recurrent Unit," Data, MDPI, vol. 7(11), pages 1-13, October.
    3. Pamir & Nadeem Javaid & Saher Javaid & Muhammad Asif & Muhammad Umar Javed & Adamu Sani Yahaya & Sheraz Aslam, 2022. "Synthetic Theft Attacks and Long Short Term Memory-Based Preprocessing for Electricity Theft Detection Using Gated Recurrent Unit," Energies, MDPI, vol. 15(8), pages 1-20, April.
    4. Zeyd Boukhers & Azeddine Bouabdallah & Matthias Lohr & Jan Jurjens, 2022. "Ensemble and Multimodal Approach for Forecasting Cryptocurrency Price," Papers 2202.08967, arXiv.org.
    5. Shahriari, Zahra & Nazarimehr, Fahimeh & Rajagopal, Karthikeyan & Jafari, Sajad & Perc, Matjaž & Svetec, Milan, 2022. "Cryptocurrency price analysis with ordinal partition networks," Applied Mathematics and Computation, Elsevier, vol. 430(C).
    6. 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.
    7. Naseh Majidi & Mahdi Shamsi & Farokh Marvasti, 2022. "Algorithmic Trading Using Continuous Action Space Deep Reinforcement Learning," Papers 2210.03469, arXiv.org.
    8. Huang, Chiou-Jye & Shen, Yamin & Kuo, Ping-Huan & Chen, Yung-Hsiang, 2022. "Novel spatiotemporal feature extraction parallel deep neural network for forecasting confirmed cases of coronavirus disease 2019," Socio-Economic Planning Sciences, Elsevier, vol. 80(C).
    9. Isabela Ruiz Roque da Silva & Eli Hadad Junior & Pedro Paulo Balbi, 2022. "Cryptocurrencies trading algorithms: A review," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(8), pages 1661-1668, December.
    10. Tej Bahadur Shahi & Ashish Shrestha & Arjun Neupane & William Guo, 2020. "Stock Price Forecasting with Deep Learning: A Comparative Study," Mathematics, MDPI, vol. 8(9), pages 1-15, August.
    11. Pawan Kumar Singh & Alok Kumar Pandey & S. C. Bose, 2023. "A new grey system approach to forecast closing price of Bitcoin, Bionic, Cardano, Dogecoin, Ethereum, XRP Cryptocurrencies," Quality & Quantity: International Journal of Methodology, Springer, vol. 57(3), pages 2429-2446, June.
    12. Jujie Wang & Yinan Liao & Zhenzhen Zhuang & Dongming Gao, 2021. "An Optimal Weighted Combined Model Coupled with Feature Reconstruction and Deep Learning for Multivariate Stock Index Forecasting," Mathematics, MDPI, vol. 9(21), pages 1-20, October.
    13. Parth Daxesh Modi & Kamyar Arshi & Pertami J. Kunz & Abdelhak M. Zoubir, 2023. "A Data-driven Deep Learning Approach for Bitcoin Price Forecasting," Papers 2311.06280, arXiv.org.
    14. Rico-Peña, Juan Jesús & Arguedas-Sanz, Raquel & López-Martin, Carmen, 2023. "Models used to characterise blockchain features. A systematic literature review and bibliometric analysis," Technovation, Elsevier, vol. 123(C).
    15. Gyana Ranjan Patra & Mihir Narayan Mohanty, 2023. "Price Prediction of Cryptocurrency Using a Multi-Layer Gated Recurrent Unit Network with Multi Features," Computational Economics, Springer;Society for Computational Economics, vol. 62(4), pages 1525-1544, December.
    16. Prosper Lamothe-Fernández & David Alaminos & Prosper Lamothe-López & Manuel A. Fernández-Gámez, 2020. "Deep Learning Methods for Modeling Bitcoin Price," Mathematics, MDPI, vol. 8(8), pages 1-13, July.

    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. Aniruddha Dutta & Saket Kumar & Meheli Basu, 2019. "A Gated Recurrent Unit Approach to Bitcoin Price Prediction," Papers 1912.11166, arXiv.org.
    2. 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.
    3. Parthajit Kayal & Purnima Rohilla, 2021. "Bitcoin in the economics and finance literature: a survey," SN Business & Economics, Springer, vol. 1(7), pages 1-21, July.
    4. 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.
    5. Laura Alessandretti & Abeer ElBahrawy & Luca Maria Aiello & Andrea Baronchelli, 2018. "Anticipating Cryptocurrency Prices Using Machine Learning," Complexity, Hindawi, vol. 2018, pages 1-16, November.
    6. Zura Kakushadze & Jim Kyung-Soo Liew, 2018. "CryptoRuble: From Russia with Love," Papers 1801.05760, arXiv.org.
    7. Corbet, Shaen & Lucey, Brian & Urquhart, Andrew & Yarovaya, Larisa, 2019. "Cryptocurrencies as a financial asset: A systematic analysis," International Review of Financial Analysis, Elsevier, vol. 62(C), pages 182-199.
    8. Laura Alessandretti & Abeer ElBahrawy & Luca Maria Aiello & Andrea Baronchelli, 2018. "Anticipating cryptocurrency prices using machine learning," Papers 1805.08550, arXiv.org, revised Nov 2018.
    9. Aurelio F. Bariviera & Ignasi Merediz‐Solà, 2021. "Where Do We Stand In Cryptocurrencies Economic Research? A Survey Based On Hybrid Analysis," Journal of Economic Surveys, Wiley Blackwell, vol. 35(2), pages 377-407, April.
    10. 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.
    11. Theodore Pelagidis & Eleftheria Kostika, 2022. "Investigating the role of central banks in the interconnection between financial markets and cryptoassets," Economia e Politica Industriale: Journal of Industrial and Business Economics, Springer;Associazione Amici di Economia e Politica Industriale, vol. 49(3), pages 481-507, September.
    12. Anoop S Kumar & Taufeeq Ajaz, 2019. "Co-movement in crypto-currency markets: evidences from wavelet analysis," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 5(1), pages 1-17, December.
    13. Mehmet Levent ERDAS & Abdullah Emre CAGLAR, 2018. "Analysis of the relationships between Bitcoin and exchange rate, commodities and global indexes by asymmetric causality test," Eastern Journal of European Studies, Centre for European Studies, Alexandru Ioan Cuza University, vol. 9, pages 27-45, December.
    14. 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).
    15. Pieters, Gina & Vivanco, Sofia, 2017. "Financial regulations and price inconsistencies across Bitcoin markets," Information Economics and Policy, Elsevier, vol. 39(C), pages 1-14.
    16. Panagiotidis, Theodore & Stengos, Thanasis & Vravosinos, Orestis, 2019. "The effects of markets, uncertainty and search intensity on bitcoin returns," International Review of Financial Analysis, Elsevier, vol. 63(C), pages 220-242.
    17. Gil-Alana, Luis Alberiko & Abakah, Emmanuel Joel Aikins & Rojo, María Fátima Romero, 2020. "Cryptocurrencies and stock market indices. Are they related?," Research in International Business and Finance, Elsevier, vol. 51(C).
    18. Ziaul Haque Munim & Mohammad Hassan Shakil & Ilan Alon, 2019. "Next-Day Bitcoin Price Forecast," JRFM, MDPI, vol. 12(2), pages 1-15, June.
    19. Zhou, Siwen, 2018. "Exploring the Driving Forces of the Bitcoin Exchange Rate Dynamics: An EGARCH Approach," MPRA Paper 89445, University Library of Munich, Germany.
    20. Gregor Dorfleitner & Carina Lung, 2018. "Cryptocurrencies from the perspective of euro investors: a re-examination of diversification benefits and a new day-of-the-week effect," Journal of Asset Management, Palgrave Macmillan, vol. 19(7), pages 472-494, December.

    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:2:p:23-:d:315709. 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.