Research Article

Sector-Based Stock Price Prediction with Machine Learning Models

Volume: 5 Number: 3 December 31, 2022
EN

Sector-Based Stock Price Prediction with Machine Learning Models

Abstract

Stock price prediction is an important topic for investors and companies. The increasing effect of machine learning methods in every field also applies to stock forecasting. In this study, it is aimed to predict the future prices of the stocks of companies in different sectors traded on the Borsa Istanbul (BIST) 30 Index. For the study, the data of two companies selected as examples from each of the holding, white goods, petrochemical, iron and steel, transportation and communication sectors were analyzed. In the study, in addition to the share analysis of the sectors, the price prediction performances of the machine learning algorithm on a sectoral basis were examined. For these tests, XGBoost, Support Vector Machines (SVM), K-nearest neighbors (KNN) and Random Forest (RF) algorithms were used. The obtained results were analyzed with mean absolute error (MAE), mean absolute percent error (MAPE), mean squared error (MSE), and R2 correlation metrics. The best estimations on a sectoral basis were made for companies in the Iron and Steel and Petroleum field. One of the most important innovations in the study is the examination of the effect of current macro changes on the forecasting model. As an example, the effect of the changes in the Central Bank Governors, which took place three times in the 5-year period, on the forecast was investigated. The results showed that the unpredictable effects on the policies after the change of Governors also negatively affected the forecast performance

Keywords

Thanks

This study was partially carried out in the Software Technologies Research Laboratory (STAR Lab) of the Kocaeli University Software Engineering Department.

References

  1. [1] I. K. Nti, A. F. Adekoya and B. A. Weyori, "A systematic review of fundamental and technical analysis of stock market predictions," Artificial Intelligence Review, 53(4), pp. 3007-3057, 2020.
  2. [2] H. Dağlı, "Sermaye Piyasası ve Portföy Analizi," 3rd Ed., Derya Kitabevi, Trabzon, 2009.
  3. [3] S. Tekin, "Destek vektör makineleri yöntemi ile İMKB 100 endeksi hareket yönü tahmini" Uşak University Social Sciences Institute, Master Thesis, Uşak, 2013.
  4. [4] U Demirel, "Hisse senedi fiyatlarının makine öğrenmesi yöntemleri ve derin öğrenme algoritmaları ile tahmini", Giresun University Social Sciences Institute, Master Thesis, 2019
  5. [5] P. Chhajer, M. Shah and A. Kshirsagar, "The applications of artificial neural networks, support vector machines, and long–short term memory for stock market prediction," Decision Analytics Journal, 2, 100015, 2022.
  6. [6] Z. D. Akşehir and E. Kılıç, "Prediction of Bank Stocks Price with Machine Learning Techniques", TBV Journal of Computer Science and Engineering, 12 (2) , pp. 30-39, 2019.
  7. [7] E. Filiz, H. A. Karaboğa and S. Akoğul, "Bist-50 index change values classification using machine learning methods and artificial neural networks", Çukurova Üniversitesi Sosyal Bilimler Enstitüsü Dergisi, 26(1), pp. 231-241, 2017.
  8. [8] H. S. Sim, H. I. Kim and J. J. Ahn, "Is Deep Learning for Image Recognition Applicable to Stock Market Prediction", Complexity, 4324878, 2019.

Details

Primary Language

English

Subjects

Artificial Intelligence , Software Engineering

Journal Section

Research Article

Publication Date

December 31, 2022

Submission Date

November 7, 2022

Acceptance Date

November 30, 2022

Published in Issue

Year 2022 Volume: 5 Number: 3

APA
Kocaoğlu, D., Turgut, K., & Konyar, M. Z. (2022). Sector-Based Stock Price Prediction with Machine Learning Models. Sakarya University Journal of Computer and Information Sciences, 5(3), 415-426. https://doi.org/10.35377/saucis...1200151
AMA
1.Kocaoğlu D, Turgut K, Konyar MZ. Sector-Based Stock Price Prediction with Machine Learning Models. SAUCIS. 2022;5(3):415-426. doi:10.35377/saucis.1200151
Chicago
Kocaoğlu, Doğangün, Korhan Turgut, and Mehmet Zeki Konyar. 2022. “Sector-Based Stock Price Prediction With Machine Learning Models”. Sakarya University Journal of Computer and Information Sciences 5 (3): 415-26. https://doi.org/10.35377/saucis. 1200151.
EndNote
Kocaoğlu D, Turgut K, Konyar MZ (December 1, 2022) Sector-Based Stock Price Prediction with Machine Learning Models. Sakarya University Journal of Computer and Information Sciences 5 3 415–426.
IEEE
[1]D. Kocaoğlu, K. Turgut, and M. Z. Konyar, “Sector-Based Stock Price Prediction with Machine Learning Models”, SAUCIS, vol. 5, no. 3, pp. 415–426, Dec. 2022, doi: 10.35377/saucis...1200151.
ISNAD
Kocaoğlu, Doğangün - Turgut, Korhan - Konyar, Mehmet Zeki. “Sector-Based Stock Price Prediction With Machine Learning Models”. Sakarya University Journal of Computer and Information Sciences 5/3 (December 1, 2022): 415-426. https://doi.org/10.35377/saucis. 1200151.
JAMA
1.Kocaoğlu D, Turgut K, Konyar MZ. Sector-Based Stock Price Prediction with Machine Learning Models. SAUCIS. 2022;5:415–426.
MLA
Kocaoğlu, Doğangün, et al. “Sector-Based Stock Price Prediction With Machine Learning Models”. Sakarya University Journal of Computer and Information Sciences, vol. 5, no. 3, Dec. 2022, pp. 415-26, doi:10.35377/saucis. 1200151.
Vancouver
1.Doğangün Kocaoğlu, Korhan Turgut, Mehmet Zeki Konyar. Sector-Based Stock Price Prediction with Machine Learning Models. SAUCIS. 2022 Dec. 1;5(3):415-26. doi:10.35377/saucis. 1200151

Cited By

 

INDEXING & ABSTRACTING & ARCHIVING

 

31045 31044   ResimLink - Resim Yükle  31047 

31043 28939 28938 34240
 

 

29070    The papers in this journal are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License