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

Cryptocurrency Price Prediction using Twitter Sentiment Analysis

Author

Listed:
  • Haritha GB
  • Sahana N. B

Abstract

The cryptocurrency ecosystem has been the centre of discussion on many social media platforms, following its noted volatility and varied opinions. Twitter is rapidly being utilised as a news source and a medium for bitcoin discussion. Our algorithm seeks to use historical prices and sentiment of tweets to forecast the price of Bitcoin. In this study, we develop an end-to-end model that can forecast the sentiment of a set of tweets (using a Bidirectional Encoder Representations from Transformers - based Neural Network Model) and forecast the price of Bitcoin (using Gated Recurrent Unit) using the predicted sentiment and other metrics like historical cryptocurrency price data, tweet volume, a user's following, and whether or not a user is verified. The sentiment prediction gave a Mean Absolute Percentage Error of 9.45%, an average of real-time data, and test data. The mean absolute percent error for the price prediction was 3.6%.

Suggested Citation

  • Haritha GB & Sahana N. B, 2023. "Cryptocurrency Price Prediction using Twitter Sentiment Analysis," Papers 2303.09397, arXiv.org.
  • Handle: RePEc:arx:papers:2303.09397
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Bakas, Dimitrios & Magkonis, Georgios & Oh, Eun Young, 2022. "What drives volatility in Bitcoin market?," Finance Research Letters, Elsevier, vol. 50(C).
    2. Dirk G. Baur & Thomas Dimpfl, 2021. "The volatility of Bitcoin and its role as a medium of exchange and a store of value," Empirical Economics, Springer, vol. 61(5), pages 2663-2683, November.
    Full references (including those not matched with items on IDEAS)

    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. Ajithakumari Vijayappan Nair Biju & Ann Susan Thomas, 2023. "Uncertainties and ambivalence in the crypto market: an urgent need for a regional crypto regulation," SN Business & Economics, Springer, vol. 3(8), pages 1-21, August.
    2. Nadir Khan & Muhammad Zohair Durrani & Naila Mushtaq & S M Nabeel ul Haq & Babar Ijaz, 2022. "The Relationships among Cryptocurrencies: A Granger Causality Analysis," iRASD Journal of Economics, International Research Alliance for Sustainable Development (iRASD), vol. 4(2), pages 264-274, June.
    3. Şoiman, Florentina & Dumas, Jean-Guillaume & Jimenez-Garces, Sonia, 2023. "What drives DeFi market returns?," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 85(C).
    4. Andreas Thiemann, 2021. "Cryptocurrencies: An empirical view from a Tax Perspective," JRC Working Papers on Taxation & Structural Reforms 2021-12, Joint Research Centre.
    5. Fieberg, Christian & Günther, Steffen & Poddig, Thorsten & Zaremba, Adam, 2024. "Non-standard errors in the cryptocurrency world," International Review of Financial Analysis, Elsevier, vol. 92(C).
    6. A. H. Nzokem, 2023. "Bitcoin versus S&P 500 Index: Return and Risk Analysis," Papers 2310.02436, arXiv.org.
    7. Junwei Chen, 2023. "Analysis of Bitcoin Price Prediction Using Machine Learning," JRFM, MDPI, vol. 16(1), pages 1-25, January.
    8. Giannellis, Nikolaos, 2022. "Cryptocurrency market connectedness in Covid-19 days and the role of Twitter: Evidence from a smooth transition regression model," Research in International Business and Finance, Elsevier, vol. 63(C).
    9. Zhang, Dingxuan & Sun, Yuying & Duan, Hongbo & Hong, Yongmiao & Wang, Shouyang, 2023. "Speculation or currency? Multi-scale analysis of cryptocurrencies—The case of Bitcoin," International Review of Financial Analysis, Elsevier, vol. 88(C).
    10. Algieri, Bernardina & Lawuobahsumo, Kokulo & Leccadito, Arturo, 2024. "Calendar Effects on Returns, Volatility and Higher Moments: Evidence from Crypto Markets," LIDAM Discussion Papers LFIN 2024001, Université catholique de Louvain, Louvain Finance (LFIN).
    11. Graf von Luckner, Clemens & Reinhart, Carmen M. & Rogoff, Kenneth, 2023. "Decrypting new age international capital flows," Journal of Monetary Economics, Elsevier, vol. 138(C), pages 104-122.
    12. Paulo Rupino Cunha & Paulo Melo & Helder Sebastião, 2021. "From Bitcoin to Central Bank Digital Currencies: Making Sense of the Digital Money Revolution," Future Internet, MDPI, vol. 13(7), pages 1-19, June.
    13. Kristoufek, Ladislav, 2023. "Will Bitcoin ever become less volatile?," Finance Research Letters, Elsevier, vol. 51(C).
    14. Rehman, Mobeen Ur & Katsiampa, Paraskevi & Zeitun, Rami & Vo, Xuan Vinh, 2023. "Conditional dependence structure and risk spillovers between Bitcoin and fiat currencies," Emerging Markets Review, Elsevier, vol. 55(C).
    15. Syuhada, Khreshna & Hakim, Arief & Suprijanto, Djoko & Muchtadi-Alamsyah, Intan & Arbi, Lukman, 2022. "Is Tether a safe haven of safe haven amid COVID-19? An assessment against Bitcoin and oil using improved measures of risk," Resources Policy, Elsevier, vol. 79(C).
    16. Tak Kuen Siu, 2023. "Bayesian nonlinear expectation for time series modelling and its application to Bitcoin," Empirical Economics, Springer, vol. 64(1), pages 505-537, January.
    17. Vidal-Tomás, David, 2023. "The illusion of the metaverse and meta-economy," International Review of Financial Analysis, Elsevier, vol. 86(C).
    18. Ahmed BenSaïda, 2023. "The linkage between Bitcoin and foreign exchanges in developed and emerging markets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-27, December.
    19. Yu Song & Bo Chen & Xin-Yi Wang, 2023. "Cryptocurrency technology revolution: are Bitcoin prices and terrorist attacks related?," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-20, December.
    20. Bakhtiar, Tiam & Luo, Xiaojun & Adelopo, Ismail, 2023. "Network effects and store-of-value features in the cryptocurrency market," Technology in Society, Elsevier, vol. 74(C).

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