Since the invention of digital currency, the social recognition and demand for special currency and similar cryptocurrencies have increased significantly with the development of digital currency and blockchain technology. The rapid rise in the price of digital currency and its significant volatility attracts a large number of users to invest in it as a digital asset. Before the formation of a regulatory strategy with a standardized system, the development of digital currency will undoubtedly have an increasing impact on society, and its price fluctuation will become an unstable factor in society by increasing the risk to users. Therefore, finding out the factors that affect the price of digital currency and forecasting its price has become the focus of research on Bitcoin in recent years. This will not only help investors and relevant institutions understand Bitcoin and the digital currency market but also help improve the financial market and its policies. In this paper, I use a machine learning model to predict the price of digital currency from both numerical and trend aspects. The main contents include the following elements.First, in terms of data characteristics, I comprehensively summarized and referred to the previous research on the price of special currency at home and abroad. Second, in terms of model prediction, I designed a two-stage feature processing method, used three kinds of recurrent neural network models to compare and predict the price of digital currency, and used recursive feature elimination (RFE) and logical regression (LR), random forest (RF), linear discriminant analysis (LDA) Support Vector Machine (SVM) and Naive Bayes (NB), five commonly used machine learning models, are combined to predict the price trend of Bitcoin.