Predict stock prices using the Generative Adversarial Networks


  • Saiful Azhari Mohammad Universitas Pradita, Tangerang, Indonesia
  • Handri Santoso Universitas Pradita, Tangerang, Indonesia




Generative Adversarial Networks, Longs Short Term Memory, Gated Recurrent Unit, Stock, Recurrent Neural Network


Predicting the price of a stock is very difficult. Due to very volatile prices. Many traders incorrectly predict stock prices, forex or trading commodities. It takes an analysis of each price movement. The purpose of the analysis is to predict price movements. One of them is the use of indicators that seek to help predict prices. Currently the development of Artificial Intelligence (AI) has grown very rapidly. Machine learning which is part of AI is also used to predict prices. Stocks are data that are related to time. Just like the weather. If the stock is analyzed then the suitable method is the time series method. The method used is Deep Learning, namely Recurrent Neural Network (RNN). A recurrent Neural Network is the same as Artificial Neural Network (ANN). ANN performs the processing of sequential data. RNN does not discard past problem data information, but will also enter past information as input. This is what distinguishes RNN and ANN. In the Recurrent Neural Network, there is a Long Short Term Memory Algorithm, Gated Recurrent Unit (GRU). One of the algorithms that can be used to predict stock prices is the Generative Adversarial Network. This algorithm was modified before being used. In the GAN algorithm, there are Generators and Discriminators. Because stock is a process that is carried out in the presence of time or time series, the Generative is modified with Long Short Term Memory and Discriminator uses Long Short Term Memory

GS Cited Analysis


Download data is not yet available.


Afrianto, N., Fudholi, D. H., & Rani, S. (2022). Prediksi Harga Saham Menggunakan BiLSTM dengan Faktor Sentimen Publik. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 6(1), 41–46.

Althelaya, K. A., El-Alfy, E. S. M., & Mohammed, S. (2018). Stock Market Forecast Using Multivariate Analysis with Bidirectional and Stacked (LSTM, GRU). 21st Saudi Computer Society National Computer Conference, NCC 2018, 1–7.

Cho, K., Van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014). Learning phrase representations using RNN encoder-decoder for statistical machine translation. EMNLP 2014 - 2014 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Conference, 1724–1734.

Chung, J., Gulcehre, C., Cho, K., & Bengio, Y. (2014). Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling. April 2015.

Dwiyanto, M. A., Djamal, C. E., & Maspupah, A. (2019). Prediksi Harga Saham menggunakan Metode Recurrent Neural Network. Seminar Nasional Aplikasi Teknologi Informasi (SNATI), 33–38.

Goodfellow, I., Mehdi, M., Bing, X., & David, W. (2014). Generative Adversarial Nets.

Hastomo, W., Karno, A. S. B., Kalbuana, N., Nisfiani, E., & ETP, L. (2021). Optimasi Deep Learning untuk Prediksi Saham di Masa Pandemi Covid-19. … (Jurnal Edukasi Dan …, 7(2), 133–140.

Hochreiter, S., & Schmidhuber, J. (1997). Long Short-Term Memory. Neural Computation, 9(8), 1735–1780.

Khalis Sofi, Aswan Supriyadi Sunge, Sasmitoh Rahmad Riady, & Antika Zahrotul Kamalia. (2021). Perbandingan Algoritma Linear Regression, Lstm, Dan Gru Dalam Memprediksi Harga Saham Dengan Model Time Series. Seminastika, 3(1), 39–46.

Le Calvez, A., & Cliff, D. (2019). Deep Learning can Replicate Adaptive Traders in a Limit-Order-Book Financial Market. Proceedings of the 2018 IEEE Symposium Series on Computational Intelligence, SSCI 2018, 1876–1883.

Pulver, A., & Lyu, S. (2017). LSTM with working memory. Proceedings of the International Joint Conference on Neural Networks, 2017-May, 845–851.

Rashid, T. A., Abbas, D. K., & Turel, Y. K. (2019). A multi hidden recurrent neural network with a modified grey Wolf optimizer. In PLoS ONE (Vol. 14, Issue 3).

Waluyo, A. C., & Parasetya, M. T. (2021). Pengaruh manajemen laba terhadap tingkat oversubscription pada umkm yang melakukan initial public offering di Bursa Efek Indonesia. Diponegoro Journal Of Management, 10(2), 1–10.

Wang, J., Yan, J., Li, C., Gao, R. X., & Zhao, R. (2019). Deep heterogeneous GRU model for predictive analytics in smart manufacturing: Application to tool wear prediction. Computers in Industry, 111, 1–14.

Yahoo, F. (1994). Finance Yahoo.


Crossmark Updates

How to Cite

Mohammad, S. A., & Santoso, H. (2022). Predict stock prices using the Generative Adversarial Networks. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 7(2), 560-567.

Most read articles by the same author(s)

1 2 > >>