IDEAS home Printed from https://ideas.repec.org/a/eee/eneeco/v127y2023ipas014098832300587x.html
   My bibliography  Save this article

Forecasting crude oil futures price using machine learning methods: Evidence from China

Author

Listed:
  • Guo, Lili
  • Huang, Xinya
  • Li, Yanjiao
  • Li, Houjian

Abstract

Crude oil is an indispensable energy resource. With the establishment of the local crude oil futures market in China, providing accurate forecasts for crude oil futures price is urgent. To cope with this challenge, this paper introduces artificial intelligence methods to evaluate the optimal forecasting strategy for China's crude oil futures price. We use machine learning to process historical information, volatility and non-linear features. Using daily data from March 26, 2018 to February 28, 2023, we estimate the forecasting effects of RNN, LSTM, GRU, SVR, MLP, CNN and BP models on China crude oil futures, respectively. With a series of evaluation tests, we demonstrate that the GRU model outperforms other models in terms of forecast accuracy and performance for China's crude oil futures price. Taking multiple influencing factors into account, the forecasting accuracy of proposed models is improved by including influential factors. Therefore, these findings effectively explore the forecasting of China's crude oil futures prices, contributing to the improvement of the emerging crude oil futures market and the management of energy price risks.

Suggested Citation

  • Guo, Lili & Huang, Xinya & Li, Yanjiao & Li, Houjian, 2023. "Forecasting crude oil futures price using machine learning methods: Evidence from China," Energy Economics, Elsevier, vol. 127(PA).
  • Handle: RePEc:eee:eneeco:v:127:y:2023:i:pa:s014098832300587x
    DOI: 10.1016/j.eneco.2023.107089
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S014098832300587X
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.eneco.2023.107089?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Öztunç Kaymak, Öznur & Kaymak, Yiğit, 2022. "Prediction of crude oil prices in COVID-19 outbreak using real data," Chaos, Solitons & Fractals, Elsevier, vol. 158(C).
    2. Liu, Min & Lee, Chien-Chiang, 2021. "Capturing the dynamics of the China crude oil futures: Markov switching, co-movement, and volatility forecasting," Energy Economics, Elsevier, vol. 103(C).
    3. Feng Ma & M. I. M. Wahab & Jing Liu & Li Liu, 2018. "Is economic policy uncertainty important to forecast the realized volatility of crude oil futures?," Applied Economics, Taylor & Francis Journals, vol. 50(18), pages 2087-2101, April.
    4. Pesaran, M Hashem & Timmermann, Allan, 1992. "A Simple Nonparametric Test of Predictive Performance," Journal of Business & Economic Statistics, American Statistical Association, vol. 10(4), pages 561-565, October.
    5. Degiannakis, Stavros & Filis, George, 2017. "Forecasting oil price realized volatility using information channels from other asset classes," Journal of International Money and Finance, Elsevier, vol. 76(C), pages 28-49.
    6. Yang, Kun & Wei, Yu & Li, Shouwei & Liu, Liang & Wang, Lei, 2021. "Global financial uncertainties and China’s crude oil futures market: Evidence from interday and intraday price dynamics," Energy Economics, Elsevier, vol. 96(C).
    7. Yan, Xiang & Bai, Jiancheng & Li, Xiafei & Chen, Zhonglu, 2022. "Can dimensional reduction technology make better use of the information of uncertainty indices when predicting volatility of Chinese crude oil futures?," Resources Policy, Elsevier, vol. 75(C).
    8. Cheng, Xian & Wu, Peng & Liao, Stephen Shaoyi & Wang, Xuelian, 2023. "An integrated model for crude oil forecasting: Causality assessment and technical efficiency," Energy Economics, Elsevier, vol. 117(C).
    9. Baruník, Jozef & Malinská, Barbora, 2016. "Forecasting the term structure of crude oil futures prices with neural networks," Applied Energy, Elsevier, vol. 164(C), pages 366-379.
    10. Fenghua Wen & Yupei Zhao & Minzhi Zhang & Chunyan Hu, 2019. "Forecasting realized volatility of crude oil futures with equity market uncertainty," Applied Economics, Taylor & Francis Journals, vol. 51(59), pages 6411-6427, December.
    11. Awartani, Basel & Aktham, Maghyereh & Cherif, Guermat, 2016. "The connectedness between crude oil and financial markets: Evidence from implied volatility indices," Journal of Commodity Markets, Elsevier, vol. 4(1), pages 56-69.
    12. Yang, Chen & Lv, Fei & Fang, Libing & Shang, Xingxing, 2020. "The pricing efficiency of crude oil futures in the Shanghai International Exchange," Finance Research Letters, Elsevier, vol. 36(C).
    13. Huang, Yisu & Xu, Weiju & Huang, Dengshi & Zhao, Chenchen, 2023. "Chinese crude oil futures volatility and sustainability: An uncertainty indices perspective," Resources Policy, Elsevier, vol. 80(C).
    14. Zhang, Yaojie & Ma, Feng & Wei, Yu, 2019. "Out-of-sample prediction of the oil futures market volatility: A comparison of new and traditional combination approaches," Energy Economics, Elsevier, vol. 81(C), pages 1109-1120.
    15. Zhang, Yaojie & Ma, Feng & Wang, Yudong, 2019. "Forecasting crude oil prices with a large set of predictors: Can LASSO select powerful predictors?," Journal of Empirical Finance, Elsevier, vol. 54(C), pages 97-117.
    16. Zhao, Yang & Li, Jianping & Yu, Lean, 2017. "A deep learning ensemble approach for crude oil price forecasting," Energy Economics, Elsevier, vol. 66(C), pages 9-16.
    17. Mei, Dexiang & Ma, Feng & Liao, Yin & Wang, Lu, 2020. "Geopolitical risk uncertainty and oil future volatility: Evidence from MIDAS models," Energy Economics, Elsevier, vol. 86(C).
    18. Hao, Jun & Feng, Qianqian & Yuan, Jiaxin & Sun, Xiaolei & Li, Jianping, 2022. "A dynamic ensemble learning with multi-objective optimization for oil prices prediction," Resources Policy, Elsevier, vol. 79(C).
    19. Jin, Daxiang & He, Mengxi & Xing, Lu & Zhang, Yaojie, 2022. "Forecasting China's crude oil futures volatility: How to dig out the information of other energy futures volatilities?," Resources Policy, Elsevier, vol. 78(C).
    20. Barrow, Devon K. & Crone, Sven F., 2016. "Cross-validation aggregation for combining autoregressive neural network forecasts," International Journal of Forecasting, Elsevier, vol. 32(4), pages 1120-1137.
    21. Lu, Xinjie & Ma, Feng & Wang, Jiqian & Wang, Jianqiong, 2020. "Examining the predictive information of CBOE OVX on China’s oil futures volatility: Evidence from MS-MIDAS models," Energy, Elsevier, vol. 212(C).
    22. Huang, Wenyang & Wang, Huiwen & Qin, Haotong & Wei, Yigang & Chevallier, Julien, 2022. "Convolutional neural network forecasting of European Union allowances futures using a novel unconstrained transformation method," Energy Economics, Elsevier, vol. 110(C).
    23. Cheng, Fangzheng & Li, Tian & Wei, Yi-ming & Fan, Tijun, 2019. "The VEC-NAR model for short-term forecasting of oil prices," Energy Economics, Elsevier, vol. 78(C), pages 656-667.
    24. Ma, Feng & Liao, Yin & Zhang, Yaojie & Cao, Yang, 2019. "Harnessing jump component for crude oil volatility forecasting in the presence of extreme shocks," Journal of Empirical Finance, Elsevier, vol. 52(C), pages 40-55.
    25. Yin, Libo & Yang, Qingyuan, 2016. "Predicting the oil prices: Do technical indicators help?," Energy Economics, Elsevier, vol. 56(C), pages 338-350.
    26. John Wei-Shan Hu & Yi-Chung Hu & Ricky Ray-Wen Lin, 2012. "Applying Neural Networks to Prices Prediction of Crude Oil Futures," Mathematical Problems in Engineering, Hindawi, vol. 2012, pages 1-12, August.
    27. Li, Xiafei & Liang, Chao & Chen, Zhonglu & Umar, Muhammad, 2022. "Forecasting crude oil volatility with uncertainty indicators: New evidence," Energy Economics, Elsevier, vol. 108(C).
    28. Wang, Yudong & Ma, Feng & Wei, Yu & Wu, Chongfeng, 2016. "Forecasting realized volatility in a changing world: A dynamic model averaging approach," Journal of Banking & Finance, Elsevier, vol. 64(C), pages 136-149.
    29. Niu, Zibo & Ma, Feng & Zhang, Hongwei, 2022. "The role of uncertainty measures in volatility forecasting of the crude oil futures market before and during the COVID-19 pandemic," Energy Economics, Elsevier, vol. 112(C).
    30. Fan, Ying & Liang, Qiang & Wei, Yi-Ming, 2008. "A generalized pattern matching approach for multi-step prediction of crude oil price," Energy Economics, Elsevier, vol. 30(3), pages 889-904, May.
    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. Li, Xiafei & Liang, Chao & Chen, Zhonglu & Umar, Muhammad, 2022. "Forecasting crude oil volatility with uncertainty indicators: New evidence," Energy Economics, Elsevier, vol. 108(C).
    2. Guo, Xiaozhu & Huang, Dengshi & Li, Xiafei & Liang, Chao, 2023. "Are categorical EPU indices predictable for carbon futures volatility? Evidence from the machine learning method," International Review of Economics & Finance, Elsevier, vol. 83(C), pages 672-693.
    3. Li, Xiafei & Guo, Qiang & Liang, Chao & Umar, Muhammad, 2023. "Forecasting gold volatility with geopolitical risk indices," Research in International Business and Finance, Elsevier, vol. 64(C).
    4. Lu, Fei & Ma, Feng & Li, Pan & Huang, Dengshi, 2022. "Natural gas volatility predictability in a data-rich world," International Review of Financial Analysis, Elsevier, vol. 83(C).
    5. Huang, Yisu & Xu, Weiju & Huang, Dengshi & Zhao, Chenchen, 2023. "Chinese crude oil futures volatility and sustainability: An uncertainty indices perspective," Resources Policy, Elsevier, vol. 80(C).
    6. Mei, Dexiang & Ma, Feng & Liao, Yin & Wang, Lu, 2020. "Geopolitical risk uncertainty and oil future volatility: Evidence from MIDAS models," Energy Economics, Elsevier, vol. 86(C).
    7. Danyan Wen & Mengxi He & Yaojie Zhang & Yudong Wang, 2022. "Forecasting realized volatility of Chinese stock market: A simple but efficient truncated approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(2), pages 230-251, March.
    8. Chao Liang & Yin Liao & Feng Ma & Bo Zhu, 2022. "United States Oil Fund volatility prediction: the roles of leverage effect and jumps," Empirical Economics, Springer, vol. 62(5), pages 2239-2262, May.
    9. Zhang, Yaojie & Lei, Likun & Wei, Yu, 2020. "Forecasting the Chinese stock market volatility with international market volatilities: The role of regime switching," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    10. Zhang, Yaojie & Ma, Feng & Wei, Yu, 2019. "Out-of-sample prediction of the oil futures market volatility: A comparison of new and traditional combination approaches," Energy Economics, Elsevier, vol. 81(C), pages 1109-1120.
    11. Chao Liang & Feng Ma & Lu Wang & Qing Zeng, 2021. "The information content of uncertainty indices for natural gas futures volatility forecasting," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(7), pages 1310-1324, November.
    12. Jin, Daxiang & He, Mengxi & Xing, Lu & Zhang, Yaojie, 2022. "Forecasting China's crude oil futures volatility: How to dig out the information of other energy futures volatilities?," Resources Policy, Elsevier, vol. 78(C).
    13. Xinjie Lu & Feng Ma & Jiqian Wang & Jing Liu, 2022. "Forecasting oil futures realized range‐based volatility with jumps, leverage effect, and regime switching: New evidence from MIDAS models," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(4), pages 853-868, July.
    14. Guo, Xiaozhu & Huang, Yisu & Liang, Chao & Umar, Muhammad, 2022. "Forecasting volatility of EUA futures: New evidence," Energy Economics, Elsevier, vol. 110(C).
    15. Wang, Lu & Ma, Feng & Hao, Jianyang & Gao, Xinxin, 2021. "Forecasting crude oil volatility with geopolitical risk: Do time-varying switching probabilities play a role?," International Review of Financial Analysis, Elsevier, vol. 76(C).
    16. Yan, Xiang & Bai, Jiancheng & Li, Xiafei & Chen, Zhonglu, 2022. "Can dimensional reduction technology make better use of the information of uncertainty indices when predicting volatility of Chinese crude oil futures?," Resources Policy, Elsevier, vol. 75(C).
    17. Zhang, Lixia & Luo, Qin & Guo, Xiaozhu & Umar, Muhammad, 2022. "Medium-term and long-term volatility forecasts for EUA futures with country-specific economic policy uncertainty indices," Resources Policy, Elsevier, vol. 77(C).
    18. Huang, Wenyang & Gao, Tianxiao & Hao, Yun & Wang, Xiuqing, 2023. "Transformer-based forecasting for intraday trading in the Shanghai crude oil market: Analyzing open-high-low-close prices," Energy Economics, Elsevier, vol. 127(PA).
    19. Liang, Chao & Tang, Linchun & Li, Yan & Wei, Yu, 2020. "Which sentiment index is more informative to forecast stock market volatility? Evidence from China," International Review of Financial Analysis, Elsevier, vol. 71(C).
    20. Liu, Guangqiang & Guo, Xiaozhu, 2022. "Forecasting stock market volatility using commodity futures volatility information," Resources Policy, Elsevier, vol. 75(C).

    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:eee:eneeco:v:127:y:2023:i:pa:s014098832300587x. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/eneco .

    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.