Journals / Business and Economics Research Journal / 2021 / Cilt: 12 - Sayı: 1
Predicting Direction of Stock Price Using Machine Learning Techniques: The Sample of Borsa Istanbul
- Pages
- 89–110
- DOI
- —
Abstract
In this study, stock price with the calculated next three-month average of five manufacturing industry companies in the Borsa İstanbul 30 Index and the Corporate Governance Index was predicted with the data of the 2010/3 and 2020/3 periods. The dataset consisted of quarterly nine financial statements and five macroeconomic variables with a three-month average of the sample companies. Artificial Neural Networks, Classification and Regression Tree, and K- Nearest Neighbor Algorithm were used as prediction methods. A 10-fold cross-validation method was used in all methods in the study. In Artificial Neural Networks, Classification and Regression Tree analysis, the models that gave the best results in line with the given parameter ranges were obtained by using the determining the best parameters and performance criteria function. According to the results of the analysis, general classification accuracy was achieved 98.05% for Artificial Neural Networks, 96.10% for Classification and Regression Tree, and 92.20% K-Nearest Neighbor Algorithm. “Net Profit Margin”, “Price/Earning”, “Profit Per Share”, “CDS Premium (3-month average)”, “Consumer Confidence Index” were found as important variables that divided the data into two in the creation of the Classification and Regression Tree (CART) analysis. This result shows that the models used in this study can be incorporated into the models used by investors.
Özet
Bu çalışmada Borsa İstanbul 30 Endeksinde ve Kurumsal Yönetim Endeksinde bulunan beş imalat sanayi şirketinin 2010/3 ve 2020/3 dönemine ait verilerle üç ay sonraki ortalaması alınmış pay senedi fiyat yönü tahmin edilmiştir. Veri seti, örnek kapsamındaki şirketlerin üçer aylık dokuz mali tablo verisi ve üç aylık ortalaması alınmış beş makroekonomik değişkenden oluşmaktadır. Tahmin yöntemleri olarak Yapay Sinir Ağları, Sınıflandırma ve Regresyon Ağacı ile K- En Yakın Komşu Algoritması kullanılmıştır. Çalışmada kullanılan tüm yöntemlerde 10 katlı çapraz doğrulama yöntemi kullanılmıştır. Yapay Sinir Ağları ile Sınıflandırma ve Regresyon Ağacı analizlerinde en iyi parametrelerin ve performans kriterlerinin belirlenmesi fonksiyonu kullanılarak verilen parametre aralıkları doğrultusunda en iyi sonuç veren modeller elde edilmiştir. Analiz sonucuna göre pay senedi fiyat yününü Yapay Sinir Ağları %98,05, Sınıflandırma ve Regresyon Ağacı %96,10 ve K- En Yakın Komşu Algoritması %92,20 oranında genel sınıflandırma doğruluğu elde etmiştir. Sınıflandırma ve Regresyon Ağacının oluşturulmasında verileri ikiye bölen önemli değişkenler olarak “Net Kâr Marjı”, “Fiyat/Kazanç Oranı”, “Hisse Başına Kâr Oranı”, “CDS Primi (üç aylık ortalama)” ve “Tüketici Güven Endeksi” bulunmuştur. Bu bulgular, yatırımcıların bu çalışmada kullanılan modelleri kullanabileceklerini ve/veya hali hazırda kullanmış oldukları modellere dâhil edebileceklerini göstermektedir.