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

Real-Time Prediction of BITCOIN Price using Machine Learning Techniques and Public Sentiment Analysis

Author

Listed:
  • S M Raju
  • Ali Mohammad Tarif

Abstract

Bitcoin is the first digital decentralized cryptocurrency that has shown a significant increase in market capitalization in recent years. The objective of this paper is to determine the predictable price direction of Bitcoin in USD by machine learning techniques and sentiment analysis. Twitter and Reddit have attracted a great deal of attention from researchers to study public sentiment. We have applied sentiment analysis and supervised machine learning principles to the extracted tweets from Twitter and Reddit posts, and we analyze the correlation between bitcoin price movements and sentiments in tweets. We explored several algorithms of machine learning using supervised learning to develop a prediction model and provide informative analysis of future market prices. Due to the difficulty of evaluating the exact nature of a Time Series(ARIMA) model, it is often very difficult to produce appropriate forecasts. Then we continue to implement Recurrent Neural Networks (RNN) with long short-term memory cells (LSTM). Thus, we analyzed the time series model prediction of bitcoin prices with greater efficiency using long short-term memory (LSTM) techniques and compared the predictability of bitcoin price and sentiment analysis of bitcoin tweets to the standard method (ARIMA). The RMSE (Root-mean-square error) of LSTM are 198.448 (single feature) and 197.515 (multi-feature) whereas the ARIMA model RMSE is 209.263 which shows that LSTM with multi feature shows the more accurate result.

Suggested Citation

  • S M Raju & Ali Mohammad Tarif, 2020. "Real-Time Prediction of BITCOIN Price using Machine Learning Techniques and Public Sentiment Analysis," Papers 2006.14473, arXiv.org.
  • Handle: RePEc:arx:papers:2006.14473
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Dixon, Matthew & Klabjan, Diego & Bang, Jin Hoon, 2017. "Classification-based financial markets prediction using deep neural networks," Algorithmic Finance, IOS Press, vol. 6(3-4), pages 67-77.
    2. Magdalena Daniela NEMES & Alexandru BUTOI, 2013. "Data Mining on Romanian Stock Market Using Neural Networks for Price Prediction," Informatica Economica, Academy of Economic Studies - Bucharest, Romania, vol. 17(3), pages 125-136.
    3. David Garcia & Frank Schweitzer, 2015. "Social signals and algorithmic trading of Bitcoin," Papers 1506.01513, arXiv.org, revised Sep 2015.
    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. Sudersan Behera & Sarat Chandra Nayak & A. V. S. Pavan Kumar, 2024. "Evaluating the Performance of Metaheuristic Based Artificial Neural Networks for Cryptocurrency Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 64(2), pages 1219-1258, August.
    2. 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.
    3. Yanzhao Zou & Dorien Herremans, 2022. "PreBit -- A multimodal model with Twitter FinBERT embeddings for extreme price movement prediction of Bitcoin," Papers 2206.00648, arXiv.org, revised Oct 2023.
    4. Zi Ye & Yinxu Wu & Hui Chen & Yi Pan & Qingshan Jiang, 2022. "A Stacking Ensemble Deep Learning Model for Bitcoin Price Prediction Using Twitter Comments on Bitcoin," Mathematics, MDPI, vol. 10(8), pages 1-21, April.

    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. Peng Zhu & Yuante Li & Yifan Hu & Qinyuan Liu & Dawei Cheng & Yuqi Liang, 2024. "LSR-IGRU: Stock Trend Prediction Based on Long Short-Term Relationships and Improved GRU," Papers 2409.08282, arXiv.org, revised Sep 2024.
    2. 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.
    3. Aslanidis, Nektarios & Bariviera, Aurelio F. & Perez-Laborda, Alejandro, 2021. "Are cryptocurrencies becoming more interconnected?," Economics Letters, Elsevier, vol. 199(C).
    4. Fathin Faizah Said & Raja Solan Somasuntharam & Mohd Ridzwan Yaakub & Tamat Sarmidi, 2023. "Impact of Google searches and social media on digital assets’ volatility," Palgrave Communications, Palgrave Macmillan, vol. 10(1), pages 1-17, December.
    5. M. Eren Akbiyik & Mert Erkul & Killian Kaempf & Vaiva Vasiliauskaite & Nino Antulov-Fantulin, 2021. "Ask "Who", Not "What": Bitcoin Volatility Forecasting with Twitter Data," Papers 2110.14317, arXiv.org, revised Dec 2022.
    6. 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.
    7. Mahboubeh Faghih Mohammadi Jalali & Hanif Heidari, 2020. "Predicting changes in Bitcoin price using grey system theory," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 6(1), pages 1-12, December.
    8. Yang Qiao & Yiping Xia & Xiang Li & Zheng Li & Yan Ge, 2023. "Higher-order Graph Attention Network for Stock Selection with Joint Analysis," Papers 2306.15526, arXiv.org.
    9. Zineb Lanbouri & Saaid Achchab, 2019. "A new approach for Trading based on Long-Short Term memory technique [Une nouvelle approche pour le Trading basée sur la technique Long-Short Term Memory]," Post-Print hal-02396905, HAL.
    10. Viktor Manahov, 2024. "The rapid growth of cryptocurrencies: How profitable is trading in digital money?," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 29(2), pages 2214-2229, April.
    11. Şirin Özlem & Omer Faruk Tan, 2022. "Predicting cash holdings using supervised machine learning algorithms," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-19, December.
    12. Böyükaslan, Adem & Ecer, Fatih, 2021. "Determination of drivers for investing in cryptocurrencies through a fuzzy full consistency method-Bonferroni (FUCOM-F’B) framework," Technology in Society, Elsevier, vol. 67(C).
    13. Zihao Zhang & Stefan Zohren & Stephen Roberts, 2018. "DeepLOB: Deep Convolutional Neural Networks for Limit Order Books," Papers 1808.03668, arXiv.org, revised Jan 2020.
    14. Gaies, Brahim & Nakhli, Mohamed Sahbi & Sahut, Jean-Michel & Schweizer, Denis, 2023. "Interactions between investors’ fear and greed sentiment and Bitcoin prices," The North American Journal of Economics and Finance, Elsevier, vol. 67(C).
    15. Moews, Ben & Ibikunle, Gbenga, 2020. "Predictive intraday correlations in stable and volatile market environments: Evidence from deep learning," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 547(C).
    16. Lars Steinert & Christian Herff, 2018. "Predicting altcoin returns using social media," PLOS ONE, Public Library of Science, vol. 13(12), pages 1-12, December.
    17. Ngene, Geoffrey M. & Wang, Jinghua, 2024. "Arbitrage opportunities and feedback trading in regulated bitcoin futures market: An intraday analysis," International Review of Economics & Finance, Elsevier, vol. 89(PB), pages 743-761.
    18. Vahidin Jeleskovic & Stephen Mackay, 2023. "Intraday Trading Algorithm for Predicting Cryptocurrency Price Movements Using Twitter Big Data Analysis," Papers 2401.00603, arXiv.org.
    19. Fruehwirt, Wolfgang & Hochfilzer, Leonhard & Weydemann, Leonard & Roberts, Stephen, 2021. "Cumulation, crash, coherency: A cryptocurrency bubble wavelet analysis," Finance Research Letters, Elsevier, vol. 40(C).
    20. Lei Ruan & Heng Liu, 2021. "Financial Distress Prediction Using GA-BP Neural Network Model," International Journal of Economics and Finance, Canadian Center of Science and Education, vol. 13(3), pages 1-1, March.

    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:2006.14473. 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.