Vol. 6 No. 1 (2025) • Articles
Open Access

Peningkatan Akurasi Nilai Harga Saham Menggunakan Metode Long Short-Term Memory (LSTM) pada PT Unilever Tbk

Veri Arinal
Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika
Melli Puspita
Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika
Published: January 10, 2025 Pages: 252-260
Original Full-Text Article
Download published version for reading and archiving
Abstract

The rapid development of technology has an impact on the economy of society, one of which is investing in stocks. Stocks are a proof of an individual's ownership of an asset in a company. However, stock prices have a very high level of fluctuation, so an accurate method is needed to help predict stock prices. LSTM and GRU were chosen due to their intrinsic ability to handle long-term and short-term issues in time series data. LSTM has a complex memory structure that allows decision-making based on long-term and short-term information. Meanwhile, GRU has a simpler structure with a focus on gate mechanisms to control the flow of information, resulting in a lighter and faster model. Therefore, this study will compare two RNN methods, namely Long Short Term Memory (LSTM) and Gated Recurrent Unit (GRU), in predicting stock prices using the stock price data of PT. Unilever (UNVR) with evaluation metrics MAPE and RMSE. The combination of parameters used to evaluate the MAPE and RMSE values in this study includes learning rate, timesteps, batch size, and epoch. The results of this study indicate that the GRU method is more accurate compared to the LSTM method. This is evidenced by the evaluation results of the LSTM method with the lowest MAPE value of 2.42% and the lowest RMSE value of 0.01807, while the evaluation results of the GRU method with the lowest MAPE value of 2.14% and the lowest RMSE value of 0.01775. The combination of parameters used in this study also has an impact on the final MAPE and RMSE results, especially with the use of learning rates of 0.001 and 0.0001. Thus, it can be concluded in this study that the GRU method is more accurate and effective compared to the LSTM method in predicting stock prices.

Article Metrics & Downloads Graph
Monthly Download Trends:
Author Biographies
Veri Arinal Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika

Program Studi Teknik Informatika, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta, Indonesia.

Melli Puspita Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika

Program Studi Teknik Informatika, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta, Indonesia.

How to Cite
Arinal, V., & Puspita, M. (2025). Peningkatan Akurasi Nilai Harga Saham Menggunakan Metode Long Short-Term Memory (LSTM) pada PT Unilever Tbk. Jurnal Indonesia : Manajemen Informatika Dan Komunikasi, 6(1), 252-260. https://doi.org/10.35870/jimik.v6i1.1190
License

Creative Commons Attribution 4.0 International License (CC BY 4.0)

This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License .

  • Share: You are free to copy, distribute, and transmit the work in any medium or format.
  • Adapt: You are free to remix, transform, and build upon the work for any purpose, even commercially.
  • Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Copyright & Retention: Authors retain copyright without restrictions and grant this journal the right of first publication under an open-access model. The journal retains non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.

