Stock Price Prediction Using Machine Learning: Evidence from Pakistan Stock Exchange

This research investigates the utilization of machine learning methodologies for the purpose of forecasting the fluctuations in stock values inside the financial market. The application of a Random Forest classifier is utilized on a dataset including historical stock prices (namely, the KSE-100 Ind...

Full description

Saved in:
Bibliographic Details
Main Authors: Zafar Akhter, Dr. Hassan Raza
Format: Article
Language:English
Published: National University of Modern Languages (NUML), Islamabad 2024-06-01
Series:NUML International Journal of Business & Management
Subjects:
Online Access:https://nijbm.numl.edu.pk/index.php/BM/article/view/197
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:This research investigates the utilization of machine learning methodologies for the purpose of forecasting the fluctuations in stock values inside the financial market. The application of a Random Forest classifier is utilized on a dataset including historical stock prices (namely, the KSE-100 Index) to generate predictions regarding the future movement of stocks, specifically whether they would experience an increase or decrease. The model is trained via a sliding window methodology and is assessed through the utilization of precision, recall, and F1-score criteria. The study furthermore incorporates the utilization of back testing and hyper-parameter tweaking techniques in order to enhance the performance of the model. The findings indicate that the model demonstrates a precision score of 58%, representing an enhancement compared to the previous score of 48%. Nevertheless, the model's total accuracy stands at a mere 58%, underscoring the need for future enhancements. The report additionally proposes potential avenues for future research, such as exploring alternate data sources, employing sentiment analysis techniques, and developing more advanced algorithms. The findings of this study hold significant significance for investors and financial institutions, as they highlight the potential of machine learning in facilitating informed investment decisions and improving financial forecasts and analysis.
ISSN:2410-5392
2521-473X