Predicting Stock Market Trends Based on Macroeconomic Indicators through Machine Learning Approach: A Case Study of KSE 100 INDEX
Open Access
- 12 December 2023
- journal article
- Published by International Research Alliance for Sustainable Development in iRASD Journal of Economics
- Vol. 5 (4)
Abstract
The purpose of our research is to model the monthly price of the KSE 100 index based on Pakistan's macroeconomic indicators using a Machine Learning (ML) approach. The novelty of the study is forecasting the future value of the stock market using ML. Monthly data was collected for the period from Feb 2004 to Dec 2020. The output layer of our study is the closing price of the KSE 100 index, and the input layer consists of 16 macroeconomic variables of the Pakistan economy, which are the industrial production index (IPI), the exchange rate (EX-RATE), money supply (M2), consumer price index (CPI), foreign direct investment (FDI), Treasury bill on 3-months treasury, interest rate as KIBOR – Month Average (1 Month), Foreign Exchange reserves (FXR), Consumer Financing for house building (house financing), Balance of Trade (BOT), crude oil, Gold, Labor force participation rate, GDP growth (annual %), Households and NPISHs Final consumption expenditure (household consumption) (current US$), and Domestic savings. The prediction uses the Artificial Neural Network (ANN) Backpropagation algorithm. The model developed in this research achieved 99% accuracy using macroeconomic indicators. The accuracy level indicates that the model of the KSE 100 index can predict future trends. This study also forecasts the future monthly values of the KSE 100 index from Jan 21 to Jun 23 and daily future values from Oct 1, 2022, to Dec 31, 2020.Keywords
This publication has 24 references indexed in Scilit:
- RETRACTED ARTICLE: Modeling and prediction of KSE – 100 index closing based on news sentiments: an applications of machine learning model and ARMA (p, q) modelMultimedia Tools and Applications, 2022
- Machine learning techniques and data for stock market forecasting: A literature reviewExpert Systems with Applications, 2022
- Time-varying causal relationship between stock market and unemployment in the United Kingdom: Historical evidence from 1855 to 2017Journal of Multinational Financial Management, 2019
- The impact of macroeconomic indicators on Qatar stock exchange: A comparative study between Qatar exchange index and Al Rayyan Islamic index†Journal of Transnational Management, 2018
- Asymmetric impact of gold, oil prices and their volatilities on stock prices of emerging marketsResources Policy, 2016
- Stock markets and unemployment in industrial countriesApplied Economics Letters, 2011
- An Adaptive Network-Based Fuzzy Inference System (ANFIS) for the prediction of stock market return: The case of the Istanbul Stock ExchangeExpert Systems with Applications, 2010
- Macroeconomic influences on the stock marketJournal of Economics and Finance, 2001
- Relative Importance of Economic Factors in the U.S. and Japanese Stock MarketsJournal of the Japanese and International Economies, 1995
- Economic Forces and the Stock MarketThe Journal of Business, 1986