IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0285631.html

Copper price prediction using LSTM recurrent neural network integrated simulated annealing algorithm

Author

Listed:
  • Jiahao Chen
  • Jiahui Yi
  • Kailei Liu
  • Jinhua Cheng
  • Yin Feng
  • Chuandi Fang

Abstract

Copper is an important mineral and fluctuations in copper prices can affect the stable functioning of some countries’ economies. Policy makers, futures traders and individual investors are very concerned about copper prices. In a recent paper, we use an artificial intelligence model long short-term memory (LSTM) to predict copper prices. To improve the efficiency of long short-term memory (LSTM) model, we introduced a simulated annealing (SA) algorithm to find the best combination of hyperparameters. The feature engineering problem of the AI model is then solved by correlation analysis. Three economic indicators, West Texas Intermediate Oil Price, Gold Price and Silver Price, which are highly correlated with copper prices, were selected as inputs to be used in the training and forecasting model. Three different copper price time periods, namely 485, 363 and 242 days, were chosen for the model forecasts. The forecast errors are 0.00195, 0.0019 and 0.00097, respectively. Compared with the existing literature, the prediction results of this paper are more accurate and less error. The research in this paper provides a reliable reference for analyzing future copper price changes.

Suggested Citation

  • Jiahao Chen & Jiahui Yi & Kailei Liu & Jinhua Cheng & Yin Feng & Chuandi Fang, 2023. "Copper price prediction using LSTM recurrent neural network integrated simulated annealing algorithm," PLOS ONE, Public Library of Science, vol. 18(10), pages 1-19, October.
  • Handle: RePEc:plo:pone00:0285631
    DOI: 10.1371/journal.pone.0285631
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0285631
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0285631&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0285631?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Liu, Kailei & Cheng, Jinhua & Yi, Jiahui, 2022. "Copper price forecasted by hybrid neural network with Bayesian Optimization and wavelet transform," Resources Policy, Elsevier, vol. 75(C).
    2. Chang, Zihan & Zhang, Yang & Chen, Wenbo, 2019. "Electricity price prediction based on hybrid model of adam optimized LSTM neural network and wavelet transform," Energy, Elsevier, vol. 187(C).
    3. Dehghani, Hesam & Bogdanovic, Dejan, 2018. "Copper price estimation using bat algorithm," Resources Policy, Elsevier, vol. 55(C), pages 55-61.
    4. Riesgo García, María Victoria & Krzemień, Alicja & Manzanedo del Campo, Miguel Ángel & Escanciano García-Miranda, Carmen & Sánchez Lasheras, Fernando, 2018. "Rare earth elements price forecasting by means of transgenic time series developed with ARIMA models," Resources Policy, Elsevier, vol. 59(C), pages 95-102.
    5. Catalin Stoean & Wiesław Paja & Ruxandra Stoean & Adrian Sandita, 2019. "Deep architectures for long-term stock price prediction with a heuristic-based strategy for trading simulations," PLOS ONE, Public Library of Science, vol. 14(10), pages 1-19, October.
    6. E, Jianwei & Ye, Jimin & He, Lulu & Jin, Haihong, 2019. "Energy price prediction based on independent component analysis and gated recurrent unit neural network," Energy, Elsevier, vol. 189(C).
    7. Kriechbaumer, Thomas & Angus, Andrew & Parsons, David & Rivas Casado, Monica, 2014. "An improved wavelet–ARIMA approach for forecasting metal prices," Resources Policy, Elsevier, vol. 39(C), pages 32-41.
    8. Hu, Yan & Ni, Jian & Wen, Liu, 2020. "A hybrid deep learning approach by integrating LSTM-ANN networks with GARCH model for copper price volatility prediction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 557(C).
    9. Khoshalan, Hasel Amini & Shakeri, Jamshid & Najmoddini, Iraj & Asadizadeh, Mostafa, 2021. "Forecasting copper price by application of robust artificial intelligence techniques," Resources Policy, Elsevier, vol. 73(C).
    10. Lin, Ling & Jiang, Yong & Xiao, Helu & Zhou, Zhongbao, 2020. "Crude oil price forecasting based on a novel hybrid long memory GARCH-M and wavelet analysis model," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 543(C).
    11. Luka Jovanovic & Dejan Jovanovic & Nebojsa Bacanin & Ana Jovancai Stakic & Milos Antonijevic & Hesham Magd & Ravi Thirumalaisamy & Miodrag Zivkovic, 2022. "Multi-Step Crude Oil Price Prediction Based on LSTM Approach Tuned by Salp Swarm Algorithm with Disputation Operator," Sustainability, MDPI, vol. 14(21), pages 1-29, November.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Zhou, Jianguo & Xu, Zhongtian, 2023. "A novel three-stage hybrid learning paradigm based on a multi-decomposition strategy, optimized relevance vector machine, and error correction for multi-step forecasting of precious metal prices," Resources Policy, Elsevier, vol. 80(C).
    2. Nabavi, Zohre & Mirzehi, Mohammad & Dehghani, Hesam, 2024. "Reliable novel hybrid extreme gradient boosting for forecasting copper prices using meta-heuristic algorithms: A thirty-year analysis," Resources Policy, Elsevier, vol. 90(C).
    3. Liu, Kailei & Cheng, Jinhua & Yi, Jiahui, 2022. "Copper price forecasted by hybrid neural network with Bayesian Optimization and wavelet transform," Resources Policy, Elsevier, vol. 75(C).
    4. Li, Ning & Li, Jiaojiao & Wang, Qizhou & Yan, Dairong & Wang, Liguan & Jia, Mingtao, 2024. "A novel copper price forecasting ensemble method using adversarial interpretive structural model and sparrow search algorithm," Resources Policy, Elsevier, vol. 91(C).
    5. Zhao, Jue & Hosseini, Shahab & Chen, Qinyang & Jahed Armaghani, Danial, 2023. "Super learner ensemble model: A novel approach for predicting monthly copper price in future," Resources Policy, Elsevier, vol. 85(PB).
    6. Yishun Liu & Chunhua Yang & Keke Huang & Weiping Liu, 2023. "A Multi-Factor Selection and Fusion Method through the CNN-LSTM Network for Dynamic Price Forecasting," Mathematics, MDPI, vol. 11(5), pages 1-20, February.
    7. Yifei Zhao & Jianhong Chen & Hideki Shimada & Takashi Sasaoka, 2023. "Non-Ferrous Metal Price Point and Interval Prediction Based on Variational Mode Decomposition and Optimized LSTM Network," Mathematics, MDPI, vol. 11(12), pages 1-16, June.
    8. Jialu Ling & Ziyu Zhong & Helin Wei, 2025. "Copper Price Forecasting Based on Improved Least Squares Support Vector Machine with Butterfly Optimization Algorithm," Computational Economics, Springer;Society for Computational Economics, vol. 65(4), pages 1795-1817, April.
    9. Luo, Hongyuan & Wang, Deyun & Cheng, Jinhua & Wu, Qiaosheng, 2022. "Multi-step-ahead copper price forecasting using a two-phase architecture based on an improved LSTM with novel input strategy and error correction," Resources Policy, Elsevier, vol. 79(C).
    10. Henriques, Irene & Sadorsky, Perry, 2023. "Forecasting rare earth stock prices with machine learning," Resources Policy, Elsevier, vol. 86(PA).
    11. Ozdemir, Ali Can & Buluş, Kurtuluş & Zor, Kasım, 2022. "Medium- to long-term nickel price forecasting using LSTM and GRU networks," Resources Policy, Elsevier, vol. 78(C).
    12. Zhang, Hong & Nguyen, Hoang & Bui, Xuan-Nam & Pradhan, Biswajeet & Mai, Ngoc-Luan & Vu, Diep-Anh, 2021. "Proposing two novel hybrid intelligence models for forecasting copper price based on extreme learning machine and meta-heuristic algorithms," Resources Policy, Elsevier, vol. 73(C).
    13. Karasu, Seçkin & Altan, Aytaç, 2022. "Crude oil time series prediction model based on LSTM network with chaotic Henry gas solubility optimization," Energy, Elsevier, vol. 242(C).
    14. Oikonomou, Konstantinos & Damigos, Dimitris & Dimitriou, Dimitrios, 2025. "Globality in the metal markets: Leveraging cross-learning to forecast aluminum and copper prices," Resources Policy, Elsevier, vol. 103(C).
    15. Guo, Honggang & Wang, Jianzhou & Li, Zhiwu & Lu, Haiyan & Zhang, Linyue, 2022. "A non-ferrous metal price ensemble prediction system based on innovative combined kernel extreme learning machine and chaos theory," Resources Policy, Elsevier, vol. 79(C).
    16. Ewees, Ahmed A. & Elaziz, Mohamed Abd & Alameer, Zakaria & Ye, Haiwang & Jianhua, Zhang, 2020. "Improving multilayer perceptron neural network using chaotic grasshopper optimization algorithm to forecast iron ore price volatility," Resources Policy, Elsevier, vol. 65(C).
    17. Liu, Qing & Liu, Min & Zhou, Hanlu & Yan, Feng, 2022. "A multi-model fusion based non-ferrous metal price forecasting," Resources Policy, Elsevier, vol. 77(C).
    18. Shi, Tao & Li, Chongyang & Zhang, Wei & Zhang, Yi, 2023. "Forecasting on metal resource spot settlement price: New evidence from the machine learning model," Resources Policy, Elsevier, vol. 81(C).
    19. Gaoxiu Qiao & Gongyue Jiang, 2023. "VIX futures pricing based on high‐frequency VIX: A hybrid approach combining SVR with parametric models," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 43(9), pages 1238-1260, September.
    20. Yong-Hyong Kim & Song-Jun Ham & Chong-Sim Ri & Won-Hyok Kim & Wi-Song Ri, 2025. "Application of empirical wavelet transform, particle swarm optimization, gravitational search algorithm and long short-term memory neural network to copper price forecasting," Portuguese Economic Journal, Springer;Instituto Superior de Economia e Gestao, vol. 24(1), pages 151-169, January.

    More about this item

    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:plo:pone00:0285631. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.