Hyperfolio
Guide

Hyperliquid Breakout Trading Strategy: Donchian Backtest (2026)

Breakout trading tested on 365 days of Hyperliquid data: Donchian 20/10 and 55/20 on BTC, ETH, SOL and HYPE, 4h and daily, with fees and funding. Only 7 of 32 profitable.

November 29, 202616 min

The short version: we backtested a classic Turtle-style breakout strategy (Donchian channels 20/10 and 55/20) on a full year of Hyperliquid data for BTC, ETH, SOL and HYPE, on 4h and daily candles, long/short and long-only, at 1x with the tier-0 taker fee (0.045%) and hourly funding included (snapshot 29 November 2026, 08:07 UTC). Only 7 of 32 versions made money. The best was the daily 20/10 long/short rule on BTC (+55.5% while BTC fell 34.3%), and the best on HYPE was the 4h 55/20 long-only rule (+63.5%, still below buy-and-hold at +80.4%). Breakouts beat buy-and-hold in 23 of 24 tests on the three falling coins and in none of 8 on HYPE, the coin that went up. Long/short breakouts on HYPE lost 41–66%. Win rates were mostly 25–40%: the strategy lives on a few big trades.

A breakout strategy buys when price closes above a recent range and sells (or shorts) when it closes below it. It is one of the oldest systematic trading rules, made famous by the Turtle traders in the 1980s, and it is easy to run on Hyperliquid because the order book, candles and funding history are all public. This guide explains how breakout trading works, tests the two classic Donchian settings on real Hyperliquid data with every cost included, and shows how to use the results if you trade breakouts yourself.

What is a breakout trading strategy?

The idea is simple: when price escapes a range it has respected for a while, a new trend may be starting, so you join it. The most common objective definition is the Donchian channel: the highest high and lowest low of the last N bars.

  • Entry: go long when a bar closes above the highest high of the previous N bars; go short when it closes below the lowest low of the previous N bars.
  • Exit: close a long when a bar closes below the lowest low of the previous M bars (M is shorter than N), and close a short when it closes above the highest high of the previous M bars.
  • Classic settings: the Turtles used 20-bar entries with 10-bar exits ("system 1") and 55-bar entries with 20-bar exits ("system 2") on daily charts.

Breakouts are a form of trend following: they buy strength and sell weakness, the opposite of mean reversion. They lose many small trades on false breakouts and need a few large trends to pay for them.

How we tested it on Hyperliquid

All data comes from Hyperliquid's public info endpoint: candleSnapshot for 4h and daily candles and fundingHistory for the hourly funding rate, for the 365 days to 29 November 2026. The rules:

  • Markets: BTC, ETH, SOL and HYPE perps.
  • Timeframes: 4h candles (2,189 bars) and daily candles (364 bars).
  • Settings: Donchian 20/10 and 55/20, as described above. Signals are taken on the bar close and the position is held from that close.
  • Modes: long/short (always ready to take either breakout) and long-only (shorts ignored, flat instead).
  • Size: 1x notional, the whole account in one position, no leverage and no stop beyond the exit channel.
  • Costs: tier-0 taker fee of 0.045% per side (see the Hyperliquid fees guide) and the real hourly funding paid or received while in a position (see the funding rate guide). Slippage is not modelled.

Over the daily test period BTC went from 90,326 to 59,333 (−34.3%), ETH from 2,990.2 to 1,646.6 (−44.9%), SOL from 133.43 to 70.508 (−47.2%) and HYPE from 31.949 to 62.713 (+96.3%). Three falling markets and one rising one make a useful stress test.

Results on daily candles

Rule (1d)BTCETHSOLHYPE
Buy & hold−34.3%−44.9%−47.2%+96.3%
20/10 long/short+55.5%−8.2%−6.0%−66.3%
20/10 long-only+1.1%−40.2%−11.3%−3.9%
55/20 long/short+11.1%+14.6%−14.6%−12.7%
55/20 long-only−14.7%−11.9%−16.3%+14.0%

