IDEAS home Printed from https://ideas.repec.org/a/gam/jecomi/v13y2024i1p6-d1558024.html
   My bibliography  Save this article

Integrating Macroeconomic and Technical Indicators into Forecasting the Stock Market: A Data-Driven Approach

Author

Listed:
  • Saima Latif

    (Department of Management Sciences, COMSATS University, Park Road, Islamabad 45550, Pakistan)

  • Faheem Aslam

    (Department of Management Sciences, COMSATS University, Park Road, Islamabad 45550, Pakistan
    School of Business Administration (SBA), Al Akhawayn University, Ifrane 53003, Morocco
    VALORIZA—Research Center for Endogenous Resource Valorization, 7300-555 Portalegre, Portugal)

  • Paulo Ferreira

    (VALORIZA—Research Center for Endogenous Resource Valorization, 7300-555 Portalegre, Portugal
    Polytechnic Institute of Portalegre, 7300-110 Portalegre, Portugal
    CEFAGE-UE, IIFA, University of Évora, Largo dos 2 Colegiais, 7000-809 Évora, Portugal)

  • Sohail Iqbal

    (School of Electrical Engineering and Computer Science (SEECS), National University of Sciences and Technology (NUST), Islamabad 44000, Pakistan)

Abstract

Forecasting stock markets is challenging due to the influence of various internal and external factors compounded by the effects of globalization. This study introduces a data-driven approach to forecast S&P 500 returns by incorporating macroeconomic indicators including gold and oil prices, the volatility index, economic policy uncertainty, the financial stress index, geopolitical risk, and shadow short rate, with ten technical indicators. We propose three hybrid deep learning models that sequentially combine convolutional and recurrent neural networks for improved feature extraction and predictive accuracy. These models include the deep belief network with gated recurrent units, the LeNet architecture with gated recurrent units, and the LeNet architecture combined with highway networks. The results demonstrate that the proposed hybrid models achieve higher forecasting accuracy than the single deep learning models. This outcome is attributed to the complementary strengths of convolutional networks in feature extraction and recurrent networks in pattern recognition. Additionally, an analysis using the Shapley method identifies the volatility index, financial stress index, and economic policy uncertainty as the most significant predictors, underscoring the effectiveness of our data-driven approach. These findings highlight the substantial impact of contemporary uncertainty factors on stock markets, emphasizing their importance in studies analyzing market behaviour.

Suggested Citation

  • Saima Latif & Faheem Aslam & Paulo Ferreira & Sohail Iqbal, 2024. "Integrating Macroeconomic and Technical Indicators into Forecasting the Stock Market: A Data-Driven Approach," Economies, MDPI, vol. 13(1), pages 1-28, December.
  • Handle: RePEc:gam:jecomi:v:13:y:2024:i:1:p:6-:d:1558024
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7099/13/1/6/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7099/13/1/6/
    Download Restriction: no
    ---><---

    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:jecomi:v:13:y:2024:i:1:p:6-:d:1558024. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.