TR
EN
Stock Closing Price Prediction with Machine Learning Algorithms: PETKM Stock Example In BIST
Abstract
This study predicts the stock price of Petkim Petrokimya Holding Corp. (PETKM), which is listed in Borsa Istanbul (BIST), using PETKM stock price, US dollar (USD/TRY) price and BIST Chemical, Petroleum & Plastic (XKMYA) index price. A time series data set with three inputs and one output is created using these data. Random Forest Regression (RFR), Long-Short Term Memory (LSTM), and Convolutional Neural Network (CNN) algorithms are used in the prediction model. The success of these methods is compared using performance metrics such as MSE, RMSE, MAE, and R2. According to the calculated error metrics, LSTM and RFR algorithms gave better results than CNN with an MSE value less than 0.02. However, the fact that the R2 values of the most successful models created with all three algorithms were greater than 95% revealed that all the algorithms mentioned could be used to estimate this data set.
Keywords
References
- J. C. Jackson, J. Prassanna, Md. Abdul Quadir and V. Sivakumar, “Stock Market Analysis and Prediction using time series analysis,” Materials Today: Proceedings, 2021.
- W. Chen, H. Zhang, M. K. Mehlawat and L. Jia, “Mean-Variance Portfolio Optmization Using Machine Learning-Based Stock Price Prediction,” Applies Soft Computing Journal, vol 100, 2021.
- S. Carta, A. Ferreira, A. S. Poddo, D. R. Recupero and A. Sanna, “Multi-DQN: An Ensemble of Deep Q-Learning Agents for Stock Market Forcasting,” Expert Systems with Applications, vol 164, 2021.
- S. Arslankaya and Ş. Toprak, “Makine Öğrenmesi ve Derin Öğrenme Algoritmalarını Kullanarak Hisse Senedi Fiyat Tahmini,” Uluslararası Mühendislik Araştırma ve Geliştirme Dergisi vol. 13, no. 1, pp. 178-192, 2021.
- D. Wei, "Prediction of Stock Price Based on LSTM Neural Network," 2019 International Conference on Artificial Intelligence and Advanced Manufacturing (AIAM), 2019, pp. 544-547, doi: 10.1109/AIAM48774.2019.00113.
- Ş. Sakarya and Ü. Yılmaz, “Derin Öğrenme Mimarisi Kullanarak BİST30 İndeksinin Tahmini,” Europan Journal of Educational & Scocial Sciences, vol. 4, no. 2, pp. 106-121, 2019.
- A. Ghosh, S. Bose, G. Maji, N. C. Debnath and S. Sen, “Stock Price Prediction Using LSTM on Indian Share Market,” Proceedings of 32nd ONternational Conference on Computer Applications in Industry and Engineering. EPiC Series in Computing, 2019, pp. 101-110, doi:10.29007/qgcz
- Z. D. Akşehir and E. Kılıç, “Makine Öğrenmesi Teknikleri ile Banka Hisse Senetlerinin Fiyat Tahmini,” Türkiye Bilişim Vakfı Bilgisayar Bilimleri ve Mühendisliği Dergisi, vol. 12, no.2, pp. 30-39, 2019.
Details
Primary Language
English
Subjects
Engineering
Journal Section
Research Article
Publication Date
April 30, 2023
Submission Date
April 3, 2022
Acceptance Date
August 29, 2022
Published in Issue
Year 2023 Volume: 11 Number: 2
APA
Toprak, Ş., Çağıl, G., & Kökçam, A. H. (2023). Stock Closing Price Prediction with Machine Learning Algorithms: PETKM Stock Example In BIST. Duzce University Journal of Science and Technology, 11(2), 958-976. https://doi.org/10.29130/dubited.1096767
AMA
1.Toprak Ş, Çağıl G, Kökçam AH. Stock Closing Price Prediction with Machine Learning Algorithms: PETKM Stock Example In BIST. DUBİTED. 2023;11(2):958-976. doi:10.29130/dubited.1096767
Chicago
Toprak, Şevval, Gültekin Çağıl, and Abdullah Hulusi Kökçam. 2023. “Stock Closing Price Prediction With Machine Learning Algorithms: PETKM Stock Example In BIST”. Duzce University Journal of Science and Technology 11 (2): 958-76. https://doi.org/10.29130/dubited.1096767.
EndNote
Toprak Ş, Çağıl G, Kökçam AH (April 1, 2023) Stock Closing Price Prediction with Machine Learning Algorithms: PETKM Stock Example In BIST. Duzce University Journal of Science and Technology 11 2 958–976.
IEEE
[1]Ş. Toprak, G. Çağıl, and A. H. Kökçam, “Stock Closing Price Prediction with Machine Learning Algorithms: PETKM Stock Example In BIST”, DUBİTED, vol. 11, no. 2, pp. 958–976, Apr. 2023, doi: 10.29130/dubited.1096767.
ISNAD
Toprak, Şevval - Çağıl, Gültekin - Kökçam, Abdullah Hulusi. “Stock Closing Price Prediction With Machine Learning Algorithms: PETKM Stock Example In BIST”. Duzce University Journal of Science and Technology 11/2 (April 1, 2023): 958-976. https://doi.org/10.29130/dubited.1096767.
JAMA
1.Toprak Ş, Çağıl G, Kökçam AH. Stock Closing Price Prediction with Machine Learning Algorithms: PETKM Stock Example In BIST. DUBİTED. 2023;11:958–976.
MLA
Toprak, Şevval, et al. “Stock Closing Price Prediction With Machine Learning Algorithms: PETKM Stock Example In BIST”. Duzce University Journal of Science and Technology, vol. 11, no. 2, Apr. 2023, pp. 958-76, doi:10.29130/dubited.1096767.
Vancouver
1.Şevval Toprak, Gültekin Çağıl, Abdullah Hulusi Kökçam. Stock Closing Price Prediction with Machine Learning Algorithms: PETKM Stock Example In BIST. DUBİTED. 2023 Apr. 1;11(2):958-76. doi:10.29130/dubited.1096767
Cited By
Makine öğrenmesi yöntemleri ile hisse senedi fiyat tahmini: kâğıt firması örneği
Artvin Çoruh Üniversitesi Orman Fakültesi Dergisi
https://doi.org/10.17474/artvinofd.1500569Ranking the determinants of financial performance using machine learning methods: an application to BIST energy companies
Mathematical Modelling and Numerical Simulation with Applications
https://doi.org/10.53391/mmnsa.1594426Forecasting the XBANK Index in Türkiye Using Macroeconomic Indicators: A Model Comparison with Ensemble Learning Methods
International Econometric Review
https://doi.org/10.33818/ier.1697921Stock Price Forecasting and Portfolio Selection Through Machine Learning: An Application on BIST Participation 30 Index
Yönetim ve Ekonomi Araştırmaları Dergisi
https://doi.org/10.11611/yead.1558158