IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2102.08189.html
   My bibliography  Save this paper

On Technical Trading and Social Media Indicators in Cryptocurrencies' Price Classification Through Deep Learning

Author

Listed:
  • Marco Ortu
  • Nicola Uras
  • Claudio Conversano
  • Giuseppe Destefanis
  • Silvia Bartolucci

Abstract

This work aims to analyse the predictability of price movements of cryptocurrencies on both hourly and daily data observed from January 2017 to January 2021, using deep learning algorithms. For our experiments, we used three sets of features: technical, trading and social media indicators, considering a restricted model of only technical indicators and an unrestricted model with technical, trading and social media indicators. We verified whether the consideration of trading and social media indicators, along with the classic technical variables (such as price's returns), leads to a significative improvement in the prediction of cryptocurrencies price's changes. We conducted the study on the two highest cryptocurrencies in volume and value (at the time of the study): Bitcoin and Ethereum. We implemented four different machine learning algorithms typically used in time-series classification problems: Multi Layers Perceptron (MLP), Convolutional Neural Network (CNN), Long Short Term Memory (LSTM) neural network and Attention Long Short Term Memory (ALSTM). We devised the experiments using the advanced bootstrap technique to consider the variance problem on test samples, which allowed us to evaluate a more reliable estimate of the model's performance. Furthermore, the Grid Search technique was used to find the best hyperparameters values for each implemented algorithm. The study shows that, based on the hourly frequency results, the unrestricted model outperforms the restricted one. The addition of the trading indicators to the classic technical indicators improves the accuracy of Bitcoin and Ethereum price's changes prediction, with an increase of accuracy from a range of 51-55% for the restricted model, to 67-84% for the unrestricted model.

Suggested Citation

  • Marco Ortu & Nicola Uras & Claudio Conversano & Giuseppe Destefanis & Silvia Bartolucci, 2021. "On Technical Trading and Social Media Indicators in Cryptocurrencies' Price Classification Through Deep Learning," Papers 2102.08189, arXiv.org, revised Feb 2021.
  • Handle: RePEc:arx:papers:2102.08189
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2102.08189
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Katsiampa, Paraskevi, 2017. "Volatility estimation for Bitcoin: A comparison of GARCH models," Economics Letters, Elsevier, vol. 158(C), pages 3-6.
    2. P. M. Lerman, 1980. "Fitting Segmented Regression Models by Grid Search," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 29(1), pages 77-84, March.
    3. Cathy Yi-Hsuan Chen & Christian M. Hafner, 2019. "Sentiment-Induced Bubbles in the Cryptocurrency Market," JRFM, MDPI, vol. 12(2), pages 1-12, April.
    4. Lahmiri, Salim & Bekiros, Stelios, 2019. "Cryptocurrency forecasting with deep learning chaotic neural networks," Chaos, Solitons & Fractals, Elsevier, vol. 118(C), pages 35-40.
    5. Erdinc Akyildirim & Ahmet Goncu & Ahmet Sensoy, 2021. "Prediction of cryptocurrency returns using machine learning," Annals of Operations Research, Springer, vol. 297(1), pages 3-36, February.
    6. Lahmiri, Salim & Bekiros, Stelios & Salvi, Antonio, 2018. "Long-range memory, distributional variation and randomness of bitcoin volatility," Chaos, Solitons & Fractals, Elsevier, vol. 107(C), pages 43-48.
    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. Gil Cohen, 2021. "Trading Cryptocurrencies Using Second Order Stochastic Dominance," Mathematics, MDPI, vol. 9(22), pages 1-10, November.
    2. Caferra, Rocco, 2022. "Sentiment spillover and price dynamics: Information flow in the cryptocurrency and stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 593(C).

    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. Mingzhe Wei & Georgios Sermpinis & Charalampos Stasinakis, 2023. "Forecasting and trading Bitcoin with machine learning techniques and a hybrid volatility/sentiment leverage," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(4), pages 852-871, July.
    2. Lahmiri, Salim & Bekiros, Stelios, 2019. "Decomposing the persistence structure of Islamic and green crypto-currencies with nonlinear stepwise filtering," Chaos, Solitons & Fractals, Elsevier, vol. 127(C), pages 334-341.
    3. Ren, Yi-Shuai & Ma, Chao-Qun & Kong, Xiao-Lin & Baltas, Konstantinos & Zureigat, Qasim, 2022. "Past, present, and future of the application of machine learning in cryptocurrency research," Research in International Business and Finance, Elsevier, vol. 63(C).
    4. 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).
    5. Jiménez, Inés & Mora-Valencia, Andrés & Perote, Javier, 2022. "Semi-nonparametric risk assessment with cryptocurrencies," Research in International Business and Finance, Elsevier, vol. 59(C).
    6. Goodell, John W. & Ben Jabeur, Sami & Saâdaoui, Foued & Nasir, Muhammad Ali, 2023. "Explainable artificial intelligence modeling to forecast bitcoin prices," International Review of Financial Analysis, Elsevier, vol. 88(C).
    7. Alves, P.R.L., 2020. "Dynamic characteristic of Bitcoin cryptocurrency in the reconstruction scheme," Chaos, Solitons & Fractals, Elsevier, vol. 134(C).
    8. Hakan Pabuccu & Adrian Barbu, 2023. "Feature Selection with Annealing for Forecasting Financial Time Series," Papers 2303.02223, arXiv.org, revised Feb 2024.
    9. Nagula, Pavan Kumar & Alexakis, Christos, 2022. "A new hybrid machine learning model for predicting the bitcoin (BTC-USD) price," Journal of Behavioral and Experimental Finance, Elsevier, vol. 36(C).
    10. C. Y. Tan & Y. B. Koh & K. H. Ng & K. H. Ng, 2019. "Structural Change Analysis of Active Cryptocurrency Market," Papers 1909.10679, arXiv.org.
    11. Klender Cortez & Martha del Pilar Rodríguez-García & Samuel Mongrut, 2020. "Exchange Market Liquidity Prediction with the K-Nearest Neighbor Approach: Crypto vs. Fiat Currencies," Mathematics, MDPI, vol. 9(1), pages 1-15, December.
    12. Chaim, Pedro & Laurini, Márcio P., 2019. "Nonlinear dependence in cryptocurrency markets," The North American Journal of Economics and Finance, Elsevier, vol. 48(C), pages 32-47.
    13. Lepomäki, Laura & Kanniainen, Juho & Hansen, Henri, 2021. "Retaliation in Bitcoin networks," Economics Letters, Elsevier, vol. 203(C).
    14. Lennart Ante, 2020. "A place next to Satoshi: foundations of blockchain and cryptocurrency research in business and economics," Scientometrics, Springer;Akadémiai Kiadó, vol. 124(2), pages 1305-1333, August.
    15. Afees A. Salisu & Idris Adediran, 2018. "Testing for time-varying stochastic volatility in Bitcoin returns," Working Papers 060, Centre for Econometric and Allied Research, University of Ibadan.
    16. Leonardo Ieracitano Vieira & Márcio Poletti Laurini, 2023. "Time-varying higher moments in Bitcoin," Digital Finance, Springer, vol. 5(2), pages 231-260, June.
    17. Lahmiri, Salim & Bekiros, Stelios, 2020. "Intelligent forecasting with machine learning trading systems in chaotic intraday Bitcoin market," Chaos, Solitons & Fractals, Elsevier, vol. 133(C).
    18. Ahmed, Walid M.A., 2021. "How do Islamic equity markets respond to good and bad volatility of cryptocurrencies? The case of Bitcoin," Pacific-Basin Finance Journal, Elsevier, vol. 70(C).
    19. Pınar Kaya Soylu & Mustafa Okur & Özgür Çatıkkaş & Z. Ayca Altintig, 2020. "Long Memory in the Volatility of Selected Cryptocurrencies: Bitcoin, Ethereum and Ripple," JRFM, MDPI, vol. 13(6), pages 1-21, May.
    20. Hakan Yıldırım & Festus Victor Bekun, 2023. "Predicting volatility of bitcoin returns with ARCH, GARCH and EGARCH models," Future Business Journal, Springer, vol. 9(1), pages 1-8, December.

    More about this item

    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:arx:papers:2102.08189. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.