Rent out your leverage instead of betting on price. This strategy buys a coin on the spot market and shorts the same coin's perpetual future. When the coin moves, one leg gains what the other loses, so the price move mostly cancels out. What stays is the funding payment. When perp traders are mostly long, the longs pay the shorts every hour, and this strategy holds the short.
An AlphaPilot user ran this on 15 Hyperliquid spot–perp pairs, from BTC and ETH to HYPE, FARTCOIN and kBONK. The backtest uses 1-hour bars from 11 May 2025 to 15 November 2026 with $10,000 of starting capital.
How it works
One position, two legs
The 75/25 split comes from one condition: the short perp must match the spot leg in size. The perp runs at 3× leverage, so its margin needs to be only one third of the spot amount:
Across the backtest, average long exposure was 76.7% of equity and average short exposure was −76.7%. The hedge held almost perfectly.
The daily routine
- Signal. The signal is the mean hourly funding rate over the last 168 hours (7 days). A spike that lasts one hour hardly moves it.
- Liquidity. Volume is the 14-day average of daily dollar volume. A pair needs at least $100k a day on the perp and $300k on the spot to stay eligible. A new entry needs $500k of spot volume.
- Keep rule. A pair already held stays if it still ranks in the top 3 and its funding is above a low floor.
- Add rule. A new pair needs a much higher funding rate to get in.
- Size. With n pairs selected, each spot leg gets 0.75/n of equity and each perp margin gets 0.25/n.
The thresholds in the code are hourly rates: 0.00091% to enter and 0.00011% to exit. Hyperliquid pays funding every hour, so you can annualize them like this:
Results
+26.23%
Annual return
+16.59%
3.92
Max drawdown
0.96%
- +26.2% total return (16.6% a year). The benchmark returned −22.6% over the same period.
- Maximum drawdown of 0.96%. The deepest dip in 18 months was under one percent.
- Sharpe ratio of 3.92, with 18 of 19 months positive. The worst month was −0.07%.
- 454 trades. Fees cost 4.3% of capital over the whole period.
Why it works
Leverage demand pays the shorts
A perpetual future has no expiry date. Funding payments keep its price close to spot instead. Crypto traders usually want leveraged long exposure, so the perp tends to trade a little above spot. The longs then pay the shorts to bring it back in line. Someone has to take the other side of that demand. This strategy takes it while holding the actual coin, so it earns the payment without betting on direction.
The breakdown confirms the hedge worked. Holding the coins outright lost money over this period: the benchmark fell 22.6%. The price legs here netted only about +2.8%, so almost all of the return came from funding.
Each rule protects the carry
- The 7-day average rewards funding that stays high. A single hot hour is not enough to trigger a trade.
- The 8% entry and 1% exit create a wide hold zone. A pair whose funding cools from 15% to 5% is still worth holding. Swapping it for a new pair would pay fees on four legs.
- "Keep if top 3" works the same way. A held pair is not dropped just because another coin moves ahead of it by a small margin.
- The liquidity floors keep the strategy out of thin spot books. Those are the books where slippage would eat the carry.
- The 15% drift check re-hedges when the spot and perp sizes drift apart, so the position stays close to price-neutral.
What can still go wrong
Funding can turn negative quickly, and the strategy checks only once a day. The short perp runs at 3× leverage. A rally of roughly 30% within a day could threaten its margin before the daily re-hedge, even though the spot leg gains about the same amount. Several spot legs are bridged tokens (UBTC, UETH and so on), which adds a small depeg risk the backtest cannot measure. Finally, holding only 2 pairs concentrates the risk.
Ideas to test next
1. Require recent funding to agree
The code already includes an unused switch for this. With it on, a new pair needs its 24-hour average funding above 8%/yr as well. A held pair is dropped once its 24-hour funding turns negative. This could help the strategy avoid entering just as a 7-day average starts to fade. It could also cause more trading, so check the fee line.
2. Spread the carry over more pairs
Two pairs is a concentrated book. Allowing up to 4 pairs, and keeping a held pair while it ranks in the top 6, would cut single-coin risk such as a bridged-token depeg or a sudden funding flip. The trade-off is that capital also goes to pairs with lower funding, so the test is whether the smoother ride is worth the lower yield.
Funding carry is one of the clearest edges in crypto: you get paid to take the side most traders avoid. Change the pairs, the thresholds or the hedge, and build a version of your own.