References
Total: 14 References
  1. Arfan, A., & Lussiana, E. T. P. (2020). Perbandingan algoritma long short-term memory dengan SVR pada prediksi harga saham di Indonesia.
  2. Elviani, S., Simbolon, R., & Dewi, S. P. (2019). Faktor-Faktor Yang Mempengaruhi Harga Saham Perusahaan Telekomunikasi. JRAM (Jurnal Riset Akuntansi Multiparadigma), 6(1).
  3. Gao, T., Chai, Y., & Liu, Y. (2017, November). Applying long short term momory neural networks for predicting stock closing price. In 2017 8th IEEE international conference on software engineering and service science (ICSESS) (pp. 575-578). IEEE. https://doi.org/10.1109/ICSESS.2017.8342981.
  4. Hastomo, W., Karno, A. S. B., Kalbuana, N., Nisfiani, E., & Lussiana, E. T. P. (2021). Optimasi deep learning untuk prediksi saham di masa pandemi covid-19. JEPIN (Jurnal Edukasi dan Penelitian Informatika), 7(2), 133-140.
  5. Idrees, S. M., Alam, M. A., & Agarwal, P. (2019). A prediction approach for stock market volatility based on time series data. IEEE Access, 7, 17287-17298.
  6. Khashei, M., Bijari, M., & Ardali, G. A. R. (2009). Improvement of auto-regressive integrated moving average models using fuzzy logic and artificial neural networks (ANNs). Neurocomputing, 72(4-6), 956-967. https://doi.org/10.1016/j.neucom.2008.04.017.
  7. Lathifah, H. M., Febrianti, D. S., Utami, A. P., Ulhaq, A. A., Tulasmi, T., & Mukti, T. (2021). Dampak pandemi COVID-19 terhadap nilai harga saham syariah di Indonesia. Jurnal Ilmiah Ekonomi Islam, 7(1), 223-229. http://dx.doi.org/10.29040/jiei.v7i1.1772.
  8. Lilipaly, G. S., Hatidja, D., & Kekenusa, J. S. (2014). Prediksi harga saham PT. BRI, TBK. Menggunakan metode ARIMA (autoregressive integrated moving average). Jurnal Ilmiah Sains, 60-67. https://doi.org/10.35799/jis.14.2.2014.5927.
  9. Meriani, A. P., & Rahmatulloh, A. (2024). Perbandingan Gated Recurrent Unit (Gru) Dan Algoritma Long Short Term Memory (Lstm) Linear Refression Dalam Prediksi Harga Emas Menggunakan Model Time Series. Jurnal Informatika dan Teknik Elektro Terapan, 12(1). http://dx.doi.org/10.23960/jitet.v12i1.3808.
  10. Prayogi, K., Gata, W., & Kussanti, D. P. (2024). Prediksi Harga Saham Bank Central Asia Menggunakan Algoritma Deep Learning GRU. Jutisi: Jurnal Ilmiah Teknik Informatika dan Sistem Informasi, 13(1), 647-658. http://dx.doi.org/10.35889/jutisi.v13i1.1910.
  11. Puteri, D. I. (2023). Implementasi Long Short Term Memory (LSTM) dan Bidirectional Long Short Term Memory (BiLSTM) Dalam Prediksi Harga Saham Syariah. Euler: Jurnal Ilmiah Matematika, Sains dan Teknologi, 11(1), 35-43. https://doi.org/10.34312/euler.v11i1.19791.
  12. Santoso, A., & Hansun, S. (2019). Prediksi IHSG dengan Backpropagation Neural Network. Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), 3(2), 313-318.
  13. Siami-Namini, S., Tavakoli, N., & Namin, A. S. (2018, December). A comparison of ARIMA and LSTM in forecasting time series. In 2018 17th IEEE international conference on machine learning and applications (ICMLA) (pp. 1394-1401). Ieee.
  14. Sofi, K., Sunge, A. S., Riady, S. R., & Kamalia, A. Z. (2021). Perbandingan algoritma linear regression, LSTM, dan GRU dalam memprediksi harga saham dengan model time series. PROSIDING SEMINASTIKA, 3(1), 39-46. https://doi.org/10.47002/seminastika.v3i1.275.
Most read articles by the same author(s)

Other papers published by author(s) in this journal:

SISTEM MONITORING DAYA LISTRIK MENGGUNAKAN INTERNET OF THING (IOT) BERBASIS MOBILE
Pengembangan Sistem Monitoring Kualitas Air dan Kendali Pakan Otomatis untuk Budidaya Ikan Berbasis Internet of Things
Sistem Pemantauan Suhu dan Kelembapan Kandang Ayam Berbasis IoT dengan Notifikasi Telegram Otomatis
Implementasi Sistem Informasi Pengukuran Kinerja Karyawan di PT Hetra Vexa Group dengan Pendekatan Key Performance Indikator
Pencarian Rute Terpendek dari Kampung Duri Kosambi Menuju Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika Jakarta Timur Menggunakan Algoritma A* (A-Star)