Price Prediction of Cude oil, Gold, and Cotton Based on OLS, Random Forest, and Lightgbm
DOI:
https://doi.org/10.54691/bcpbm.v38i.4300Keywords:
Future Price prediction; Prediction model; Regression.Abstract
Contemporarily, the predicted price becomes a necessary step for investors in order to gain extra returns. This study applies three regression models (i.e., OLS, Random Forest, and Lightgbm) to forecast the future prices of three products (i.e., crude oil, gold, and cotton) The 0.3 rates is used to split the train and test set. Comparing each graph of errors, two obvious lines representing the original data and predicted data tell the direct result of the advantages and disadvantages of the three models. In the experiment, it is found that the Random Forest model takes part in an important role to predict these three prices. The Random Forest model has less error between the three metrics and displays a closer graph between the original data and predicted data. According to the results, Random Forest model predicts the futures prices accurately and other models can also play the same role for specific futures to some extent. These results shed light on guiding further exploration of future price prediction.
Downloads
References
Lingling Z, Renxiang W, Ying F. The comparative analysis of stock index futures trading effect on the trend of spot market[C]. 2010 2nd IEEE International Conference on Information and Financial Engineering. IEEE, 2010: 659-661.
Chowdhury A R. Futures market efficiency: evidence from cointegration tests[J]. Journal of Futures markets, 1991, 11(5): 577-589.
Sutherland I E. A futures market in computer time[J]. Communications of the ACM, 1968, 11(6): 449-451.
Hong H, Yogo M. What does futures market interest tell us about the macroeconomy and asset prices?[J]. Journal of Financial Economics, 2012, 105(3): 473-490.
Locke P R, Venkatesh P C. Futures market transaction costs[J]. The Journal of Futures Markets (1986-1998), 1997, 17(2): 229.
Gülen S G. Efficiency in the crude oil futures market[J]. Journal of Energy Finance & Development, 1998, 3(1): 13-21.
Harvey C R, Huang R D. Volatility in the foreign currency futures market[J]. The Review of Financial Studies, 1991, 4(3): 543-569.
Ederington L, Lee J H. Who trades futures and how: Evidence from the heating oil futures market[J]. The Journal of Business, 2002, 75(2): 353-373.
Zou Z B, Peng H, Luo L K. The application of random forest in finance. Applied Mechanics and Materials. Trans Tech Publications Ltd, 2015, 740: 947-951.
Sun X, Liu M, Sima Z. A novel cryptocurrency price trend forecasting model based on LightGBM[J]. Finance Research Letters, 2020, 32: 101084.






