Based on Baidu Index and GBDT Shanghai Index rise and fall forecast
DOI:
https://doi.org/10.54691/bcpbm.v34i.3212Keywords:
The stock market; Baidu index; Machine learning.Abstract
The stock market reflects the country's economic conditions, and it is of great significance to have a good prediction effect on the stock market. But with the rapid rise of the Internet, big data, and machine learning, the prediction of the stock market trend is not limited to the traditional methods and data sets. The trend of the stock market is not only dependent on itself but also affected by some other factors. Therefore, based on the machine learning model, this paper studies the prediction of investors' attention to the Shanghai Composite Index trend. This paper crawled the relevant index data from the website of Baidu Index based on the selected keywords. The correlation coefficient is used to select the keyword data with the best lag order and data type and as the model's input data. Through the establishment of LSTM, LASSO, RF, and GBDT models, the rise and fall of the Shanghai Composite Index are predicted. That is to say. The paper takes the accuracy of the rise and fall prediction as the judgment standard. GBDT model has the best prediction effect on the Shanghai Stock Exchange Index and can best explain the rise and fall of the Shanghai Stock Exchange Index. So, people can use this research to buy stocks before they rise and sell them before they fall.
Downloads
References
S. M. Idrees, M. A. Alam and P. Agarwal, "A Prediction Approach for Stock Market Volatility Based on Time Series Data," in IEEE Access, vol. 7, pp. 17287-17298, 2019, doi: 10.1109/ACCESS.2019.2895252.
Angadi M C, Kulkarni A P. Time Series Data Analysis for Stock Market Prediction using Data Mining Techniques with R[J]. International Journal of Advanced Research in Computer Science, 2015, 6(6).
Wei Sun and Jingyi Sun. Daily PM2.5 concentration prediction based on principal component analysis and LSSVM optimized by cuckoo search algorithm[J]. Journal of Environmental Management, 2017, 188: 144-152.
K. Chen, Y. Zhou and F. Dai, "A LSTM-based method for stock returns prediction: A case study of China stock market," 2015 IEEE International Conference on Big Data (Big Data), Santa Clara, CA, USA, 2015, pp. 2823-2824, doi: 10.1109/BigData.2015.7364089.
HYUNYOUNG CHOI and HAL VARIAN. Predicting the Present with Google Trends[J]. Economic Record, 2012, 88: 2-9.
Kissan Joseph and M. Babajide Wintoki and Zelin Zhang. Forecasting abnormal stock returns and trading volume using investor sentiment: Evidence from online search[J]. International Journal of Forecasting, 2010, 27(4): 1116-1127.
Bijl L, Kringhaug G, Molnár P, et al. Google searches and stock returns[J]. International Review of Financial Analysis, 2016, 45: 150-156.
JingJing Wang. The Influence of Attention on Stock Returns: An Empirical Study of China's Securities Market [D]. Shanghai Jiao Tong University,2012






