結合時間序列與迴歸之機器學習法預測加密貨幣價格
Predicting Cryptocurrency Prices Using Machine Learning Based on Time Series and Regression
摘要
加密貨幣的去中心化、不可竄改性、匿名性等特色,改變了人們對金錢的思考方式,顛覆了傳統金融體系既有的面貌,當北美第一檔追蹤比特幣價格的ETF於2021年2月在加拿大掛牌上市後,意謂著西方自由民主國家接受了這某種程度上是挑戰傳統、去中心化的新經濟樣貌,在加密貨幣的發展歷程中具有指標性的意義。過去幾年,加密貨幣價格預測的研究結果中,有些研究比較了與總體經濟數據的關聯性、也有些研究認為加密貨幣的漲跌跟網路話題以及趨勢聲量有關,然而為數眾多的研究中,不外乎讓產學界對加密貨幣有更進一步的認識,或是幫助各國政府在制定法規上可以與時俱進,然而,我們更應該思考如何讓這些高價值的研究成果,讓一般人也可以複製以及應用,以造福廣大的投資者。所以本研究利用Azure模組化機器學習平台來建立預測模型,並選用Boosted Decision Tree、Bayesian Linear 和Neural Network 三種迴歸演算法做價格預測,在變數選擇方面,我們使用斯皮爾曼等級相關係數(Spearman's rank correlation coefficient)確定該變數的關聯性強度後,選用了VIX、德國40指數、日經、IEI來作為預測變數。以期幫助投資者在瞬息萬變的加密貨幣交易環境中,快速找到有效資訊,在做決策前,增加參考指標來輔助判斷。最後,本研究發現,使用Bayesian Linear模型的預測精確率在比特幣乙太幣的預測可以來到9成以上。
The decentralization, immutability, and anonymity characteristics of cryptocur-rencies have changed the way people think about money and undermined the existing ideas of the traditional financial system. When North America’s first ETF tracking Bitcoin price was listed in Canada in February 2021, it meant the Western liberal democracies had accepted this new economic outlook that challenged tradition and decentralized the financial sector. From the research results on cryptocurrency price predictions in the past few years, some studies have compared these correlation to the macroeconomic data. Studies have suggested that the rise and fall of crypto-currencies are related to Internet topics and trend volumes. However, among the numerous studies the data attained actually gives the industry and experts a better understanding of cryptocurrencies trends while also helping governments keep pace in formulating regulations.We should also think about how to make these high value research results understandable and accessible; so that people can duplicate and ap-ply them to benefit ordinary investors. Therefore, this study uses the Azure Machine learning to build a predictive model and uses three regression algorithms, Boosted Decision Tree, Bayesian Linear, and Neural Network for price prediction. In terms of variable selection, after using Spearman's rank correlation coefficient to determine the correlation strength of the variable, we selected VIX, German 40 Index, Nikkei, and IEI as predictors. Thus, to help investors quickly find effective information in the ever changing cryptocurrency trading environment, and add reference indicators to assist judgment before making decisions. Finally, this study found that the prediction precision using the Bayesian Linear model can be >90% in both Bitcoin and Ethereum.