Every crypto market exists in one of three states: trending up, trending down, or going nowhere. The difference between a profitable strategy and a losing one often comes down to knowing which state you're in right now.
Crypto market regime detection is the process of classifying the current market environment into discrete states — bull, bear, or chop — using multiple data sources rather than a single indicator.
What Is a Market Regime?
A market regime is a persistent statistical state that governs how prices behave. During a bull regime, dips get bought and breakouts follow through. During a bear regime, rallies get sold and support levels break. During chop, everything mean-reverts and trend-following strategies get destroyed.
The problem: these regimes aren't labeled. By the time most traders recognize a regime change, they've already given back weeks of gains.
Three Common Approaches
1. Rule-Based Signal Scoring
Define a set of market signals, score each one as bullish, bearish, or neutral, then aggregate into a classification.
For example, Regime uses 10 weighted signals across five categories:
- Funding rates and open interest — leveraged positioning direction
- Crowd sentiment — Fear & Greed, social sentiment extremes
- On-chain flows — DeFi TVL changes, stablecoin supply shifts
- Macro context — DXY, VIX, SPX correlations and divergences
- Price structure — Volume-weighted trend and volatility analysis
Pros: interpretable, fast, debuggable. Cons: requires weight tuning, static thresholds can lag.
2. Hidden Markov Models (HMMs)
HMMs treat regimes as hidden states that generate observable market data. The model learns transition probabilities and emission distributions.
Feed it returns, volatility, and volume — it infers which state most likely generated the data, plus the probability of transitioning.
Pros: statistically principled. Cons: assumes stationarity (crypto violates this constantly), harder to interpret.
3. Clustering / Machine Learning
K-means or Gaussian mixture models can cluster market conditions based on multi-dimensional feature vectors. Data-driven regimes that may not map neatly to "bull/bear/chop" but capture real structure.
Why Crypto Specifically?
- Faster transitions. Regime changes in equities unfold over weeks. In crypto, bear-to-bull can happen in 48 hours.
- More extreme regimes. 80%+ drawdowns in bear markets, 10x in bulls. Wrong regime = expensive.
- 24/7 markets. No closing bell. Regime shifts at 3am on a Sunday.
Practical Integration
Query the current regime with a single API call — no auth required:
curl https://getregime.com/api/v1/market/regime
{
"regime": "chop",
"confidence": 0.5,
"signalCount": 10,
"signalSummary": { "bullish": 2, "bearish": 2, "neutral": 6 }
}
Using It as a Strategy Filter
The simplest integration — a pre-trade filter:
import requests
regime = requests.get("https://getregime.com/api/v1/market/regime").json()
if regime["regime"] == "bear":
print("Bear regime — skip long entries")
elif regime["regime"] == "chop":
print("Chop — reduce size, mean-reversion only")
else:
print("Bull — full position, trend-following")
For Freqtrade users, there's a dedicated endpoint:
curl https://getregime.com/api/v1/freqtrade/regime
Webhook Alerts
Pro users can register webhooks that fire on regime transitions:
curl -X POST -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://your-server.com/hook", "events": ["regime.transition"]}' \
https://getregime.com/api/v1/webhooks
What It Won't Do
Regime detection tells you the market environment, not:
- Exactly when to enter or exit
- Which specific asset to trade
- Position sizing (beyond regime-based rules)
It's a context layer that filters out bad trades — entries that look good on a chart but fail because the broader environment doesn't support them.
Try It
The free tier at getregime.com gives you BTC/ETH regime data. Pro at $49/mo unlocks real-time classification across 20 assets, full signal breakdowns, and webhook alerts.
Quickstart guide has Python, JavaScript, and curl examples. The dataset now includes 11,500+ market snapshots over 57 days.
Originally published at getregime.com/blog.
Top comments (0)