Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Nov 28:1-33.
doi: 10.1007/s11042-022-14216-w. Online ahead of print.

An efficient hybrid stock trend prediction system during COVID-19 pandemic based on stacked-LSTM and news sentiment analysis

Affiliations

An efficient hybrid stock trend prediction system during COVID-19 pandemic based on stacked-LSTM and news sentiment analysis

Marwa Sharaf et al. Multimed Tools Appl. .

Abstract

The coronavirus is an irresistible virus that generally influences the respiratory framework. It has an effective impact on the global economy specifically, on the financial movement of stock markets. Recently, an accurate stock market prediction has been of great interest to investors. A sudden change in the stock movement due to COVID -19 appearance causes some problems for investors. From this point, we propose an efficient system that applies sentiment analysis of COVID-19 news and articles to extract the final impact of COVID-19 on the financial stock market. In this paper, we propose a stock market prediction system that extracts the stock movement with the COVID spread. It is important to predict the effect of these diseases on the economy to be ready for any disease change and protect our economy. In this paper, we apply sentimental analysis to stock news headlines to predict the daily future trend of stock in the COVID-19 period. Also, we use machine learning classifiers to predict the final impact of COVID-19 on some stocks such as TSLA, AMZ, and GOOG stock. For improving the performance and quality of future trend predictions, feature selection and spam tweet reduction are performed on the data sets. Finally, our proposed system is a hybrid system that applies text mining on social media data mining on the historical stock dataset to improve the whole prediction performance. The proposed system predicts stock movement for TSLA, AMZ, and GOOG with average prediction accuracy of 90%, 91.6%, and 92.3% respectively.

Keywords: COVID-19 pandemic; Machine learning; Prediction; Sentimental analysis; Stacked-LSTM; Stock market.

PubMed Disclaimer

Conflict of interest statement

Conflict of interestThe authors declare that they have no conflict of interest.

Figures

Fig. 1
Fig. 1
Steps of Sentiment Analysis
Fig. 2
Fig. 2
Operation of Random Forest
Fig. 3
Fig. 3
LSTM Architecture
Fig. 4
Fig. 4
Stacked LSTM
Fig. 5
Fig. 5
Proposed Trend Prediction System
Fig. 6
Fig. 6
Description of news headlines
Fig. 7
Fig. 7
Covid19 movement graph [30]
Fig. 8
Fig. 8
Accuracy Variation for TSLA Stock
Fig. 9
Fig. 9
Confusion Matrix of TSLA Stock
Fig. 10
Fig. 10
Accuracy Variation for GOOG Stock
Fig. 11
Fig. 11
Confusion Matrix of GOOG Stock
Fig. 12
Fig. 12
Accuracy Variation for AMZN Stock
Fig. 13
Fig. 13
Confusion Matrix of AMZN Stock
Fig. 14
Fig. 14
Accuracy Variations for TSLA, GOOG, and AMZN Stocks
Fig. 15
Fig. 15
Forecasting actual and predicted values for TSLA stock
Fig. 16
Fig. 16
Forecasting actual and predicted values for GOOG stock
Fig. 17
Fig. 17
Forecasting actual and predicted values for AMZN Stock

Similar articles

References

    1. Ahmar AS, Boj del Val E. SutteARIMA: Short-term forecasting method, a case: Covid-19 and stock market in Spain. Sci Total Environ. 2020;729:138883. doi: 10.1016/j.scitotenv.2020.138883. - DOI - PMC - PubMed
    1. Ahmar AS, del Val EB (2020) SutteARIMA: Short-term forecasting method, a case: Covid-19 and stock market in Spain. Sci Total Environment. 138883 - PMC - PubMed
    1. Alessia D et al. (2015) Approaches, tools and applications for sentiment analysis implementation. Int J Comput Appl. 125.3
    1. Ananthi M, Vijayakumar K (2020) Stock market analysis using candlestick regression and market trend prediction (CKRM). J Amb Intell Human Comput. 1–8. 2_11
    1. Chandra R, Krishna A. COVID-19 sentiment analysis via deep learning during the rise of novel cases. PLoS One. 2021;16(8):e0255615. doi: 10.1371/journal.pone.0255615. - DOI - PMC - PubMed

LinkOut - more resources