Stock price forecasting in Indonesia stock exchange using deep learning: a comparative study

Agus Tri Haryono, Riyanarto Sarno, Kelly Rossa Sungkono

Abstract


In 2022, the Indonesia stock exchange (IDX) listed 825 companies, making it challenging to identify low-risk companies. Stock price forecasting and price movement prediction are vital issues in financial works. Deep learning has previously been implemented for stock market analysis, with promising results. Because of the differences in architecture and stock issuers in each study report, a consensus on the best stock price forecasting model has yet to be reached. We present a methodology for comparing the performance of convolutional neural networks (CNN), gated recurrent units (GRU), long short-term memory (LSTM), and graph convolutional networks (GCN) layers. The four layers types combination yields 11 architectures with two layers stacked maximum, and the architectures are performance compared in stock price predicting. The dataset consists of open, highest, lowest, closed price, and volume transactions and has 2,588,451 rows from 727 companies in IDX. The best performance architecture was chosen by a vote based on the coefficient of determination (R2), mean squared error (MSE), root mean square error (RMSE), mean absolute percent error (MAPE), and f1-score. TFGRU is the best architecture, producing the finest results on 315 companies with an average score of RMSE is 553.327, MAPE is 0.858, and f1-score is 0.456.

Keywords


Benchmark deep learning; Gated recurrent units; Indonesia stock exchange; Stock price forecasting; Trend evaluation;

Full Text:

PDF


DOI: http://doi.org/10.11591/ijece.v14i1.pp861-869

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Electrical and Computer Engineering (IJECE)
p-ISSN 2088-8708, e-ISSN 2722-2578

This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).