On daily candles the strategies traded very little: 2 to 15 trades a year per market, with total fees of only 0.2–0.9% of starting capital. BTC's 20/10 long/short rule made 9 trades, won 56% of them and had a profit factor of 3.20, with a max drawdown of 24% against 40% for holding. On HYPE, the same rule was the worst result in the whole test: −66.3% with a 76% drawdown, because it kept shorting breakdowns that reversed back up.

Results on 4h candles

Rule (4h)BTCETHSOLHYPE
Buy & hold−34.8%−45.2%−48.6%+80.4%
20/10 long/short−32.2%−15.8%−22.1%−56.5%
20/10 long-only−38.1%−27.9%−26.6%−19.0%
55/20 long/short+23.3%−8.5%−13.4%−41.1%
55/20 long-only−8.5%−25.5%−11.8%+63.5%

The 4h version traded much more, 12 to 70 trades a year (60–70 for 20/10 long/short), and the costs show it: the 20/10 long/short rule paid 3.6–5.0% of starting capital in fees and lost money on all four coins. The slower 55/20 setting did better on 4h: +23.3% on BTC long/short and +63.5% on HYPE long-only, with 15 trades, a 47% win rate and a profit factor of 2.72.

What the backtest tells you

  • Most versions lost money. 7 of 32 were positive: four on BTC, one on ETH, none on SOL and two on HYPE. A breakout rule is not an edge on its own.
  • Breakouts protect you in falling markets. On BTC, ETH and SOL the strategies beat buy-and-hold in 23 of 24 cases, mostly by losing less. The exit channel took them out of long trends that turned.
  • They lag in strong bull trends. On HYPE no version beat buy-and-hold. Being flat or short during pullbacks meant missing part of the rise.
  • Shorting a rising coin is expensive. HYPE long/short lost 12.7% to 66.3%. In a market with a strong upward drift, long-only was clearly safer.
  • Slower is better here. The 20/10 rule on 4h was the worst setting across the board; the 4h 55/20 and the daily rules had fewer false breakouts and far lower fees.
  • Low win rate is normal. Most versions won 25–40% of trades. Profitable ones relied on a handful of large winners (best single trades +14.6% to +39.5%). If you cannot sit through eight losses in a row, this style is hard to follow; check your own numbers with our win rate and profit factor guide.
  • Funding is a small but real cost. Funding paid ranged from a 0.4% gain to a 4.8% cost of starting capital; long-only versions paid the most because funding was mostly positive for longs.
  • Drawdowns fall when you are flat part of the time. The 55/20 long-only versions were in the market only 26–34% of the time, with max drawdowns of 17–40% against 39–58% for holding.

Worked example: $10,000 on BTC and HYPE

With $10,000 at 1x, the daily 20/10 long/short rule on BTC would have ended near $15,550 after about $90 in fees, against about $6,570 for buying and holding. The same rule on HYPE would have ended near $3,370, while holding HYPE turned $10,000 into about $19,630. Same rule, same year, opposite results: the backtest shows how much breakout results depend on the market regime, which you only know afterwards.

How to trade breakouts on Hyperliquid more safely

  1. Define the range objectively. Use a fixed lookback (for example 55 bars) instead of drawing lines by eye, so you can test the rule.
  2. Prefer slower settings. On this data, daily rules and 55-bar entries beat fast 20-bar entries on 4h.
  3. Size from the stop, not from conviction. The exit channel is your stop; size so a hit costs a fixed share of the account with our position size calculator and an ATR-based view of volatility.
  4. Be careful with leverage. Drawdowns of 20–76% at 1x would be fatal with high leverage; read the leverage guide and the liquidation guide first.
  5. Use stop orders for entries and exits. Hyperliquid supports stop market and stop limit triggers; see the order types guide and the take profit and stop loss guide.
  6. Track the real result. Fees and funding together cost 0.6–7.6% of starting capital in this test. Measure your own closed PnL, fees and funding instead of guessing.

Track your breakout trades with Hyperfolio

A breakout system is judged over dozens of trades, not one. Hyperfolio is a free, read-only tracker for Hyperliquid wallets: paste an address and you see PnL, open positions, fees and funding without connecting a wallet or sharing API keys. It works as a PWA on desktop and mobile, so you can check your equity curve and drawdown wherever you are. If you do not have a Hyperliquid account yet, the referral code HYPERFOLIO gives a 4% discount on trading fees; details in our referral code guide.

