Predicting Multi-Indicator Stock Time Series using Convolutional Neural Networks based on Feature Engineering

Authors

  • Wenbo Li Faculty of Business, City University of Macau,China
  • Long Zhang 1. School of Economics and Management, China University of Geosciences , Beijing, China; 2. Faculty of Business, City University of Macau,China
  • Xiangmin Zhang School of Economics and Management, China University of Geosciences , Beijing, China

DOI:

https://doi.org/10.15837/ijccc.2025.5.6774

Keywords:

stock time series, random forest, feature engineering, convolutional neural network

Abstract

Stock data is a typical class of time series data, which is characterised by complex formation mechanism and rich time granularity, and due to its financial attributes, it has always been a hotspot and a difficult point in time series research. Based on feature engineering. This study proposes a novel approach to predicting stock price movements using convolutional neural networks (CNNs) and feature engineering. We select key technical indicators through random forest modeling and transform multi-indicator time series into composite images using an enhanced Gram angular field method. These images are then used to train CNNs for predicting stock trends. Experiments on different time granularities of the GEM index (399006.SZ) demonstrate prediction accuracies exceeding 85% on both training and validation sets. This approach effectively captures temporal features and multi-dimensional information in financial time series, offering improved predictive performance over traditional methods. However, the model’s performance is contingent on sufficient data availability, suggesting areas for future research.

References

Akita, R., Yoshihara, A., Matsubara, T., & Uehara, K. (2016). Deep learning for stock prediction using numerical and textual information, IEEE/ACIS 15th International Conference on Computer and Information Science (ICIS), 1-6,2016. https://doi.org/10.1109/ICIS.2016.7550882

Bandhu, K. C., Litoriya, R., Jain, A., Shukla, A. V., & Vaidya, S. (2023). An improved technique for stock price prediction on real-time exploiting stream processing and deep learning, Multimedia Tools and Applications, 83, 57269-57289. https://doi.org/10.1007/s11042-023-17130-x

Chen, W., Jiang, M., Zhang, W. G., & et al. (2021). A novel graph convolutional feature based convolutional neural network for stock trend prediction, Information Sciences, 556, 67-94. https://doi.org/10.1016/j.ins.2020.12.068

Chen, Y., Fang, R., Liang, T.,& et al.(2021). Stock price forecast based on CNN-BiLSTM-ECA Model, Scientific Programming, 2021, 1-20. https://doi.org/10.1155/2021/2446543

Cui, X., Hu, J., Ma, Y., & et al. (2021). Investigation of stock price network based on time series analysis and complex network, International Journal of Modern Physics B, 35(13), 2150171. https://doi.org/10.1142/S021797922150171X

Guo, H., Wang, L., Liu, X.,& et al. (2021). Trend-based granular representation of time series and its application in clustering, IEEE Transactions on Cybernetics, 52(9), 9101-9110. https://doi.org/10.1109/TCYB.2021.3054593

Ho, T. T., & Huang, Y. (2021). Stock price movement prediction using sentiment analysis and CandleStick chart representation, Sensors, 21(23), 7957. https://doi.org/10.3390/s21237957

Hou, Y. (2021). Stock price prediction based on Bi-LSTM deep learning, Statistics and Application, 10(3), 538-546. https://doi.org/10.12677/SA.2021.103055

Idrees, S. M., Alam, M. A., & Agarwal, P. (2019). A prediction approach for stock market volatility based on time series data, IEEE Access, 7, 17287-17298. https://doi.org/10.1109/ACCESS.2019.2895252

Kirisci, M.,& Cagcag Yolcu, O. (2022). A New CNN-Based Model for Financial Time Series: TAIEX and FTSE Stocks Forecasting, Neural Processing Letters, 54(4), 3357-3374. https://doi.org/10.1007/s11063-022-10767-z

Li, Jinxuan, Du, Junping, & Xue, Zhe. (2021). Research on stock forecasting based on multi-view stock features, Journal of Nanjing University, 57(1), 68-74.

Li, W., Wang, S., & Chen, Y. (2022). Deep autoencoder-based feature extraction for stock market prediction, Applied Soft Computing, 119, 108035.

Liu, H., & Long, Z. (2020). An improved deep learning model for predicting stock market price time series, Digital Signal Processing, 102, 102741. https://doi.org/10.1016/j.dsp.2020.102741

Roy Choudhury, A., Abrishami, S., Turek, M., & et al. (2020). Enhancing profit from stock transactions using neural networks, AI Communications, 33(2), 75-92. https://doi.org/10.3233/AIC-200629

Seo, H., Kim, H. S., & Kim, Y. (2018). High-frequency trading strategy based on deep convolutional neural networks, Applied Sciences, 8(20), 3453.

Smith, J., & Johnson, M. (2020). Stock Market Prediction Using Machine Learning Algorithms, Journal of Financial Technology, 10(2), 123-145.

Tsantekidis, A., Passalis, N., Tefas, A., Kose, C.,& Polykarpou, I. (2017). Forecasting stock prices from the limit order book using Convolutional Neural Networks, In 2017 IEEE 19th Conference on Business Informatics (CBI) , (pp. 7-12). https://doi.org/10.1109/CBI.2017.23

Wang, J., Zhuang, Z., Gao, D., Li, Y., & Feng, L. (2023). Stock price prediction using multi-scale nonlinear ensemble of deep learning and evolutionary weighted support vector regression, Studies in Nonlinear Dynamics & Econometrics, 27(3), 397-421. https://doi.org/10.1515/snde-2021-0096

Wang, J., &Wang, J. (2015). Forecasting stock market indexes using principle component analysis and stochastic time effective neural networks, Neurocomputing, 156, 68-78. https://doi.org/10.1016/j.neucom.2014.12.084

Wang, Z., & Oates, T. (2015). Imaging Time-Series to Improve Classification and Imputation, In IJCAI'15: Proceedings of the 24th International Conference on Artificial Intelligence , (pp. 3939-3945).

Williams, B., & Brown, T. (2022). Hybrid models for enhanced stock market forecasting, International Journal of Forecasting, 38(4), 1198-1214.

Wu, J. M. T., Li, Z., Herencsar, N., Vo, B., & Lin, J. C. W. (2021). A Graph-based CNNLSTM Stock Price Prediction Algorithm with Leading Indicators, Multimedia Systems, 29(3), 1751-1770. https://doi.org/10.1007/s00530-021-00758-w

Zhang, X., Liu, S., & Zheng, X. (2021). Stock price movement prediction based on a deep factorization machine and the attention mechanism, Mathematics, 9(8), 800. https://doi.org/10.3390/math9080800

Additional Files

Published

2025-09-11

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.