Forecasting Corn Futures Prices Using the LSTM Model

Authors

  • Shiguang Gu The School of Economics and Management, Henan Institute of Science and Technology, Xinxiang City, 453000, China Author
  • Min Li The School of Economics and Management, Henan Institute of Science and Technology, Xinxiang City, 453000, China Author

DOI:

https://doi.org/10.70267/st9q2c95

Keywords:

LSTM model, price prediction, corn futures

Abstract

The central government's No. 1 document introduced new requirements for “maintaining the stability of agricultural product prices.” However, recent years have seen significant fluctuations in corn prices in China, highlighting the importance of exploring the trends of corn futures prices for stabilizing spot corn prices. Given the increasingly complex financial market environment, traditional linear econometric methods and machine learning approaches face inherent limitations in price forecasting. This study utilizes extensive data and applies the Long-Short Term Memory (LSTM) deep learning model to forecast corn futures prices. During the model training process, historical corn futures data were used as hidden input feature variables, along with additional indicators such as spot corn prices, real-time quotes from corn deep processing enterprises, downstream product prices in the corn industry chain, prices of similar substitutes, and the Baidu Search Index for “corn prices.” The model was trained and fine-tuned with hyperparameters to assess its predictive accuracy under different time windows, learning rates, and iteration counts. Experimental results indicate that incorporating external influencing factors significantly enhances the model's predictive accuracy compared to using only historical price data. The model with a learning rate of 0.01, 50 iterations, a time window of 5, and 4 hidden layers achieved the highest accuracy. The findings demonstrate that integrating external factors and optimizing hyperparameters substantially improve the LSTM model's predictive precision, outperforming models that rely solely on historical data. The study provides policy recommendations on promoting advanced technology, enhancing data collection and information sharing, and improving market transparency and fairness. Additionally, the conclusion discusses the extensive application potential and promising development prospects of the LSTM model in corn futures price forecasting. This model enables market participants to obtain more accurate market trend forecasts, facilitating more informed investment decisions. The research also offers new insights and methodological references for scholars in financial forecasting, contributing to the further advancement of this field.

Funding:

This study was supported by the 2024 Key Research Project of Higher Education Institutions of the Henan Provincial Department of Education [Project Number 24B790006], the Henan Provincial Department of Education [Project Number 2021GGJS120], and the Henan Provincial Department of Education [Project Number 2021SJGLX478]. Additionally, this study received support from the Xinxiang City Federation of Social Sciences [Project Number SKL-2024-157].

Downloads

Download data is not yet available.

References

Chen, Y. (2020). Research on stock index price prediction based on long-short term memory deep learning network model [Master's thesis, Huaqiao University]. CNKI.

Deng, D., Xu, H., & Wei, S. (2023). E-V-ALSTM model for stock price prediction. Computer Engineering and Applications, 59(6), 101-112.

Dhar, S., Mukherjee, T., & Ghoshal, A. K. (2010). Performance evaluation of neural network approach in financial prediction: Evidence from Indian market [Paper presentation]. 2010 International Conference on Communication and Computational Intelligence (INCOCCI), Erode, India.

Fan, J., Liu, H., & Hu, Y. (2021). Soybean futures price prediction based on LSTM deep learning. Price Monthly, (2), 7-15.

Fernandez, J., & Morley, B. (2019). Researchers from university of bath report on findings in agriculture (interdependence among agricultural commodity markets, macroeconomic factors, crude oil and commodity index). Bath Economics Research Working Papers.

Fu, H., & Zhang, W. (2017). Application of machine learning algorithms in stock trend prediction. Software Guide, 16(10), 31-34+46.

Graves, A. (2012). Supervised sequence labelling with recurrent neural networks. Springer Berlin Heidelberg.

Han, S., & Long, Y. (2012). Empirical analysis of corn futures price prediction in China. Jiangxi Social Sciences, 32(6), 60-64.

Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 8, 1735-1780.

Hu, X. (2016). Research on corn futures market price prediction in China [Unpublished master's thesis, Dongbei University of Finance and Economics]. Dalian.

Hu, Z. (2019). Analysis and prediction of corn price fluctuations in Heilongjiang [Unpublished master's thesis, Northeast Agricultural University]. Harbin.

Kang, L., Chen, H., & Zhang, L. (2011). Price prediction and analysis of futures based on GA-BP neural network model. Financial World, (9), 108-109.

Lecun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521, 436-444.

Li, X., & Zhou, Y. (2014). Analysis of the spillover effects of China's and international soybean futures market. Technology Economics and Management Research, (6), 103-107.

Liang, X. (2021). Research on corn futures price prediction in China based on machine learning [Unpublished master's thesis, Beijing University of Posts and Telecommunications]. Beijing.

Liu, M., & Shan, Y. (2021). Prediction of stock index closing price based on EMD-LSTM model. Journal of Chongqing University of Technology (Natural Science), 35(12), 269-276.

Liu, S. (2020). Study on the price spillover effects of corn futures and spot markets in China and the U.S [Master's thesis, Jilin University]. CNKI.

Ren, Y., Ma, X., & Li, S. (2012). Corn futures price prediction method based on chaotic time series. China Securities Futures, (12), 16-17.

Wang, H., Chen, L., & Lu, Y. (2020). Empirical study on venture capital stock pledge and corporate innovation: Based on the SME board and growth enterprise market. Journal of Nanjing Audit University, 17(6), 11-19.

Wang, X., & Zhang, Y. (2022). Research on the prediction accuracy of iron ore futures prices under different time windows: Analysis based on CNN-LSTM attention model. Price Theory and Practice, (11), 142-145.

Wu, L., Tai, Q., & Bian, Y. (2024). Predictive research on regional carbon emission trading prices based on GA-VMD and CNN-bilstm-attention model. Operations Research and Management.

Yang, G., & Liu, K. (2009). Empirical study on China's futures market based on long memory. Value Engineering, 28(8), 152-157.

Zeng, Y., Wu, B., & Wang, L. (2023). Interpretability prediction of corn futures prices based on multi-source heterogeneous data. Management Review, 35(12), 40-52.

Downloads

Published

2024-06-06

Issue

Section

Research Articles

How to Cite

Gu, S., & Li, M. (2024). Forecasting Corn Futures Prices Using the LSTM Model. Financial Economics Research, 1(2), 1-16. https://doi.org/10.70267/st9q2c95