Skip to main content
Log in

Integrating EEMD and ensemble CNN with X (Twitter) sentiment for enhanced stock price predictions

  • Original Article
  • Published:
Social Network Analysis and Mining Aims and scope Submit manuscript

A Correction to this article was published on 07 March 2024

This article has been updated

Abstract

This research proposes a novel method for enhancing the accuracy of stock price prediction by combining ensemble empirical mode decomposition (EEMD), ensemble convolutional neural network (CNN), and X (Twitter) sentiment scores based on historical stock data. The complexity and volatility of financial markets pose challenges to accurate stock price forecasting. To address this challenge, the presented approach utilizes EEMD to decompose the original stock price time series, X sentiment analysis data, and relative strength index (RSI) technical indicator data obtained from daily stock fluctuations into intrinsic mode functions (IMFs) and a residual component. Subsequently, an ensemble CNN is constructed, comprising parallel subnetworks that learn distinct IMF representations, and their combined predictions result in robust stock price forecasts. This ensemble CNN consists of multiple parallel subnetworks, each learning distinct IMF representations, and combining their predictions yields a robust stock price forecast. X sentiment scores are incorporated through a separate CNN that analyzes sentiment in tweets related to target equities, capturing polarity and intensity. Experiments with actual stock price and X data show that the proposed "EEMD–ensemble CNN" model outperforms baseline methods in accurate stock price forecasting. The incorporation of X sentiment scores improves forecasts by accounting for the influence of public sentiment on stock price fluctuations. This study demonstrates the potential benefits of social media sentiment analysis for financial forecasting and offers practical implications for investors, traders, and financial analysts seeking informed decisions in dynamic stock market environments.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Availability of data and material

The datasets generated and/or analyzed during the current study are available from the corresponding author on reasonable request.

Code availability

All codes for data cleaning and analysis associated with the current submission are available

from the corresponding author upon reasonable request.

Change history

References

Download references

Funding

No funding was received to assist with the preparation of this manuscript.

Author information

Authors and Affiliations

Authors

Contributions

Nabanita Das and Bikash Sadhukhan wrote the manuscript, Susmit Shekhar Bhakta worked on data and coding, Satyajit Chakraborty revised the draft. All authors reviewed the manuscript.

Corresponding author

Correspondence to Bikash Sadhukhan.

Ethics declarations

Conflicts of interest

The authors have no conflicts of interest to declare that they are relevant to the content of this article.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

The original online version of this article was revised: to update one author name.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Das, N., Sadhukhan, B., Bhakta, S.S. et al. Integrating EEMD and ensemble CNN with X (Twitter) sentiment for enhanced stock price predictions. Soc. Netw. Anal. Min. 14, 29 (2024). https://doi.org/10.1007/s13278-023-01190-w

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s13278-023-01190-w

Keywords

Navigation