Forecasting PT Pertamina Geothermal Energy Tbk Stock Prices Using LSTM
DOI:
https://doi.org/10.26618/3nhw6v22Keywords:
Stock Price Forecasting, Long Short-Term Memory (LSTM), Time Series Forecasting, Deep Learning, Geothermal EnergyAbstract
This study employs a Long Short-Term Memory (LSTM) model to forecast the daily closing price of PT Pertamina Geothermal Energy Tbk (PGEO) and to assess its training and out-of-sample performance. The dataset comprises 233 daily closing-price observations from April 8, 2025, to March 31, 2026. The data were split chronologically into 186 training observations and 47 testing observations. Min-Max scaling and a 60-day look-back window were used to construct the input sequences. The model consisted of two LSTM layers with 64 and 32 units, each followed by a dropout layer with a rate of 0.20. It was trained for 100 epochs with a batch size of 32 using the Adam optimizer and mean squared error as the loss function. Performance was evaluated separately using Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). The training data produced an MSE of 3,322.34, an RMSE of 57.64, and a MAPE of 3.10%, while the testing data produced an MSE of 4,230.63, an RMSE of 65.04, and a MAPE of 5.02%. The higher testing errors indicate a moderate decline in performance on new observations. The model followed the broad price movement but had difficulty capturing abrupt daily changes. A recursive five-step forecast generated predicted prices ranging from IDR 951.32 to IDR 968.81. This increase applies only to the specified forecast horizon and should not be interpreted as evidence of a continuing upward trend or as investment advice.
Downloads
References
Akin, I., & Akin, M. (2024). Behavioral Finance Impacts on us Stock Market Volatility: An Analysis Of Market Anomalies. Behavioural Public Policy. https://doi.org/10.1017/bpp.2024.13
Andhika Viadinugroho, R. A., & Rosadi, D. (2021). Long Short-Term Memory Neural Network Model for Time Series Forecasting: Case Study of Forecasting IHSG during Covid-19 Outbreak. Journal of Physics: Conference Series, 1863(1), 012016.https://doi.org/10.1088/1742-6596/1863/1/012016
Bandhu, K. C., Litoriya, R., Jain, A., Shukla, A. V., & Vaidya, S. (2023). An improved technique for stock price prediction on real-time exploiting stream processing and deep learning. Multimedia Tools and Applications, 83(19), 57269–57289. https://doi.org/10.1007/s11042-023-17130-x
Chathli, R., Sachin, & Shambharkar, P. G. (2026). LSTM-GRU: Stocks Prediction Using Hybrid Machine Learning Algorithms (pp. 55–67). https://doi.org/10.1007/978-981-96-6053-7_4
Hafshejani, M. S., & Mansouri, N. (2025). Enhancing Stock Market Prediction with LSTM: A Review of Recent Developments and Comparative Analysis. Archives of Computational Methods in Engineering. https://doi.org/10.1007/s11831-025-10370-0
Hanifudin, N. (2024). Peramalan harga saham perusahaan energi baru terbarukan (EBT) menggunakan LSTM: Studi kasus saham PT Kencana Energi Lestari Tbk, PT Barito Renewables Energy Tbk, dan PT Pertamina Geothermal Energy Tbk [Undergraduate thesis, Universitas Islam Indonesia]. UII Institutional Repository. https://dspace.uii.ac.id/handle/123456789/54081
Hargreaves, C. A., & Fan, Z. (2026). Denoising Stock Price Time Series with Singular Spectrum Analysis for Enhanced Deep Learning Forecasting. Analytics, 5(1). https://doi.org/10.3390/analytics5010009
Huang, Y. (2022). Prediction of the Stock Price of Shanghai Securities Composite Index by Using Time-series Model. 2022 6th International Conference on E-Commerce, E-Business and E-Government, 237–242. https://doi.org/10.1145/3537693.3537729
Kurniansyah, J., Gusti, S. K., Yanto, F., & Affandes, M. (2025). Implementasi model Long Short Term Memory (LSTM) dalam prediksi harga saham. Bulletin of Information Technology, 6(2), 79–86. https://doi.org/10.47065/bit.v6i2.2005
Kusumawardani, A. R. (2024). Volatilitas Saham PP Pertamina Geothermal Energy Tbk (PGEO) Dalam Konteks Dinamika Inflasi Tahun 2023-2024. Bisnis dan Pendidikan, 4(10). https://doi.org/10.17977/um066.v4.i10.2024.5
Lin, Y. (2024). Evaluation on stock market forecasting framework for AI and embedded real-time system. International Journal of Data Mining and Bioinformatics, 28(3/4), 219–235. https://doi.org/10.1504/IJDMB.2024.139448
PGEO. (2025). Laporan Tahunan 2025 LEADING AWAY.
Pradeep, A., Bharath Krishna, S., Gopan, D., Raj, R. S., & Regi Kumar, V. (2026). Prediction of NIFTY 50 (FMCG) Index Prices Using Long Short-Term Memory Neural Networks (pp. 271–279). https://doi.org/10.1007/978-981-95-0853-2_25
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
Ramadhan, R., Yurinanda, S., & Sarmada, S. (2025). Forecasting PT Pertamina Geothermal Energy Tbk (PGEO) share prices using the ARCH-GARCH model. Journal of Mathematics, Computations and Statistics, 8(2). https://doi.org/10.35580/jmathcos.v8i2.9493
Reddy, K. S., & Ramkumar, G. (2024). Prediction of share market stock price using long short-term memory and compare accuracy with logistic regression algorithm. 050052. https://doi.org/10.1063/5.0227925
Shankar, U., Khisti, D., & Chodisetty, C. M. R. S. (2025). Share price volatility in selected IT stocks listed in the NSE during the Russian and Ukraine war — An event analysis. In Digital Transformation and Sustainability of Business (pp. 692–696). CRC Press. https://doi.org/10.1201/9781003606185-165
Sinaga, M. S., Iskandar, S., Manullang, S., Arnita, A., Marpaung, F., & Buulolo, F. (2025). ENHANCING LQ45 STOCK PRICE FORECASTING USING LSTM MODEL. BAREKENG: Jurnal Ilmu Matematika Dan Terapan, 20(1), 0427–0438. https://doi.org/10.30598/barekengvol20iss1pp0427-0438
Srivinay, Manujakshi, B., Kabadi, M., & Naik, N. (2022). A Hybrid Stock Price Prediction Model Based on PRE and Deep Neural Network. Data, 7(5), 51. https://doi.org/10.3390/data7050051
Vaibhava Lakshmi, R., & Radha, S. (2021). Time series forecasting for the adobe software company’s stock prices using ARIMA (BOX-JENKIN’) model. Journal of Physics: Conference Series, 2115(1), 012044. https://doi.org/10.1088/1742-6596/2115/1/012044
W. M., K., Allagi, S., & Laddi, M. (2024). A Survey of Stock Market Prediction - Based on Machine Learning Techniques. 2024 Global Conference on Communications and Information Technologies (GCCIT), 1–5. https://doi.org/10.1109/GCCIT63234.2024.10862395
Wikipedia. (2025, August 24). Pertamina Geothermal Energy. https://id.wikipedia.org/wiki/Pertamina_Geothermal_Energy
Wu, H. (2023). Improving Stock Price Prediction using Linear Regression and Long Short-Term Memory Model (LR-LSTM). Proceedings of the 2023 4th International Conference on Big Data Economy and Information Management, 767–771. https://doi.org/10.1145/3659211.3659343
Yachou, N., Abahman, O., & Hakimi, K. (2026). Designing an LSTM-Based Model for Financial Asset Forecasting Using Machine Learning. Central European Economic Journal, 13(60), 1–23. https://doi.org/10.2478/ceej-2026-0001
Yang, C. (2025). Optimizing Stock Price Prediction with Deep Recurrent Neural Networks: From RNN to Peephole LSTM. Proceedings of the 2025 2nd International Conference on Big Data and Digital Management, 473–480. https://doi.org/10.1145/3768801.3768876
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Invoice : Jurnal Ilmu Akuntansi

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who publish with Invoice: Jurnal Ilmu Akuntansi agree to the following terms:
-
Copyright Ownership
The copyright of all articles published in this journal remains with the author(s). However, the authors grant Invoice: Jurnal Ilmu Akuntansi the right of first publication with the work simultaneously licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0). This license allows others to share, copy, redistribute, adapt, and build upon the work for any purpose, even commercially, as long as proper credit is given to the original author(s) and the source. -
Licensing and Access
Invoice: Jurnal Ilmu Akuntansi provides immediate open access to its content on the principle that making research freely available to the public supports a greater global exchange of knowledge. All published materials are available freely without subscription or payment and can be accessed, downloaded, and reused by any user provided that appropriate attribution is given. -
Permission for Reuse
For uses not covered by the CC BY 4.0 license, such as commercial reprints, translations, or any form of adaptation without clear attribution, users must obtain written permission from the editorial team. Requests for such permissions can be directed to the editorial office at: [invoice@unismuh.ac.id]. -
Plagiarism and Originality
Authors are responsible for the originality of their submissions. All articles are screened for plagiarism using appropriate tools before acceptance. Manuscripts found to contain unoriginal content or infringing materials will be rejected or retracted as per journal policy.

