Research Article

Comparison of commodity prices by using machine learning models in the COVID-19 era

Volume: 7 Number: 4 October 5, 2023
EN

Comparison of commodity prices by using machine learning models in the COVID-19 era

Abstract

Commodity products such as gold, silver, and metal have been seen as safe havens in past economic crises. This situation increases the interest in commodity products. Due to the COVID-19 pandemic, quarantine decisions and precautions have caused an economic slowdown in stock markets and consumer activities. This inactivity in the economy has led to the COVID-19 recession that started in February 2020. Because of the increase in the number of COVID-19 cases, the difficulty of physical buying-selling transactions has shown that commodity products can be a safe investment tool. Based on the fact that machine learning approaches gained importance in commodity price prediction, the main goal of this study is to understand whether machine learning methods are meaningful for commodity price prediction even in extraordinary situations. To measure commodities’ price volatility, a data set obtained from Borsa İstanbul is separated into pre-COVID-19 and COVID-19 periods. Daily prices for gold and silver commodities, from July 2018, which is before the ongoing COVID-19 recession, to October 2021 are used. The performances of the machine learning models were compared with MAE, MAPE, and RMSE metrics. The findings of this study point out that the LSTM model has more accurate predictions, especially in the pre-COVID-19 period. When considering the COVID-19 period only, SVR produces the best prediction results for the gold commodity and LSTM has the best prediction results for the silver commodity.

Keywords

References

  1. Usha, B. A., Manjunath, T. N., & Mudunuri, T. (2019, March). Commodity and Forex trade automation using deep reinforcement learning. In 2019 1st International Conference on Advanced Technologies in Intelligent Control, Environment, Computing & Communication Engineering (ICATIECE) (pp. 27-31). IEEE.
  2. Kamdem, J. S., Essomba, R. B., & Berinyuy, J. N. (2020). Deep learning models for forecasting and analyzing the implications of COVID-19 spread on some commodities markets volatilities. Chaos, Solitons & Fractals, 140, 110215.
  3. Depren, Ö., Kartal, M. T., & Depren, S. K. (2021). Changes of gold prices in COVID-19 pandemic: Daily evidence from Turkey's monetary policy measures with selected determinants. Technological Forecasting and Social Change, 170, 120884.
  4. Elgammal, M. M., Ahmed, W. M., & Alshami, A. (2021). Price and volatility spillovers between global equity, gold, and energy markets prior to and during the COVID-19 pandemic. Resources Policy, 74, 102334.
  5. Jabeur, S. B., Khalfaoui, R., & Arfi, W. B. (2021). The effect of green energy, global environmental indexes, and stock markets in predicting oil price crashes: Evidence from explainable machine learning. Journal of Environmental Management, 298, 113511.
  6. Ramakrishnan, S., Butt, S., Chohan, M. A., & Ahmad, H. (2017, July). Forecasting Malaysian exchange rate using machine learning techniques based on commodities prices. In 2017 International Conference on Research and Innovation in Information Systems (ICRIIS) (pp. 1-5). IEEE.
  7. Akın, B., Dizbay, İ. E., Gümüşoğlu, Ş., & Güdücü, E. (2018). Forecasting the Direction of Agricultural Commodity Price Index through ANN, SVM and Decision Tree: Evidence from Raisin. Ege Academic Review, 18(4), 579-588.
  8. Yadav, S., & Sharma, K. P. (2018, December). Statistical analysis and forecasting models for stock market. In 2018 First International Conference on Secure Cyber Computing and Communication (ICSCCC) (pp. 117-121). IEEE.

Details

Primary Language

English

Subjects

Engineering

Journal Section

Research Article

Early Pub Date

June 22, 2023

Publication Date

October 5, 2023

Submission Date

October 29, 2022

Acceptance Date

March 24, 2023

Published in Issue

Year 2023 Volume: 7 Number: 4

APA
Alparslan, S., & Uçar, T. (2023). Comparison of commodity prices by using machine learning models in the COVID-19 era. Turkish Journal of Engineering, 7(4), 358-368. https://doi.org/10.31127/tuje.1196296
AMA
1.Alparslan S, Uçar T. Comparison of commodity prices by using machine learning models in the COVID-19 era. TUJE. 2023;7(4):358-368. doi:10.31127/tuje.1196296
Chicago
Alparslan, Sena, and Tamer Uçar. 2023. “Comparison of Commodity Prices by Using Machine Learning Models in the COVID-19 Era”. Turkish Journal of Engineering 7 (4): 358-68. https://doi.org/10.31127/tuje.1196296.
EndNote
Alparslan S, Uçar T (October 1, 2023) Comparison of commodity prices by using machine learning models in the COVID-19 era. Turkish Journal of Engineering 7 4 358–368.
IEEE
[1]S. Alparslan and T. Uçar, “Comparison of commodity prices by using machine learning models in the COVID-19 era”, TUJE, vol. 7, no. 4, pp. 358–368, Oct. 2023, doi: 10.31127/tuje.1196296.
ISNAD
Alparslan, Sena - Uçar, Tamer. “Comparison of Commodity Prices by Using Machine Learning Models in the COVID-19 Era”. Turkish Journal of Engineering 7/4 (October 1, 2023): 358-368. https://doi.org/10.31127/tuje.1196296.
JAMA
1.Alparslan S, Uçar T. Comparison of commodity prices by using machine learning models in the COVID-19 era. TUJE. 2023;7:358–368.
MLA
Alparslan, Sena, and Tamer Uçar. “Comparison of Commodity Prices by Using Machine Learning Models in the COVID-19 Era”. Turkish Journal of Engineering, vol. 7, no. 4, Oct. 2023, pp. 358-6, doi:10.31127/tuje.1196296.
Vancouver
1.Sena Alparslan, Tamer Uçar. Comparison of commodity prices by using machine learning models in the COVID-19 era. TUJE. 2023 Oct. 1;7(4):358-6. doi:10.31127/tuje.1196296

Cited By

Flag Counter