IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i23p3738-d1531326.html
   My bibliography  Save this article

CNN-CBAM-LSTM: Enhancing Stock Return Prediction Through Long and Short Information Mining in Stock Prediction

Author

Listed:
  • Peijie Ye

    (Jiyang College, Zhejiang A&F University, Shaoxing 311800, China
    These authors contributed equally to this work.)

  • Hao Zhang

    (Jiyang College, Zhejiang A&F University, Shaoxing 311800, China
    These authors contributed equally to this work.)

  • Xi Zhou

    (Jiyang College, Zhejiang A&F University, Shaoxing 311800, China)

Abstract

Deep learning, a foundational technology in artificial intelligence, facilitates the identification of complex associations between stock prices and various influential factors through comprehensive data analysis. Stock price data exhibits unique time-series characteristics; models emphasizing long-term data may miss short-term fluctuations, while those focusing solely on short-term data may not capture cyclical trends. Existing models that integrate long short-term memory (LSTM) and convolutional neural networks (CNNs) face limitations in capturing both long- and short-term dependencies due to LSTM’s gated transmission mechanism and CNNs’ limited receptive field. This study introduces an innovative deep learning model, CNN-CBAM-LSTM, which integrates the convolutional block attention module (CBAM) to enhance the extraction of both long- and short-term features. The model’s performance is assessed using the Australian Standard & Poor’s 200 Index (AS51), showing improvement over traditional models across metrics such as RMSE, MAE, R 2 , and RETURN. To further confirm its robustness and generalizability, Diebold–Mariano (DM) tests and model confidence set experiments are conducted, with results indicating the consistently high performance of the CNN-CBAM-LSTM model. Additional tests on six globally recognized stock indices reinforce the model’s predictive strength and adaptability, establishing it as a reliable tool for forecasting in the stock market.

Suggested Citation

  • Peijie Ye & Hao Zhang & Xi Zhou, 2024. "CNN-CBAM-LSTM: Enhancing Stock Return Prediction Through Long and Short Information Mining in Stock Prediction," Mathematics, MDPI, vol. 12(23), pages 1-19, November.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:23:p:3738-:d:1531326
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/23/3738/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/23/3738/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Shahzad Zaheer & Nadeem Anjum & Saddam Hussain & Abeer D. Algarni & Jawaid Iqbal & Sami Bourouis & Syed Sajid Ullah, 2023. "A Multi Parameter Forecasting for Stock Time Series Data Using LSTM and Deep Learning Model," Mathematics, MDPI, vol. 11(3), pages 1-24, January.
    2. Andrew Ang & Geert Bekaert, 2007. "Stock Return Predictability: Is it There?," The Review of Financial Studies, Society for Financial Studies, vol. 20(3), pages 651-707.
    3. Wadim Strielkowski & Andrey Vlasov & Kirill Selivanov & Konstantin Muraviev & Vadim Shakhnov, 2023. "Prospects and Challenges of the Machine Learning and Data-Driven Methods for the Predictive Analysis of Power Systems: A Review," Energies, MDPI, vol. 16(10), pages 1-31, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Hertrich Markus, 2019. "A Novel Housing Price Misalignment Indicator for Germany," German Economic Review, De Gruyter, vol. 20(4), pages 759-794, December.
    2. Zongwu Cai & Haiqiang Chen & Xiaosai Liao, 2020. "A New Robust Inference for Predictive Quantile Regression," WORKING PAPERS SERIES IN THEORETICAL AND APPLIED ECONOMICS 202002, University of Kansas, Department of Economics, revised Feb 2020.
    3. Clark, Todd E. & McCracken, Michael W., 2012. "In-sample tests of predictive ability: A new approach," Journal of Econometrics, Elsevier, vol. 170(1), pages 1-14.
    4. Salisu, Afees A. & Adekunle, Wasiu & Alimi, Wasiu A. & Emmanuel, Zachariah, 2019. "Predicting exchange rate with commodity prices: New evidence from Westerlund and Narayan (2015) estimator with structural breaks and asymmetries," Resources Policy, Elsevier, vol. 62(C), pages 33-56.
    5. Fernando M. Duarte & Carlo Rosa, 2015. "The equity risk premium: a review of models," Economic Policy Review, Federal Reserve Bank of New York, issue 2, pages 39-57.
    6. Bekaert, Geert & Engstrom, Eric & Grenadier, Steven R., 2010. "Stock and bond returns with Moody Investors," Journal of Empirical Finance, Elsevier, vol. 17(5), pages 867-894, December.
    7. Ravi Bansal, 2007. "Long-run risks and financial markets," Review, Federal Reserve Bank of St. Louis, vol. 89(Jul), pages 283-300.
    8. David Haab & Thomas Nitschka, 2017. "Predicting returns on asset markets of a small, open economy and the influence of global risks," Working Papers 2017-14, Swiss National Bank.
    9. Daniel de Almeida & Ana-Maria Fuertes & Luiz Koodi Hotta, 2025. "Out-of-Sample Predictability of the Equity Risk Premium," Mathematics, MDPI, vol. 13(2), pages 1-23, January.
    10. Goodness C. Aye & Mehmet Balcilar & Rangan Gupta, 2017. "International stock return predictability: Is the role of U.S. time-varying?," Empirica, Springer;Austrian Institute for Economic Research;Austrian Economic Association, vol. 44(1), pages 121-146, February.
    11. Ang, Andrew & Piazzesi, Monika & Wei, Min, 2006. "What does the yield curve tell us about GDP growth?," Journal of Econometrics, Elsevier, vol. 131(1-2), pages 359-403.
    12. Zhang, Han & Guo, Bin & Liu, Lanbiao, 2022. "The time-varying bond risk premia in China," Journal of Empirical Finance, Elsevier, vol. 65(C), pages 51-76.
    13. Tule, Moses K. & Salisu, Afees A. & Chiemeke, Charles C., 2019. "Can agricultural commodity prices predict Nigeria's inflation?," Journal of Commodity Markets, Elsevier, vol. 16(C).
    14. Atanasov, Victoria, 2021. "Unemployment and aggregate stock returns," Journal of Banking & Finance, Elsevier, vol. 129(C).
    15. Bekaert, Geert & Hoerova, Marie, 2014. "The VIX, the variance premium and stock market volatility," Journal of Econometrics, Elsevier, vol. 183(2), pages 181-192.
    16. repec:wyi:journl:002156 is not listed on IDEAS
    17. Guo, Hui & Jiang, Xiaowen, 2021. "Aggregate Distress Risk and Equity Returns," Journal of Banking & Finance, Elsevier, vol. 133(C).
    18. Yu, Deshui & Huang, Difang & Chen, Li, 2023. "Stock return predictability and cyclical movements in valuation ratios," Journal of Empirical Finance, Elsevier, vol. 72(C), pages 36-53.
    19. Dladla, Pholile & Malikane, Christopher, 2019. "Stock return predictability: Evidence from a structural model," International Review of Economics & Finance, Elsevier, vol. 59(C), pages 412-424.
    20. Hui Guo, 2006. "On the Out-of-Sample Predictability of Stock Market Returns," The Journal of Business, University of Chicago Press, vol. 79(2), pages 645-670, March.
    21. Charles, Amelie & Darne, Olivier & Kim, Jae, 2016. "Stock Return Predictability: Evaluation based on Prediction Intervals," MPRA Paper 70143, University Library of Munich, Germany.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:23:p:3738-:d:1531326. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.