index-regimehigh riskindex

Regime-Gated Crypto Index (Risk-Managed, Top-15)

Does a regime-gated crypto index work? Backtested on real Hyperliquid perps from 2024-08-15 to 2026-07-05, the default settings earned a Sharpe of 1.05 — +127.8% total return with a 42.6% worst drawdown across 349 trades, net of fees, slippage, and funding.

By Keel Research · Data as of 2026-07-05 · how this backtest was produced
EquityDrawdown
Sharpe
1.05
default settings
Total return
+127.8%
Worst drawdown
−42.6%
Trades
349

2024-08-152026-07-05 · net of fees, slippage, and funding · price-only Sharpe 1.20 · these are the default settings, not a hand-picked best case.

At $1,000, this strategy’s worst historical dip was about $426. Free account, your own Hyperliquid keys — Keel only trades.

How it works

How it works

Crypto has two structural features this strategy leans on: trends persist for long stretches, and crashes tend to grind lower over weeks rather than gap in a single day. It holds a broad, equal-weight basket of the top-15 perpetuals by volume at full 1x exposure — but only while BTC, the asset that leads the whole complex, trades above its 100-day trend line. When BTC closes below that line, the strategy goes entirely to cash: no shorting, no leverage, one switch. The basket is deliberately simple; the BTC risk-off switch is the edge, stepping out ahead of the worst of a downturn.

When it works best

It profits in BTC uptrends: while BTC holds its 100-day line, the strategy rides the full basket and compounds the up-leg. Breadth beyond the four majors adds diversification without giving back much return, up to around 12–15 names. A plain always-invested version of the same basket lost money over the window — the gate is what turns it positive.

When it struggles

Two conditions hurt. First, whipsaws: when BTC chops back and forth across its trend line, each false switch costs a round-trip and a re-entry lag. Second, and more important, beta drawdown inside risk-on periods — the gate only reacts to BTC's trend, so a sharp basket sell-off while BTC is still above its line is absorbed in full. That is why the worst drawdown was 42.6% even with the gate. This is a risk-managed index, not a low-risk one — that drawdown is genuine crypto beta the switch does not remove.

How it’s built

The exact strategy behind this backtest — no black box. Switch to code to see or copy the full definition.

Configuration

Globalsconfig
target_timeframe1dbar_offset12h
UniverseassetsTop by Volume · HL Perps · 15 assets
Executiontrading
rebalanceBufferedbuffer_threshold0.1buffer_moderelative+1

Factories

btc_trendfactory
Pipeline5 steps
PriceDataLoaderData Loader
timeframe15min
TargetTimeframeResamplerData Transform
Parallel2 branches
basket
ConstantForecastForecast Mapper
value10
btc_regime
btc_trendcall
RegimeGateForecast Composer
signal_keybasketindex_keybtc_regimeconditionindex > 0
EqualWeightSizerPosition Sizer
target_leverage1max_weight0.15

Explore the settings

precomputed · updates instantly

Adjust a setting to see the exact backtested result — including the ones that lost money.

BTC trend-line length
Universe size (by volume)
Sharpe
1.05
Return
127.9%
Worst DD
−42.6%
Trades
349

At $1,000, these settings' worst historical dip was about $426. You land in the editor with this exact setup. Free account, your own keys.

Compare all 7 settings
SettingsSharpeReturnWorst DDTrades
BTC 100d · Universe 15default1.05127.9%−42.6%349
BTC 100d · Universe 100.9086.9%−35.5%217
BTC 100d · Universe 121.10133.2%−36.4%256
BTC 100d · Universe 200.7055.9%−46.5%498
BTC 100d · Universe 300.6040.8%−46.4%678
BTC 50d · Universe 150.8480.0%−46.5%367
BTC 200d · Universe 150.21-5.5%−46.6%295

The data

Monthly returns

MonthReturn
2024-080.0%
2024-090.0%
2024-10+13.7%
2024-11+84.5%
2024-12+7.9%
2025-01-0.3%
2025-02-30.0%
2025-030.0%
2025-04+8.8%
2025-05+6.8%
2025-06-0.5%
2025-07+19.2%
2025-08+9.5%
2025-09+3.5%
2025-10-14.8%
2025-110.0%
2025-120.0%
2026-010.0%
2026-020.0%
2026-030.0%
2026-04-3.0%
2026-05+11.7%
2026-060.0%
2026-070.0%

Which assets it traded

Avg allocationDays held% of time heldAsset
0.099334850.51BTC
0.099334850.51DOGE
0.099334850.51ETH
0.099334850.51LINK
0.099334850.51SOL
0.099334850.51SUI
0.099334850.51XRP
0.099334850.51kPEPE
0.093828741.65HYPE
0.089823333.82VVV
0.081312718.43PUMP
0.07648412.19XPL
0.0735598.56ZEC
0.0714375.37LIT
000GRAM

What this is: a historical backtest on real Hyperliquid market data, net of fees, slippage, and funding. Its worst historical drawdown was 42.6% — expect drawdowns of that order or worse. Past performance does not predict future results, and this is not investment advice. Size your account so a full drawdown is survivable.

Questions

Common questions

Does a regime-gated crypto index work?

Over 2024-08-15 → 2026-07-05 on real Hyperliquid perps, the default settings earned a Sharpe of 1.05 with +127.8% total return and a 42.6% worst drawdown across 349 trades — net of fees, slippage, and funding. It is a high-drawdown strategy, so size it accordingly.

Best trend filter for a crypto index

You can adjust BTC trend-line length, Universe size (by volume). The config explorer on this page lets you compare every setting we tested — including the ones that underperformed — with the exact backtested result for each.

Related strategies