Predictive Analysis of NEPSE Using LSTM and Technical Indicators

Abstract

The stock market in Nepal has gained a lot of attention in recent times and limited numbers of research are available to predict the stock market based on technical indicators. Predicting a stock market is not easy because of its non-linearity and volatility nature. It is very difficult to make a model that will accurately predict the time series data of the stock market but it can be predicted with some acceptable discrepancies.

Technical analysis is used to predict the stock market but there are some researches that support its effectiveness while other rejects this claim. There is a conflict with technical indicators work in the Nepal Stock Exchange Limited. This comparative analysis checks the effectiveness of the technical indicators to predict the stock market. Among all the other neural networks, long short-term memory is used in this research to predict the stock market.

The results of this research support the statement that technical indicators have some sort of relation between them and closing value which also shows in the correlation matrix. Fundamental and sentimental data along with technical indicators produced more effective results than those of fundamental and sentimental data.

Country : Nepal

1 Bikash Kunwar2 Paras Khati

  1. Department of Electronics and Computer Engineering, Paschimanchal Campus, Gandaki Province, Nepal
  2. Department of Electronics and Computer Engineering, Paschimanchal Campus, Gandaki Province, Nepal

IRJIET, Volume 7, Issue 10, October 2023 pp. 1-9

doi.org/10.47001/IRJIET/2023.710001

References

  1. Pramod, & Pm, M. S. (2021). Stock price prediction using LSTM. ResearchGate. https://www.researchgate.net/publication/348390803_Stock_Price_Prediction_Using_LSTM
  2. Joshi, D. (2023). Prediction of NEPSE index movement using technical analysis. Nepal Journal of Multidisciplinary Research, 6(2), 106–113. https://doi.org/10.3126/njmr.v6i2.57475
  3. Introduction. (n.d.). Nepal Stock Exchange Limited. https://www.nepalstock.com.np/about-us/introduction
  4. Ko, C. R., & Chang, H. T. (2021). LSTM-based sentiment analysis for stock price forecast. Peer J, 7, e408. https://doi.org/10.7717/peerj-cs.408
  5. Gurung, J. B. (2006). Growth and performance of securities market in Nepal. The Journal of Nepalese Business Studies, 1(1), 85–92. https://doi.org/10.3126/jnbs.v1i1.43
  6. Neupane, Bishnu. (2010). STOCK MARKET EFFICIENCY: A CASE OF NEPAL. 10.13140/RG.2.2.18429.38885.
  7. Vaidya, R. (2020). Moving Average Convergence-Divergence (MACD) Trading Rule: An application in Nepalese Stock Market “NEPSE.” Quantitative Economics and Management Studies, 1(6), 366–374. https://doi.org/10.35877/454ri.qems197
  8. Neely, C. J., Rapach, D. E., Tu, J., & Zhou, G. (2014). Forecasting the equity risk premium: The role of technical indicators. Management Science, 60(7), 1772–1791. https://doi.org/10.1287/mnsc.2013.1838
  9. Karki, D., Dahal, R. K., Bhattarai, G., Balla, S., & Lama, A. (2023). Performance Evaluation of technical analysis in the Nepalese Stock Market: Implications for investment Strategies. Quest Journal of Management and Social Sciences, 5(1), 69–84. https://doi.org/10.3126/qjmss.v5i1.56295
  10. Joshi, D. L. (2023). Prediction of NEPSE index movement using technical analysis. Nepal Journal of Multidisciplinary Research, 6(2), 106–113. https://doi.org/10.3126/njmr.v6i2.57475
  11. Pokhrel, N. R., Dahal, K. R., Rimal, R., Bhandari, H. N., Khatri, R. K., Rimal, B., & Hahn, W. E. (2022). Predicting NEPSE index price using deep learning models. Machine Learning With Applications, 9, 100385. https://doi.org/10.1016/j.mlwa.2022.100385
  12. Yu, Y., Si, X., Hu, C., & Zhang, J. (2019). A review of Recurrent Neural Networks: LSTM cells and network architectures. Neural Computation, 31(7), 1235–1270. https://doi.org/10.1162/neco_a_01199
  13. 10.1. Long Short-Term Memory (LSTM) — Dive into Deep Learning 1.0.3 documentation.(n.d.). https://d2l.ai/chapter_recurrentmodern/lstm.html#fig-lstm-2
  14. Reddi, S. J. (2019, April 19). On the Convergence of Adam and Beyond. arXiv.org. https://arxiv.org/abs/1904.09237
  15. Acharya, S. (2022, January 6). What are RMSE and MAE? - Towards Data Science. Medium. https://towardsdatascience.com/what-are-rmse-and-mae-e405ce230383#:~:text=Root%20Mean%20Squared%20Error%20(RMSE,deviation%20from%20the%20actual%20values