1D-CapsNet-LSTM: A Deep Learning-Based Model for Multi-Step Stock Index Forecasting

Cheng Zhang, Nilam Nur Amir Sjarif, Roslina Ibrahim
10/3/2023
cs.LGcs.NE

No confident code implementation found for this paper.

Abstract

Multi-step stock index forecasting is vital in finance for informed decision-making. Current forecasting methods on this task frequently produce unsatisfactory results due to the inherent data randomness and instability, thereby underscoring the demand for advanced forecasting models. Given the superiority of capsule network (CapsNet) over CNN in various forecasting and classification tasks, this study investigates the potential of integrating a 1D CapsNet with an LSTM network for multi-step stock index forecasting. To this end, a hybrid 1D-CapsNet-LSTM model is introduced, which utilizes a 1D CapsNet to generate high-level capsules from sequential data and a LSTM network to capture temporal dependencies. To maintain stochastic dependencies over different forecasting horizons, a multi-input multi-output (MIMO) strategy is employed. The model's performance is evaluated on real-world stock market indices, including S&P 500, DJIA, IXIC, and NYSE, and compared to baseline models, including LSTM, RNN, and CNN-LSTM, using metrics such as RMSE, MAE, MAPE, and TIC. The proposed 1D-CapsNet-LSTM model consistently outperforms baseline models in two key aspects. It exhibits significant reductions in forecasting errors compared to baseline models. Furthermore, it displays a slower rate of error increase with lengthening forecast horizons, indicating increased robustness for multi-step forecasting tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2023dcapsnetlstm,
  title  = {1D-CapsNet-LSTM: A Deep Learning-Based Model for Multi-Step Stock Index Forecasting},
  author = {Cheng Zhang and Nilam Nur Amir Sjarif and Roslina Ibrahim},
  year   = {2023},
  eprint = {2310.02090},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.02090v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.02090.svg)](https://codeofpaper.com/paper/2310.02090)

Discussion