Kelly Criterion on Hyperliquid: Position Size & Leverage (2026)
Kelly criterion for Hyperliquid traders with real data: formula, fee-adjusted R, full vs half Kelly, and 365-day Kelly leverage for BTC, ETH, SOL and HYPE.
The short version: the Kelly criterion tells you what fraction of your account to risk so that equity grows fastest over many trades:
f* = W − (1 − W) / R. With Hyperliquid tier-0 taker fees, a 1:2 setup with a 1% stop is really 1:1.75, and a 45% win rate gives a full-Kelly risk of 13.6% per trade, which already means 12.5x notional and a 52% drawdown after five losses in a row. Applied to price data instead of trades, the last 365 days of Hyperliquid daily candles (snapshot 25 November 2026, 08:07 UTC) gave a full-Kelly long leverage of −1.5x for BTC, −1.1x for ETH, −1.4x for SOL and +1.2x for HYPE, and the quarterly values swung from −6.4x to +4.8x. On HYPE, 1x returned +73%, 2x only +39% and 3x −48%. Over-betting is worse than under-betting; most traders should use a quarter to half Kelly at most.
Most Hyperliquid traders size positions by feel: "10x looks fine", "I'll put 20% in this one". The Kelly criterion is the mathematical answer to the sizing question, and it is useful precisely because it shows how small the right size usually is. This guide explains the formula, adapts it to Hyperliquid's fees and funding, runs it on a year of real market data, and turns it into a practical sizing rule you can check against your own trade history.
What the Kelly criterion is
John Kelly (Bell Labs, 1956) derived the bet size that maximizes the long-run growth rate of a bankroll when you repeat a bet with a known edge. Betting more than that does not make you more money over time; it makes you less, because losses compound against a larger fraction of your capital. Betting less grows more slowly but with far smaller drawdowns.
For trading, there are two useful versions:
- Discrete (per trade):
f* = W − (1 − W) / R, whereWis your win rate,Ris average win divided by average loss (net of fees), andf*is the fraction of equity you risk (lose if the stop is hit) on each trade. - Continuous (leverage on an asset):
f* ≈ μ / σ², the expected return of the position divided by the variance of its returns. Heref*is a leverage multiple: 1.0 means notional equal to equity.
The most common mistake is mixing these up. In the discrete version, 13.6% is the amount you can lose on a trade, not the size of the position. With a 1% stop, losing 13.6% of equity requires a position of roughly 12.5 times your equity.
Kelly with Hyperliquid fees: your R is smaller than you think
Fees are paid on both entry and exit whether the trade wins or loses, so they shrink every win and enlarge every loss. Using tier-0 taker fees of 0.045% per side (see the Hyperliquid fees guide) and a 1% stop, the net reward-to-risk and the full-Kelly risk per trade are:
| Setup (gross) | Net R | Break-even win rate | W 40% | W 45% | W 50% | W 55% | W 60% |
|---|---|---|---|---|---|---|---|
| 1:1 | 0.835 | 54.50% | −31.9% | −20.9% | −9.9% | +1.1% | +12.1% |
| 1:1.5 | 1.294 | 43.60% | −6.4% | +2.5% | +11.3% | +20.2% | +29.1% |
| 1:2 | 1.752 | 36.33% | +5.8% | +13.6% | +21.5% | +29.3% | +37.2% |
| 1:3 | 2.670 | 27.25% | +17.5% | +24.4% | +31.3% | +38.1% | +45.0% |
A negative f* means the setup has no edge after costs and Kelly says not to take it at all. A 1:1 scalp with a 1% stop needs a win rate above 54.5% just to break even on taker fees. Wider stops or maker fills (0.015%) reduce the fee drag; funding on positions held for hours or days changes it again (see the risk-reward ratio guide and the break-even price guide).
Full Kelly vs fractional Kelly: a worked example
Take the 1:2 setup (net R 1.752) with a 45% win rate. Full Kelly says risk 13.61% per trade. The table below uses the standard expected log-growth formula g = W·ln(1 + f·R) + (1 − W)·ln(1 − f), so it is the theoretical result for this edge, not a backtest:
| Fraction of Kelly | Risk per trade | Notional at 1% stop | Growth per trade | Typical equity after 100 trades | Drawdown after 5 losses in a row | After 10 losses |
|---|---|---|---|---|---|---|
| ¼ Kelly | 3.40% | 3.1x | +0.702% | 2.02x | 16% | 29% |
| ½ Kelly | 6.81% | 6.2x | +1.193% | 3.30x | 30% | 51% |
| Full Kelly | 13.61% | 12.5x | +1.579% | 4.85x | 52% | 77% |
| 1.5x Kelly | 20.42% | 18.7x | +1.202% | 3.33x | 68% | 90% |
| 2x Kelly | 27.23% | 25.0x | +0.074% | 1.08x | 80% | 96% |
| 2.5x Kelly | 34.03% | 31.2x | −1.833% | 0.16x | 88% | 98% |
Three things stand out. Half Kelly keeps about 75% of full Kelly's growth rate (1.193% vs 1.579% per trade) with much smaller drawdowns (30% vs 52% after five losses). Betting 1.5x Kelly grows no faster than half Kelly but with more than double the pain. At 2x Kelly growth is essentially zero, and beyond that a strategy with a real edge loses money. With a 45% win rate, ten losses in a row is not exotic over hundreds of trades, which is why professional sizing rarely goes above half Kelly.
Kelly leverage on real Hyperliquid data (365 days)
The continuous version asks a different question: if you simply held a long perp on an asset, what constant leverage would have maximized growth? We pulled 366 daily closes and 8,760 hourly funding prints per coin from Hyperliquid's public info API (script and raw output at the end).
| Coin | Price, 25 Nov 2025 → 25 Nov 2026 | Mean daily return | Daily stdev (annualized vol) | Avg funding paid by longs | Full-Kelly long leverage | Funding-adjusted |
|---|---|---|---|---|---|---|
| BTC | ~87,330 → ~58,820 (−32.6%) | −0.081% | 2.31% (44%) | +5.7%/yr | −1.52x | −1.81x |
| ETH | 2,959 → 1,640 (−44.6%) | −0.111% | 3.17% (61%) | +6.0%/yr | −1.11x | −1.27x |
| SOL | 138.9 → 67.92 (−51.1%) | −0.143% | 3.25% (62%) | +1.1%/yr | −1.36x | −1.39x |
| HYPE | 33.75 → 58.29 (+72.7%) | +0.257% | 4.69% (90%) | +9.6%/yr | +1.17x | +1.05x |
A negative value means that, in hindsight, the growth-optimal position was short. Funding made longs look worse still, because longs paid funding on average on all four coins. Even for HYPE, which rose 72.7%, full Kelly was only about 1x once funding is counted.
The estimate is unstable
Splitting the same year into four quarters shows how much the "optimal" leverage depends on the window you measure:
| Coin | Q1 (oldest) | Q2 | Q3 | Q4 (latest) |
|---|---|---|---|---|
| BTC | −27%, Kelly −3.8x | +19%, +4.7x | +3%, +1.3x | −24%, −6.4x |
| ETH | −37%, −3.1x | +12%, +2.0x | +18%, +2.2x | −31%, −5.5x |
| SOL | −43%, −3.8x | +6%, +1.3x | +15%, +2.3x | −28%, −3.1x |
| HYPE | −20%, −0.3x | +120%, +4.8x | +34%, +1.9x | −25%, −1.8x |
A trader who estimated Kelly from BTC's Q2 and then used +4.7x long in Q4 would have been on the wrong side of a −24% quarter at nearly 5x. This is the core weakness of Kelly in markets: the formula is exact, but your inputs (win rate, payoff, expected return) are noisy estimates, and errors in the estimate push you toward over-betting.
Over-betting in practice: constant leverage over 365 days
Here is what a daily-rebalanced long at constant leverage would have done (price only, before fees and funding):
| Coin | 0.5x | 1x | 2x | 3x | 5x |
|---|---|---|---|---|---|
| BTC | −16% (max DD 21%) | −33% (40%) | −63% (69%) | −83% (87%) | −98% (99%) |
| ETH | −22% (30%) | −45% (53%) | −79% (83%) | −95% (96%) | −100% (100%) |
| SOL | −27% (33%) | −51% (58%) | −84% (85%) | −96% (97%) | −100% (100%) |
| HYPE | +45% (23%) | +73% (42%) | +39% (70%) | −48% (87%) | −99% (100%) |
HYPE is the textbook case: the asset went up 72.7%, yet doubling leverage roughly halved the return and tripling it turned a winning year into a −48% loss. That is volatility drag, the same effect that makes betting above Kelly destructive. With isolated or cross margin the outcome at 3x–5x would usually be a liquidation rather than a slow bleed (see the liquidation guide and the leverage guide).
How to use Kelly on Hyperliquid, step by step
- Measure your real edge. Pull at least 50–100 closed trades of the same setup and compute win rate and average win / average loss after fees and funding. The win rate and profit factor guide and the closed PnL guide explain how.
- Compute f* with
W − (1 − W) / R. If it is zero or negative, the setup has no edge to size. - Shrink it. Use ¼ to ½ of f* to absorb estimation error. A practical cap many traders use is 1–2% risk per trade regardless of what Kelly says.
- Convert risk into position size:
notional = equity × risk fraction ÷ stop distance. With $10,000, 3.4% risk (¼ Kelly) and a 2% stop, the position is $17,000. The position size calculator does this for you. - Check the leverage you just implied and the liquidation price. If the liquidation price sits inside or near your stop, the size is too large.
- Re-estimate periodically and watch the equity curve. If drawdowns exceed what your Kelly fraction predicts, your edge is probably smaller than you measured (see the drawdown and equity curve guide).
Common Kelly mistakes
- Treating f* as leverage. In the per-trade formula it is the amount at risk; the position can be many times larger.
- Using gross R. Fees and funding can turn a positive Kelly negative, as the 1:1 row shows.
- Trusting a short sample. Twenty trades or one quarter of data can make almost any strategy look like a 5x opportunity.
- Applying Kelly per position when positions are correlated. Long BTC, ETH and SOL at once is close to one bet; size the combined exposure (see the correlation and hedging guide).
- Ignoring the path. Kelly maximizes long-run growth, not comfort. Full Kelly routinely produces 50%+ drawdowns that most people abandon halfway.
Track the inputs with Hyperfolio
Kelly is only as good as your win rate and payoff numbers. Hyperfolio is a free, read-only PWA: paste any Hyperliquid wallet address (no keys, no connection) and see closed PnL, fees, funding and open perps in one place, so you can measure the real edge of your setups and see how much size you are actually running. You can also follow other wallets to compare how they size positions. If you are opening a Hyperliquid account, the referral code HYPERFOLIO gives a 4% fee discount, which slightly improves the net R in every row of the table above (details in the referral code guide).
FAQ
What is the Kelly criterion formula for trading?
For trades with a fixed stop and target: f* = W − (1 − W) / R, where W is the win rate and R is the net average win divided by the net average loss. f* is the fraction of equity to risk per trade. For holding an asset with leverage, the continuous version is approximately expected return divided by variance.
Is full Kelly too aggressive for crypto?
Usually yes. In the worked example above, full Kelly meant 12.5x notional and a 52% drawdown after five straight losses. Because win rates and payoffs are estimated with error, most practitioners use a quarter to half Kelly.
What leverage does Kelly suggest for BTC on Hyperliquid?
It depends entirely on the window. Over the 365 days to 25 November 2026, the full-Kelly long leverage for BTC was −1.52x (−1.81x after funding), meaning short was growth-optimal in hindsight; quarterly estimates ranged from −6.4x to +4.7x. Past values are not a forecast.
Does funding change the Kelly calculation?
Yes. Funding is a carry cost (or income) on the position. Over the last year longs paid on average 5.7%/yr on BTC, 6.0% on ETH, 1.1% on SOL and 9.6% on HYPE, which lowered the funding-adjusted Kelly leverage for longs on every coin. See the funding rate and PnL guide.
How many trades do I need to estimate my Kelly fraction?
There is no magic number, but with fewer than 50 trades the win rate can easily be off by 10 percentage points, which in the table above moves f* from +5.8% to +21.5%. Use more data and a smaller fraction.
Methodology and data
Daily candles (candleSnapshot, interval 1d) and hourly funding (fundingHistory) for BTC, ETH, SOL and HYPE perps from https://api.hyperliquid.xyz/info, 365 days to the snapshot time. Kelly leverage is mean daily simple return divided by its variance; funding adjustment subtracts the average daily funding rate. Constant-leverage results assume daily rebalancing, no fees, no funding and no liquidation engine. Per-trade tables use tier-0 taker fees of 0.045% per side and a 1% stop. This is educational analysis, not financial advice.
#!/usr/bin/env python3
"""Kelly criterion on Hyperliquid with public data: daily candles (365 days) and hourly funding.
Continuous Kelly leverage f* = mean / variance of daily returns (long side), funding-adjusted."""
import time, math, requests, statistics as st
from datetime import datetime, timezone
HL = "https://api.hyperliquid.xyz/info"
def info(body):
for _ in range(8):
r = requests.post(HL, json=body, timeout=20).json()
if r: return r
time.sleep(6)
return []
now = datetime.now(timezone.utc); end_ms = int(now.timestamp()*1000); DAYS = 365
start_ms = end_ms - DAYS*86_400_000
print("snapshot", now.strftime("%Y-%m-%d %H:%M UTC"), "| 365 days of 1d candles + hourly funding")
def funding(coin):
out, t = [], start_ms
while t < end_ms:
page = info({"type": "fundingHistory", "coin": coin, "startTime": t})
if not page: break
out += [(int(p["time"]), float(p["fundingRate"])) for p in page]
nt = int(page[-1]["time"]) + 1
if nt <= t or len(page) < 2: break
t = nt
return out
def kelly(rets):
m = st.mean(rets); v = st.pvariance(rets)
return m, math.sqrt(v), m / v
for coin in ["BTC", "ETH", "SOL", "HYPE"]:
bars = info({"type": "candleSnapshot", "req": {"coin": coin, "interval": "1d", "startTime": start_ms}})
closes = [float(b["c"]) for b in bars]; t0 = int(bars[0]["t"])
rets = [closes[i]/closes[i-1]-1 for i in range(1, len(closes))]
f = funding(coin); fund_day = sum(r for _, r in f) / (len(f)/24) if f else 0.0
m, s, k = kelly(rets)
kf = (m - fund_day) / (s*s)
print(f"\n{coin}: {len(closes)} daily closes from {datetime.fromtimestamp(t0/1000, timezone.utc):%Y-%m-%d}: {closes[0]:,.4g} -> {closes[-1]:,.4g} ({(closes[-1]/closes[0]-1)*100:+.1f}%)")
print(f" mean daily return {m*100:+.3f}% daily stdev {s*100:.2f}% annualized vol {s*math.sqrt(365)*100:.0f}%")
print(f" avg funding paid by longs per day {fund_day*100:+.4f}% ({fund_day*365*100:+.1f}%/yr, {len(f)} hourly prints)")
print(f" full-Kelly long leverage (price only) {k:+.2f}x | funding-adjusted {kf:+.2f}x")
n = len(rets); q = n // 4
parts = [rets[i*q:(i+1)*q] for i in range(4)]
print(" by quarter (oldest->newest): " + " | ".join(f"Q{i+1} ret {(math.prod(1+r for r in p)-1)*100:+.0f}% kelly {kelly(p)[2]:+.1f}x" for i, p in enumerate(parts)))
# growth of fixed daily-rebalanced leverage over the full year, price only
out = []
for L in [0.5, 1, 2, 3, 5]:
eq = 1.0; peak = 1.0; mdd = 0.0; dead = False
for r in rets:
eq *= max(0.0, 1 + L*r)
if eq <= 0: dead = True; break
peak = max(peak, eq); mdd = max(mdd, 1 - eq/peak)
out.append(f"{L}x {'wiped' if dead else f'{(eq-1)*100:+.0f}%'} maxDD {mdd*100:.0f}%")
print(" daily-rebalanced constant leverage, 365d: " + " | ".join(out))
Output:
snapshot 2026-11-25 08:07 UTC | 365 days of 1d candles + hourly funding
BTC: 366 daily closes from 2025-11-25: 8.733e+04 -> 5.882e+04 (-32.6%)
mean daily return -0.081% daily stdev 2.31% annualized vol 44%
avg funding paid by longs per day +0.0155% (+5.7%/yr, 8760 hourly prints)
full-Kelly long leverage (price only) -1.52x | funding-adjusted -1.81x
by quarter (oldest->newest): Q1 ret -27% kelly -3.8x | Q2 ret +19% kelly +4.7x | Q3 ret +3% kelly +1.3x | Q4 ret -24% kelly -6.4x
daily-rebalanced constant leverage, 365d: 0.5x -16% maxDD 21% | 1x -33% maxDD 40% | 2x -63% maxDD 69% | 3x -83% maxDD 87% | 5x -98% maxDD 99%
ETH: 366 daily closes from 2025-11-25: 2,959 -> 1,640 (-44.6%)
mean daily return -0.111% daily stdev 3.17% annualized vol 61%
avg funding paid by longs per day +0.0165% (+6.0%/yr, 8760 hourly prints)
full-Kelly long leverage (price only) -1.11x | funding-adjusted -1.27x
by quarter (oldest->newest): Q1 ret -37% kelly -3.1x | Q2 ret +12% kelly +2.0x | Q3 ret +18% kelly +2.2x | Q4 ret -31% kelly -5.5x
daily-rebalanced constant leverage, 365d: 0.5x -22% maxDD 30% | 1x -45% maxDD 53% | 2x -79% maxDD 83% | 3x -95% maxDD 96% | 5x -100% maxDD 100%
SOL: 366 daily closes from 2025-11-25: 138.9 -> 67.92 (-51.1%)
mean daily return -0.143% daily stdev 3.25% annualized vol 62%
avg funding paid by longs per day +0.0031% (+1.1%/yr, 8760 hourly prints)
full-Kelly long leverage (price only) -1.36x | funding-adjusted -1.39x
by quarter (oldest->newest): Q1 ret -43% kelly -3.8x | Q2 ret +6% kelly +1.3x | Q3 ret +15% kelly +2.3x | Q4 ret -28% kelly -3.1x
daily-rebalanced constant leverage, 365d: 0.5x -27% maxDD 33% | 1x -51% maxDD 58% | 2x -84% maxDD 85% | 3x -96% maxDD 97% | 5x -100% maxDD 100%
HYPE: 366 daily closes from 2025-11-25: 33.75 -> 58.29 (+72.7%)
mean daily return +0.257% daily stdev 4.69% annualized vol 90%
avg funding paid by longs per day +0.0263% (+9.6%/yr, 8760 hourly prints)
full-Kelly long leverage (price only) +1.17x | funding-adjusted +1.05x
by quarter (oldest->newest): Q1 ret -20% kelly -0.3x | Q2 ret +120% kelly +4.8x | Q3 ret +34% kelly +1.9x | Q4 ret -25% kelly -1.8x
daily-rebalanced constant leverage, 365d: 0.5x +45% maxDD 23% | 1x +73% maxDD 42% | 2x +39% maxDD 70% | 3x -48% maxDD 87% | 5x -99% maxDD 100%
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% feesTrade 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.
Free for you · keeps Hyperfolio running
Related articles
Hyperliquid Grid Trading Strategy: 30-Day Backtest (2026)
How grid trading works on Hyperliquid: range, levels, Scale orders vs API bots, maker fees vs funding, and a 30-day backtest of a 20-level grid on BTC, ETH, SOL and HYPE from 2026-11-24.
GuideHyperliquid DCA Strategy: Spot vs Perps, 26-Week Backtest (2026)
How to dollar-cost average on Hyperliquid: spot vs 1x perp long, real fees and funding, how the DCA average entry price works, and a 26-week BTC/ETH/SOL/HYPE backtest of DCA vs lump sum from 2026-11-23.
GuideHyperliquid Risk-Reward Ratio: 1:2 and 1:3 After Fees (2026)
How to use the risk-reward ratio on Hyperliquid perps: how taker/maker fees shrink R, the break-even win rate for 1:1, 1:2 and 1:3, position sizing from the stop and a 30-day BTC/ETH/SOL/HYPE backtest from 2026-11-22.
GuideHyperliquid Break-Even Price: Fees + Funding Formula (2026)
How to calculate your break-even price on Hyperliquid perps: the exact formula with taker/maker fees and hourly funding, a live BTC/ETH/SOL/HYPE table from 2026-11-21 08:09 UTC and a Python script.
GuideHow to Short on Hyperliquid (2026): Step-by-Step Guide
How to short on Hyperliquid with perps: step-by-step setup, a $10k ETH example, short-side funding, liquidation prices at 1x-5x and hedging, with live data from 2026-11-20 08:08 UTC.
GuideHyperliquid Liquidation Map: Real Liquidation Levels (2026)
Build a Hyperliquid liquidation map from real on-chain positions instead of estimated heatmaps. Dated example from the 300 largest accounts on 2 Nov 2026, how to read clusters and concentration, and a Python script.