|
← All research
// BACKTEST RESEARCH
Testing Hidden Markov Models across 530 assets
Originally published on Medium · Big Universe Little Time · a summary
This is the study that led to building InvestMuse. A Hidden Markov regime classifier was hand-tuned and then backtested across 530 global assets, sorting each into a small set of unobservable market states, with zero look-ahead bias — at every step the model only ever sees data that was actually available at that point in time. It is the origin story: a proof to ourselves that regime detection carried a real, repeatable signal before any product existed.
What the study did
Rather than predicting a price, the model classifies the regime a market is in — accumulation, trending, distribution, high-volatility — from the statistical structure of its returns and volatility. The backtest then followed a simple rule: take exposure in states the model had learned were favourable, step aside in the rest, across all 530 assets over a multi-year window. The point was not a single number; it was whether the regime read generalised across hundreds of very different instruments.
What “win rate” means here — and doesn't
Across that universe the approach reached roughly a 71.5% win rate on its classified setups. It matters to be precise about what that is: the share of closed trades in the test set that ended positive. Win rate says nothing about the size of wins versus losses, drawdown, or path — on its own it is not a performance claim, and a high win rate can still lose money if the losers are large. We read it here as one diagnostic among many, not a headline.
The study this one grew into
This 530-asset test is the earlier work. The current, larger, and more rigorously stress-tested follow-up runs the same idea across 1,225 assets over 41 months out-of-sample (Jan 2023–May 2026) and reports the metrics that actually matter for a strategy — CAGR versus buy-and-hold, Sharpe, maximum drawdown — alongside robustness checks (Monte Carlo ordering, Deflated Sharpe, bootstrap confidence intervals, cost sensitivity). If you want headline performance and how hard it was tested, read that one.
Honest limitations
These are results from a historical backtest over a single window, not live-traded returns; past regimes do not guarantee future ones, and any backtest embeds the assumptions of its rules. We publish it as a methodology and origin-story reference — an observation about how regime detection behaved on real history, not a promise about what any asset will do next.
Related: the flagship 1,225-asset, 41-month study — the current headline proof.
// This summary describes a study by InvestMuse's founder, originally published on Medium. InvestMuse's regime engine scores 1,397 assets every night across nine dimensions. Backtests are out-of-sample and documented; the full trade list — today's entries and exits plus the year-to-date table — is published in the app on a free account.
|