Abstract
This study explores convolutional and recursive LSTM blocks within a singular architecture for forecasting stock prices. We propose a method that integrates convolutional networks, which learn to process signals through filters, with recursive LSTM blocks to account for critical temporal information often overlooked in convolutional approaches. Our investigation primarily revolves around two research questions: (1) Can integrating convolutional and recursive LSTM blocks within a singular architecture enhance prediction accuracy? and (2) What is the impact of training and testing with disparate data distributions? The latter question arises from our experiment of training the model using data drawn from the Indian Stock Market and testing the predictions with New York Stock Market data, thus deviating from the traditional focus on uniform stock market distributions. Our results reveal a notable improvement in prediction accuracy (MAPE reduction of 2.22%), strongly suggesting that pre-processing data via Convolutional Neural Networks (CNN) benefits LSTM blocks and can enhance the performance of stock market prediction methodologies.
Supported by Universidade Federal de Ouro Preto, FAPEMIG (APQ-01518-21), CAPES and CNPq (308400/2022-4).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Agrawal, M., Shukla, P.K., Nair, R., Nayyar, A., Masud, M.: Stock prediction based on technical indicators using deep learning model. Comput. Mater. Continua 70(1), 287–304 (2022)
Aguirre, A.A.A., Méndez, N.D.D., Medina, R.A.R.: Artificial intelligence applied to investment in variable income through the MACD (moving average convergence/divergence) indicator. J. Econ. Financ. Adm. Sci. (2021)
An, Z., Feng, Z.: A stock price forecasting method using autoregressive integrated moving average model and gated recurrent unit network. In: 2021 International Conference on Big Data Analysis and Computer Science (BDACS), pp. 31–34. IEEE (2021)
Das, S., Behera, R.K., Rath, S.K., et al.: Real-time sentiment analysis of twitter streaming data for stock prediction. Procedia Comput. Sci. 132, 956–964 (2018)
Freitas, C., Silva, P., Moreira, G., Luz, E.: Rede neural convolucional e lstm para biometria baseada em eeg no modo de identificaçao. In: Anais do XXII Simpósio Brasileiro de Computação Aplicada à Saúde, pp. 256–267. SBC (2022)
Gomes, I.d.O.: Estratégias para operações de day trade na B3. Master’s thesis, Escola de Economia de São Paulo da Fundação Getulio Vargas (2018)
Goodfellow, I., Bengio, Y., Courville, A.: Deep Learning. MIT Press, Cambridge (2016)
Hansun, S., Young, J.C.: Predicting lq45 financial sector indices using RNN-LSTM. J. Big Data 8(1), 1–13 (2021)
Hiransha, M., Gopalakrishnan, E.A., Menon, V.K., Soman, K.: NSE stock market prediction using deep-learning models. Procedia Comput. Sci. 132, 1351–1362 (2018)
Huang, Y., Capretz, L.F., Ho, D.: Neural network models for stock selection based on fundamental analysis. In: 2019 IEEE Canadian Conference of Electrical and Computer Engineering (CCECE), pp. 1–4. IEEE (2019)
Jayadev, S., Anupama, R., Sebastian, S.: Testing the market efficiency of NSE: a study on random walk theory. Contemp. Res. Financ. 34 (2021)
Jiang, W.: Applications of deep learning in stock market prediction: recent progress. Expert Syst. Appl. 184, 115537 (2021)
Jin, Z., Yang, Y., Liu, Y.: Stock closing price prediction based on sentiment analysis and LSTM. Neural Comput. Appl. 32(13), 9713–9729 (2020)
Kurani, A., Doshi, P., Vakharia, A., Shah, M.: A comprehensive comparative study of artificial neural network (ANN) and support vector machines (SVM) on stock forecasting. Ann. Data Sci. 1–26 (2021)
LeCun, Y., Bengio, Y., et al.: Convolutional networks for images, speech, and time series. Handb. Brain Theory Neural Netw. 3361(10), 1995 (1995)
Lorena, A.C., De Carvalho, A.C.: Uma introdução às support vector machines. Revista de Informática Teórica e Aplicada 14(2), 43–67 (2007)
Lu, W., Li, J., Wang, J., Qin, L.: A CNN-BiLSTM-am method for stock price prediction. Neural Comput. Appl. 33(10), 4741–4753 (2021)
Pang, X., Zhou, Y., Wang, P., Lin, W., Chang, V.: An innovative neural network approach for stock market prediction. J. Supercomput. 76(3), 2098–2118 (2020)
Rakhra, M., et al.: Crop price prediction using random forest and decision tree regression:-a review. Mater. Today Proc. (2021)
Santuci, A., Sbruzzi, E., Araújo-Filho, L., Leles, M.: Evaluation of forex trading strategies based in random forest and support vector machines. IEEE Lat. Am. Trans. 20(9), 2146–2152 (2022)
Singh, R., Srivastava, S.: Stock prediction using deep learning. Multimedia Tools Appl. 76(18), 18569–18584 (2017)
Singh, S., Parmar, K.S., Kumar, J.: Soft computing model coupled with statistical models to estimate future of stock market. Neural Comput. Appl. 33(13), 7629–7647 (2021)
Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I., Salakhutdinov, R.: Dropout: a simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 15(1), 1929–1958 (2014)
Vijh, M., Chandola, D., Tikkiwal, V.A., Kumar, A.: Stock closing price prediction using machine learning techniques. Procedia Comput. Sci. 167, 599–606 (2020)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Ramos, F., Silva, G., Luz, E., Silva, P. (2023). Enhancing Stock Market Predictions Through the Integration of Convolutional and Recursive LSTM Blocks: A Cross-market Analysis. In: Naldi, M.C., Bianchi, R.A.C. (eds) Intelligent Systems. BRACIS 2023. Lecture Notes in Computer Science(), vol 14196. Springer, Cham. https://doi.org/10.1007/978-3-031-45389-2_7
Download citation
DOI: https://doi.org/10.1007/978-3-031-45389-2_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-45388-5
Online ISBN: 978-3-031-45389-2
eBook Packages: Computer ScienceComputer Science (R0)