IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1911.11819.html
   My bibliography  Save this paper

Cryptocurrency Price Prediction and Trading Strategies Using Support Vector Machines

Author

Listed:
  • David Zhao
  • Alessandro Rinaldo
  • Christopher Brookins

Abstract

Few assets in financial history have been as notoriously volatile as cryptocurrencies. While the long term outlook for this asset class remains unclear, we are successful in making short term price predictions for several major crypto assets. Using historical data from July 2015 to November 2019, we develop a large number of technical indicators to capture patterns in the cryptocurrency market. We then test various classification methods to forecast short-term future price movements based on these indicators. On both PPV and NPV metrics, our classifiers do well in identifying up and down market moves over the next 1 hour. Beyond evaluating classification accuracy, we also develop a strategy for translating 1-hour-ahead class predictions into trading decisions, along with a backtester that simulates trading in a realistic environment. We find that support vector machines yield the most profitable trading strategies, which outperform the market on average for Bitcoin, Ethereum and Litecoin over the past 22 months, since January 2018.

Suggested Citation

  • David Zhao & Alessandro Rinaldo & Christopher Brookins, 2019. "Cryptocurrency Price Prediction and Trading Strategies Using Support Vector Machines," Papers 1911.11819, arXiv.org, revised Nov 2019.
  • Handle: RePEc:arx:papers:1911.11819
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/1911.11819
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Pavel Ciaian & Miroslava Rajcaniova & d’Artis Kancs, 2016. "The economics of BitCoin price formation," Applied Economics, Taylor & Francis Journals, vol. 48(19), pages 1799-1815, April.
    2. Avinash Barnwal & Hari Pad Bharti & Aasim Ali & Vishal Singh, 2019. "Stacking with Neural network for Cryptocurrency investment," Papers 1902.07855, arXiv.org, revised Feb 2019.
    3. Klein, Tony & Pham Thu, Hien & Walther, Thomas, 2018. "Bitcoin is not the New Gold – A comparison of volatility, correlation, and portfolio performance," International Review of Financial Analysis, Elsevier, vol. 59(C), pages 105-116.
    4. Gandal, Neil & Hamrick, JT & Moore, Tyler & Oberman, Tali, 2018. "Price manipulation in the Bitcoin ecosystem," Journal of Monetary Economics, Elsevier, vol. 95(C), pages 86-96.
    5. Kakushadze, Zura, 2018. "Cryptoasset factor models," Algorithmic Finance, IOS Press, vol. 7(3-4), pages 87-104.
    6. Pan, Ming-Shiun & Chan, Kam C. & C.W. Fok, Robert, 1997. "Do currency futures prices follow random walks?," Journal of Empirical Finance, Elsevier, vol. 4(1), pages 1-15, January.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Parthajit Kayal & Purnima Rohilla, 2021. "Bitcoin in the economics and finance literature: a survey," SN Business & Economics, Springer, vol. 1(7), pages 1-21, July.
    2. Aurelio F. Bariviera & Ignasi Merediz‐Solà, 2021. "Where Do We Stand In Cryptocurrencies Economic Research? A Survey Based On Hybrid Analysis," Journal of Economic Surveys, Wiley Blackwell, vol. 35(2), pages 377-407, April.
    3. Flori, Andrea, 2019. "News and subjective beliefs: A Bayesian approach to Bitcoin investments," Research in International Business and Finance, Elsevier, vol. 50(C), pages 336-356.
    4. Bruno Ferreira Frascaroli, 2020. "Bitcoin's innovative aspects, return volatility and uncertainty shocks," International Journal of Financial Markets and Derivatives, Inderscience Enterprises Ltd, vol. 7(3), pages 224-245.
    5. Park, Sangjin & Jang, Kwahngsoo & Yang, Jae-Suk, 2021. "Information flow between bitcoin and other financial assets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 566(C).
    6. Parthajit Kayal & G. Balasubramanian, 2021. "Excess Volatility in Bitcoin: Extreme Value Volatility Estimation," IIM Kozhikode Society & Management Review, , vol. 10(2), pages 222-231, July.
    7. Andrea Flori, 2019. "Cryptocurrencies In Finance: Review And Applications," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 22(05), pages 1-22, August.
    8. Ştefan Cristian Gherghina & Liliana Nicoleta Simionescu, 2023. "Exploring the asymmetric effect of COVID-19 pandemic news on the cryptocurrency market: evidence from nonlinear autoregressive distributed lag approach and frequency domain causality," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-58, December.
    9. Fang, Libing & Bouri, Elie & Gupta, Rangan & Roubaud, David, 2019. "Does global economic uncertainty matter for the volatility and hedging effectiveness of Bitcoin?," International Review of Financial Analysis, Elsevier, vol. 61(C), pages 29-36.
    10. Constandina Koki & Stefanos Leonardos & Georgios Piliouras, 2019. "A Peek into the Unobservable: Hidden States and Bayesian Inference for the Bitcoin and Ether Price Series," Papers 1909.10957, arXiv.org, revised Jul 2021.
    11. Cynthia Weiyi Cai & Rui Xue & Bi Zhou, 2023. "Cryptocurrency puzzles: a comprehensive review and re-introduction," Journal of Accounting Literature, Emerald Group Publishing Limited, vol. 46(1), pages 26-50, June.
    12. Zeng, Ting & Yang, Mengying & Shen, Yifan, 2020. "Fancy Bitcoin and conventional financial assets: Measuring market integration based on connectedness networks," Economic Modelling, Elsevier, vol. 90(C), pages 209-220.
    13. Saggese, Pietro & Belmonte, Alessandro & Dimitri, Nicola & Facchini, Angelo & Böhme, Rainer, 2023. "Arbitrageurs in the Bitcoin ecosystem: Evidence from user-level trading patterns in the Mt. Gox exchange platform," Journal of Economic Behavior & Organization, Elsevier, vol. 213(C), pages 251-270.
    14. Binh Nguyen Quang & Thai‐Ha Le & Canh Nguyen Phuc, 2022. "Influences of uncertainty on the returns and liquidity of cryptocurrencies: Evidence from a portfolio approach," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(2), pages 2497-2513, April.
    15. Bhuiyan, Rubaiyat Ahsan & Husain, Afzol & Zhang, Changyong, 2021. "A wavelet approach for causal relationship between bitcoin and conventional asset classes," Resources Policy, Elsevier, vol. 71(C).
    16. Anil Donmez & Alexander Karaivanov, 2022. "Transaction fee economics in the Ethereum blockchain," Economic Inquiry, Western Economic Association International, vol. 60(1), pages 265-292, January.
    17. Khanh Hoang & Cuong C. Nguyen & Kongchheng Poch & Thang X. Nguyen, 2020. "Does Bitcoin Hedge Commodity Uncertainty?," JRFM, MDPI, vol. 13(6), pages 1-14, June.
    18. Vasilios Plakandaras & Elie Bouri & Rangan Gupta, 2019. "Forecasting Bitcoin Returns: Is there a Role for the U.S. – China Trade War?," Working Papers 201980, University of Pretoria, Department of Economics.
    19. Zimmerman, Peter, 2020. "Blockchain structure and cryptocurrency prices," Bank of England working papers 855, Bank of England.
    20. Smales, L.A., 2019. "Bitcoin as a safe haven: Is it even worth considering?," Finance Research Letters, Elsevier, vol. 30(C), pages 385-393.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:1911.11819. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.