Paper
22 December 2022 Stock price prediction in Chinese stock markets based on CNN-GRU-attention model
Author Affiliations +
Proceedings Volume 12508, International Symposium on Artificial Intelligence and Robotics 2022; 125080L (2022) https://doi.org/10.1117/12.2663261
Event: Seventh International Symposium on Artificial Intelligence and Robotics 2022, 2022, Shanghai, China
Abstract
Stock price prediction is a hot topic and has attracted the sufficient attention of both regulatory authorities and financial institutions. Because the fluctuation of stock prices is the result of many different factors, it is not easy to make stock price prediction. Traditional prediction solutions are mainly using simple linear models based on statistical and econometric models, these solutions are difficult to support nonstationary time series data. With the development of deep learning, some newly models can not only support non-linear data, but also retain useful information for better forecasting the stock prices. This paper aims to construct a CNN-GRU-Attention based model for price prediction in Chinese stock markets. First, the convolutional and pooling layers of CNN are used to extract features of factor correlation information from the input data; then, the output of feature matrix is used as input for the GRU model to forecast correlation; finally, the Attention mechanism is used to focus on the important characteristics of stock prices and optimize model structure. We collect multi-dimensional stock data of the China SSE 50 index from 2011 to 2021 as our dataset and conduct a set of experiments to compare the performance, which measured in terms of their Mean Absolute Percentage Error (MAPE), Root Mean Squared Error (RMSE) and R squared (R²) score. The proposed model is superior to other models: MAPE decreased by 11.23%, RMSE decreased by 5.71% and R²score improved by 0.41%, which shows that the CNN-GRU-Attention model outperforms state-of-the-art approaches in forecasting stock price.
© (2022) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
JinChao Qi, Shiting Huang, Jiayu Hu, Wenlong Ni, and Hua Chen "Stock price prediction in Chinese stock markets based on CNN-GRU-attention model", Proc. SPIE 12508, International Symposium on Artificial Intelligence and Robotics 2022, 125080L (22 December 2022); https://doi.org/10.1117/12.2663261
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Data modeling

Performance modeling

Statistical modeling

Convolution

Data processing

Feature extraction

Back to Top