Daily Cryptocurrency Returns Forecasting and Trading via Machine Learning

Authors

  • Andrew Falcon Phillips Academy Andover
  • Tianshu Lyu Mentor, Yale University

DOI:

https://doi.org/10.47611/jsrhs.v10i4.2217

Keywords:

cryptocurrency, returns forecasting, trading, machine learning

Abstract

We execute a comparative analysis of machine learning models for the time-series forecasting of the sign of next-day cryptocurrency returns. We begin by compiling a proprietary dataset that encompasses a wide array of potential cryptocurrency valuation factors (price trends, liquidity, volatility, network, production, investor attention), subsequently identifying and evaluating the most significant factors. We apply eight machine learning models to the dataset, utilizing them as classifiers to predict the sign of next day price returns for the three largest cryptocurrencies by market capitalization: bitcoin, ethereum, and ripple. We show that the most significant valuation factors for cryptocurrency returns are price trend variables, seven and thirty-day reversal, to be specific. We conclude that support vector machines result in the most accurate classifications for all three cryptocurrencies. Additionally, we find that boosted models like AdaBoost and XGBoost have the poorest classification accuracy. At length, we construct a probability-based trading strategy that secures either a daily long or short position on one of the three examined cryptocurrencies. Ultimately, the strategy yields a Sharpe of 2.8 and a cumulative log return of 3.72. On average, the strategy’s log returns outperformed standalone investments in all three cryptocurrencies by a factor of 5.64, and Sharpe ratios more than threefold.

Downloads

Download data is not yet available.

Author Biography

Tianshu Lyu, Mentor, Yale University

Second-year Ph.D. student in Financial Economics at Yale School of Management.

References or Bibliography

Baur, D., Hong, K., & Lee, A. (2018). Bitcoin: medium of exchange or speculative assets? Journal of International Financial Markets, Institutions and Money, 54, 177-189. https://doi.org/10.1016/j.intfin.2017.12.004

Bouri. E., Molnar. P., Azzi, G., Roubaud, D., & Hagfors, L. (2017). On the hedge and safe haven properties of Bitcoin: Is it really more than a diversifier? Finance Research Letters, 20, 192–198. https://doi.org/10.1016/j.frl.2016.09.025

Gu, S., Kelly, B., & Xiu, D. (2020). Empirical asset pricing via machine learning. Review of Financial Studies, 33(5), 2223–2273. https://doi.org/10.1093/rfs/hhaa009

Jaquart, P., Dann, D., & Weinhardt, C. (2021). Short-term bitcoin market prediction via machine learning, Journal of Finance and Data Science, 7, 45-66. https://doi.org/10.1016/j.jfds.2021.03.001

Kristoufek, L. (2013). Bitcoin meets Google trends and Wikipedia: quantifying the relationship between phenomena of the Internet era. Scientific Reports, 3, 3415. https://doi.org/10.1038/srep03415

Liu, Y., & Tsyvinski, A. (2021). Risks and returns of cryptocurrency, Review of Financial Studies, 34(6), 2689-2727. https://doi.org/10.1093/rfs/hhaa113

Panagiotidis, T., Stengos, T., & Vravosinos, O. (2019). The effects of markets, uncertainty and search intensity on bitcoin returns. International Review of Financial Analysis, 63, 220–242. https://doi.org/10.1016/j.irfa.2018.11.002

Sebastiao, H., & Godinho, P. (2021). Forecasting and trading cryptocurrencies with machine learning under changing market conditions. Financial Innovation, 7, 3. https://doi.org/10.1186/s40854-020-00217-x

Published

12-23-2021

How to Cite

Falcon, A., & Lyu, T. (2021). Daily Cryptocurrency Returns Forecasting and Trading via Machine Learning. Journal of Student Research, 10(4). https://doi.org/10.47611/jsrhs.v10i4.2217

Issue

Section

HS Research Articles