Research Article

Stock Price Forecasting with Deep Learning Techniques

Volume: 11 Number: 2 December 31, 2023
EN

Stock Price Forecasting with Deep Learning Techniques

Abstract

In this study, LSTM (Long-Short Term Memory) and GRU (Gated Recurrent Unit) techniques of deep learning, which are among the latest advanced technologies, were applied in the Google Colab software program for stock price forecasting. The dataset used in the study was obtained from Yahoo Finance and covers the dates between 02/01/2013 and 30/12/2022. Forecast models were created by considering 5 companies belonging to the XELKT (Electricity Market in Borsa Istanbul) index, which is part of BIST (Borsa Istanbul). Subsequently, the success of these forecast models was tested with the calculated model performance criteria, aiming to determine whether the techniques used were successful in stock price forecasting. Additionally, based on the results of MSE (Mean Squared Error) and MAPE (Mean Absolute Percentage Error) among the calculated model performance criteria, the techniques used were compared with each other, aiming to determine which of these techniques provided forecasts with less error. Then, through the analysis conducted on four different days, an attempt was made to identify the day that yielded the most successful forecasts. As a final step, the goal was to find a model with the least error based on techniques, epoch number, and the number of days forecasted, considering both MSE and MAPE for stocks. Since the model performance criteria outputs obtained from these analyses are below 1 for MSE and below 5% for MAPE, it can be concluded that both techniques demonstrate successful stock price forecasting. Consequently, in the comparison between these two techniques, it is observed that the LSTM technique is slightly more successful than the GRU technique.

Keywords

Ethical Statement

Sayın Editör, Bu makale birinci sırada yer alan yazar Özgür SARACIK'ın 2023 yılı temmuz ayında yayınlanmış olan "DERİN ÖĞRENME TEKNİKLERİ KULLANILARAK HİSSE SENEDİ FİYATLARININ TAHMİN EDİLMESİ: BIST’TE BİR UYGULAMA" isimli Yüksek Lisans tezinden türetilmiştir. Bilgilerinize sunarız. Saygılarımızla

References

  1. Adaş, E. B., & Erbay, B. (2022). An Evaluation on the Sociology of AI. Gaziantep University Journal of Social Sciences, 326 - 337.
  2. Aktürk, C., & Talan, T. (2022). Bilgisayar Bilimlerinde Teorik ve Uygulamalı Araştırmalar. Efe Akademi.
  3. Amidi, A., & Amidi, S. (2018). VIP Cheatsheet: Recurrent Neural Networks. https://stanford.edu/~shervine/teaching/cs-230/cheatsheet-recurrent-neural-networks (Accessed: 03/01/2023)
  4. Arslan, K. (2020). AI and Applications in Education. Western Anatolia Journal of Educational Sciences, 71 - 88.
  5. Asher, C. (2021). The Role of AI in Characterizing the DCM phenotype. Frontiers in Cardiovascular Medicine, 1-20.
  6. Aslan, B. (2020). Derin Öğrenme ile Borsa Verileri Üzerine Tahminleme Yapılması (Yüksek Lisans Tezi). İzmir: Ege Üniversitesi Fen Bilimlei Enstitüsü.
  7. Athaiya, A., Sharma, S., & Sharma, S. (2020). Activation Function in Neural Networks. International Journal of Engineering Applied Sciences and Technology, 310 - 316.
  8. Aytekin, G. K. (2018). Türkiye’ de Sermaye Piyasaları ve Borsaların Gelişim Süreci. International Journal of Humanities and Education, 150-176.

Details

Primary Language

English

Subjects

Econometric and Statistical Methods

Journal Section

Research Article

Publication Date

December 31, 2023

Submission Date

September 8, 2023

Acceptance Date

October 12, 2023

Published in Issue

Year 2023 Volume: 11 Number: 2

APA
Saracık, Ö., & İncekırık, A. (2023). Stock Price Forecasting with Deep Learning Techniques. Alphanumeric Journal, 11(2), 137-156. https://doi.org/10.17093/alphanumeric.1357466

Alphanumeric Journal is hosted on DergiPark, a web based online submission and peer review system powered by TUBİTAK ULAKBIM.

Alphanumeric Journal is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License