Hyperliquid DCA Strategy: Spot vs Perps, 26-Week Backtest (2026)
Dollar-cost averaging on Hyperliquid with real data: spot vs 1x perp, fees vs funding, average entry price and a 26-week DCA vs lump sum backtest on BTC, ETH, SOL, HYPE.
The short version: dollar-cost averaging (DCA) means buying a fixed dollar amount on a fixed schedule instead of all at once. We replayed $100 every week for 26 weeks (first buy 25 May 2026, snapshot 23 November 2026, 08:08 UTC) on BTC, ETH, SOL and HYPE using Hyperliquid's own daily candles and hourly funding history. DCA beat a lump sum on BTC (−13.9% vs −20.2%) and ETH (−16.9% vs −17.9%), lost on SOL (−16.1% vs −15.1%) and lost clearly on HYPE (−10.3% vs +0.7%). If you DCA through a 1x perp long instead of spot, funding cost another $46 to $80 on $2,600, far more than trading fees ($1.04 to $1.82).
DCA is the default advice for anyone who does not want to time the market. On Hyperliquid you can do it on spot or with a perpetual long, by hand or with a script, and each choice has a different cost. This guide explains how DCA works, how the average entry price is really calculated, what it costs on Hyperliquid, and what happened when we ran the strategy over the last six months of real data.
What DCA is and why the average price is not a simple average
With DCA you invest the same dollar amount at regular intervals, for example $100 every Monday. Because the dollar amount is fixed, you automatically buy more units when the price is low and fewer when it is high.
That is why your average entry price is the total dollars invested divided by the total units bought, not the average of the prices you bought at. Example: $100 at a price of 100 buys 1 unit, $100 at a price of 50 buys 2 units. You invested $200 for 3 units, so your average entry is 66.67, not 75. That weighting towards low prices is the whole mechanism behind DCA.
DCA does not predict anything and does not guarantee a better price than buying once. It replaces one timing decision with many small ones, which lowers the risk of putting everything in at a local top. The price for that is that, in a market that rises steadily, buying everything on day one usually wins.
Three ways to DCA on Hyperliquid
- Spot by hand. Buy the spot token (HYPE, or wrapped assets for BTC, ETH and SOL) with USDC on a schedule. No funding and no liquidation, but spot fees are higher than perp fees. Our spot trading guide covers how spot works on Hyperliquid.
- 1x perp long. Add a fixed notional to a long perp position each week with leverage at 1x. Price exposure is almost the same as spot, perp fees are lower, but you pay or receive funding every hour on the whole position. See spot vs perps for the full trade-off.
- Automated. Send the weekly order with a script through the API (our Python API guide and trading bots guide show how). A TWAP order is a related tool, but it spreads one order over minutes or hours to reduce price impact; it is not a recurring weekly buy.
What DCA costs on Hyperliquid
From the official fee schedule, tier 0 (under $5M of 14-day volume) pays 0.045% taker / 0.015% maker on perps and 0.070% taker / 0.040% maker on spot. On $2,600 invested over 26 weeks that is:
| Route | Fee rate | Fees on $2,600 |
|---|---|---|
| Perp, taker | 0.045% | $1.17 |
| Spot, taker | 0.070% | $1.82 |
| Spot, maker (limit) | 0.040% | $1.04 |
Trading fees are small for a DCA plan. The cost that matters on perps is funding: it is charged every hour on the full position, and the position grows every week. In our period the average hourly funding rate was positive on all four assets (longs paid shorts): BTC +0.00092%/h, ETH +0.00084%/h, SOL +0.00055%/h and HYPE +0.00123%/h. For more detail see the fees guide and the funding rate guide.
26-week backtest: DCA vs lump sum on BTC, ETH, SOL and HYPE
Method: $100 bought at the daily open every 7 days, 26 buys starting 25 May 2026, valued at the price at the snapshot time. The lump sum puts the same $2,600 in on the first day. Prices are Hyperliquid perp daily candles; for the perp route we add the hourly funding actually paid on the growing position.
| Asset | First buy | Last price | DCA avg entry | DCA PnL | Lump sum PnL | Funding on 1x perp DCA |
|---|---|---|---|---|---|---|
| BTC | 77,015 | 61,440 | 71,363.57 | −$361.55 (−13.9%) | −$525.81 (−20.2%) | −$62.61 |
| ETH | 2,098.60 | 1,722.80 | 2,072.19 | −$438.38 (−16.9%) | −$465.59 (−17.9%) | −$58.19 |
| SOL | 85.222 | 72.313 | 86.150 | −$417.61 (−16.1%) | −$393.83 (−15.1%) | −$46.05 |
| HYPE | 62.760 | 63.221 | 70.462 | −$267.20 (−10.3%) | +$19.10 (+0.7%) | −$80.27 |
What the numbers say:
- DCA helped when the price fell after the start. BTC opened the period at 77,015 and traded down to as low as 59,549 at a weekly buy, so the later, cheaper buys pulled the average entry down to 71,363.57 and cut the loss by about $164 compared with the lump sum.
- DCA hurt when the price rallied in the middle. HYPE traded as high as 93.748 at a weekly buy before falling back to 63. The DCA plan bought many weeks above the first price, so its average entry (70.462) ended above both the start and the current price. The lump sum is flat; DCA is down 10.3%.
- Funding is the real cost of the perp route. On BTC, funding was about 2.4% of the money invested, and on HYPE about 3.1%, against roughly 0.05% in trading fees.
- Six months is one sample. This was a falling market for BTC, ETH and SOL. A different window gives different results; the script below lets you rerun it.
Worked example: the same BTC plan on spot vs a 1x perp
Using the BTC row above, $2,600 over 26 weeks:
- Perp route, taker fills: price PnL −$361.55, funding −$62.61, fees −$1.17, total about −$425.33.
- Spot route, taker fills: price PnL about −$361.55 (using perp prices as a proxy for spot), fees −$1.82, total about −$363.37, with no funding.
In a period with positive funding, the cheaper perp fee is overwhelmed by funding. When funding turns negative, longs get paid and the perp route can come out ahead, so check recent funding before choosing. Spot also has no liquidation price; a 1x perp long still has one, very far away, and the margin must stay in the account.
How to run a DCA plan on Hyperliquid without fooling yourself
- Fix the amount and the day. The value of DCA comes from not changing the plan when the price moves. Write it down: asset, amount, day, route.
- Pick the route by holding period. For months of holding, spot avoids funding. A perp long makes more sense for short periods or when funding is negative.
- Keep leverage at 1x if you use perps. DCA with leverage is a different strategy; see the leverage guide.
- Use limit orders when you can. A post-only (maker) order pays 0.040% on spot instead of 0.070%. It is small money, but it is free.
- Track the real average entry and total cost. Your break-even includes fees and funding, not just the average price (see our break-even price guide and unrealized PnL guide).
Reproduce the numbers in Python
The script reads daily candles from candleSnapshot and hourly funding from fundingHistory on the public info endpoint (no API key, no wallet) and applies the tier-0 fees from the official docs. Change WEEKLY, WEEKS or the coin list to test your own plan. The perp funding figure is an approximation: it values the position at the latest buy price rather than the hourly mark.
#!/usr/bin/env python3
"""DCA vs lump sum on Hyperliquid: weekly buys over the last 26 weeks on BTC, ETH, SOL and HYPE,
using daily perp candles and the hourly funding history from the public info endpoint."""
import time, requests
from datetime import datetime, timezone
HL = "https://api.hyperliquid.xyz/info"
def info(body):
for _ in range(8): # the info endpoint occasionally returns null; retry
r = requests.post(HL, json=body, timeout=20).json()
if r: return r
time.sleep(6)
return []
fmt = lambda x: f"{x:,.2f}" if x >= 100 else f"{x:,.3f}"
PERP_TAKER, SPOT_TAKER, SPOT_MAKER = 0.00045, 0.00070, 0.00040 # tier-0 fees (docs)
WEEKLY, WEEKS = 100.0, 26 # $100 every week for 26 weeks
DAY = 86_400_000
now = datetime.now(timezone.utc)
end_ms = int(now.timestamp() * 1000)
start_ms = end_ms - WEEKS * 7 * DAY
print("snapshot", now.strftime("%Y-%m-%d %H:%M UTC"), f"| ${WEEKLY:.0f}/week x {WEEKS} weeks = ${WEEKLY*WEEKS:,.0f}")
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
for coin in ["BTC", "ETH", "SOL", "HYPE"]:
c = info({"type": "candleSnapshot", "req": {"coin": coin, "interval": "1d", "startTime": start_ms}})
days = [(int(b["t"]), float(b["o"]), float(b["c"])) for b in c]
last = days[-1][2]
buys = [days[k] for k in range(0, len(days), 7)][:WEEKS] # buy at the daily open, every 7 days
units = sum(WEEKLY / o for _, o, _ in buys)
invested = WEEKLY * len(buys)
avg = invested / units
lump_units = invested / buys[0][1]
lo = min(o for _, o, _ in buys); hi = max(o for _, o, _ in buys)
# perp DCA at 1x: funding is paid on the open position every hour (positive rate = longs pay)
f = funding(coin)
held, k, fund_cost = 0.0, 0, 0.0
for t, rate in f:
while k < len(buys) and buys[k][0] <= t:
held += WEEKLY / buys[k][1]; k += 1
if held: fund_cost += held * buys[k - 1][1] * rate # approx: notional at the latest buy price
print(f"\n{coin}: first buy {fmt(buys[0][1])} on {datetime.fromtimestamp(buys[0][0]/1000, timezone.utc):%Y-%m-%d} last price {fmt(last)} buy range {fmt(lo)}-{fmt(hi)} ({len(buys)} buys)")
print(f" DCA avg entry {fmt(avg)} value ${units*last:,.2f} PnL ${units*last-invested:+,.2f} ({(units*last/invested-1)*100:+.1f}%)")
print(f" lump sum entry {fmt(buys[0][1])} value ${lump_units*last:,.2f} PnL ${lump_units*last-invested:+,.2f} ({(lump_units*last/invested-1)*100:+.1f}%)")
print(f" fees on ${invested:,.0f} bought: perp taker ${invested*PERP_TAKER:.2f} | spot taker ${invested*SPOT_TAKER:.2f} | spot maker ${invested*SPOT_MAKER:.2f}")
print(f" perp 1x DCA funding over the period ({len(f)} hourly prints, avg rate {sum(x for _, x in f)/len(f)*100:+.5f}%/h): ${-fund_cost:+,.2f} (negative = paid by the long)")
Output at the time of writing:
snapshot 2026-11-23 08:08 UTC | $100/week x 26 weeks = $2,600
BTC: first buy 77,015.00 on 2026-05-25 last price 61,440.00 buy range 59,549.00-86,500.00 (26 buys)
DCA avg entry 71,363.57 value $2,238.45 PnL $-361.55 (-13.9%)
lump sum entry 77,015.00 value $2,074.19 PnL $-525.81 (-20.2%)
fees on $2,600 bought: perp taker $1.17 | spot taker $1.82 | spot maker $1.04
perp 1x DCA funding over the period (4368 hourly prints, avg rate +0.00092%/h): $-62.61 (negative = paid by the long)
ETH: first buy 2,098.60 on 2026-05-25 last price 1,722.80 buy range 1,571.00-2,726.80 (26 buys)
DCA avg entry 2,072.19 value $2,161.62 PnL $-438.38 (-16.9%)
lump sum entry 2,098.60 value $2,134.41 PnL $-465.59 (-17.9%)
fees on $2,600 bought: perp taker $1.17 | spot taker $1.82 | spot maker $1.04
perp 1x DCA funding over the period (4368 hourly prints, avg rate +0.00084%/h): $-58.19 (negative = paid by the long)
SOL: first buy 85.222 on 2026-05-25 last price 72.313 buy range 66.457-121.95 (26 buys)
DCA avg entry 86.150 value $2,182.39 PnL $-417.61 (-16.1%)
lump sum entry 85.222 value $2,206.17 PnL $-393.83 (-15.1%)
fees on $2,600 bought: perp taker $1.17 | spot taker $1.82 | spot maker $1.04
perp 1x DCA funding over the period (4368 hourly prints, avg rate +0.00055%/h): $-46.05 (negative = paid by the long)
HYPE: first buy 62.760 on 2026-05-25 last price 63.221 buy range 52.541-93.748 (26 buys)
DCA avg entry 70.462 value $2,332.80 PnL $-267.20 (-10.3%)
lump sum entry 62.760 value $2,619.10 PnL $+19.10 (+0.7%)
fees on $2,600 bought: perp taker $1.17 | spot taker $1.82 | spot maker $1.04
perp 1x DCA funding over the period (4368 hourly prints, avg rate +0.00123%/h): $-80.27 (negative = paid by the long)
Track your DCA with Hyperfolio
A DCA plan runs for months, so you need to see where it stands without exporting spreadsheets. Hyperfolio is a free, read-only PWA for Hyperliquid wallets: paste an address and see positions, PnL, fees and funding without connecting a wallet or sharing API keys. That makes it easy to check whether funding is eating your perp DCA or whether spot would be cheaper. If you do not have a Hyperliquid account yet, the referral code HYPERFOLIO gives you 4% off trading fees (details in our referral code guide).
FAQ
Can you DCA on Hyperliquid?
Yes. You can buy spot on a schedule, add to a 1x perp long each period, or automate the orders through the API. TWAP orders split one order over a short time; they are not a weekly recurring buy.
Is DCA better than buying all at once?
Not always. In our 26-week test DCA beat the lump sum on BTC and ETH and lost on SOL and HYPE. DCA lowers timing risk; it does not guarantee a better price.
Should I DCA on spot or perps?
For long holding periods, spot usually costs less because it has no funding. In our period, funding on a 1x perp DCA cost $46 to $80 on $2,600, while all trading fees were under $2.
How do I calculate my DCA average entry price?
Divide the total dollars invested by the total units bought. $100 at 100 and $100 at 50 gives 3 units for $200, so the average entry is 66.67.
How often should I buy?
Weekly is common and keeps fees negligible. Daily buys smooth the entry a little more but do not change the logic; the key is to keep the schedule.
Does the referral code help a DCA plan?
Slightly: HYPERFOLIO gives 4% off trading fees. On a DCA plan the bigger levers are using maker orders and avoiding funding when it is positive.
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 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.
GuideBest Time to Trade on Hyperliquid: Hours & Days (2026)
When Hyperliquid volume and volatility peak, by UTC hour and weekday, measured from 672 hourly candles (4 Oct to 1 Nov 2026) for BTC, ETH, HYPE and SOL, with what it means for slippage, stops and funding, plus a Python script.
GuideHyperliquid Long/Short Ratio: Read Trader Positioning (2026)
Why the market-wide long/short ratio on Hyperliquid is always 1, how to measure it for a cohort of wallets from public data, a dated example of the top 100 leaderboard traders, and a Python script.