IDEAS home Printed from https://ideas.repec.org/a/spr/annopr/v297y2021i1d10.1007_s10479-020-03575-y.html
   My bibliography  Save this article

Prediction of cryptocurrency returns using machine learning

Author

Listed:
  • Erdinc Akyildirim

    (ETH
    University of Zurich
    Burdur Mehmet Akif Ersoy University)

  • Ahmet Goncu

    (Xian Jiaotong Liverpool University
    Shanghai Jiaotong University)

  • Ahmet Sensoy

    (Bilkent University)

Abstract

In this study, the predictability of the most liquid twelve cryptocurrencies are analyzed at the daily and minute level frequencies using the machine learning classification algorithms including the support vector machines, logistic regression, artificial neural networks, and random forests with the past price information and technical indicators as model features. The average classification accuracy of four algorithms are consistently all above the 50% threshold for all cryptocurrencies and for all the timescales showing that there exists predictability of trends in prices to a certain degree in the cryptocurrency markets. Machine learning classification algorithms reach about 55–65% predictive accuracy on average at the daily or minute level frequencies, while the support vector machines demonstrate the best and consistent results in terms of predictive accuracy compared to the logistic regression, artificial neural networks and random forest classification algorithms.

Suggested Citation

  • Erdinc Akyildirim & Ahmet Goncu & Ahmet Sensoy, 2021. "Prediction of cryptocurrency returns using machine learning," Annals of Operations Research, Springer, vol. 297(1), pages 3-36, February.
  • Handle: RePEc:spr:annopr:v:297:y:2021:i:1:d:10.1007_s10479-020-03575-y
    DOI: 10.1007/s10479-020-03575-y
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10479-020-03575-y
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10479-020-03575-y?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Kyaw, NyoNyo A. & Los, Cornelis A. & Zong, Sijing, 2006. "Persistence characteristics of Latin American financial markets," Journal of Multinational Financial Management, Elsevier, vol. 16(3), pages 269-290, July.
    2. Andrew W. Lo, A. Craig MacKinlay, 1988. "Stock Market Prices do not Follow Random Walks: Evidence from a Simple Specification Test," The Review of Financial Studies, Society for Financial Studies, vol. 1(1), pages 41-66.
    3. Bouri, Elie & Gupta, Rangan & Lahiani, Amine & Shahbaz, Muhammad, 2018. "Testing for asymmetric nonlinear short- and long-run relationships between bitcoin, aggregate commodity and gold prices," Resources Policy, Elsevier, vol. 57(C), pages 224-235.
    4. Bouri, Elie & Gupta, Rangan & Lau, Chi Keung Marco & Roubaud, David & Wang, Shixuan, 2018. "Bitcoin and global financial stress: A copula-based approach to dependence and causality in the quantiles," The Quarterly Review of Economics and Finance, Elsevier, vol. 69(C), pages 297-307.
    5. Urquhart, Andrew, 2016. "The inefficiency of Bitcoin," Economics Letters, Elsevier, vol. 148(C), pages 80-82.
    6. Bariviera, Aurelio F., 2017. "The inefficiency of Bitcoin revisited: A dynamic approach," Economics Letters, Elsevier, vol. 161(C), pages 1-4.
    7. Tiwari, Aviral Kumar & Jana, R.K. & Das, Debojyoti & Roubaud, David, 2018. "Informational efficiency of Bitcoin—An extension," Economics Letters, Elsevier, vol. 163(C), pages 106-109.
    8. Mensi, Walid & Lee, Yun-Jung & Al-Yahyaee, Khamis Hamed & Sensoy, Ahmet & Yoon, Seong-Min, 2019. "Intraday downward/upward multifractality and long memory in Bitcoin and Ethereum markets: An asymmetric multifractal detrended fluctuation analysis," Finance Research Letters, Elsevier, vol. 31(C), pages 19-25.
    9. Jamdee, Sutthisit & Los, Cornelis A., 2007. "Long memory options: LM evidence and simulations," Research in International Business and Finance, Elsevier, vol. 21(2), pages 260-280, June.
    10. Fama, Eugene F & French, Kenneth R, 1988. "Permanent and Temporary Components of Stock Prices," Journal of Political Economy, University of Chicago Press, vol. 96(2), pages 246-273, April.
    11. Cochran, Steven J & DeFina, Robert H & Mills, Leonard O, 1993. "International Evidence on the Predictability of Stock Returns," The Financial Review, Eastern Finance Association, vol. 28(2), pages 159-180, May.
    12. Sensoy, Ahmet, 2019. "The inefficiency of Bitcoin revisited: A high-frequency analysis with alternative currencies," Finance Research Letters, Elsevier, vol. 28(C), pages 68-73.
    13. Peter R. Hansen & Asger Lunde & James M. Nason, 2011. "The Model Confidence Set," Econometrica, Econometric Society, vol. 79(2), pages 453-497, March.
    14. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    15. Bouri, Elie & Lau, Chi Keung Marco & Lucey, Brian & Roubaud, David, 2019. "Trading volume and the predictability of return and volatility in the cryptocurrency market," Finance Research Letters, Elsevier, vol. 29(C), pages 340-346.
    16. Nadarajah, Saralees & Chu, Jeffrey, 2017. "On the inefficiency of Bitcoin," Economics Letters, Elsevier, vol. 150(C), pages 6-9.
    17. Vidal-Tomás, David & Ibañez, Ana, 2018. "Semi-strong efficiency of Bitcoin," Finance Research Letters, Elsevier, vol. 27(C), pages 259-265.
    18. Jiang, Yonghong & Nie, He & Ruan, Weihua, 2018. "Time-varying long-term memory in Bitcoin market," Finance Research Letters, Elsevier, vol. 25(C), pages 280-284.
    19. Ji, Qiang & Bouri, Elie & Roubaud, David & Kristoufek, Ladislav, 2019. "Information interdependence among energy, cryptocurrency and major commodity markets," Energy Economics, Elsevier, vol. 81(C), pages 1042-1055.
    20. Brauneis, Alexander & Mestel, Roland, 2018. "Price discovery of cryptocurrencies: Bitcoin and beyond," Economics Letters, Elsevier, vol. 165(C), pages 58-61.
    21. Michael A. Noakes & Kanshukan Rajaratnam, 2016. "Testing market efficiency on the Johannesburg Stock Exchange using the overlapping serial test," Annals of Operations Research, Springer, vol. 243(1), pages 273-300, August.
    22. Elie Bouri & Mahamitra Das & Rangan Gupta & David Roubaud, 2018. "Spillovers between Bitcoin and other assets during bear and bull markets," Applied Economics, Taylor & Francis Journals, vol. 50(55), pages 5935-5949, November.
    23. Walther, Thomas & Klein, Tony & Bouri, Elie, 2019. "Exogenous drivers of Bitcoin and Cryptocurrency volatility – A mixed data sampling approach to forecasting," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 63(C).
    24. Glantz, Morton & Kissell, Robert, 2013. "Multi-Asset Risk Modeling," Elsevier Monographs, Elsevier, edition 1, number 9780124016903.
    25. Christos Avdoulas & Stelios Bekiros & Sabri Boubaker, 2018. "Evolutionary-based return forecasting with nonlinear STAR models: evidence from the Eurozone peripheral stock markets," Annals of Operations Research, Springer, vol. 262(2), pages 307-333, March.
    26. Bouri, Elie & Shahzad, Syed Jawad Hussain & Roubaud, David, 2019. "Co-explosivity in the cryptocurrency market," Finance Research Letters, Elsevier, vol. 29(C), pages 178-183.
    27. Khuntia, Sashikanta & Pattanayak, J.K., 2018. "Adaptive market hypothesis and evolving predictability of bitcoin," Economics Letters, Elsevier, vol. 167(C), pages 26-28.
    28. Brock, William & Lakonishok, Josef & LeBaron, Blake, 1992. "Simple Technical Trading Rules and the Stochastic Properties of Stock Returns," Journal of Finance, American Finance Association, vol. 47(5), pages 1731-1764, December.
    29. Wei, Wang Chun, 2018. "Liquidity and market efficiency in cryptocurrencies," Economics Letters, Elsevier, vol. 168(C), pages 21-24.
    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. 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.
    2. Carmen López-Martín & Sonia Benito Muela & Raquel Arguedas, 2021. "Efficiency in cryptocurrency markets: new evidence," Eurasian Economic Review, Springer;Eurasia Business and Economics Society, vol. 11(3), pages 403-431, September.
    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. Nikolaos A. Kyriazis, 2019. "A Survey on Efficiency and Profitable Trading Opportunities in Cryptocurrency Markets," JRFM, MDPI, vol. 12(2), pages 1-17, April.
    5. Corbet, Shaen & Lucey, Brian & Urquhart, Andrew & Yarovaya, Larisa, 2019. "Cryptocurrencies as a financial asset: A systematic analysis," International Review of Financial Analysis, Elsevier, vol. 62(C), pages 182-199.
    6. Nils Bundi & Marc Wildi, 2019. "Bitcoin and market-(in)efficiency: a systematic time series approach," Digital Finance, Springer, vol. 1(1), pages 47-65, November.
    7. Derick Quintino & Jessica Campoli & Heloisa Burnquist & Paulo Ferreira, 2020. "Efficiency of the Brazilian Bitcoin: A DFA Approach," IJFS, MDPI, vol. 8(2), pages 1-9, April.
    8. Aslan, Aylin & Sensoy, Ahmet, 2020. "Intraday efficiency-frequency nexus in the cryptocurrency markets," Finance Research Letters, Elsevier, vol. 35(C).
    9. Duan, Kun & Li, Zeming & Urquhart, Andrew & Ye, Jinqiang, 2021. "Dynamic efficiency and arbitrage potential in Bitcoin: A long-memory approach," International Review of Financial Analysis, Elsevier, vol. 75(C).
    10. 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.
    11. Yi, Eojin & Ahn, Kwangwon & Choi, M.Y., 2022. "Cryptocurrency: Not far from equilibrium," Technological Forecasting and Social Change, Elsevier, vol. 177(C).
    12. OlaOluwa S. Yaya & Ahamuefula E. Ogbonna & Robert Mudida & Nuruddeen Abu, 2021. "Market efficiency and volatility persistence of cryptocurrency during pre‐ and post‐crash periods of Bitcoin: Evidence based on fractional integration," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 26(1), pages 1318-1335, January.
    13. Böyükaslan, Adem & Ecer, Fatih, 2021. "Determination of drivers for investing in cryptocurrencies through a fuzzy full consistency method-Bonferroni (FUCOM-F’B) framework," Technology in Society, Elsevier, vol. 67(C).
    14. Stefano Martinazzi & Daniele Regoli & Andrea Flori, 2020. "A Tale of Two Layers: The Mutual Relationship between Bitcoin and Lightning Network," Risks, MDPI, vol. 8(4), pages 1-18, December.
    15. Helder Miguel Correia Virtuoso Sebastião & Paulo José Osório Rupino Da Cunha & Pedro Manuel Cortesão Godinho, 2021. "Cryptocurrencies and blockchain. Overview and future perspectives," International Journal of Economics and Business Research, Inderscience Enterprises Ltd, vol. 21(3), pages 305-342.
    16. Antonakakis, Nikolaos & Chatziantoniou, Ioannis & Gabauer, David, 2019. "Cryptocurrency market contagion: Market uncertainty, market complexity, and dynamic portfolios," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 61(C), pages 37-51.
    17. Köchling, Gerrit & Müller, Janis & Posch, Peter N., 2019. "Price delay and market frictions in cryptocurrency markets," Economics Letters, Elsevier, vol. 174(C), pages 39-41.
    18. Sangram Keshari Jena & Aviral Kumar Tiwari & Buhari Doğan & Shawkat Hammoudeh, 2022. "Are the top six cryptocurrencies efficient? Evidence from time‐varying long memory," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(3), pages 3730-3740, July.
    19. Andrei Shynkevich, 2021. "Impact of bitcoin futures on the informational efficiency of bitcoin spot market," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 41(1), pages 115-134, January.
    20. Walther, Thomas & Klein, Tony & Bouri, Elie, 2019. "Exogenous drivers of Bitcoin and Cryptocurrency volatility – A mixed data sampling approach to forecasting," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 63(C).

    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:spr:annopr:v:297:y:2021:i:1:d:10.1007_s10479-020-03575-y. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.