FAQ

What is the best breakout strategy for crypto?

There is no rule that works everywhere. In our 365-day Hyperliquid test, the best results came from the daily 20/10 Donchian long/short rule on BTC (+55.5%) and the 4h 55/20 long-only rule on HYPE (+63.5%), but the same settings lost money on other coins.

What is a Donchian channel?

It is the highest high and the lowest low of the last N bars. A close above the upper band is a bullish breakout and a close below the lower band is a bearish one.

Which timeframe is best for breakout trading on Hyperliquid?

In this test, daily candles and slow 4h settings (55/20) did better than the fast 4h 20/10 rule, which traded 60–70 times a year in long/short mode and paid up to 5% of capital in fees.

Why do breakout strategies have a low win rate?

Many breakouts fail and reverse, so the strategy takes many small losses. It is profitable only when a few trends run far enough to pay for them; most of our versions won only 25–40% of trades.

How do I avoid false breakouts?

No filter removes them, but slower lookbacks, waiting for the bar close and going long-only in a strong uptrend reduced the damage in our data.

Should I short breakdowns on Hyperliquid?

It helped on BTC and ETH in a falling year, but on HYPE, which rose 96%, long/short versions lost 12.7–66.3%. Only short if the backtest on that market and regime supports it.

Can I automate a breakout strategy on Hyperliquid?

Yes, with the public API; see our Hyperliquid API Python guide, the historical data guide and the trading bots guide.

Reproduce the test

Python 3 with requests; no API key needed. Results change as new candles arrive.

#!/usr/bin/env python3
"""Breakout trading on Hyperliquid with public data: Donchian channel breakouts (Turtle-style) on 4h and 1d candles,
last 365 days, plus hourly funding. 1x notional, signals on bar close, taker fee 0.045% per side, funding charged hourly.
Entry: close above the highest high (long) / below the lowest low (short) of the previous N bars.
Exit: close below the lowest low (long) / above the highest high (short) of the previous M bars."""
import time, requests
from datetime import datetime, timezone
HL = "https://api.hyperliquid.xyz/info"
def info(body):
    for _ in range(8):
        try:
            r = requests.post(HL, json=body, timeout=20).json()
            if r: return r
        except Exception: pass
        time.sleep(6)
    return []
FEE = 0.00045; HOUR = 3_600_000; DAY = 24*HOUR
now = datetime.now(timezone.utc); end_ms = int(now.timestamp()*1000); start_ms = end_ms - 365*DAY
print("snapshot", now.strftime("%Y-%m-%d %H:%M UTC"), "| 365 days, 4h and 1d candles + hourly funding | taker 0.045%/side, 1x notional")
def funding(coin):
    out, t = {}, start_ms
    while t < end_ms:
        page = info({"type": "fundingHistory", "coin": coin, "startTime": t})
        if not page: break
        for p in page: out[int(p["time"])] = float(p["fundingRate"])
        nt = int(page[-1]["time"]) + 1
        if nt <= t or len(page) < 2: break
        t = nt
    return out
def run(t, h, l, c, fbar, n_in, n_out, mode):
    eq, pos, peak, mdd = 1.0, 0, 1.0, 0.0
    fees = fund = 0.0; trades = []; entry_eq = None; bars_in = 0
    i0 = next(k for k in range(len(t)) if t[k] >= start_ms)
    for i in range(i0, len(c)):
        if pos:
            eq *= 1 + pos*(c[i]/c[i-1]-1)
            f = fbar.get(t[i], 0.0)*pos*eq; eq -= f; fund += f; bars_in += 1
        peak = max(peak, eq); mdd = max(mdd, 1-eq/peak)
        if i == len(c)-1: break
        hi_in, lo_in = max(h[i-n_in:i]), min(l[i-n_in:i])
        hi_out, lo_out = max(h[i-n_out:i]), min(l[i-n_out:i])
        want = pos
        if pos == 1 and c[i] < lo_out: want = 0
        if pos == -1 and c[i] > hi_out: want = 0
        if c[i] > hi_in: want = 1
        elif c[i] < lo_in and mode == "ls": want = -1
        if want != pos:
            if pos and entry_eq is not None: trades.append(eq*(1-FEE)/entry_eq-1)
            cost = FEE*abs(want-pos)*eq; eq -= cost; fees += cost
            pos = want; entry_eq = eq if pos else None
    if pos and entry_eq: trades.append(eq/entry_eq-1)
    wins = [x for x in trades if x > 0]; losses = [x for x in trades if x <= 0]
    pf = sum(wins)/-sum(losses) if losses and sum(losses) < 0 else float("inf")
    return eq-1, mdd, len(trades), len(wins), max(trades) if trades else 0, pf, fees, fund, bars_in
