Stock Price Prediction Based on Standardized Price–Volume Charts and a Convolutional Neural Network

DOI:

https://doi.org/10.63646/PXFS1121

Keywords:

Deep learning; Convolutional neural network; standardized price–volume charts; trend classification; China A-share market; portfolio backtesting

Abstract

Forecasting stock price movements from price–volume information remains challenging yet widely studied. Using daily A-share data from 2005 to 2025, we construct standardized price–volume charts and adopt a computer-vision approach to prediction. Specifically, we transform each stock’s price–volume history into a fixed-format chart representation and train a Convolutional Neural Network (CNN) to map chart patterns to subsequent price movements. We evaluate the model using 2005–2019 as in-sample data and 2020–2025 as an out-of-sample test period. Empirical results demonstrate that the CNN effectively extracts morphological features to predict future trends. In the out-of-sample period (2020–2025), the long portfolio constructed based on the model's predictions achieves an annualized return of 18.20% in the broad A-share market, generating an annualized excess return of 13.86% relative to the CSI All Share Index. The approach proves particularly effective in the volatile ChiNext sector, yielding an annualized return of 23.54% (13.22% excess return) and a mean Rank IC of 6.2%. Furthermore, the strategy remains profitable after accounting for transaction costs. Overall, our findings indicate that encoding price–volume data as standardized charts can be a useful complement to sequence-based modeling in equity prediction tasks.

How to Cite

Lin, T., Chen, Z., An, N., & Chen, Y. (2025). Stock Price Prediction Based on Standardized Price–Volume Charts and a Convolutional Neural Network. Journal of Business and Data Analytics, 3(6), 1-17. https://doi.org/10.63646/PXFS1121

References

Abu-Mostafa, Y. S., & Atiya, A. F. (1996). Introduction to financial forecasting. Applied Intelligence, 6(3), 205–213. https://doi.org/10.1007/BF00126626

Ballings, M., Van den Poel, D., Hespeels, N., & Gryp, R. (2015). Evaluating multiple classifiers for stock price direction prediction. Expert Systems with Applications, 42(20), 7046–7056. https://doi.org/10.1016/j.eswa.2015.05.013

Dey, S., Kumar, Y., Saha, S., & Basak, S. (2016). Forecasting to classification: Predicting the direction of stock market price using Xtreme Gradient Boosting. PESIT South Campus.

Di Persio, L., & Honchar, O. (2017). Recurrent neural networks approach to the financial forecast of Google assets. International Journal of Mathematics and Computers in Simulation, 11, 7–13.

Fama, E. F. (1970). Efficient capital markets: A review of theory and empirical work. The Journal of Finance, 25(2), 383–417. https://doi.org/10.2307/2325486

Guresen, E., Kayakutlu, G., & Daim, T. U. (2011). Using artificial neural network models in stock market index prediction. Expert Systems with Applications, 38(8), 10389–10397. https://doi.org/10.1016/j.eswa.2011.02.068

Hu, Y., Liu, K., Zhang, X., Su, L., Ngai, E. W. T., & Liu, M. (2015). Application of evolutionary computation for rule discovery in stock algorithmic trading: A literature review. Applied Soft Computing, 36, 534–551. https://doi.org/10.1016/j.asoc.2015.07.008

Imandoust, S. B., & Bolandraftar, M. (2013). Application of k-nearest neighbor (KNN) approach for predicting economic events: Theoretical background. International Journal of Engineering Research and Applications, 3(5), 605–610.

Ioffe, S., & Szegedy, C. (2015). Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning (pp. 448–456). PMLR. http://proceedings.mlr.press/v37/ioffe15.html

Jiang, J., Kelly, B., & Xiu, D. (2023). (Re-)Imag(in)ing price trends. The Journal of Finance, 78(6), 3193–3249. https://doi.org/10.1111/jofi.13268

Kingma, D. P., & Ba, J. (2014). Adam: A method for stochastic optimization. arXiv. https://arxiv.org/abs/1412.6980

Li, S., Jin, X., Xuan, Y., Zhou, X., Chen, W., Wang, Y. X., & Yan, X. (2019). Enhancing the locality and breaking the memory bottleneck of transformer on time series forecasting. Advances in Neural Information Processing Systems, 32.

Lim, B., Arık, S. Ö., Loeff, N., & Pfister, T. (2021). Temporal fusion transformers for interpretable multi-horizon time series forecasting. International Journal of Forecasting, 37(4), 1748–1764. https://doi.org/10.1016/j.ijforecast.2021.03.012

Nguyen, T. H., Shirai, K., & Velcin, J. (2015). Sentiment analysis on social media for stock movement prediction. Expert Systems with Applications, 42(24), 9603–9611. https://doi.org/10.1016/j.eswa.2015.07.052

Pai, P.-F., & Lin, C.-S. (2005). A hybrid ARIMA and support vector machines model in stock price forecasting. Omega, 33(6), 497–505. https://doi.org/10.1016/j.omega.2004.07.024

Park, C.-H., & Irwin, S. H. (2007). What do we know about the profitability of technical analysis? Journal of Economic Surveys, 21(4), 786–826. https://doi.org/10.1111/j.1467-6419.2007.00519.x

Peng, Y., Liu, Y., & Zhang, R. (2019). Stock price prediction modeling and analysis based on LSTM. Computer Engineering and Applications, 55(11), 209–212.

Ren, J., & Wang, A. (2023). Stock price prediction research fusing causal attention Transformer model. Computer Engineering and Applications, 59(13), 325–334.

Shah, D., Isah, H., & Zulkernine, F. (2019). Stock market analysis: A review and taxonomy of prediction techniques. International Journal of Financial Studies, 7(2), Article 26. https://doi.org/10.3390/ijfs7020026

Tyssedal, J. S., & Tjøstheim, D. (1988). An autoregressive model with suddenly changing parameters and an application to stock market prices. Journal of the Royal Statistical Society: Series C (Applied Statistics), 37(3), 353–369. https://doi.org/10.2307/2347310

Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30. https://papers.nips.cc/paper_files/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html

Yang, B., Gong, Z. J., & Yang, W. (2017). Stock market index prediction using deep neural network ensemble. In 2017 36th Chinese Control Conference (CCC) (pp. 3882–3887). IEEE. https://doi.org/10.23919/ChiCC.2017.8027964

Zhao, H., & Xue, L. (2021). Research on stock prediction based on LSTM-CNN-CBAM model. Computer Engineering and Applications, 57(3), 203–207.

Zhong, X., & Enke, D. (2017). Forecasting daily stock market return using dimensionality reduction. Expert Systems with Applications, 67, 126–139. https://doi.org/10.1016/j.eswa.2016.09.027

Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., & Zhang, W. (2021). Informer: Beyond efficient transformer for long sequence time-series forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, 35(12), 11106–11115. https://doi.org/10.1609/aaai.v35i12.17325

Zhou, Z., & He, X. (2023). Stock price prediction method based on optimized LSTM model. Statistics and Decision, 39(6), 143–148.