IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2303.09397.html

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. 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.
    2. Bakas, Dimitrios & Magkonis, Georgios & Oh, Eun Young, 2022. "What drives volatility in Bitcoin market?," Finance Research Letters, Elsevier, vol. 50(C).
    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. Walter Hernandez Cruz & Jiahua Xu & Paolo Tasca & Carlo Campajola, 2024. "No Questions Asked: Effects of Transparency on Stablecoin Liquidity During the Collapse of Silicon Valley Bank," Papers 2407.11716, arXiv.org.
    2. Yasamin Mahmoudi, 2025. "Algorithmic trading and price forecasting: machine learning and deep learning strategies for financial markets," Quality & Quantity: International Journal of Methodology, Springer, vol. 59(5), pages 4757-4778, October.
    3. Naeem, Muhammad Abubakr & Gul, Raazia & Arfaoui, Nadia & Bakry, Walid & Bhatti, Muhammad Ishaq, 2025. "Riding the storm: AI-driven spillover effects across technology, commodities, and conventional markets," Pacific-Basin Finance Journal, Elsevier, vol. 93(C).
    4. 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.
    5. 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.
    6. Kovacs, Oliver, 2024. "Exaptationary Industry 4.0: Graphene as pathfinder?," Technological Forecasting and Social Change, Elsevier, vol. 200(C).
    7. Kokulo K. Lawuobahsumo & Bernardina Algieri & Arturo Leccadito, 2024. "Forecasting cryptocurrencies returns: Do macroeconomic and financial variables improve tail expectation predictions?," Quality & Quantity: International Journal of Methodology, Springer, vol. 58(3), pages 2647-2675, June.
    8. Mahmut Bağcı & Pınar Kaya Soylu, 2024. "Optimal portfolio selection with volatility information for a high frequency rebalancing algorithm," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-28, December.
    9. 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.
    10. repec:bcp:journl:v:9:y:2025:i:10:p:1420-1431 is not listed on IDEAS
    11. Ş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).
    12. Andreas Thiemann, 2021. "Cryptocurrencies: An empirical view from a Tax Perspective," JRC Working Papers on Taxation & Structural Reforms 2021-12, Joint Research Centre.
    13. 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).
    14. 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).
    15. Cagli, Efe C. & Dimpfl, Thomas, 2025. "Have cryptocurrencies arrived in the system of fiat currencies? An appraisal based on monetary policy uncertainty," Finance Research Letters, Elsevier, vol. 85(PB).
    16. Daehan Kim & Jing (Maggie) Chen & Doojin Ryu & Robert I. Webb, 2025. "Bitcoin as a Legal Tender," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 32(4), pages 1175-1188, December.
    17. A. H. Nzokem, 2023. "Bitcoin versus S&P 500 Index: Return and Risk Analysis," Papers 2310.02436, arXiv.org.
    18. Eska, Fabian E. & Shi, Yanghua & Theissen, Erik & Uhrig-Homburg, Marliese, 2024. "Do design features explain the volatility of cryptocurrencies?," Finance Research Letters, Elsevier, vol. 66(C).
    19. Ceyhun Elgin & Adem Y. Elveren, 2025. "An Evaluation and Comparative Analysis of Fiscal and Macrofinancial Policies during the COVID-19 Pandemic: The Case of Bulgaria in the Balkan Context," Economic Studies journal, Bulgarian Academy of Sciences - Economic Research Institute, issue 1, pages 89-112.
    20. 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.
    21. Junwei Chen, 2023. "Analysis of Bitcoin Price Prediction Using Machine Learning," JRFM, MDPI, vol. 16(1), pages 1-25, January.

    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.