for coin in ["BTC", "ETH", "SOL", "HYPE"]:
    fr = funding(coin)
    print(f"\n{coin}: funding points {len(fr)}")
    for iv, ms in [("4h", 4*HOUR), ("1d", DAY)]:
        bars = info({"type": "candleSnapshot", "req": {"coin": coin, "interval": iv, "startTime": start_ms - 60*ms, "endTime": end_ms}})
        bars = [b for b in bars if int(b["t"]) + ms <= end_ms]
        t = [int(b["t"]) for b in bars]; h = [float(b["h"]) for b in bars]; l = [float(b["l"]) for b in bars]; c = [float(b["c"]) for b in bars]
        fbar = {}
        for ts, r in fr.items():
            k = ts - (ts % ms); fbar[k] = fbar.get(k, 0.0) + r
        i0 = next(k for k in range(len(t)) if t[k] >= start_ms)
        pk = c[i0]; bdd = 0
        for x in c[i0:]: pk = max(pk, x); bdd = max(bdd, 1-x/pk)
        print(f"  {iv}: {len(c)-i0} bars {datetime.fromtimestamp(t[i0]/1000, timezone.utc):%Y-%m-%d} -> {datetime.fromtimestamp(t[-1]/1000, timezone.utc):%Y-%m-%d}: {c[i0]:,.5g} -> {c[-1]:,.5g} buy&hold {(c[-1]/c[i0]-1)*100:+.1f}% maxDD {bdd*100:.0f}%")
        for n_in, n_out in [(20, 10), (55, 20)]:
            for mode in ["ls", "long"]:
                ret, mdd, n, w, best, pf, fees, fund, bi = run(t, h, l, c, fbar, n_in, n_out, mode)
                print(f"    {n_in}/{n_out} {'long/short' if mode=='ls' else 'long-only '}: {ret*100:+6.1f}% maxDD {mdd*100:3.0f}% trades {n:3d} win {w/n*100 if n else 0:3.0f}% best {best*100:+5.1f}% PF {pf:4.2f} time-in-mkt {bi/(len(c)-i0)*100:3.0f}% fees {fees*100:4.1f}% funding {fund*100:+5.1f}%")

Output at the snapshot time (funding is shown as a cost: positive means paid):

snapshot 2026-11-29 08:07 UTC | 365 days, 4h and 1d candles + hourly funding | taker 0.045%/side, 1x notional

BTC: funding points 8760
  4h: 2189 bars 2025-11-29 -> 2026-11-29: 91,024 -> 59,351 buy&hold -34.8% maxDD 42%
    20/10 long/short:  -32.2% maxDD  43% trades  65 win  29% best +21.2% PF 0.80 time-in-mkt  72% fees  4.5% funding  +0.0%
    20/10 long-only :  -38.1% maxDD  39% trades  34 win  29% best +18.3% PF 0.43 time-in-mkt  32% fees  2.4% funding  +1.6%
    55/20 long/short:  +23.3% maxDD  31% trades  23 win  30% best +20.5% PF 1.57 time-in-mkt  57% fees  2.1% funding  +0.5%
    55/20 long-only :   -8.5% maxDD  19% trades  12 win  33% best +12.8% PF 0.78 time-in-mkt  26% fees  1.0% funding  +1.8%
  1d: 364 bars 2025-11-30 -> 2026-11-28: 90,326 -> 59,333 buy&hold -34.3% maxDD 40%
    20/10 long/short:  +55.5% maxDD  24% trades   9 win  56% best +29.8% PF 3.20 time-in-mkt  66% fees  0.9% funding  +1.2%
    20/10 long-only :   +1.1% maxDD  17% trades   5 win  40% best +14.6% PF 1.17 time-in-mkt  40% fees  0.4% funding  +2.4%
    55/20 long/short:  +11.1% maxDD  20% trades   7 win  57% best +24.9% PF 1.67 time-in-mkt  57% fees  0.5% funding  +0.7%
    55/20 long-only :  -14.7% maxDD  17% trades   4 win  25% best  +8.2% PF 0.37 time-in-mkt  31% fees  0.3% funding  +1.9%

