{"title":"Gold Futures Price Prediction Using Transformer Deep Learning Models with Data Scraped via UiPath.","authors":"Sirisha Charugulla, Shaiku Shahida Saheb","doi":"10.3791/68903","DOIUrl":null,"url":null,"abstract":"<p><p>Gold is one of the most valuable and widely traded commodities worldwide, particularly in India, and plays a significant role in economic and financial markets. Historically, gold has been a cornerstone of international trade and economic stability, with central banks maintaining reserves to manage inflation and foreign debt. The price of gold serves as a key economic indicator that influences market trends and investment strategies. However, accurately predicting gold prices is challenging due to the complex and nonlinear nature of financial markets which are influenced by various factors including interest rates, economic recessions, oil price fluctuations, and geopolitical events. The study transformer model was used to predict the daily gold prices which were collected from investing.com through web scraping by using UiPath. It is a Robotic Process Automation (RPA) platform to preserve the integrity of the data and enhance model performance, preprocessing operations such as missing data handling and MinMax scaling were performed. The model was tested and trained on key performance metrics and achieved a Mean Squared Error (MSE) of 0.0224, Root Mean Squared Error (RMSE) of 0.1496, and R-squared of 0.93, with a high prediction accuracy. The study results confirm that the transformer model efficiently detects short-term price movements and long-term market trends offering a more accurate and dependable method than traditional forecasting methods. The study provides valuable guidance to investors, financial analysts and policymakers in making informed decisions in the gold bullion market. Future research can be improved by the inclusion of alternative data sources such as sentiment from news headlines and social media which can potentially offer richer insight into market movements.</p>","PeriodicalId":48787,"journal":{"name":"Jove-Journal of Visualized Experiments","volume":" 223","pages":""},"PeriodicalIF":1.2000,"publicationDate":"2025-09-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jove-Journal of Visualized Experiments","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.3791/68903","RegionNum":4,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Gold is one of the most valuable and widely traded commodities worldwide, particularly in India, and plays a significant role in economic and financial markets. Historically, gold has been a cornerstone of international trade and economic stability, with central banks maintaining reserves to manage inflation and foreign debt. The price of gold serves as a key economic indicator that influences market trends and investment strategies. However, accurately predicting gold prices is challenging due to the complex and nonlinear nature of financial markets which are influenced by various factors including interest rates, economic recessions, oil price fluctuations, and geopolitical events. The study transformer model was used to predict the daily gold prices which were collected from investing.com through web scraping by using UiPath. It is a Robotic Process Automation (RPA) platform to preserve the integrity of the data and enhance model performance, preprocessing operations such as missing data handling and MinMax scaling were performed. The model was tested and trained on key performance metrics and achieved a Mean Squared Error (MSE) of 0.0224, Root Mean Squared Error (RMSE) of 0.1496, and R-squared of 0.93, with a high prediction accuracy. The study results confirm that the transformer model efficiently detects short-term price movements and long-term market trends offering a more accurate and dependable method than traditional forecasting methods. The study provides valuable guidance to investors, financial analysts and policymakers in making informed decisions in the gold bullion market. Future research can be improved by the inclusion of alternative data sources such as sentiment from news headlines and social media which can potentially offer richer insight into market movements.
期刊介绍:
JoVE, the Journal of Visualized Experiments, is the world''s first peer reviewed scientific video journal. Established in 2006, JoVE is devoted to publishing scientific research in a visual format to help researchers overcome two of the biggest challenges facing the scientific research community today; poor reproducibility and the time and labor intensive nature of learning new experimental techniques.