As a matter of fact, cryptocurrency is an exchange media, which uses cryptographic functions to trade, which achieves decentralisation, transparency, and invariance using blockchain. With the rapid development since the first white book proposed in 2008. The market value of cryptocurrency has been exponentially expanded rapidly in recent years. On this basis, programmatic trading strategy are paid more attention by people in trading cryptocurrency contemporarily. With this in mind, this study provides three models, that is, Exponential Smoothing Model (ESM), Autoregressive Integrated Moving Average (ARIMA) model and Long short-term memory (LSTM) model to forecast the future price of cryptocurrency and use sum of square error to analyse the results of these prediction. According to the analysis, LSTM is the best model to forecast the price of cryptocurrency in this article. Overall, machine learning might be more useful to forecast in this fields than traditional statistical models. Investors and researchers in the future could continue to forecast the price of cryptocurrency combined with LSTM model.