STOCK MARKET PRICE PREDICTION USING MACHINE LEARNING TECHNIQUES
Main Article Content
Abstract
Predicting stock market prices is a challenging task in the financial sector, where the Efficient Market Hypothesis (EMH) posits the impossibility of accurate prediction due to the inherent uncertainty and complexity of stock price behaviour. However, introducing Machine Learning algorithms has shown the feasibility of stock market price forecasting. This study employs advanced Machine Learning models that can predict stock price movements with the right level of accuracy if the correct parameter tuning and appropriate predictor models are developed. In this research work, the LSTM model, which is a type of Recurrent Neural Network (RNN), time series forecasting Facebook Prophet algorithm and Random Forest Regressor model have been implemented on 10 Dhaka Stock Market (DSEbd) listed companies and six international giants for predicting the stock and forecasting the future price. The dataset of domestic companies is extracted from the graphical representation of the DSEbd website, and the international companies' dataset is imported from Yahoo Finance. In this experiment, Facebook Prophet demonstrates a long period of forecasting with reasonable accuracy, capturing daily, weekly, and yearly seasonality, including holiday effects for market trend analysis. Remarkably, the LSTM model exhibits significant accuracy, yielding the best results with evaluation metrics, including RMSE (0.35), MAPE (0.50%), and MAE (0.30). The experimental results underscore the efficiency of LSTM for future stock forecasting, observed over 15 days of upcoming market prices. A comparison of the results shows that the LSTM model efficiently forecasts the next day's closing price.
JEL Classification Codes: H54, P42, G17, C88.
Downloads
Metrics
Article Details
This work is licensed under a Creative Commons Attribution 4.0 International License.
References
Akhtar, M. M., Zamani, A. S., Khan, S., Shatat, A. S. A., Dilshad, S., & Samdani, F. (2022). Stock market prediction based on statistical data using machine learning algorithms. Journal of King Saud University-Science, 34(4), 101940.
Dhaka Stock Exchange (DSE). (2023). Dhaka Stock Market Historical Data. Retrieved from https://www.dsebd.org
Hiransha, M., Gopalakrishnan, E. A., Menon, V. K., & Soman, K. P. (2018). NSE stock market prediction using deep-learning models. Procedia computer science, 132, 1351-1362.
Pai, P. F., & Lin, C. S. (2005). A hybrid ARIMA and support vector machines model in stock price forecasting. Omega, 33(6), 497-505.
Yoon, Y., & Swales, G. (1991, January). Predicting stock price performance: A neural network approach. In Proceedings of the twenty-fourth annual Hawaii international conference on system sciences (Vol. 4, pp. 156-162). IEEE.
World Bank (2018). Market capitalization of listed domestic companies (current US$). Retrieved from https://data.worldbank.org/indicator/CM.MKT.LCAP.CD