IDEAS home Printed from https://ideas.repec.org/a/gam/jjrfmx/v19y2026i7p533-d1993514.html

Predictive Model Based on Machine Learning to Determine Gold Price Fluctuation and Improve Trading Decisions

Author

Listed:
  • Alexander Vladimir Velez Flores

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Arturo Rafael Chayña Rodriguez

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Wildor Jazmany Jara Vilca

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Carlos Paul Hancco Ramos

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Esteban Marín Paucara

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Lucio Quea-Gutierrez

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Juan Carlos Chayña-Contreras

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Julian Apaza-Chino

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Mario Serafín Cuentas Alvarado

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Yesenia Fátima Llanque Añacata

    (Escuela Profesional de Arquitectura y Urbanismo, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

  • Anibal Sucari León

    (Unidad de Investigación de la Facultad de Ingeniería de Minas, Universidad Nacional del Altiplano de Puno, Puno P.O. Box 291, Peru)

Abstract

Gold’s price reflects currency, opportunity-cost, and safe-haven channels whose strength shifts across regimes, motivating an empirical, data-driven forecasting approach. This study develops a monthly gold price forecasting system for ASM sales-timing decisions in Peru (January 2020–June 2026) using macro-financial predictors including a geopolitical risk index and three U.S. monetary indicators, none of which were Granger-causal and were therefore excluded from the production set. After confirming non-stationarity and Johansen cointegration (four vectors), thirty-two model-feature-set combinations, including Elastic Net, Bayesian Ridge, and a PCA factor, were compared under strict temporal validation with bounded hyperparameter search. The selected model, Ridge regression on the CONTROL feature set, achieved a cross-validation MAPE of 2.29% and test MAPE of 3.62% (official)/3.15% (extended sensitivity window). It was benchmarked against random walk, historical mean, and exponential smoothing and evaluated via the Diebold–Mariano, Clark–West, encompassing, and Model Confidence Set tests (low-power caveats given the small sample). A dual-horizon Monte Carlo simulation, robust to heavy-tailed shocks, projected USD 4482/oz (December 2026) and USD 5106/oz (December 2027). A sales-timing backtest showed a statistically significant result (−0.67%) versus a passive strategy, indicating calibrated price information alone does not yet yield a reliable trading edge, supporting the model’s role as decision support rather than an autonomous trading signal.

Suggested Citation

  • Alexander Vladimir Velez Flores & Arturo Rafael Chayña Rodriguez & Wildor Jazmany Jara Vilca & Carlos Paul Hancco Ramos & Esteban Marín Paucara & Lucio Quea-Gutierrez & Juan Carlos Chayña-Contreras & , 2026. "Predictive Model Based on Machine Learning to Determine Gold Price Fluctuation and Improve Trading Decisions," JRFM, MDPI, vol. 19(7), pages 1-28, July.
  • Handle: RePEc:gam:jjrfmx:v:19:y:2026:i:7:p:533-:d:1993514
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1911-8074/19/7/533/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1911-8074/19/7/533/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jjrfmx:v:19:y:2026:i:7:p:533-:d:1993514. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.