ETH: funding points 8760
  4h: 2189 bars 2025-11-29 -> 2026-11-29: 3,006.3 -> 1,647.7 buy&hold -45.2% maxDD 54%
    20/10 long/short:  -15.8% maxDD  46% trades  60 win  27% best +38.3% PF 1.03 time-in-mkt  72% fees  4.7% funding  +0.9%
    20/10 long-only :  -27.9% maxDD  31% trades  32 win  28% best +27.7% PF 0.70 time-in-mkt  35% fees  2.6% funding  +2.2%
    55/20 long/short:   -8.5% maxDD  44% trades  27 win  33% best +28.4% PF 1.05 time-in-mkt  62% fees  2.4% funding  +1.1%
    55/20 long-only :  -25.5% maxDD  30% trades  13 win  31% best +13.7% PF 0.43 time-in-mkt  30% fees  1.0% funding  +2.1%
  1d: 364 bars 2025-11-30 -> 2026-11-28: 2,990.2 -> 1,646.6 buy&hold -44.9% maxDD 53%
    20/10 long/short:   -8.2% maxDD  41% trades  11 win  36% best +26.5% PF 1.01 time-in-mkt  66% fees  0.8% funding  +1.2%
    20/10 long-only :  -40.2% maxDD  40% trades   7 win  14% best  +5.5% PF 0.10 time-in-mkt  35% fees  0.4% funding  +1.8%
    55/20 long/short:  +14.6% maxDD  44% trades   5 win  40% best +32.5% PF 2.11 time-in-mkt  60% fees  0.4% funding  +0.8%
    55/20 long-only :  -11.9% maxDD  20% trades   2 win   0% best  -1.9% PF 0.00 time-in-mkt  27% fees  0.2% funding  +2.1%

SOL: funding points 8760
  4h: 2189 bars 2025-11-29 -> 2026-11-29: 137.54 -> 70.702 buy&hold -48.6% maxDD 58%
    20/10 long/short:  -22.1% maxDD  50% trades  60 win  27% best +34.4% PF 0.98 time-in-mkt  74% fees  5.0% funding  +2.6%
    20/10 long-only :  -26.6% maxDD  36% trades  30 win  23% best +33.2% PF 0.78 time-in-mkt  32% fees  2.2% funding  +1.4%
    55/20 long/short:  -13.4% maxDD  54% trades  29 win  38% best +30.7% PF 1.00 time-in-mkt  65% fees  2.0% funding  +1.9%
    55/20 long-only :  -11.8% maxDD  40% trades  12 win  42% best +30.7% PF 0.89 time-in-mkt  28% fees  0.8% funding  +1.1%
  1d: 364 bars 2025-11-30 -> 2026-11-28: 133.43 -> 70.508 buy&hold -47.2% maxDD 58%
    20/10 long/short:   -6.0% maxDD  50% trades  12 win  33% best +31.5% PF 1.04 time-in-mkt  68% fees  0.8% funding  +2.6%
    20/10 long-only :  -11.3% maxDD  28% trades   6 win  33% best +12.7% PF 0.61 time-in-mkt  31% fees  0.5% funding  +1.3%
    55/20 long/short:  -14.6% maxDD  47% trades   6 win  33% best +31.5% PF 0.87 time-in-mkt  59% fees  0.4% funding  +2.5%
    55/20 long-only :  -16.3% maxDD  24% trades   2 win  50% best +10.2% PF 0.43 time-in-mkt  26% fees  0.2% funding  +1.6%

