Skip to main content

Enhancing Stock Market Predictions Through the Integration of Convolutional and Recursive LSTM Blocks: A Cross-market Analysis

  • Conference paper
  • First Online:
Intelligent Systems (BRACIS 2023)

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).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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)

    Article  Google Scholar 

  2. 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)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Article  Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. Goodfellow, I., Bengio, Y., Courville, A.: Deep Learning. MIT Press, Cambridge (2016)

    Google Scholar 

  8. Hansun, S., Young, J.C.: Predicting lq45 financial sector indices using RNN-LSTM. J. Big Data 8(1), 1–13 (2021)

    Article  Google Scholar 

  9. 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)

    Article  Google Scholar 

  10. 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)

    Google Scholar 

  11. Jayadev, S., Anupama, R., Sebastian, S.: Testing the market efficiency of NSE: a study on random walk theory. Contemp. Res. Financ. 34 (2021)

    Google Scholar 

  12. Jiang, W.: Applications of deep learning in stock market prediction: recent progress. Expert Syst. Appl. 184, 115537 (2021)

    Article  Google Scholar 

  13. Jin, Z., Yang, Y., Liu, Y.: Stock closing price prediction based on sentiment analysis and LSTM. Neural Comput. Appl. 32(13), 9713–9729 (2020)

    Article  Google Scholar 

  14. 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)

    Google Scholar 

  15. LeCun, Y., Bengio, Y., et al.: Convolutional networks for images, speech, and time series. Handb. Brain Theory Neural Netw. 3361(10), 1995 (1995)

    Google Scholar 

  16. 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)

    Article  Google Scholar 

  17. 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)

    Article  Google Scholar 

  18. 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)

    Article  Google Scholar 

  19. Rakhra, M., et al.: Crop price prediction using random forest and decision tree regression:-a review. Mater. Today Proc. (2021)

    Google Scholar 

  20. 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)

    Article  Google Scholar 

  21. Singh, R., Srivastava, S.: Stock prediction using deep learning. Multimedia Tools Appl. 76(18), 18569–18584 (2017)

    Article  Google Scholar 

  22. 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)

    Article  Google Scholar 

  23. 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)

    MathSciNet  MATH  Google Scholar 

  24. Vijh, M., Chandola, D., Tikkiwal, V.A., Kumar, A.: Stock closing price prediction using machine learning techniques. Procedia Comput. Sci. 167, 599–606 (2020)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Filipe Ramos .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics