IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v61y2023i3d10.1007_s10614-022-10237-7.html
   My bibliography  Save this article

Extracting Rules via Markov Chains for Cryptocurrencies Returns Forecasting

Author

Listed:
  • Kerolly Kedma Felix do Nascimento

    (Federal Rural University of Pernambuco)

  • Fábio Sandro dos Santos

    (Federal Rural University of Pernambuco)

  • Jader Silva Jale

    (Federal Rural University of Pernambuco)

  • Silvio Fernando Alves Xavier Júnior

    (State University of Paraíba)

  • Tiago A. E. Ferreira

    (Federal Rural University of Pernambuco)

Abstract

With the growing popularity of digital currencies known as cryptocurrencies, there is a need to develop models capable of robustly analyzing and predicting the value of future returns in these markets. In this article, we extract behavior rules to predict the values of future returns in the Bitcoin, Ethereum, Litecoin, and Ripple closing series. We used categorical data in the analyses and Markov chain models from the first to the tenth order to propose a new way of establishing possible future scenarios, in which we analyze the dependence of memory on the dynamics of the process. We used the measurements of accuracy Mean Quadratic Error, Absolute Error Mean Percentage, and Absolute Standard Deviation for the choice of the best models. Our findings reveal that cryptocurrencies have long-range memory. Bitcoin, Ethereum, and Ripple exposed seven steps of memory, while Litecoin displayed nine memory steps. From the transitions between states that happened the most, we defined decision rules that assisted in the definition of future returns in the series. Our results can support the decisions of traders, investors, crypto-traders, and policy-makers.

