Research on 1D CNN for Next-Day NASDAQ Composite Closing Price Prediction
Abstract
This study proposes a one-dimensional convolutional neural network (1D-CNN) model for next-day closing price forecasting of the NASDAQ Composite Index, comparing its predictive performance against baseline models including ARIMA, LSTM, and multilayer perceptron (MLP). Daily closing-price data spanning from June 1, 2024, to June 1, 2025, were sourced from Yahoo Finance and preprocessed using Min–Max normalization. Each input sequence consisted of 20 consecutive trading days, with the subsequent trading day's closing price as the forecasting target. The 1D-CNN architecture comprised three convolutional layers followed by batch normalization and ReLU activations, with channel sizes progressively increasing from 16 to 64, and two fully connected layers for final output. Training employed the Adam optimizer, minimized mean squared error loss, and included careful hyperparameter tuning. Experimental results indicate that the proposed 1D-CNN model achieves lower mean absolute error and root-mean-square error compared to traditional benchmarks, demonstrating superior capability in accurately predicting next-day price movements. The findings underline the practical effectiveness of 1D-CNNs in short-horizon stock price forecasting tasks.
References
- Box, G. E. P., & Jenkins, G. M. (1976). Time series analysis: Forecasting and control. Holden-Day.
- Engle, R. F. (1982). Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica, 50(4), 987–1007.
- Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780.
- Borovykh, A., Bohte, S., & Oosterlee, C. W. (2017). Conditional time series forecasting with convolutional neural networks. arXiv preprint arXiv: 1703.04691.
- Zhang, J., Xiong, L., & Su, H. (2019). Stock index prediction based on 1D-CNN. Journal of Forecasting, 38(5), 500–514.
- Moodi, F., Tajabadi, S., & Mousavi, M. (2020). A hybrid CNN–GRU–LSTM model for stock price prediction. IEEE Access, 8, 209888–209899.
- Kose, M., & Ozer, M. (2022). Forecasting Earth rotation parameters with convolutional neural networks. Advances in Space Research, 69(3), 1150–1163.
- Zhang, H., Wang, X., & Li, Y. (2021). A comparative study of normalization techniques for deep learning in time series forecasting. Journal of Forecasting, 40(7), 1494–1510.
- Sezer, O. B., & Özbayoglu, A. M. (2020). Financial time series forecasting with deep learning: A systematic literature review: 2005–2019. Applied Soft Computing, 90, 106181.
- Xu, L., Lu, H., & Liu, Z. (2022). A sliding-window based 1D-CNN model for short-term stock price forecasting. Expert Systems with Applications, 184, 115551.
- Kim, S., & Park, J. (2021). Enhancing 1D-CNN performance with batch normalization and ReLU variants for financial time series. IEEE Transactions on Neural Networks and Learning Systems, 32(5), 2112–2124.
- Wilson, A., Chen, J., & Gupta, R. (2023). Comparative analysis of optimizers for deep neural networks in financial time series forecasting. Neurocomputing, 521, 126–138.
- Jiang, T., & Zeng, A. (2023). Financial sentiment analysis using FinBERT with application in predicting stock movement. arXiv preprint arXiv: 2306.02136.
- Zeng, Z., Kaur, R., Siddagangappa, S., Rahimi, S., Balch, T., & Veloso, M. (2023). Financial time series forecasting using CNN and Transformer. arXiv preprint arXiv: 2304.04912.