Consider stock indices and technical indicators to conduct price forecasting for gold and oil: a reinforcement learning perspective
Chih-Hsuan Wang, Kai-Wei Jen, Hui-Pin Shih, Mei-Jun Ting, Shih-Chi Tseng
Key points
From the paper's conclusion- Analyzing daily data from 2011 to 2025, this study proposes a novel framework to predict commodity prices: (1) raw materials, stock indices, and technical indicators are integrated as the predictors, (2) key performance indicators (KPIs) are identified using MARS (multivariate adaptive regression splines), RF (Random Forest), and XGB (eXtreme gradient boost), and (3) machine learning (ML), deep le
Abstract
Rising oil prices often trigger inflation, whereas higher gold prices reflect risk aversion. Analyzing daily data from 2011 to 2025, this study proposes a novel framework to predict commodity prices: (1) raw materials, stock indices, and technical indicators are integrated as the predictors, (2) key performance indicators (KPIs) are identified using MARS (multivariate adaptive regression splines), RF (Random Forest), and XGB (eXtreme gradient boost), and (3) machine learning (ML), deep learning (DL) models including LSTM (long short-term memory) and GRU (gated recurrent unit), and reinforcement learning (RL) strategies such as A2C (advantage actor–critic) and PPO (proximal policy optimization) are compared. Specifically, one-shot splitting starts from 2011 to 2022 for training and uses 2023–2025 is for testing. In dynamic splitting, four-year training and one-month testing is adopted. Results show that average exchange rate of US dollar (USD), coal, India’s stock, Shanghai’s stock, US10YY (10-year yield rate of US treasury bond), Japan’s stock, DJI (US Dow Jones index), and NASDAQ (US technology index) affect oil prices while silver, S&P 500, German’s stock, SOX (US semiconductor index), India’s stock, and NASDAQ influence gold prices. Dynamic splitting and RL models outperform one-shot splitting because they can capture short-term variations and abrupt changes.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Modeling Saudi stock index returns and volatility: a dual approach using GARCH and neural networksFrontiers in Artificial Intelligence · 2026
- Integrating macroeconomic and technical indicators into forecasting the stock market: a hybrid approach for efficient feature selection.Scientific reports · 2026
- Financial Resilience Under a Major Gold-Price Regime Shift: A Benchmark-Based Assessment of Machine Learning, Deep Learning, and Econometric ModelsMathematics · 2026
- A hybrid CNN-LSTM-GRU system tuned by whale optimization algorithm for enhanced gold and brent price predictionFinance Research Open · 2026
- A hybrid ICA-GRU approach for forecasting gold futures price.Frontiers in artificial intelligence · 2026
- Forecasting Gold–Brent–U.S. Dollar Return Connectedness: Persistence Versus Macro-Financial InformationForecasting · 2026