Short-term stock trends prediction based on sentiment analysis and machine learning

被引:31
作者
Qiu, Yue [1 ]
Song, Zhewei [1 ]
Chen, Zhensong [1 ]
机构
[1] Capital Univ Econ & Business, Sch Management & Engn, Beijing 100070, Peoples R China
基金
国家教育部科学基金资助; 中国国家自然科学基金;
关键词
Stock trends prediction; Day-of-the-week effect; Text mining; Sentiment analysis; Machine learning; MARKET MOVEMENT DIRECTION; SUPPORT VECTOR MACHINES; INVESTOR SENTIMENT; IMPACT; RETURN; MODEL;
D O I
10.1007/s00500-021-06602-7
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Investor-generated textual contents have been proved to be the crucial factor that can cause fluctuations in stock price. However, the existing researches only used the equal-weighted method to construct sentiment index for the textual contents, which also rarely considered the impact of financial anomalies. Therefore, in this study, we develop a novel sentiment index to predict the stock trends based on the weighted textual contents and financial anomalies. Specifically, we first propose a novel weighting method to weight each stock review. Then, the day-of-the-week effect and holiday effect are taken into consideration to construct more reliable and realistic modified sentiment index. Experimental results show that the modified sentiment index can effectively improve the predicted ability on stock trends prediction when applying Support Vector Machine (SVM), Decision Tree (DT), Gradient Boosting Decision Tree (GBDT), Random Forest (RF), Naive Bayes (NB), K-Nearest Neighbor (KNN) and Logistic Regression (LR) models.
引用
收藏
页码:2209 / 2224
页数:16
相关论文
共 45 条
[1]  
[Anonymous], 2010, 23 INT C COMP LING
[2]   Investor sentiment in the stock market [J].
Baker, Malcolm ;
Wurgler, Jeffrey .
JOURNAL OF ECONOMIC PERSPECTIVES, 2007, 21 (02) :129-151
[3]   Investor sentiment and the cross-section of stock returns [J].
Baker, Malcolm ;
Wurgler, Jeffrey .
JOURNAL OF FINANCE, 2006, 61 (04) :1645-1680
[4]   X-CAPM: An extrapolative capital asset pricing model [J].
Barberis, Nicholas ;
Greenwood, Robin ;
Jin, Lawrence ;
Shleifer, Andrei .
JOURNAL OF FINANCIAL ECONOMICS, 2015, 115 (01) :1-24
[5]  
Chaffai M.e., 2014, International Journal of Economics and Financial Issues, V4, P527
[6]   Enhancement of stock market forecasting using an improved fundamental analysis-based approach [J].
Chen, Yuh-Jen ;
Chen, Yuh-Min ;
Lu, Chang Lin .
SOFT COMPUTING, 2017, 21 (13) :3735-3757
[7]   Social influence's impact on reader perceptions of online reviews [J].
Cheng, Yi-Hsiu ;
Ho, Hui-Yi .
JOURNAL OF BUSINESS RESEARCH, 2015, 68 (04) :883-887
[8]   Sports sentiment and stock returns [J].
Edmans, Alex ;
Garcia, Diego ;
Norli, Oyvind .
JOURNAL OF FINANCE, 2007, 62 (04) :1967-1998
[9]  
Fisher K. L., 2000, Financial Analysts Journal, V56, P16, DOI [10.2469/faj.v56.n2.2340, DOI 10.2469/FAJ.V56.N2.2340]
[10]   News volume information: Beyond earnings forecasting in a global stock selection model [J].
Gillam, Robert A. ;
Guerard, John B., Jr. ;
Cahan, Rochester .
INTERNATIONAL JOURNAL OF FORECASTING, 2015, 31 (02) :575-581