Stock Price Forecasting with Deep Learning Techniques
Özgür Saracık and
Aynur İncekırık
Alphanumeric Journal, 2023, vol. 11, issue 2, 137-156
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: BIST; Deep Learning; Forecasting Stock Price; GRU; LSTM; XELKT (search for similar items in EconPapers)
JEL-codes: C46 (search for similar items in EconPapers)
Date: 2023
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.alphanumericjournal.com/media/Issue/vo ... rning-techniques.pdf (application/pdf)
https://alphanumericjournal.com/article/stock-pric ... -learning-techniques (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:anm:alpnmr:v:11:y:2023:i:2:p:137-156
DOI: 10.17093/alphanumeric.1357466
Access Statistics for this article
More articles in Alphanumeric Journal from Bahadir Fatih Yildirim
Bibliographic data for series maintained by Bahadir Fatih Yildirim ().