Head-to-head backtests · Oil

HMM Regime Detection vs Darvas Box on Oil: which did better?

Common history 2010-01-04 to 2026-11-25: 4251 trading days (16.9 years). Both strategies and buy-and-hold of Oil are measured over exactly this window, before trading costs.

Verdict from the numbers

The two had about the same CAGR (+5.6% for HMM Regime Detection, +5.4% for Darvas Box). On risk-adjusted return it is too close to call: Sharpe 0.35 vs 0.34, a gap under 0.1. Darvas Box had the shallower maximum drawdown (-50.6% vs -52.0%). Both beat buy-and-hold of Oil on CAGR (-4.8%). This describes past results over this window, before costs; it is not a recommendation to buy or sell anything.

Side-by-side metrics

MetricHMM Regime DetectionDarvas BoxOil buy-and-hold
CAGR+5.6%+5.4%-4.8%
Sharpe ratio0.350.340.05
Max drawdown-52.0%-50.6%-95.3%
Annualised volatility22.7%23.3%36.5%
Share of days in the market47%53%99%
Best calendar year+87.7% 2026+110.4% 2026+102.3% 2026
Worst calendar year-15.4% 2015-20.0% 2023-67.8% 2020

Share of days in the market = days with a non-zero return. Best and worst year ignore partial years. Bold marks the better of A and B on that row.

Equity curves

0.050.140.411.213.5920112013201520172019202120232025
HMM Regime Detection Darvas Box Oil buy-and-hold · start = 1, log scale

Calendar years

Over 17 calendar years, HMM Regime Detection won 9, Darvas Box won 8 and 0 were tied.

YearHMM Regime DetectionDarvas BoxOilWinner
20100.0%+3.6%-3.2%TREND-15
2011-11.4%+0.4%-2.3%TREND-15
2012+4.9%-8.5%-12.4%REG-10
2013-6.9%+7.7%+5.8%TREND-15
2014-2.5%-7.1%-42.4%REG-10
2015-15.4%-15.9%-46.0%REG-10
2016+36.9%+17.3%+6.5%REG-10
2017-7.7%-12.2%+2.5%REG-10
2018+5.7%-10.6%-19.6%REG-10
2019-5.7%+11.1%+32.6%TREND-15
2020-3.9%+19.7%-67.8%TREND-15
2021+40.2%+34.7%+64.7%REG-10
2022+26.7%+20.4%+29.0%REG-10
2023+12.3%-20.0%-4.9%REG-10
2024-8.4%+5.2%+13.4%TREND-15
2025-15.3%-13.4%-8.5%TREND-15
2026+87.7%+110.4%+102.3%TREND-15

Correlation and a 50/50 mix

The daily-return correlation of the two strategies was 0.76. Holding half of each, rebalanced daily, would have returned CAGR +5.8% with a Sharpe of 0.37 and a maximum drawdown of -37.6%. The mix had a higher Sharpe than either strategy alone (0.37 vs 0.35).

HMM Regime DetectionDarvas Box50/50 mix
CAGR+5.6%+5.4%+5.8%
Sharpe ratio0.350.340.37
Max drawdown-52.0%-50.6%-37.6%

Behaviour in bad times

The Oil market's 5 worst calendar quarters inside this window, and what each strategy did in them.

QuarterOilHMM Regime DetectionDarvas Box
2020Q1-67.1%-10.7%-4.8%
2014Q4-40.8%0.0%-4.1%
2018Q4-37.8%-2.6%-9.5%
2015Q3-26.2%-9.5%-7.6%
2015Q4-25.1%-9.8%-4.6%

Quarters with fewer than 40 trading days in the window are excluded.

Related comparisons

All Oil comparisons · All comparisons

Backtests are historical, before trading costs, and not investment advice. Past results do not predict future returns.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.