HYPE: funding points 8760
  4h: 2189 bars 2025-11-29 -> 2026-11-29: 34.799 -> 62.771 buy&hold +80.4% maxDD 42%
    20/10 long/short:  -56.5% maxDD  71% trades  70 win  30% best +28.0% PF 0.77 time-in-mkt  72% fees  3.6% funding  -0.4%
    20/10 long-only :  -19.0% maxDD  42% trades  36 win  28% best +28.0% PF 0.98 time-in-mkt  33% fees  2.7% funding  +2.9%
    55/20 long/short:  -41.1% maxDD  63% trades  35 win  29% best +39.5% PF 0.77 time-in-mkt  67% fees  2.3% funding  +0.5%
    55/20 long-only :  +63.5% maxDD  26% trades  15 win  47% best +39.5% PF 2.72 time-in-mkt  34% fees  1.7% funding  +4.8%
  1d: 364 bars 2025-11-30 -> 2026-11-28: 31.949 -> 62.713 buy&hold +96.3% maxDD 39%
    20/10 long/short:  -66.3% maxDD  76% trades  15 win  27% best +31.0% PF 0.42 time-in-mkt  71% fees  0.6% funding  +0.1%
    20/10 long-only :   -3.9% maxDD  32% trades   7 win  43% best +31.0% PF 1.10 time-in-mkt  38% fees  0.6% funding  +4.3%
    55/20 long/short:  -12.7% maxDD  53% trades   6 win  50% best +18.5% PF 0.89 time-in-mkt  57% fees  0.4% funding  +0.2%
    55/20 long-only :  +14.0% maxDD  29% trades   3 win  67% best +18.5% PF 2.16 time-in-mkt  34% fees  0.3% funding  +3.5%

This article is educational and not financial advice. Past results, especially from a single year, do not predict future returns.

Try Hyperfolio for free

Track your Hyperliquid portfolio in real time with PnL, Smart Money, Markets, Perp Calculator, multi-venue portfolio and push alerts.

HYPERLIQUID

-4% fees

Trade on Hyperliquid · 4% off fees

Hyperfolio is an independent app, free to use with no subscription. We're funded by Hyperliquid referrals, ad space and donations; we truly appreciate you trading through our link.

Use referral

Free for you · keeps Hyperfolio running

Related articles

Guide

Hyperliquid Pairs Trading Strategy: 365-Day Test (2026)

Does pairs trading work on Hyperliquid? A z-score test on five perp pairs over 365 days with real fees and hourly funding: only ETH/BTC made money, and pairs with HYPE lost up to 82% (snapshot 2026-12-02).

Guide

Hyperliquid Scalping Strategy: Fees & Win Rate (2026)

Can you scalp profitably on Hyperliquid? Real round-trip costs at tier-0 fees, live spreads and depth, 1-minute volatility and a baseline bracket test on BTC, ETH, SOL and HYPE (snapshot 2026-12-01).

Guide

Hyperliquid Momentum Strategy: Rotation Backtest (2026)

Does crypto momentum work on Hyperliquid? A 365-day backtest of a weekly rotation across 20 high-volume perps: buy the top 3 (long-only) or long top 3 / short bottom 3, with 7, 28 and 90-day lookbacks, real fees and funding (snapshot 2026-11-30).

Guide

Hyperliquid Portfolio Rebalancing: Calendar vs Threshold Backtest

Does rebalancing a crypto portfolio pay off? A 365-day Hyperliquid backtest of buy-and-hold vs monthly, weekly and 5/10-point threshold rebalancing for BTC, ETH, SOL, HYPE and USDC portfolios, with real spot fees (snapshot 2026-11-28).

Guide

Hyperliquid Mean Reversion Strategy: RSI & Bollinger Backtest

Does mean reversion work on Hyperliquid? A 365-day backtest of RSI(14), RSI(2) and Bollinger Band (20, 2) rules on BTC, ETH, SOL and HYPE 4h candles, long/short and long-only, with real fees and funding (snapshot 2026-11-27).

Guide

Hyperliquid Trend Following Strategy: MA Crossover Backtest

Does trend following work on Hyperliquid? A 365-day backtest of SMA 10/30, 20/50 and 50/200 crossovers on BTC, ETH, SOL and HYPE 4h candles, long/short and long-only, with real fees and funding (snapshot 2026-11-26).