IDEAS home Printed from https://ideas.repec.org/p/bde/wpaper/2215.html
   My bibliography  Save this paper

Application of machine learning models and interpretability techniques to identify the determinants of the price of bitcoin

Author

Listed:
  • José Manuel Carbó

    (Banco de España)

  • Sergio Gorjón

    (Banco de España)

Abstract

So-called cryptocurrencies are becoming more popular by the day, with a total market capitalization that exceeded $3 trillion at its peak in 2021. Bitcoin has emerged as the most popular among them, with a total valuation that reached an all-time high of $68,000 in November 2021. However, its price has historically been subject to large and abrupt fluctuations, as the sudden drop in the months that followed once again proved. Since bitcoin looks all set to continue growing while largely concentrating its activity in unregulated environments, concerns have been raised among authorities all over the world about its potential impact on financial stability, monetary policy, and the integrity of the financial system. As a result, building a sound and proper regulatory and supervisory framework to address these challenges hinges upon achieving a better understanding of both the critical underlying factors that influence the formation of bitcoin prices and the stability of such factors over time. In this article we analyse which variables determine the price at which bitcoin is traded on the most relevant exchanges. To this end, we use a flexible machine learning model, specifically a Long Short Term Memory (LSTM) neural network, to establish the price of bitcoin as a function of a number of economic, technological and investor attention variables. Our LSTM model replicates reasonably well the behaviour of the price of bitcoin over different periods of time. We then use an interpretability technique known as SHAP to understand which features most influence the LSTM outcome. We conclude that the importance of the different variables in bitcoin price formation changes substantially over the period analysed. Moreover, we find that not only does their influence vary, but also that new explanatory factors often seem to appear over time that, at least for the most part, were initially unknown.

Suggested Citation

  • José Manuel Carbó & Sergio Gorjón, 2022. "Application of machine learning models and interpretability techniques to identify the determinants of the price of bitcoin," Working Papers 2215, Banco de España.
  • Handle: RePEc:bde:wpaper:2215
    as

    Download full text from publisher

    File URL: https://www.bde.es/f/webbde/SES/Secciones/Publicaciones/PublicacionesSeriadas/DocumentosTrabajo/22/Files/dt2215e.pdf
    File Function: First version, April 2022
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    Bitcoin; machine learning; LSTM; interpretability techniques;
    All these keywords.

    JEL classification:

    • C40 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - General
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • G15 - Financial Economics - - General Financial Markets - - - International Financial Markets

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:bde:wpaper:2215. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Ángel Rodríguez. Electronic Dissemination of Information Unit. Research Department. Banco de España (email available below). General contact details of provider: https://edirc.repec.org/data/bdegves.html .

    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.