The interest rate futures market is a significant part of the financial market. It has a crucial impact on forecast the interest rate risk in global financial markets, which due to the complexity of financial markets and the volatility of interest rate futures. Based on machine learning scenarios to analyse and compare different algorithms, this paper analyses and forecast 2-year Treasury futures for the period 2022.6-2023.6 through regressions and other methods. Meanwhile, it is applied to construct charts and graphs to better compare and analyse models that are more suitable for forecasting future risk in interest rate futures. National policies, the volatility of the general market environment and its smoothness are utilized as the main factors to forecast its risk fluctuations. The main algorithms this paper use are: random forest regression, ARIMA model, BP Neural Network regression model, ARCH model (model validity test), GARCH model. In conclusion, though the predicted results of the random forest and ARIMA models exhibit a close to 0 and have strong stability, the predicted results of the GARCH are relatively better, none of them achieve the desired prediction performance.