Computer Science ›› 2024, Vol. 51 ›› Issue (6A): 230600102-12.doi: 10.11896/jsjkx.230600102

• Interdiscipline & Application • Previous Articles     Next Articles

Deep Learning Prediction of Stock Market Combining Media Information and Signal Decomposition

LIU Guang, YI Hong   

  1. Economics and Statistics College,Guangzhou University,Guangzhou 510000,China
  • Published:2024-06-06
  • About author:LIU Guang,born in 1980,Ph.D,lectu-rer,master supervisor.His main research interests include capital markets and portfolio investments.
    YI Hong,born in 2003,undergraduate,is a student member of CCF(No.P2515G).His main research interests include machine learning,financial statisticsand big data analysis.

Abstract: Accurate prediction of future returns and risks in the stock market not only helps rational investors to invest more reasonably and effectively,but also provides useful guidance for policy makers and investors.Applying financial news headlines,this paper constructs an investor sentiment index that takes into account the cumulative effects of news using text analysis methods such as word embedding and machine learning.The Shanghai Composite Index is used as an example,and the empirical analysis decomposes the index’s fluctuation data into various inherent modes using the variational mode decomposition(VMD) method.Finally,the bidirectional gated recurrent unit(BiGRU) is introduced as a deep learning model for price fluctuation prediction.The results show that the investor sentiment index significantly affects the fluctuation of the Shanghai Composite index,and the influence of positive emotions and negative emotions is asymmetric.Considering the investor sentiment indicators and conducting the signal decomposition can effectively improve the prediction performance of stocks,and improve the prediction effect by up to 20%.In the benchmark scenario,the performance of VMD-BiGRU models is better than that of multiple econometric models and machine learning models,with higher accuracy and effectiveness,and the general performance of yield and volatility prediction is improved by more than 40%.The performance of model promotion in three stocks,Wuliangye,Industrial and Commercial Bank of China and IFLYTEK,maintain the same stable and accurate prediction effect.

Key words: Stock prediction, Investor sentiment, News media information, Signal decomposition, Gating unit

CLC Number: 

  • F830.59
