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. Kovacs, Oliver, 2024. "Exaptationary Industry 4.0: Graphene as pathfinder?," Technological Forecasting and Social Change, Elsevier, vol. 200(C).
    4. Di Casola, Paola & Habib, Maurizio Michael & Tercero-Lucas, David, 2023. "Global and local drivers of Bitcoin trading vis-à-vis fiat currencies," Working Paper Series 2868, European Central Bank.
    5. Ş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).
    6. Andreas Thiemann, 2021. "Cryptocurrencies: An empirical view from a Tax Perspective," JRC Working Papers on Taxation & Structural Reforms 2021-12, Joint Research Centre.
    7. 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).
    8. Baur, Dirk G. & Karlsen, Jonathan R. & Smales, Lee A. & Trench, Allan, 2024. "Digging deeper - Is bitcoin digital gold? A mining perspective," Journal of Commodity Markets, Elsevier, vol. 34(C).
    9. A. H. Nzokem, 2023. "Bitcoin versus S&P 500 Index: Return and Risk Analysis," Papers 2310.02436, arXiv.org.
    10. Takeshi Inuduka & Akihito Yokose & Shunsuke Managi, 2024. "Influencing cryptocurrency: analyzing celebrity sentiments on X (formerly Twitter) and their impact on bitcoin prices," Digital Finance, Springer, vol. 6(3), pages 379-426, September.
    11. Junwei Chen, 2023. "Analysis of Bitcoin Price Prediction Using Machine Learning," JRFM, MDPI, vol. 16(1), pages 1-25, January.
    12. 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.
    13. 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).
    14. Gaies, Brahim & Chaâbane, Najeh & Arfaoui, Nadia & Sahut, Jean-Michel, 2024. "On the resilience of cryptocurrencies: A quantile-frequency analysis of bitcoin and ethereum reactions in times of inflation and financial instability," Research in International Business and Finance, Elsevier, vol. 70(PA).
    15. 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).
    16. 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).
    17. Grobys, Klaus, 2024. "On co-dependent power-law behavior across cryptocurrencies," Finance Research Letters, Elsevier, vol. 63(C).
    18. Bajra, Ujkan Q. & Aliu, Florin, 2023. "Deciphering the cryptocurrency conundrum: Investigating speculative characteristics and volatility," Finance Research Letters, Elsevier, vol. 58(PC).
    19. Saengchote, Kanis & Samphantharak, Krislert, 2024. "Digital money creation and algorithmic stablecoin run," Finance Research Letters, Elsevier, vol. 64(C).
    20. 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.

    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.