Market Regime Detection in Bitcoin Time Series Using K-Means Clustering and Hidden Markov Models

Main Article Content

👤 Calandra A. Haryani
🏢 Department of Information Systems, Universitas Pelita Harapan, Indonesia
👤 Chandra
🏢 Department of Information Systems, Bina Nusantara University, Jakarta, Indonesia
👤 Riswan Efendi Tarigan
🏢 Department of Information Systems, Faculty of AI and Data Science, Universitas Pelita Harapan, Indonesia

The rapid growth of cryptocurrency markets has created new challenges in understanding and predicting the structural dynamics of digital asset prices. Bitcoin, as the most traded blockchain-based currency, exhibits extreme volatility, nonlinear patterns, and complex regime shifts that traditional financial models cannot adequately capture. This study proposes a hybrid analytical framework that integrates K Means clustering with the Hidden Markov Model to identify and model multiple market regimes in Bitcoin time series data. The Bitcoin dataset used in this research contains minute-level records that were preprocessed to extract key indicators, namely logarithmic returns and rolling volatility, which represent the short-term dynamics of market behavior. The K Means algorithm was first employed to segment the data into three distinct clusters that correspond to bullish, bearish, and sideways regimes, followed by the application of the Hidden Markov Model to estimate probabilistic transitions between these regimes over time. The results reveal that the hybrid K Means and Hidden Markov Model approach achieves superior performance compared to a standalone model, as indicated by a higher log likelihood and a lower Bayesian Information Criterion value. The transition probability matrix shows that bullish and bearish regimes are highly persistent, while the sideways regime acts as a transitional buffer that connects both market extremes. The empirical findings confirm that Bitcoin prices evolve through persistent and probabilistically determined regimes rather than random fluctuations. The proposed framework provides a more comprehensive understanding of cryptocurrency market dynamics and offers practical value for investors, risk analysts, and policymakers in designing adaptive trading and risk management strategies within blockchain-based financial ecosystems.

[1]
C. A. Haryani, Chandra, and R. E. Tarigan, “Market Regime Detection in Bitcoin Time Series Using K-Means Clustering and Hidden Markov Models”, J. Digit. Mark. Digit. Curr., vol. 3, no. 1, pp. 75–95, Feb. 2026.

Article Details

Section
Articles