[1]WANG W B,FEI L S,YI X M.China Stock Market Forecast based on EMD and Neural Network[J].Theory and Practice of System Engineering,2010,30(6):1027-1033.
[2]TIAN L H,WANG G Y,TAN D K.Reverse effect and asset pricing:How historical yields affect the present[J].Financial Research,2014(10):177-192.
[3]SONG G,ZHANG Y F,BAO F X,et al.Stock prediction model based on particle swarm optimization of LSTM[J].Journal of Beijing University of Aeronautics,2019,45(12):2533-2542.
[4]ZHAO Y X,VINEET U,CAI Y Z.Stock returns,quantile autocorrelation,and volatility forecasting[J].International Review of Financial Analysis,2021,73:101599.
[5]TAKAHASHI M,WATANABE T,OMORI Y.ForecastingDaily Volatility of Stock Price Index Using Daily Returns and Realized Volatility[J/OL].Econometrics and Statistics,2021.https://doi.org/10.1016/j.ecosta.2021.08.002.
[6]GHOSH P,NEUFELD A,SAHOO J.Forecasting directionalmovements of stock prices for intraday trading using LSTM and random forests[J].Finance Research Letters,2022,46:102280.
[7]ABU-MOSTAFA Y S,ATIYAA F.Introduction to financialforecasting[J].Applied intelligence,1996,6:205-213.
[8]HAMILTON J D.Time series analysis[M].Princeton:Princeton University Press,1994.
[9]ZHONG X,ENKE D.Forecasting daily stock market returnusing dimensionality reduction[J].Expert Systems with Applications,2017,67:126-139.
[10]TETLOC K,PAUL C.Giving content to investor sentiment:The role of media in the stock market[J].The Journal of Finance,2007,62(3):1139-1168.
[11]MOHAN S,MULLAPUDI S,SAMMETA S,et al.Stock price prediction using news sentiment analysis[C]//2019 IEEE Fifth International Conference on Big Data Computing Serviceand Applications(BigDataService).IEEE,2019:205-208.
[12]HUI B,LI P.Does investor sentiment predict stock returns?The evidence from Chinese stock market[J].Journal of Systems Science and Complexity,2014,27(1):130-143.
[13]ALANYALI M,MOAT H,PREIS T.Quantifying the Relationship Between Financial News and the Stock Market[J].Sci Rep,2013,3,3578.
[14]YU C M,GONG Y T,WANG F,et al.Stock trend prediction based on a text price fusion model[J].Data analysis and Knowledge Discovery,2018,2(12):33-42.
[15]NJOLSTAD P C S,HOYSAETER L S,WEI W,et al.Evaluating Feature Sets and Classifiers for Sentiment Analysis of Financial News[C]// IEEE/WIC/ACM International Joint Conferences on Web Intelligence & Intelligent Agent Technologies.ACM,2014:71-78.
[16]DAY M Y,LEE C C.Deep learning for financial sentiment analysis on finance news providers[C]// IEEE/ACM International Conference on Advances in Social Networks Analysis & Mining.ACM,2016.
[17]BARTOV E,LUCILE F,PARTHA M S.Can Twitter HelpPredict Firm-Level Earnings and Stock Returns?[J].Accounting REVIEW,2018,93(3):25-57.
[18]WU G R,HOU C T,LIN J L.Can economic news predict Taiwan stock market returns?[J].Asia Pacific Management Review,2019,24(1):54-59.
[19]LI X D,WU P J,WANG W P.Incorporating stock prices and news sentiments for stock market prediction[J].A case of Hong Kong.Information Processing & Management,2020,57(5):102212.
[20]AUDRINO F,SIGRIST F,BALLINARI D.The impact of sentiment and attention measures on stock market volatility[J].International Journal of Forecasting,2020,36(2):334-357.
[21]WAN X,YANG J,MARINOV S,et al.Sentiment correlation in financial news networks and associated market movements[J].Scientific Reports,2021,11:3062.
[22]WU S,LIU Y,ZOU Z,et al.S_I_LSTM:stock price prediction based on multiple data sources and sentiment analysis[J].Connection Science,2022,34(1):44-62.
[23]CAO J,LI Z,LI J.Financial time series forecasting model based on ceemdan and lstm[J].PHysica a-statistical Mechanics and ITS Applications,2019:0378-4371.
[24]MOGHA R,ADI L,HAMICHE M.Stock market predictionusing LSTM recurrent neural network[J].Procedia Computer Science,2020(170):1168-1173.
[25]SUNN Y,MD ARIF I,MIRZA MOHD SHAHRIAR M,et al.Deep learning-based stock price prediction using LSTM and bi-directional LSTM model[C]//2020 2nd Novel Intelligent and Leading Emerging Sciences Conference(NILES).IEEE,2020.
[26]BHAVANI A,RAMANA A V,CHAKRAVARTHY A S N.Comparative Analysis between LSTM and GRU in Stock Price Prediction[C]//2022 International Conference on Edge Computing and Applications(ICECAA).IEEE,2022:532-537.
[27]ANDERSEN T G,BOLLERSLEV T,DIEBOLD F X,et al.The distribution of realized stock return volatility[J].Journal of Financial Economics,2001,61(1):43-76.
[28]YANG X.Skewed Logistic distribution of log yields with theVaR estimate[J].Mathematical Statistics and Administration,2011,30(3):548-553.
[29]GAO W,XU F,ZHOU Z H.Towards convergence rate analysis of random forests for classification[J].Artificial Intelligence,2022,313:103788.
[30]BROWN G W,CLIFF MICHAEL T.Investor sentiment and the near-term stock market[J].Journal of Empirical Finance,2004,11(1):1-27.
[31]TETLOCK P C,SAAR-TSECHANSKY M,MACSKASSYS.More Than Words:Quantifying Language to Measure Firms’ Fundamentals[J].Journal of Finance,2008,63(3):1437-1467.
[32]DING T,FU X J,LIU M W.Wind electric power prediction based on the GA-VMD-BiLSTM algorithm[J].Journal of Yangzhou University(Natural Science Edition),2022,25(4):44-49.
[33]FAMA E F,FRENCH K R.Size and book-to-market factors in earnings and returns[J].The Journal of Finance,1995,50(1):131-155.
[34]MACKINLAY A C.Event Studies in Economics and Finance[J].Journal of Economic Literature,1997,35(1):13-39.
[35]DIEBOLD F X,MARIANO RS.Comparing predictive accuracy(Reprinted)[J].Journal of Business & Economic Statistics,1994,20(169).
[36]ROSSI B.Chapter 21-Advances in Forecasting under Instability[M]//ELLIOTT G,TIMMERMANN A.Handbook of Economic Forecasting:Vol.2.Elsevier,2013:1203-1324.
[1] ZHANG Tong-ming, ZHANG Ning. Review of Research on Investor Sentiment Index in Stock Market [J]. Computer Science, 2021, 48(6A): 143-150.
[2] BAO Zhen-shan, GUO Jun-nan, XIE Yuan and ZHANG Wen-bo. Model for Stock Price Trend Prediction Based on LSTM and GA [J]. Computer Science, 2020, 47(6A): 467-473.
[3] TANG Yan-qin, PAN Zhi-song and ZHANG Yan-yan. CSI 300 Index Prediction Research Based on Multi-output Learning [J]. Computer Science, 2017, 44(Z11): 106-109.
[4] . Method to Identi行the Future Stocl} Investor Sentiment Orientation on Chinese Micro-blog [J]. Computer Science, 2012, 39(Z6): 249-252.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!