IDEAS home Printed from https://ideas.repec.org/a/kap/apfinm/v32y2025i2d10.1007_s10690-024-09463-w.html
   My bibliography  Save this article

CAGTRADE: Predicting Stock Market Price Movement with a CNN-Attention-GRU Model

Author

Listed:
  • Ibanga Kpereobong Friday

    (Siksha ‘O’ Anusandhan (Deemed to Be) University)

  • Sarada Prasanna Pati

    (Siksha ‘O’ Anusandhan (Deemed to Be) University)

  • Debahuti Mishra

    (Siksha ‘O’ Anusandhan (Deemed to Be) University)

  • Pradeep Kumar Mallick

    (KIIT Deemed to be University)

  • Sachin Kumar

    (American University Armenia)

Abstract

Accurately predicting market direction is crucial for informed trading decisions to buy or sell stocks. This study proposes a deep learning based hybrid approach combining convolutional neural network (CNN), attention mechanism (AM), and gated recurrent unit (GRU) to predict short-term market trends (1 day, 3 days, 7 days, 10 days) across different stock indices (BSE, HSI, IXIC, NIFTY, N225, SSE). The architecture dynamically weights the input sequence with the AM model, captures local patterns through CNN and effectively models long-term dependencies with GRU thus aiming to accurately classify either "buy" or "sell" positions of stocks. The model is assessed using classification and financial evaluation metrics involving accuracy, precision, recall, f1-score, annualized returns, maximum drawdown, and return on investment. It outperforms benchmark models, and different technical indicators including average directional index, rate of change, moving average convergence divergence, and the buy-and-hold strategy, demonstrating its effectiveness in various market conditions. The proposed model achieves an average accuracy of 98% in predicting the 1 day-ahead direction, and an average accuracy of 88.53% across all prediction intervals. The model was also validated using the wilcoxon signed rank test that further supported its significance over the benchmark models. The CAG model presents a comprehensive and intuitive approach to stock market trend prediction, with potential applications in real-world asset decision-making.

Suggested Citation

  • Ibanga Kpereobong Friday & Sarada Prasanna Pati & Debahuti Mishra & Pradeep Kumar Mallick & Sachin Kumar, 2025. "CAGTRADE: Predicting Stock Market Price Movement with a CNN-Attention-GRU Model," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 32(2), pages 583-608, June.
  • Handle: RePEc:kap:apfinm:v:32:y:2025:i:2:d:10.1007_s10690-024-09463-w
    DOI: 10.1007/s10690-024-09463-w
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10690-024-09463-w
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10690-024-09463-w?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    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:kap:apfinm:v:32:y:2025:i:2:d:10.1007_s10690-024-09463-w. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.