Abstract
A desirable aspect of financial time series analysis is that of successfully detecting (in real time) market phases. In this paper we implement HMMs and HSMMs with normal state-dependent distributions to Bitcoin/USD price dynamics, and also compare this with S&P 500 price dynamics, the latter being a benchmark in traditional stock market behaviour which most literature resorts to. Furthermore, we test our models’ adequacy at detecting bullish and bearish regimes by devising mock investment strategies on our models and assessing how profitable they are with unseen data in comparison to a buy-and-hold approach. We ultimately show that while our modelling approach yields positive results in both Bitcoin/USD and S&P 500, and both are best modelled by four-state HSMMs, Bitcoin/USD so far shows different regime volatility and persistence patterns to the one we are used to seeing in traditional stock markets.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ardia, D., Bluteau, K., Reude, M.: Regime changes in Bitcoin GARCH volatility dynamics. Finan. Res. Lett. (2018, in press)
Baur, D.G., Dimpfl, T., Kuck, K.: Bitcoin, gold and the dollar - a replication and extension. Finan. Res. Lett. 25, 103–110 (2018)
Bonello, A., Suda, D.: Volatility regime analysis of bitcoin price dynamics using Markov switching GARCH models. In: Proceedings of the European Simulation and Modelling Conference, pp. 213–218 (2018)
Bouri, E., Azzi, G., Dyhrberg, A.H.: On the return-volatility relationship in the Bitcoin market around the price crash of 2013. Econstor Economics Discussion Papers, 2016-41 (2018)
Bulla, J., Bulla, I.: hsmm: Hidden Semi-Markov Models. R package version 0.4. http://CRAN.R-project.org/package=hsmm. Accessed 12 Mar 2019 (2013)
Chappell, D.-R.: Regime heteroskedasticity in Bitcoin: A comparison of Markov switching models. MPRA paper 90682, University Library of Munich, Germany (2018)
Chan, S., Chu, J., Nadarajah, S., Osterrieder, J.: A statistical analysis of cryptocurrencies. J. Risk Finan. Manage. 10(12), 1–23 (2017)
Chu, J., Chan, S., Nadarajah, S., Osterrieder, J.: GARCH modelling of cyprtocurrencies. J. Risk Finan. Manage. 10(17), 1–15 (2017)
Granger, C.-W., Ding, Z.: Some properties of absolute return: an alternative measure of risk. Annales d’Economic et de Statistique 40, 67–91 (1995a)
Granger, C.-W., Ding, Z.: Stylized facts on the temporal and distributional properties of daily data from speculative markets. San Diego, unpublished paper, Department of Economics, University of California (1995b)
Guédon, Y.: Estimating hidden semi-Markov chains from discrete sequences. J. Comp. Graph. Statist. 12, 604–639 (2003)
Harte, D.: R package ‘HiddenMarkov’, version 1.8-1. http://homepages.maxnet.co.nz/davidharte/SSLIB/. Accessed 12 Mar 2019 (2014)
Katsiampa, P.: Volatility estimation for Bitcoin, a comparison of GARCH models. Econ. Lett. 158, 3–6 (2017)
Kodama, O., Pichl, L. and Kaizoji, T.: Regime change and trend prediction for Bitcoin time series data. In: Proceedings of the CBU International Conference on Innovations in Science and Education vol. 5, pp. 384–388 (2017)
Liu, Z., Wang, S.: Decoding Chinese stock market returns: tThree-state hidden semi-Markov model. Pac. Basic Finan. J. 44, 127–149 (2017)
Nguyen, N.: Hidden Markov model for stock trading. Int. J. Finan. Stud. 6, 1–17 (2018)
Rydén, T., Teräsvirta, T., Åsbrink, S.: Stylized facts of daily return series and the hidden Markov model. J. Appl. Econ. 13, 217–244 (1998)
Stavroyiannis, S.: Value-at-risk and related measures for the Bitcoin. J. Risk Finan. 19(2), 127–136 (2018)
Viterbi, A.J.: Error bounds for convolutional codes and an asymptotically optimal decoding algorithm. IEEE Trans. Inf. Theor. 13, 260–269 (1967)
Zucchini, W., MacDonald, I.L., Langrock, R.: Hidden Markov Models for Time Series: An Introduction Using R, 2nd edn. Chapman & Hall/CRC, Boca Raton (2016)
Acknowledgements
The research work carried out, was partially funded by the European Social Fund/ENDEAVOUR Scholarships Scheme.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Suda, D., Spiteri, L. (2019). Comparing Market Phase Features for Cryptocurrency and Benchmark Stock Index Using HMM and HSMM Filtering. In: Abramowicz, W., Corchuelo, R. (eds) Business Information Systems Workshops. BIS 2019. Lecture Notes in Business Information Processing, vol 373. Springer, Cham. https://doi.org/10.1007/978-3-030-36691-9_17
Download citation
DOI: https://doi.org/10.1007/978-3-030-36691-9_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-36690-2
Online ISBN: 978-3-030-36691-9
eBook Packages: Computer ScienceComputer Science (R0)