Predicting the Karachi Stock Price index with an Enhanced multi-layered Sequential Stacked Long-Short-Term Memory Model
DOI:
https://doi.org/10.21015/vtse.v11i2.1571Abstract
The study proposes the use of a stacked Long-Short-Term Memory (LSTM) model to predict the KSE-100 stock exchange trend and provides a comprehensive review of the literature on deep learning models and time series forecasting in the stock market. The study's findings suggest that the stacked LSTM model outperforms other models in terms of prediction accuracy. The study's contribution lies in its approach to improving the accuracy of stock price prediction using deep learning models. The stacked LSTM model architecture is a novel approach that provides better results than other traditional time series forecasting models. Furthermore, the study's use of hyper-parameter optimization techniques demonstrates the importance of model tuning for improving performance intended for accurate time series forecasting in the financial market. The study's results have practical implications for investors, who can use the stacked LSTM model to make informed decisions about buying or selling stocks in the KSE-100. The model's ability to predict stock prices accurately can help investors maximize their profits and minimize their losses. Hence, the proposed stacked LSTM model can effectively predict stock prices in the KSE-100 and can assist investors in making informed decisions in the stock market.
References
T. H. H. Aldhyani and A. Alzahrani, “Framework for Predicting and Modeling Stock Market Prices Based on Deep Learning Algorithms,” Electron., vol. 11, no. 19, 2022, doi: 10.3390/electronics11193149.
A. S. Girsang, F. Lioexander, and D. Tanjung, “Stock Price Prediction Using LSTM and Search Economics Optimization,” IAENG Int. J. Comput. Sci., vol. 47, no. 4, pp. 1–7, 2020.
C. Wang, “Pattern Classification of Stock Price Moving,” Front. Comput. Intell. Syst., vol. 2, no. 2, pp. 32–41, 2022, doi: 10.54097/fcis.v2i2.3754.
C. Li and G. Qian, “Stock Price Prediction Using a Frequency Decomposition Based GRU Transformer Neural Network,” Appl. Sci., vol. 13, no. 1, 2023, doi: 10.3390/app13010222.
M. A. Istiake Sunny, M. M. S. Maswood, and A. G. Alharbi, “Deep Learning-Based Stock Price Prediction Using LSTM and Bi-Directional LSTM Model,” 2nd Nov. Intell. Lead. Emerg. Sci. Conf. NILES 2020, pp. 87–92, 2020, doi: 10.1109/NILES50944.2020.9257950.
X. Liang, Z. Ge, L. Sun, M. He, and H. Chen, “LSTM with wavelet transform based data preprocessing for stock price prediction,” Math. Probl. Eng., vol. 2019, 2019, doi: 10.1155/2019/1340174.
G. Bathla, “Stock price prediction using LSTM and SVR,” PDGC 2020 - 2020 6th Int. Conf. Parallel, Distrib. Grid Comput., pp. 211–214, 2020, doi: 10.1109/PDGC50313.2020.9315800.
S. Yoo et al., “Prediction of the change points in stock markets using dae‐lstm,” Sustain., vol. 13, no. 21, pp. 1–15, 2021, doi: 10.3390/su132111822.
A. Ghosh, S. Bose, G. Maji, N. C. Debnath, and S. Sen, “Stock price prediction using lstm on indian share market,” Epic Ser. Comput., vol. 63, no. September, pp. 101–110, 2019, doi: 10.29007/qgcz.
N. T. Tuan, T. H. Nguyen, and T. T. H. Duong, “Stock Price Prediction in Vietnam Using Stacked LSTM,” Lect. Notes Data Eng. Commun. Technol., vol. 148, no. January, pp. 246–255, 2022, doi: 10.1007/978-3-031-15063-0_23.
P. N. Hai et al., “An Empirical Research on the Effectiveness of Different LSTM Architectures on Vietnamese Stock Market,” ACM Int. Conf. Proceeding Ser., pp. 144–149, 2020, doi: 10.1145/3437802.3437827.
L. Qi, M. Khushi, and J. Poon, “Event-Driven LSTM for Forex Price Prediction,” 2020 IEEE Asia-Pacific Conf. Comput. Sci. Data Eng. CSDE 2020, 2020, doi: 10.1109/CSDE50874.2020.9411540.
R. Sandhu, G. Parimala, and S. Nithiya, “LSTM and CNN based Stock Price Prediction APP,” 7th Int. Conf. Commun. Electron. Syst. ICCES 2022 - Proc., no. Icces, pp. 1594–1601, 2022, doi: 10.1109/ICCES54183.2022.9835919.
S. Mehtab and J. Sen, “Stock Price Prediction Using CNN and LSTM-Based Deep Learning Models,” 2020 Int. Conf. Decis. Aid Sci. Appl. DASA 2020, pp. 447–453, 2020, doi: 10.1109/DASA51403.2020.9317207.
J. M. T. Wu, Z. Li, N. Herencsar, B. Vo, and J. C. W. Lin, “A graph-based CNN-LSTM stock price prediction algorithm with leading indicators,” Multimed. Syst., 2021, doi: 10.1007/s00530-021-00758-w.
H. Li, Y. Shen, and Y. Zhu, “Stock Price Prediction Using Attention-based Multi-Input LSTM,” Proc. Mach. Learn. Res., vol. 95, no. 2017, pp. 454–469, 2018.
M. Liu et al, “A New Deep Network Model for Stock Price Prediction,” Mach. Learn. for Cyber Secu., ML4CS 2022. Lect. Notes in Comp. Scie., vol 13657. Springer, Cham, 2023, doi:10.1007/978-3-031-20102-8_32.
P. Ghosh, A. Neufeld, and J. K. Sahoo, “Forecasting directional movements of stock prices for intraday trading using LSTM and random forests,” Financ. Res. Lett., vol. 46, no. December 2018, 2022, doi: 10.1016/j.frl.2021.102280.
A. Q. Md et al., “Novel optimization approach for stock price forecasting using multi-layered sequential LSTM,” Appl. Soft Comput., vol. 134, p. 109830, 2023, doi: 10.1016/j.asoc.2022.109830.
Y. Guo, J. Guo, B. Sun, J. Bai, and Y. Chen, “A new decomposition ensemble model for stock price forecasting based on system clustering and particle swarm optimization,” Appl. Soft Comput., vol. 130, p. 109726, 2022, doi: 10.1016/j.asoc.2022.109726.
C. Deng, Y. Huang, N. Hasan, and Y. Bao, “Multi-step-ahead stock price index forecasting using long short-term memory model with multivariate empirical mode decomposition,” Inf. Sci. (Ny)., vol. 607, pp. 297–321, 2022, doi: 10.1016/j.ins.2022.05.088.
K. Alkhatib, H. Khazaleh, H. A. Alkhazaleh, A. R. Alsoud, and L. Abualigah, “A New Stock Price Forecasting Method Using Active Deep Learning Approach,” J. Open Innov. Technol. Mark. Complex., vol. 8, no. 2, 2022, doi: 10.3390/joitmc8020096.
B. Akkaynak, “A study on the comparison of technical indicators used in stock price prediction with the FAHP method,” J. Life Econ., vol. 10, no. 1, pp. 1–15, 2023, doi: 10.15637/jlecon.1954.
J. Chen, Y. Wen, Y. A. Nanehkaran, M. D. Suzauddola, W. Chen, and D. Zhang, “Machine learning techniques for stock price prediction and graphic signal recognition,” Eng. Appl. Artif. Intell., vol. 121, no. January, p. 106038, 2023, doi: 10.1016/j.engappai.2023.106038.
Downloads
Published
How to Cite
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC-By) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This work is licensed under a Creative Commons Attribution License CC BY