Published: 2025-12-01
Implementation of the Hybrid ARIMA-LSTM Model for Gold Price Prediction Based on Yahoo Finance Data
DOI: 10.35870/ijsecs.v5i3.5560
Talitha Hananta Nurendasari, Gentur Wahyu Nyipto Wibowo, Harminto Mulyo
Downloads
Article Metrics
- Views 0
- Downloads 0
- Scopus Citations
- Google Scholar
- Crossref Citations
- Semantic Scholar
- DataCite Metrics
-
If the link doesn't work, copy the DOI or article title for manual search (API Maintenance).
Abstract
This paper presents a hybrid ARIMA–LSTM model to forecast daily gold price using historical data from Yahoo Finance. Gold price is highly volatile due to macroeconomic, geopolitical, and monetary factors, making accurate forecasting difficult and increasing uncertainty in investment decisions. In this study, ARIMA is used for modeling linear patterns in the time series data, while an LSTM network captures the nonlinear relationships and temporal dynamics that are not captured by statistical models. The dataset consists of daily observations of gold prices between June 2022 and June 2025. The analysis involves cleaning and normalizing the data, splitting it into training and testing subsets, estimating ARIMA parameters, extracting residuals, and forecasting these residuals with LSTM. Performance evaluation is carried out through MAE, RMSE, and MAPE metrics. The hybrid framework compares favorably against standalone ARIMA and LSTM models in terms of all three metrics used for assessment. Empirical results show that the hybrid ARIMA–LSTM model produces lower forecasting errors than the individual models on all evaluation metrics. These findings validate that combining statistical time series modeling with neural sequence learning increases predictive reliability in volatile commodity markets. The proposed framework can be considered methodologically sound for gold price forecasting and subsequently may enhance informed decision-making within financial analysis as well as investment practice.
Keywords
ARIMA ; LSTM ; Hybrid Forecasting ; Gold Price Prediction ; Time Series Analysis
Article Metadata
Peer Review Process
This article has undergone a double-blind peer review process to ensure quality and impartiality.
Indexing Information
Discover where this journal is indexed at our indexing page to understand its reach and credibility.
Open Science Badges
This journal supports transparency in research and encourages authors to meet criteria for Open Science Badges by sharing data, materials, or preregistered studies.
How to Cite
Article Information
This article has been peer-reviewed and published in the International Journal Software Engineering and Computer Science (IJSECS). The content is available under the terms of the Creative Commons Attribution 4.0 International License.
-
Issue: Vol. 5 No. 3 (2025)
-
Section: Articles
-
Published: %750 %e, %2025
-
License: CC BY 4.0
-
Copyright: © 2025 Authors
-
DOI: 10.35870/ijsecs.v5i3.5560
AI Research Hub
This article is indexed and available through various AI-powered research tools and citation platforms. Our AI Research Hub ensures that scholarly work is discoverable, accessible, and easily integrated into the global research ecosystem. By leveraging artificial intelligence for indexing, recommendation, and citation analysis, we enhance the visibility and impact of published research.
Talitha Hananta Nurendasari
Universitas Islam Nahdlatul Ulama Jepara, Jepara Regency, Central Java Province, Indonesia
Gentur Wahyu Nyipto Wibowo
Universitas Islam Nahdlatul Ulama Jepara, Jepara Regency, Central Java Province, Indonesia
-
Baur, D. G., & Smales, L. A. (2018). Gold and geopolitical risk. SSRN. https://doi.org/10.2139/ssrn.3109136
-
Zhu, Y., Fan, J., & Tucker, J. (2018). The impact of monetary policy on gold price dynamics. Research in International Business and Finance, 44, 319–331. https://doi.org/10.1016/j.ribaf.2017.07.100
-
Ding, Q., Huang, J., Gao, W., & Zhang, H. (2022). Does political risk matter for gold market fluctuations? A structural VAR analysis. Research in International Business and Finance, 60, Article 101618. https://doi.org/10.1016/j.ribaf.2022.101618
-
Arumugam, V., & Natarajan, V. (2023). Time series modeling and forecasting using autoregressive integrated moving average and seasonal autoregressive integrated moving average models. Instrumentation, Mesures, Métrologies, 22(4). https://doi.org/10.18280/i2m.220404
-
Rizvi, S. (2024). Classical forecasting methods revisited: The role of ARIMA in modern finance. Journal of Applied Statistics, 51(5), 823–840. https://doi.org/10.1080/02664763.2023.2284973
-
Cao, L. (2024). Time series analysis and forecasting using ARIMA models: Applications in financial markets. Journal of Financial Data Science, 6(2), 45–58. https://doi.org/10.3905/jfds.2024.1.056
-
Enow, S. T. (2025). Modelling financial time series with threshold nonlinearity. International Journal of Research in Business and Social Science, 14(8), 152–156. https://doi.org/10.20525/ijrbs.v14i8.4540
-
Zhou, M., Li, H., & Wang, S. (2023). LSTM networks for financial market prediction: A review and case study. IEEE Access, 11, 13555–13570. https://doi.org/10.1109/ACCESS.2023.3245123
-
Taslim, M., & Murwantara, I. (2024). Challenges in LSTM-based time series forecasting for financial applications. Indonesian Journal of Artificial Intelligence and Data Mining, 7(2), 56–64. https://doi.org/10.11591/ijaidm.v7i2.2024
-
Livieris, I. E., Pintelas, E., & Pintelas, P. (2020). A CNN–LSTM model for gold price time-series forecasting. Neural Computing and Applications, 32(23), 17351–17360. https://doi.org/10.1007/s00521-020-04867-x
-
Boongasame, L., Viriyaphol, P., Tassanavipas, K., & Temdee, P. (2023). Gold-price forecasting method using long short-term memory and the association rule. Journal of Mobile Multimedia, 19(1), 165–186. https://doi.org/10.13052/jmm1550-4646.1919
-
Ben Ameur, H., Boubaker, S., Ftiti, Z., Louhichi, W., & Tissaoui, K. (2024). Forecasting commodity prices: Empirical evidence using deep learning tools. Annals of Operations Research, 339(1), 349–367. https://doi.org/10.1007/s10479-022-05076-6
-
-
Sanjaya, R., Florentin, S. F., & Santoso, A. (2024). Predicting gold prices using deep learning: A comparison between ARIMA and LSTM. Journal of Computational Finance, 28(1), 77–95. https://doi.org/10.21314/JCF.2024.438
-
Antwi, E., Gyamfi, E. N., Kyei, K. A., Gill, R., & Adam, A. M. (2022). Modeling and forecasting commodity futures prices: Decomposition approach. IEEE Access, 10, 27484–27503. https://doi.org/10.1109/ACCESS.2022.3152694
-
Gasmi, M., Aloui, C., & Hkiri, B. (2024). Hybrid forecasting models in financial econometrics: An application of ARIMA–LSTM for commodity prices. Computational Economics, 64(3), 721–740. https://doi.org/10.1007/s10614-024-10234-9
-
He, X. (2023). A hybrid ARIMA–LSTM model for stock price prediction: Evidence from Apple Inc. International Journal of Forecasting, 39(4), 1195–1207. https://doi.org/10.1016/j.ijforecast.2022.09.012
-
Nichani, K., Zhang, Y., & Lee, J. (2024). Enhanced stock forecasting using hybrid ARIMA–LSTM models: A case study on Microsoft. Expert Systems with Applications, 238, Article 121548. https://doi.org/10.1016/j.eswa.2023.121548
-
Saleti, S., Panchumarthi, L. Y., Kallam, Y. R., Parchuri, L., & Jitte, S. (2024). Enhancing forecasting accuracy with a moving average-integrated hybrid ARIMA–LSTM model. SN Computer Science, 5(6), Article 704. https://doi.org/10.1007/s42979-024-03060-4
-
García, F., Guijarro, F., Oliver, J., & Tamošiūnienė, R. (2023). Foreign exchange forecasting models: ARIMA and LSTM comparison. Engineering Proceedings, 39(1), Article 81. https://doi.org/10.3390/engproc2023039081
-
Alharbi, M. H. (2025). Prediction of the stock market using LSTM, ARIMA, and hybrid of LSTM–ARIMA models. Journal of Knowledge Management Application and Practice, 7(1), 15–22. https://doi.org/10.18576/jkmap/070102
-
Dhuhita, A., Pramudita, D., & Nugroho, A. (2023). The validity of Yahoo Finance data for machine learning-based stock prediction. Procedia Computer Science, 216, 987–995. https://doi.org/10.1016/j.procs.2023.01.123
-
Dalimunthe, R., Siregar, H., & Putra, A. (2025). Financial time series prediction using hybrid ARIMA–LSTM with Yahoo Finance data. International Journal of Artificial Intelligence Research, 9(1), 33–42. https://doi.org/10.11591/ijair.v9i1.2025
-
Yeng, P., & Siahaan, R. (2024). Hybrid ARIMA–LSTM for gold price prediction using Yahoo Finance data. Journal of Data Science and Machine Learning, 12(3), 201–213. https://doi.org/10.32628/jdsml.v12i3.2024

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
1. Copyright Retention and Open Access License
Authors retain copyright of their work and grant the journal non-exclusive right of first publication under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license allows unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
2. Rights Granted Under CC BY 4.0
Under this license, readers are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, including commercial use
- No additional restrictions — the licensor cannot revoke these freedoms as long as license terms are followed
3. Attribution Requirements
All uses must include:
- Proper citation of the original work
- Link to the Creative Commons license
- Indication if changes were made to the original work
- No suggestion that the licensor endorses the user or their use
4. Additional Distribution Rights
Authors may:
- Deposit the published version in institutional repositories
- Share through academic social networks
- Include in books, monographs, or other publications
- Post on personal or institutional websites
Requirement: All additional distributions must maintain the CC BY 4.0 license and proper attribution.
5. Self-Archiving and Pre-Print Sharing
Authors are encouraged to:
- Share pre-prints and post-prints online
- Deposit in subject-specific repositories (e.g., arXiv, bioRxiv)
- Engage in scholarly communication throughout the publication process
6. Open Access Commitment
This journal provides immediate open access to all content, supporting the global exchange of knowledge without financial, legal, or technical barriers.