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. Galvão, Ana Beatriz, 2013. "Changes in predictive ability with mixed frequency data," International Journal of Forecasting, Elsevier, vol. 29(3), pages 395-410.
    2. Chia-Lin Chang & Jukka Ilomäki & Hannu Laurila & Michael McAleer, 2018. "Long Run Returns Predictability and Volatility with Moving Averages," Risks, MDPI, vol. 6(4), pages 1-18, September.
    3. Hertrich Markus, 2019. "A Novel Housing Price Misalignment Indicator for Germany," German Economic Review, De Gruyter, vol. 20(4), pages 759-794, December.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. Ishani Chaudhuri & Parthajit Kayal, 2022. "Predicting Power of Ticker Search Volume in Indian Stock Market," Working Papers 2022-214, Madras School of Economics,Chennai,India.
    10. Ravi Bansal, 2007. "Long-run risks and financial markets," Review, Federal Reserve Bank of St. Louis, vol. 89(Jul), pages 283-300.
    11. Cenedese, Gino & Mallucci, Enrico, 2016. "What moves international stock and bond markets?," Journal of International Money and Finance, Elsevier, vol. 60(C), pages 94-113.
    12. Neuhierl, Andreas & Weber, Michael, 2019. "Monetary policy communication, policy slope, and the stock market," Journal of Monetary Economics, Elsevier, vol. 108(C), pages 140-155.
    13. John Y. Campbell, 2008. "Viewpoint: Estimating the equity premium," Canadian Journal of Economics, Canadian Economics Association, vol. 41(1), pages 1-21, February.
    14. Bijl, Laurens & Kringhaug, Glenn & Molnár, Peter & Sandvik, Eirik, 2016. "Google searches and stock returns," International Review of Financial Analysis, Elsevier, vol. 45(C), pages 150-156.
    15. 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.
    16. Gagnon, Marie-Hélène & Power, Gabriel J. & Toupin, Dominique, 2023. "The sum of all fears: Forecasting international returns using option-implied risk measures," Journal of Banking & Finance, Elsevier, vol. 146(C).
    17. Long Chen & Lu Zhang, 2009. "The stock market and aggregate employment," NBER Working Papers 15219, National Bureau of Economic Research, Inc.
    18. 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.
    19. 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.
    20. 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.

    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.