Most crypto strategies try to guess where the price goes next. This one does not. It buys a coin on the spot market and shorts the same coin with a perpetual future of the same size. Price moves on the two legs cancel. What is left is the funding payment that leveraged long traders pay to short traders.
The strategy checks 15 spot/perp pairs every day. It holds the one or two pairs that pay the most funding. Over 18 months it returned 26.2% while its benchmark lost 22.6%. Its worst drawdown was under 1%.
How it works
1. The hedged trade
A perpetual future ("perp") has no expiry date. A funding payment keeps its price close to spot. When more traders want to be long than short, longs pay shorts every hour. In crypto that happens most of the time.
The strategy takes the short side and removes the price risk with a spot long:
With n pairs held, the target weights are:
The backtest confirms the balance. The average long exposure was +0.77 and the average short exposure was −0.77.
2. Picking the pairs, once a day
The strategy uses hourly data but acts only at 00:00 UTC. It uses three inputs:
- 7-day funding: the average hourly funding rate over the last 168 hours.
- Daily dollar volume: the average over the last 14 days, measured separately for the perp and the spot token.
- Current holdings: which pairs are already in the book.
Funding is quoted per hour. The thresholds in the code are tiny numbers. Annualized, they are easier to read:
- Entry bar: 0.0000091 per hour ≈ 8% a year.
- Keep bar: 0.0000011 per hour ≈ 1% a year.
3. A wide gap between entry and exit
Entering a pair is hard: funding must be above about 8% a year. Staying in is easy: funding only has to stay above about 1% a year, and the pair must still rank in the top 3. Each switch costs fees on four trades: two legs out and two legs in. The gap stops the strategy from paying those fees every time funding wobbles.
The 15% drift band works the same way. Spot and perp prices move, so the sizes of the two legs slowly drift apart. The strategy rebalances only when they differ by more than 15%, and not on every small change.
Results
Backtest from 11 May 2025 to 15 Nov 2026 on hourly data, with $10,000 starting capital, 3× account leverage and 0.03% cost per trade.
+26.21%
Annual return
+16.57%
3.91
Max drawdown
0.96%
| Funding collected | +27.7% |
| Fees paid | −4.2% |
| Benchmark, same period | −22.6% |
| Positive months | 18 of 19 |
| Trades | 440 |
| Avg. exposure, long / short | +0.77 / −0.77 |
The return is modest. The path is very smooth. A 16.6% annual return with a drawdown below 1% gives a Sharpe ratio near 3.9. Most directional strategies cannot reach that.
Why it works
The money comes from funding
The return breakdown shows the source. Funding paid more than the entire total return. Fees took back about 15% of it. The two hedged legs added only a small remainder.
Here ft is the hourly funding rate, Nt is the short notional, and ΔS − ΔF is the spot move minus the perp move. The two prices track each other closely, so the last term stays small.
A rough check of the yield: 27.7% of funding, earned on about 0.77× notional over 1.5 years, works out to about 24% a year on the hedged position. The selected pairs paid much more than the 8% entry bar.
Why the funding exists
- Crypto demand is long and leveraged. Many traders want leveraged upside. They pay a premium for it through funding. The hedged short is on the other side of that trade and collects the premium.
- Funding persists. A coin that paid high funding last week often keeps paying this week. Ranking on a 7-day average catches that persistence. A short spike would not.
- The hedge removes the market. The benchmark fell 22.6% over the same period. This strategy did not depend on direction, so the drop barely touched it.
- Liquidity filters protect the carry. Thin spot tokens are costly to enter and exit, and their prices can drift away from the perp. Volume minimums keep the strategy in markets where the hedge holds.
- Patience saves fees. Fees were the largest drag at −4.2%. The entry/exit gap and the 15% drift band keep turnover to 440 trades over 18 months.
What can go wrong
- Funding can fade or flip. October 2025 and October 2026 were flat. The 7-day average is slow, so the strategy can keep a pair for a few days after funding turns poor.
- Short squeezes. The perp leg runs at 3× leverage. A sharp rally in one coin raises the margin needed on the short, even though the spot leg gains the same amount.
- Spot token risk. Several spot legs are wrapped tokens such as UBTC and USOL. If one of them loses its link to the underlying coin, the hedge breaks.
- Concentration. With only 1–2 pairs held, one bad coin can matter.
Ideas to try
1. Confirm with 24-hour funding
The code already has a switch for this, and it is turned off. When it is on, a new pair must also show high funding over the last 24 hours, not only over the last week. A held pair is dropped as soon as its 24-hour funding turns negative. This should exit fading trades faster. The cost may be more trades and more fees.
2. Hold three pairs, weighted by funding
Spread the capital over up to three pairs. Give more weight to pairs that pay more. This lowers the damage one coin can do, such as a squeeze or a wrapped-token problem. It also keeps most of the capital in the best payers.
Build your own
This strategy makes no price forecasts. It finds a steady payment in the market, hedges away everything else, and keeps costs low. You can reuse the same pattern elsewhere: pick a different pair list, change the entry and exit bars, or add a rule for when funding turns negative. Describe your version to AlphaPilot and backtest it.