Author:
Joseph Samuel,Mduma Neema,Nyambo Devotha
Abstract
Stock price prediction models help traders to reduce investment risk and choose the most profitable stocks. Machine learning and deep learning techniques have been applied to develop various models. As there is a lack of literature on efforts to utilize such techniques to predict stock prices in Tanzania, this study attempted to fill this gap. This study selected active stocks from the Dar es Salaam Stock Exchange and developed LSTM and GRU deep learning models to predict the next-day closing prices. The results showed that LSTM had the highest prediction accuracy with an RMSE of 4.7524 and an MAE of 2.4377. This study also aimed to examine whether it is significant to account for the outstanding shares of each stock when developing a joint model for predicting the closing prices of multiple stocks. Experimental results with both models revealed that prediction accuracy improved significantly when the number of outstanding shares of each stock was taken into account. The LSTM model achieved an RMSE of 10.4734 when the outstanding shares were not taken into account and 4.7524 when they were taken into account, showing an improvement of 54.62%. However, GRU achieved an RMSE of 12.4583 when outstanding shares were not taken into account and 8.7162 when they were taken into account, showing an improvement of 30.04%. The best model was implemented in a web-based prototype to make it accessible to stockbrokers and investment advisors.
Publisher
Engineering, Technology & Applied Science Research
Reference31 articles.
1. J. Massele, C. Darroux, H. Jonathani, and X. Fengju, "Challenges faced by Dar-es-Salaam Stock Exchange Market in Tanzania," Research Journal of Finance and Accounting, vol. 4, no. 15, pp. 36–43, 2013.
2. A. Dingli and K. S. Fournier, "Financial Time Series Forecasting – A Deep Learning Approach," International Journal of Machine Learning and Computing, vol. 7, no. 5, pp. 118–122, Oct. 2017.
3. W. Jiang, "Applications of deep learning in stock market prediction: Recent progress," Expert Systems with Applications, vol. 184, Dec. 2021, Art. no. 115537.
4. O. Bustos and A. Pomares-Quimbaya, "Stock market movement forecast: A Systematic review," Expert Systems with Applications, vol. 156, Oct. 2020, Art. no. 113464.
5. B. Labiad, A. Berrado, and L. Benabbou, "Machine learning techniques for short term stock movements classification for Moroccan stock exchange," in 2016 11th International Conference on Intelligent Systems: Theories and Applications (SITA), Mohammedia, Morocco, Jul. 2016.
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Big Data in Education: Students at Risk as a Case Study;Engineering, Technology & Applied Science Research;2023-10-13
2. Evaluation of Stock Closing Prices using Transformer Learning;Engineering, Technology & Applied Science Research;2023-10-13