The short version: buy a crypto token on the spot market and short the same amount of its perpetual future. The two price moves cancel out. What is left is the funding payment, which long traders on the perp pay to short traders. Once a day, this strategy moves its capital into the two liquid pairs that pay the most funding. Over 18 months it returned +26.2% with a maximum drawdown of 0.96%. In the same period, the benchmark lost 22.6%.
How the strategy works
One hedged pair
Each position has two legs of equal size. The spot leg owns the token. The perp leg shorts the same quantity at 3× leverage, so it needs only one third of its size as margin. If the token rises 10%, the spot leg gains what the perp leg loses. The price risk nets to roughly zero. The perp short still receives funding every hour while the rate is positive.
Sizing follows from the leverage L = 3 and the number of pairs held, n. The perp weight is margin, and multiplying it by L gives the short notional. That notional matches the spot weight exactly:
The backtest's average long exposure was 76.7% of equity and its average short exposure was −76.7%. The two legs stayed matched throughout.
Choosing which pairs to hold
The universe has 15 perp/spot pairs. They range from majors (BTC, ETH, SOL, AVAX) to newer and smaller tokens (HYPE, PURR, FARTCOIN, PUMP, XPL, ENA, MON, ZEC, STABLE, SPX, BONK). Two factors drive the selection:
fr_avg = mean(funding_rate, 168): the average hourly funding over the past 7 days.dv14 = sum(volume * close, 336) / 14: the average daily dollar volume over the past 14 days.
The code stores the funding thresholds as hourly rates. Multiplied by 8,760 hours in a year, they become:
| Setting | Value |
|---|---|
| Bars / decision time | 1 hour / once a day at 00:00 |
| Pairs held | At most 2 |
| Keep a held pair while ranked | Top 3 |
| Leverage on the perp leg | 3× |
| Hedge drift tolerance | 15% |
| Test period | 2025-05-11 to 2026-11-15 |
Backtest results
+26.21%
Annual return
+16.57%
3.91
Max drawdown
0.96%
Starting from $10,000, the strategy made 440 trades over about 18 months. It finished up 26.2%, which is 16.6% a year, with a Sharpe ratio of 3.91. The worst drop from a peak was under 1%. Over the same window, the benchmark lost 22.6%.
Where the return came from
The equity curve follows from this breakdown. Price moves cancel inside each pair, so the account grows at roughly the pace funding is paid.
Why it works
1. Someone pays for leverage
A perpetual future has no expiry date. Funding is what keeps its price close to spot: when the perp trades above spot, longs pay shorts every hour. In crypto, more traders usually want leveraged long exposure than short exposure, so funding is positive most of the time. This strategy takes the other side of that demand. Owning the spot token turns it into a hedged position that collects the payments. In effect, it is lending leverage to the market.
Here Q is the token quantity held on each leg, Pt is the price and ft is the hourly funding rate. Only the funding term carries a direction, and the strategy picks pairs where it is large and positive.
2. The hedge removes the market
The benchmark lost 22.6% over the test. The strategy's largest drawdown was 0.96%. The difference comes from the equal-notional hedge and the 15% drift check. When the spot and perp quantities move apart, for example after the price moves or the account grows, the strategy resizes both legs so they match again.
3. Chase the yield, but only where it is liquid
Funding is usually highest on newer, hyped tokens, and those are often the hardest to trade. The volume filters keep the strategy out of pairs that are too thin to enter and exit cleanly. The 7-day average stops it from reacting to a single hour of extreme funding.
4. Two thresholds keep fees low
Fees were the largest cost in this backtest. A single on/off threshold would trade back and forth every time funding moved around it. Instead, a pair must pay more than 8% a year to enter, but it is held until funding drops below 1% a year or the pair falls out of the top 3. The wide gap between the two thresholds means short dips do not trigger trades.
What can go wrong
- Funding falls. When fewer traders want leverage, there is less carry to collect. October 2025 (+0.06%) and October 2026 (−0.09%) were roughly flat.
- Margin stress. The perp short runs at 3×. A sharp rally raises the short's losses before the daily rebalance, even though the spot leg gains the same amount.
- Spot is not exactly the perp. Several spot legs are wrapped tokens (UBTC, UETH, USOL and others). Their prices can drift away from the perp they hedge.
- Limited capacity. The best funding is often on small tokens, so position size is capped by their liquidity.
Ideas to push it further
Confirm with short-term funding
The 7-day average responds slowly. A pair can still rank high after its funding has already turned negative. Adding a 24-hour average as a second check could avoid entering pairs whose funding is fading and could exit pairs sooner when they start costing money. The risk is more trades and more fees, and this test would show which effect is larger.
Spread the carry across more pairs
With only two pairs, a single funding collapse or a single depeg of a wrapped token hits half the book. Holding up to four pairs, and keeping a pair while it ranks in the top six, spreads that risk out. The average yield will likely be lower, because the third and fourth pairs usually pay less. A smoother path could make up for it.
The core idea is simple: get paid by one side of the market and cancel the price risk with the other. Funding is one example. Basis between futures and spot, and rate gaps between exchanges, are others. Pick one, describe it in plain words, and backtest it.