Website-Based Gold Price Movement Prediction System Using the Long Short-Term Memory (LSTM) Method

Gold price prediction is an important aspect in supporting investment decision making amid dynamic market fluctuations. This research aims to find the best hyperparameter combination in building a gold price prediction model using the Long Short-Term Memory (LSTM) method through the Grid Search and Bayesian Optimization tuning approaches. The data used is historical gold price data from Yahoo Finance for the last 10 years (2015-2025) which includes date attributes, opening price, closing price, highest price, lowest price, and trading volume. This study was conducted with two data divisions, namely the 70%:30% and 80:20 ratios, to evaluate the performance of the model to find optimal results. The hyperparameter tuning process includes finding optimal values for epoch, batch size, learning rate, number of neurons, dropout, and optimizer parameters. Model evaluation was conducted using MAE, RMSE, and MAPE metrics and the best results were obtained from tuning using Grid Search at a split ratio of 70%:30% with MAE values of 19.5470, RMSE of 26.5331, and MAPE of 0.93%. The system automatically updates the daily model by using web scraping technique and utilizing Python scheduler. The system was developed based on a website using the Flask framework and has an interactive display consisting of dashboard, historical, and prediction pages. The test results show that the system runs according to its function and the LSTM model is able to predict gold prices with good accuracy. This research shows that proper hyperparameter tuning can significantly improve the performance of the prediction model.

Authors

Institutions

Publication Details

Journal
Journal of Research in Artificial Intelligence for Systems and Applications
Published
2025-07-30
DOI
https://doi.org/10.19184/raisa.v1i2.6257
Primary Topic
Currency Recognition and Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Website-Based Gold Price Movement Prediction System Using the Long Short-Term Memory (LSTM) Method

Farlin Nurjananti
Journal of Research in Artificial Intelligence for Systems and Applications
Currency Recognition and Detection
article

Website-Based Gold Price Movement Prediction System Using the Long Short-Term Memory (LSTM) Method

Farlin Nurjananti
article en

Abstract

Gold price prediction is an important aspect in supporting investment decision making amid dynamic market fluctuations. This research aims to find the best hyperparameter combination in building a gold price prediction model using the Long Short-Term Memory (LSTM) method through the Grid Search and Bayesian Optimization tuning approaches. The data used is historical gold price data from Yahoo Finance for the last 10 years (2015-2025) which includes date attributes, opening price, closing price, highest price, lowest price, and trading volume. This study was conducted with two data divisions, namely the 70%:30% and 80:20 ratios, to evaluate the performance of the model to find optimal results. The hyperparameter tuning process includes finding optimal values for epoch, batch size, learning rate, number of neurons, dropout, and optimizer parameters. Model evaluation was conducted using MAE, RMSE, and MAPE metrics and the best results were obtained from tuning using Grid Search at a split ratio of 70%:30% with MAE values of 19.5470, RMSE of 26.5331, and MAPE of 0.93%. The system automatically updates the daily model by using web scraping technique and utilizing Python scheduler. The system was developed based on a website using the Flask framework and has an interactive display consisting of dashboard, historical, and prediction pages. The test results show that the system runs according to its function and the LSTM model is able to predict gold prices with good accuracy. This research shows that proper hyperparameter tuning can significantly improve the performance of the prediction model.

Journal of Research in Artificial Intelligence for Systems and ApplicationsVol. 1(2)
Universitas Jember (ID)
Openalex Percentile: Top 77%
Currency Recognition and Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Website-Based Gold Price Movement Prediction System Using the Long Short-Term Memory (LSTM) Method — Farlin Nurjananti · Journal of Research in Artificial Intelligence for Systems and Applications (2025) | TGRS Research Map | TGRS