Research on Machine Learning-based Prediction of Coffee Futures Prices

Authors

  • Yuduo Chen

DOI:

https://doi.org/10.54097/8c9t9n30

Keywords:

Coffee futures, price forecast, machine learning.

Abstract

Coffee is one of the major agricultural commodities in world trade, and its futures are vital tools in the global capital market. The continued vitality of the coffee market and substantial price fluctuations have increased hedging demands among market participants. Consequently, predicting future price trends of coffee futures to yield excess returns has become a focal point in the field of quantitative investment. Machine learning methods are increasingly being applied in the field of quantitative investment due to their performance advantages in complex data classification and regression. This paper analyzes the current state of the coffee futures market and the factors influencing its prices. In this study, five market indicators and one technical indicator, the bias rate, were selected as inputs. The closing price for the subsequent day, along with short-term (50 days) and long-term (200 days) price trends, were forecasted using two machine learning techniques: the linear regression model and the random forest model. The results demonstrated that, of the two predictive models utilized in this study, the random forest model performed better concerning regression prediction evaluation indices. When predicting short-term (50-day) price trends, the linear regression model exhibited superior performance. However, both models revealed significant errors in predicting long-term (200-day) price trends.

Downloads

Download data is not yet available.

References

Fama, E. F. Efficient capital markets: A review of theory and empirical work. The journal of Finance, 1970, 25 (2), 383 - 417.

Lo, A. W., & MacKinlay, A. C. A non-random walk down Wall Street. Princeton University Press. 2011.

Jegadeesh, N., & Titman, S. Momentum: Evidence and insights 30 years later. Pacific-Basin.Finance Journal, 2023, 102202.

Jegadeesh, N., & Titman, S. Profitability of momentum strategies: An evaluation of alternative explanations. The Journal of finance, 2001, 56 (2), 699 - 720.

Ismail, Z., Yahya, A., & Shabri, A. Forecasting gold prices using multiple linear regression method. American Journal of Applied Sciences, 2009, 6 (8), 1509.

Ciner, C. Do industry returns predict the stock market? A reprise using the random forest. The Quarterly Review of Economics and Finance, 2019, 72, 152 - 158.

Breiman, L. Random forests. Machine learning, 2001, 45, 5 - 32.

Grudnitski, G., & Osburn, L. Forecasting S&P and gold futures prices: An application of neural

networks. Journal of Futures Markets, 1993, 13 (6), 631 - 643.

Fischer, T., & Krauss, C. Deep learning with long short-term memory networks for financial market predictions. European journal of operational research, 2018, 270 (2), 654 - 669.

Basher, S. A., & Sadorsky, P. Forecasting Bitcoin price direction with random forests: How important are interest rates, inflation, and market volatility? Machine Learning with Applications, 2022, 9, 100355.

Di Persio, L., & Honchar, O. Recurrent neural networks approach to the financial forecast ofGoogle assets. International journal of Mathematics and Computers in simulation, 2017, 11, 7 - 13.

Patel, J., Shah, S., Thakkar, P., & Kotecha, K. Predicting stock market index using fusion of machine learning techniques. Expert Systems with Applications, 2015, 42 (4), 2162 - 2172.

Ta, V. D., Liu, C. M., & Addis, D. Prediction and portfolio optimization in quantitative trading using machine learning techniques. In Proceedings of the 9th International Symposium on Information and Communication Technology. 2018, 98 - 105.

Huang, W., Nakamori, Y., & Wang, S. Y. Forecasting stock market movement direction with support vector machine. Computers & operations research, 2005, 32 (10), 2513 - 2522.

Downloads

Published

10-04-2024

How to Cite

Chen, Y. (2024). Research on Machine Learning-based Prediction of Coffee Futures Prices. Highlights in Science, Engineering and Technology, 92, 199-209. https://doi.org/10.54097/8c9t9n30