Stock closing price prediction based on sentiment analysis and LSTM

被引:0
|
作者
Zhigang Jin
Yang Yang
Yuhong Liu
机构
[1] Tianjin University,School of Electrical and Information Engineering
[2] Santa Clara University,Department of Computer Science and Engineering
来源
关键词
Stock market prediction; Long short-term memory; Attention mechanism; Empirical mode decomposition;
D O I
暂无
中图分类号
学科分类号
摘要
Stock market prediction has been identified as a very important practical problem in the economic field. However, the timely prediction of the market is generally regarded as one of the most challenging problems due to the stock market’s characteristics of noise and volatility. To address these challenges, we propose a deep learning-based stock market prediction model that considers investors’ emotional tendency. First, we propose to involve investors’ sentiment for stock prediction, which can effectively improve the model prediction accuracy. Second, the stock pricing sequence is a complex time sequence with different scales of fluctuations, making the accurate prediction very challenging. We propose to gradually decompose the complex sequence of stock price by adopting empirical modal decomposition (EMD), which yields better prediction accuracy. Third, we adopt LSTM due to its advantages of analyzing relationships among time-series data through its memory function. We further revised it by adopting attention mechanism to focus more on the more critical information. Experiment results show that the revised LSTM model can not only improve prediction accuracy, but also reduce time delay. It is confirmed that investors’ emotional tendency is effective to improve the predicted results; the introduction of EMD can improve the predictability of inventory sequences; and the attention mechanism can help LSTM to efficiently extract specific information and current mission objectives from the information ocean.
引用
收藏
页码:9713 / 9729
页数:16
相关论文
共 50 条
  • [1] Stock closing price prediction based on sentiment analysis and LSTM
    Jin, Zhigang
    Yang, Yang
    Liu, Yuhong
    [J]. NEURAL COMPUTING & APPLICATIONS, 2020, 32 (13): : 9713 - 9729
  • [2] LSTM-based sentiment analysis for stock price forecast
    Ko, Ching-Ru
    Chang, Hsien-Tsung
    [J]. PEERJ COMPUTER SCIENCE, 2021, : 1 - 23
  • [3] A new attention-based LSTM model for closing stock price prediction
    Lin, Yuyang
    Huang, Qi
    Zhong, Qiyin
    Li, Muyang
    Li, Yan
    Ma, Fei
    [J]. INTERNATIONAL JOURNAL OF FINANCIAL ENGINEERING, 2022, 09 (03)
  • [4] Sentiment Analysis for Stock Price Prediction
    Gupta, Rubi
    Chen, Min
    [J]. THIRD INTERNATIONAL CONFERENCE ON MULTIMEDIA INFORMATION PROCESSING AND RETRIEVAL (MIPR 2020), 2020, : 213 - 218
  • [5] S_I_LSTM: stock price prediction based on multiple data sources and sentiment analysis
    Wu, Shengting
    Liu, Yuling
    Zou, Ziran
    Weng, Tien-Hsiung
    [J]. CONNECTION SCIENCE, 2022, 34 (01) : 44 - 62
  • [6] An optimal deep learning-based LSTM for stock price prediction using twitter sentiment analysis
    Swathi, T.
    Kasiviswanath, N.
    Rao, A. Ananda
    [J]. APPLIED INTELLIGENCE, 2022, 52 (12) : 13675 - 13688
  • [7] An optimal deep learning-based LSTM for stock price prediction using twitter sentiment analysis
    T. Swathi
    N. Kasiviswanath
    A. Ananda Rao
    [J]. Applied Intelligence, 2022, 52 : 13675 - 13688
  • [8] Stock Price Prediction Using Sentiment Analysis
    Sidogi, Thendo
    Mbuvha, Rendani
    Marwala, Tshilidzi
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2021, : 46 - 51
  • [9] B3 Stock Price Prediction Using LSTM Neural Networks and Sentiment Analysis
    Vargas, Gabriel M.
    Silvestre, Leonardo J.
    Rigo Jr, Luis O.
    Rocha, Helder R. O.
    [J]. IEEE LATIN AMERICA TRANSACTIONS, 2021, 20 (07) : 1067 - 1074
  • [10] Stock Price Prediction Using a Multivariate Multistep LSTM: A Sentiment and Public Engagement Analysis Model
    Aasi, Bipin
    Imtiaz, Syeda Aniqa
    Qadeer, Hamzah Arif
    Singarajah, Magdalean
    Kashef, Rasha
    [J]. 2021 IEEE INTERNATIONAL IOT, ELECTRONICS AND MECHATRONICS CONFERENCE (IEMTRONICS), 2021, : 161 - 168