计算机工程与应用 ›› 2025, Vol. 61 ›› Issue (6): 229-243.DOI: 10.3778/j.issn.1002-8331.2311-0126

• 模式识别与人工智能 • 上一篇    下一篇

IMGAF-RLNet模型的股指趋势预测研究

张菊平,李路   

  1. 上海工程技术大学 数理与统计学院,上海 201600
  • 出版日期:2025-03-15 发布日期:2025-03-14

IMGAF-RLNet Model for Stock Index Trend Forecasting

ZHANG Juping, LI Lu   

  1. School of Mathematics, Physics and Statistics, Shanghai University of Engineering Science, Shanghai 201600, China
  • Online:2025-03-15 Published:2025-03-14

摘要: 针对金融时间序列动态不稳定性以及长期依赖的特性,构建了基于深度学习算法的IMGAF-RLNet模型预测中国股票市场的大、中盘指数涨跌趋势。IMGAF-RLNet采用格拉姆角场方法将目标股指和基于斯皮尔曼秩相关系数筛选的成分股的不同特征序列编码为格拉姆差角场矩阵,然后将得到的矩阵序列构造为多维张量输入根据预训练模型分类结果筛选的CNN分类器残差网络(ResNet)进行特征提取,同时添加长短时记忆网络(LSTM)学习股指数据的时序特征,最后通过全连接网络对ResNet提取的局部特征和LSTM提取的整体特征完成股指趋势分类预测。选取沪深300、上证50、中证500指数作为研究对象。实验表明,三只股指的短、中、长期趋势预测准确率均在59%以上,其中预测效果最好的窗口及分类准确率分别为40、20、20以及62.65%、63.68%、61.85%。

关键词: 股指趋势预测, 数据增强, 格拉姆角场, 残差神经网络, 长短时记忆网络

Abstract: Aiming at the dynamic instability and long-term dependence of financial time series, an IMGAF-RLNet model based on deep learning algorithm is constructed to predict the rise and fall trends of large and medium cap indices in the Chinese stock market. IMGAF-RLNet uses the Gramian angular field method to encode the different feature sequences of the target stock index and the constituent stocks based on Spearman rank correlation coefficient screening into the Gramian difference angle field matrix. Then, the obtained matrix sequence is constructed as a multi-dimensional tensor input to a CNN classifier residual network (ResNet) screened based on the classification results of the pre-trained model for feature extraction, and a long short term memory network (LSTM) is added to learn the temporal features of the stock index data, Finally, the local features extracted by ResNet and the overall features extracted by LSTM are used to complete the classification and prediction of stock index trends through a fully connected network. The CSI 300, SSE 50, and CSI 500 indices are selected as the research subjects. The experiment shows that the accuracy of short-term, medium, and long-term trend prediction for the three stock indices is above 59%, with the best prediction window and classification accuracy are 40, 20, 20 and 62.65%, 63.68%, 61.85% respectively.

Key words: stock index trend prediction, data augmentation, Gramian angular field, residual network, long short term memory network (LSTM)