Stock Price Trend Forecasting using Long Short Term Memory Recurrent Neural Networks

Authors

  • Mahdi Ismael Omar  Department of Computer Science Engineering, Institute of Technology, Jigjiga University, Jigjiga, Ethiopia
  • Mujeeb Rahaman  Department of Computer Science Engineering, Institute of Technology, Jigjiga University, Jigjiga, Ethiopia

DOI:

https://doi.org//10.32628/CSEIT206474

Keywords:

Deep Learning,Long Short Term Memory, Stock Market

Abstract

The prediction of future stock price trend using current and historical stock market data is a research problem for traders and researchers. Recently deep learning methods shown promising performance to extract meaningful information from the given large data. In this paper, we proposed a system to predict the next trading session close price trend from historical stock trading data using long short term memory (LSTM) method. This is a classification problem next trading session close price trend can be uptrend, downtrend, or sideways trend. We built an automated trading system using the results of our classifier. We experimented with the proposed trading system on the American index stocks. Our experimental results show that the proposed method outperforms the buy-and-hold and decision tree-based method.

References

  1. J. Chakole and M. Kurhekar, “Trend following deep q-learning strategy for stock trading,” Expert Systems, p. e12514, 2019.
  2. S. M. Idrees, M. A. Alam, and P. Agarwal, “A prediction approach for stock market volatility based on time series data,” IEEE Access, vol. 7, pp. 17287–17298, 2019.
  3. J. Patel, S. Shah, P. Thakkar, and K. Kotecha, “Predicting stock and stock price index movement using trend deterministic data preparation and machine learning techniques,” Expert systems with applications, vol. 42, no. 1, pp. 259–268, 2015.
  4. F. A. de Oliveira, C. N. Nobre, and L. E. Zarate, “Applying artificial neural networks to prediction of stock price and improvement of the directional prediction index–case study of petr4, petrobras, brazil,” Expert Systems with Applications, vol. 40, no. 18, pp. 7596–7606, 2013.
  5. J. B. Chakole, M. S. Kolhe, G. D. Mahapurush, A. Yadav, and M. P. Kurhekar, “A q-learning agent for automated trading in equity stock mar- kets,” Expert Systems with Applications, p. 113761, 2020.
  6. Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning. nature. 2015; 521 (7553): 436.”
  7. T. Fischer and C. Krauss, “Deep learning with long short-term memory net- works for financial market predictions,” European Journal of Operational Research, vol. 270, no. 2, pp. 654–669, 2018.
  8. H. Y. Kim and C. H. Won, “Forecasting the volatility of stock price index: A hybrid model integrating lstm with multiple garch-type models,” Expert Systems with Applications, vol. 103, pp. 25–37, 2018.
  9. Y. Liu, “Novel volatility forecasting using deep learning–long short term memory recurrent neural networks,” Expert Systems with Applications, vol. 132, pp. 99–109, 2019.
  10. K. Chen, Y. Zhou, and F. Dai, “A lstm-based method for stock returns pre- diction: A case study of china stock market,” in 2015 IEEE international conference on big data (big data), pp. 2823–2824, IEEE, 2015.
  11. L. Troiano, E. M. Villa, and V. Loia, “Replicating a trading strategy by means of lstm for financial industry applications,” IEEE transactions on industrial informatics, vol. 14, no. 7, pp. 3226–3234, 2018.
  12. A. M. Rather, A. Agarwal, and V. Sastry, “Recurrent neural network and a hybrid model for prediction of stock returns,” Expert Systems with Applications, vol. 42, no. 6, pp. 3234–3241, 2015.
  13. D. W. Lu, “Agent inspired trading using recurrent reinforcement learning and lstm neural networks,” arXiv preprint arXiv:1707.07338, 2017.
  14. S. Hochreiter and J. Schmidhuber, “Long short-term memory,” Neural computation, vol. 9, no. 8, pp. 1735–1780, 1997.

Downloads

Published

2020-08-30

Issue

Section

Research Articles

How to Cite

[1]
Mahdi Ismael Omar, Mujeeb Rahaman, " Stock Price Trend Forecasting using Long Short Term Memory Recurrent Neural Networks, IInternational Journal of Scientific Research in Computer Science, Engineering and Information Technology(IJSRCSEIT), ISSN : 2456-3307, Volume 6, Issue 4, pp.468-474, July-August-2020. Available at doi : https://doi.org/10.32628/CSEIT206474