Suggested Citation

  • Kerolly Kedma Felix do Nascimento & Fábio Sandro dos Santos & Jader Silva Jale & Silvio Fernando Alves Xavier Júnior & Tiago A. E. Ferreira, 2023. "Extracting Rules via Markov Chains for Cryptocurrencies Returns Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 61(3), pages 1095-1114, March.
  • Handle: RePEc:kap:compec:v:61:y:2023:i:3:d:10.1007_s10614-022-10237-7
    DOI: 10.1007/s10614-022-10237-7
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-022-10237-7
    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/s10614-022-10237-7?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. Tetsuya Takaishi, 2017. "Statistical properties and multifractality of Bitcoin," Papers 1707.07618, arXiv.org, revised May 2018.
    2. 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.
    3. Sun, Xiaolei & Liu, Mingxi & Sima, Zeqian, 2020. "A novel cryptocurrency price trend forecasting model based on LightGBM," Finance Research Letters, Elsevier, vol. 32(C).
    4. Christophe Schinckus & Canh Phuc Nguyen & Felicia Chong Hui Ling, 2020. "Crypto-currencies Trading and Energy Consumption," International Journal of Energy Economics and Policy, Econjournals, vol. 10(3), pages 355-364.
    5. Song, Zhe & Jiang, Yu & Zhang, Zijun, 2014. "Short-term wind speed forecasting with Markov-switching model," Applied Energy, Elsevier, vol. 130(C), pages 103-112.
    6. Chowdhury, Reaz & Rahman, M. Arifur & Rahman, M. Sohel & Mahdy, M.R.C., 2020. "An approach to predict and forecast the price of constituents and index of cryptocurrency using machine learning," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 551(C).
    7. Pınar Kaya Soylu & Mustafa Okur & Özgür Çatıkkaş & Z. Ayca Altintig, 2020. "Long Memory in the Volatility of Selected Cryptocurrencies: Bitcoin, Ethereum and Ripple," JRFM, MDPI, vol. 13(6), pages 1-21, May.
    8. Cheng, Qing & Liu, Xinyuan & Zhu, Xiaowu, 2019. "Cryptocurrency momentum effect: DFA and MF-DFA analysis," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 526(C).
    9. Bouri, Elie & Saeed, Tareq & Vo, Xuan Vinh & Roubaud, David, 2021. "Quantile connectedness in the cryptocurrency market," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 71(C).
    10. Takaishi, Tetsuya, 2018. "Statistical properties and multifractality of Bitcoin," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 506(C), pages 507-519.
    11. 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.
    12. Bouri, Elie & Vo, Xuan Vinh & Saeed, Tareq, 2021. "Return equicorrelation in the cryptocurrency market: Analysis and determinants," Finance Research Letters, Elsevier, vol. 38(C).
    13. Shamshad, A. & Bawadi, M.A. & Wan Hussin, W.M.A. & Majid, T.A. & Sanusi, S.A.M., 2005. "First and second order Markov chain models for synthetic generation of wind speed time series," Energy, Elsevier, vol. 30(5), pages 693-708.
    14. Phillip, Andrew & Chan, Jennifer & Peiris, Shelton, 2019. "On long memory effects in the volatility measure of Cryptocurrencies," Finance Research Letters, Elsevier, vol. 28(C), pages 95-100.
    15. Charfeddine, Lanouar & Maouchi, Youcef, 2019. "Are shocks on the returns and volatility of cryptocurrencies really persistent?," Finance Research Letters, Elsevier, vol. 28(C), pages 423-430.
    16. Altan, Aytaç & Karasu, Seçkin & Bekiros, Stelios, 2019. "Digital currency forecasting with chaotic meta-heuristic bio-inspired signal processing techniques," Chaos, Solitons & Fractals, Elsevier, vol. 126(C), pages 325-336.
    17. Wei Zhang & Pengfei Wang & Xiao Li & Dehua Shen, 2018. "Some stylized facts of the cryptocurrency market," Applied Economics, Taylor & Francis Journals, vol. 50(55), pages 5950-5965, November.
    18. Reaz Chowdhury & M. Arifur Rahman & M. Sohel Rahman & M. R. C. Mahdy, 2019. "Predicting and Forecasting the Price of Constituents and Index of Cryptocurrency Using Machine Learning," Papers 1905.08444, arXiv.org.
    19. 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.
    20. Hyndman, Rob J. & Koehler, Anne B., 2006. "Another look at measures of forecast accuracy," International Journal of Forecasting, Elsevier, vol. 22(4), pages 679-688.
    21. Dooruj Rambaccussing & Murat Mazibas, 2020. "True versus Spurious Long Memory in Cryptocurrencies," JRFM, MDPI, vol. 13(9), pages 1-11, August.
    22. Yi, Shuyue & Xu, Zishuang & Wang, Gang-Jin, 2018. "Volatility connectedness in the cryptocurrency market: Is Bitcoin a dominant cryptocurrency?," International Review of Financial Analysis, Elsevier, vol. 60(C), pages 98-114.
    23. Catania, Leopoldo & Grassi, Stefano & Ravazzolo, Francesco, 2019. "Forecasting cryptocurrencies under model and parameter instability," International Journal of Forecasting, Elsevier, vol. 35(2), pages 485-501.
    24. Vladimir Soloviev & Vladimir Saptsin & Dmitry Chabanenko, 2011. "Markov Chains application to the financial-economic time series prediction," Papers 1111.5254, arXiv.org.
    25. 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.
    26. Stosic, Darko & Stosic, Dusan & Ludermir, Teresa B. & Stosic, Tatijana, 2019. "Multifractal behavior of price and volume changes in the cryptocurrency market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 520(C), pages 54-61.
    27. Nino Antulov-Fantulin & Tian Guo & Fabrizio Lillo, 2020. "Temporal mixture ensemble models for intraday volume forecasting in cryptocurrency exchange markets," Papers 2005.09356, arXiv.org, revised Dec 2020.
    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. 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.
    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. Cristiana Vaz & Rui Pascoal & Helder Sebastião, 2021. "Price Appreciation and Roughness Duality in Bitcoin: A Multifractal Analysis," Mathematics, MDPI, vol. 9(17), pages 1-18, August.
    4. 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.
    5. Nikolaos A. Kyriazis, 2019. "A Survey on Efficiency and Profitable Trading Opportunities in Cryptocurrency Markets," JRFM, MDPI, vol. 12(2), pages 1-17, April.
    6. Ata Assaf & Luis Alberiko Gil-Alana & Khaled Mokni, 2022. "True or spurious long memory in the cryptocurrency markets: evidence from a multivariate test and other Whittle estimation methods," Empirical Economics, Springer, vol. 63(3), pages 1543-1570, September.
    7. 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.
    8. Tetsuya Takaishi & Takanori Adachi, 2019. "Market efficiency, liquidity, and multifractality of Bitcoin: A dynamic study," Papers 1902.09253, arXiv.org.
    9. Tetsuya Takaishi & Takanori Adachi, 2020. "Market Efficiency, Liquidity, and Multifractality of Bitcoin: A Dynamic Study," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 27(1), pages 145-154, March.
    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. Assaf, Ata & Mokni, Khaled & Yousaf, Imran & Bhandari, Avishek, 2023. "Long memory in the high frequency cryptocurrency markets using fractal connectivity analysis: The impact of COVID-19," Research in International Business and Finance, Elsevier, vol. 64(C).
    12. Telli, Şahin & Chen, Hongzhuan, 2021. "Multifractal behavior relationship between crypto markets and Wikipedia-Reddit online platforms," Chaos, Solitons & Fractals, Elsevier, vol. 152(C).
    13. 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.
    14. Takaishi, Tetsuya, 2020. "Rough volatility of Bitcoin," Finance Research Letters, Elsevier, vol. 32(C).
    15. Foued Sa^adaoui, 2023. "Structured Multifractal Scaling of the Principal Cryptocurrencies: Examination using a Self-Explainable Machine Learning," Papers 2304.08440, arXiv.org.
    16. 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.
    17. Kakinaka, Shinji & Umeno, Ken, 2021. "Exploring asymmetric multifractal cross-correlations of price–volatility and asymmetric volatility dynamics in cryptocurrency markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 581(C).
    18. 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.
    19. Helder Sebastião & Pedro Godinho, 2021. "Forecasting and trading cryptocurrencies with machine learning under changing market conditions," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-30, December.
    20. Lahmiri, Salim & Bekiros, Stelios, 2020. "Big data analytics using multi-fractal wavelet leaders in high-frequency Bitcoin markets," Chaos, Solitons & Fractals, Elsevier, vol. 131(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:kap:compec:v:61:y:2023:i:3:d:10.1007_s10614-022-10237-7. 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.