COMPARATIVE ANALYSIS OF STOCK MARKET PRICE BEHAVIOR THROUGH MACHINE LEARNING APPROACHES

Authors

  • SUNDAS NAQEEB KHAN Department of Graphics Computer Vision and Digital Systems, Silesian University of Technology, Gliwice, Poland.
  • SAMRA UROOJ KHAN Faculty of Electrical and Electronic Engineering, Universiti Malaysia Pahang Al-Sultan Abdullah, Pahang, Malaysia.
  • OSAMA SHAFIQUE Department of Information and Technology, University of the Punjab Jhelum Campus, Punjab, Pakistan.
  • ZUNAIRA ANSAR Department of Information and Technology, University of the Punjab Jhelum Campus, Punjab, Pakistan.
  • PAKEEZA IMRAN Department of Information and Technology, University of the Punjab Jhelum Campus, Punjab, Pakistan.
  • MATLOOB HUSSAIN ALTAMISH Department of Information and Technology, University of the Punjab Jhelum Campus, Punjab, Pakistan.
  • AMEER HAMZA Department of Information and Technology, University of the Punjab Jhelum Campus, Punjab, Pakistan.

DOI:

https://doi.org/10.55197/qjssh.v6i2.620

Keywords:

machine learning, weighted rate, macro rate, KNN, SVM, NB

Abstract

Stock prices reflect the inherent fluctuations of the stock market, making stock trading a challenging endeavor that often results in monetary loss. This research examines the ability of machine learning algorithms to predict stock prices, focusing specifically on K-Nearest Neighbors (KNN), Support Vector Machine (SVM), and Naive Bayes (NB). The study aims to predict stock prices and compare the outcomes of these algorithms based on their accuracy levels to determine the best-performing algorithm for future use. It addresses common limitations in similar studies, such as small sample sizes, limited time frames, and the neglect of external factors that can influence stock prices. By acknowledging these limitations, the study provides a more comprehensive and reliable analysis, highlighting the potential of machine learning algorithms for predicting stock market prices. However, it underscores the importance of considering economic indicators, market sentiment, and geopolitical events when applying machine learning to stock price prediction. This research demonstrates that while these algorithms have significant potential, their application must be guided by a careful evaluation of limitations and external influences to effectively reduce trading risks and enhance investment strategies.

References

Althelaya, K.A., El-Alfy, E.S.M., Mohammed, S. (2018): Evaluation of bidirectional LSTM for short-and long-term stock market prediction. – In 2018 9th International Conference on Information and Communication Systems (ICICS), IEEE 6p.

Attigeri, G.V., MM, M.P., Pai, R.M., Nayak, A. (2015): Stock market prediction: A big data approach. – In TENCON 2015-2015 IEEE Region 10 Conference, IEEE 5p.

Bhattacharjee, I., Bhattacharja, P. (2019): Stock price prediction: a comparative study between traditional statistical approach and machine learning approach. – In 2019 4th International Conference on Electrical information and Communication Technology (EICT), IEEE 6p.

Chandar, S.K. (2021): Forecasting intraday stock price using ANFIS and bio-inspired algorithms. – International Journal of Networking and Virtual Organisations 25(1): 29-47.

Chong, E., Han, C., Park, F.C. (2017): Deep learning networks for stock market analysis and prediction: Methodology, data representations, and case studies. – Expert Systems with Applications 83: 187-205.

Gandhmal, D.P., Kumar, K. (2019): Systematic analysis and review of stock market prediction techniques. – Computer Science Review 34: 15p.

Hiransha, M.E.A.G., Gopalakrishnan, E.A., Menon, V.K., Soman, K.P. (2018): NSE stock market prediction using deep-learning models. – Procedia Computer Science 132: 1351-1362.

Khare, K., Darekar, O., Gupta, P., Attar, V.Z. (2017): Short term stock price prediction using deep learning. – In 2017 2nd IEEE International Conference on Recent Trends in Electronics, Information & Communication Technology (RTEICT), IEEE 5p.

Kumar, I., Dogra, K., Utreja, C., Yadav, P. (2018l): A comparative study of supervised machine learning algorithms for stock market trend prediction. – In 2018 Second International Conference on Inventive Communication and Computational Technologies (ICICCT), IEEE 5p.

Kumar Chandar, S. (2021): Stock price prediction based on technical indicators with soft computing models. – In Image Processing and Capsule Networks: ICIPCN 2020, Springer International Publishing 15p.

Lee, J., Kim, R., Koh, Y., Kang, J. (2019): Global stock market prediction based on stock chart images using deep Q-network. – IEEE Access 7: 167260-167277.

Mahajan Shubhrata, D., Deshmukh Kaveri, V., Thite Pranit, R., Samel Bhavana, Y., Chate, P.J. (2016): Stock market prediction and analysis using Naïve Bayes. – International Journal on Recent and Innovation Trends in Computing and Communication 4(11): 121-124.

Mehtab, S., Sen, J. (2020): Stock price prediction using CNN and LSTM-based deep learning models. – In 2020 International Conference on Decision Aid Sciences and Application (DASA), IEEE 7p.

Nabipour, M., Nayyeri, P., Jabani, H., Mosavi, A., Salwana, E., S, S. (2020): Deep learning for stock market prediction. – Entropy 22(8): 23p.

Nikou, M., Mansourfar, G., Bagherzadeh, J. (2019): Stock price prediction using DEEP learning algorithm and its comparison with machine learning algorithms. – Intelligent Systems in Accounting, Finance and Management 26(4): 164-174.

Reddy, V.K.S., Sai, K. (2018): Stock market prediction using machine learning. – International Research Journal of Engineering and Technology (IRJET) 5(10): 1033-1035.

Shah, S., Ismail, I., Shahrin, A. (2019): Stock market manipulation: a comparative analysis of East Asian emerging and developed financial markets. – Management Science Letters 9(1): 183-192.

Vargas, M.R., Dos Anjos, C.E., Bichara, G.L., Evsukoff, A.G. (2018): Deep leaming for stock market prediction using technical indicators and financial news articles. – In 2018 International Joint Conference on Neural Networks (IJCNN), IEEE 8p.

Zhang, D., Lou, S. (2021): The application research of neural network and BP algorithm in stock price pattern classification and prediction. – Future Generation Computer Systems 115: 872-879.

Downloads

Published

2025-04-29

Issue

Section

Articles

How to Cite

COMPARATIVE ANALYSIS OF STOCK MARKET PRICE BEHAVIOR THROUGH MACHINE LEARNING APPROACHES. (2025). Quantum Journal of Social Sciences and Humanities, 6(2), 29-41. https://doi.org/10.55197/qjssh.v6i2.620