Funding-rate arbitrage: how it works and who runs it
Every hour on Hyperliquid, and every eight hours on most centralized exchanges, one side of every perpetual contract pays the other. Funding-rate arbitrage is the business of being on the side that gets paid while owning nothing that can go up or down.
The trade is old, the mechanics are public, and the people running it range from market makers with billions in inventory to individuals with a spreadsheet. What is not obvious from a funding-rate chart is why the payment exists, how much of it survives execution, and what makes it stop.
This page explains the mechanism from the formula up, works one example with real numbers, and maps who runs the trade and how. It uses Hyperliquid's funding documentation as the reference because the formula is published and the venue is where Deploy Finance's own funding agent executes.
What funding is and why it exists
A perpetual contract has no expiry, so nothing forces its price back to the spot price. Funding is the substitute. When the perp trades above spot, longs pay shorts; when it trades below, shorts pay longs. The payment nudges traders toward the cheaper side and pulls the two prices together.
Hyperliquid's formula, per the documentation:
Funding Rate (F) = Average Premium Index (P) + clamp(interest rate − P, −0.05%, +0.05%)
The premium index measures how far the perp's impact price sits from the spot oracle. The interest rate component is fixed at 0.01% per 8 hours, which the docs describe as the cost of borrowing dollars versus borrowing crypto. The clamp keeps the interest term from dominating when the premium is large.
Three details matter for anyone trading it:
- The formula produces an 8-hour rate, but Hyperliquid pays every hour at one eighth of it. Centralized exchanges mostly pay every 8 hours.
- The payment is
position size × oracle price × funding rate, using the spot oracle, not the mark price. - Funding is peer-to-peer. The exchange takes no cut, and it is capped at 4% per hour on Hyperliquid.
When the premium is positive, longs are paying to hold leverage. Whoever is short and hedged collects that payment as income.
Why a hedged position gets paid
Buy one unit of an asset on the spot market. Short one unit of its perpetual. The price can go anywhere and your net exposure is zero: a $500 rise in the asset is a $500 gain on spot and a $500 loss on the short, or the reverse.
What is left is the funding payment on the short. When funding is positive, you receive it every interval. That is the entire trade. It is called cash-and-carry when done with dated futures, basis trading in traditional markets, and funding-rate arbitrage when the instrument is a perpetual.
The word "arbitrage" overstates it. A true arbitrage locks in a profit at entry. This trade locks in a hedge at entry and then collects a rate that can change every hour. It is closer to renting your capital to leveraged traders at a floating rate.
A worked example with the real formula
The numbers below are illustrative, not a live rate or a Deploy Finance result. They show how the formula turns into income and where the income leaks.
Suppose an asset trades at $10,000 spot and the perp's impact bid sits at $10,003. Using the Hyperliquid formula:
- Premium = ($10,003 − $10,000) / $10,000 = 0.03% per 8 hours
- Clamp(0.01% − 0.03%) = clamp(−0.02%) = −0.02%, within the ±0.05% band
- Funding rate = 0.03% + (−0.02%) = 0.01% per 8 hours
Hyperliquid pays one eighth of that each hour, so 0.00125% per hour.
You hold $10,000 of spot and short $10,000 of perp. Each hour the short receives $10,000 × 0.0000125 = $0.125. Over a day, $3. Over a year at that constant rate, about $1,095, or 10.95% on the notional. That figure appears in Hyperliquid's docs as the annualized interest component paid to shorts when the premium is zero.
Now the leaks:
- Capital, not notional. You need margin for the short. At 2x leverage on the perp leg, the position uses $10,000 spot plus $5,000 margin, so $15,000 of capital earns $1,095: 7.3%, not 10.95%.
- Entry and exit. Two spot trades and two perp trades, each paying a fee and crossing a spread. On a position held for a month, that can consume a meaningful share of the funding.
- Idle time. The rate is not constant. Hours at zero or negative funding earn nothing or cost money. The position's annualized return is the average of every hour, not the hour you entered.
The ratio of what you keep to the headline rate is the capture rate, and the funding-rate strategies comparison argues it is the only number worth comparing across products.
The variations professionals run
The plain trade has four common extensions, each adding return and a new failure mode.
Cross-venue funding arbitrage. Short the perp on the venue where funding is highest and long the perp, not spot, on a venue where it is lower or negative. Both legs are perps, so capital efficiency is higher, and the spread between venues is the income. The risk is that the two venues move apart, one leg gets liquidated while the other does not, and capital transfers between them take time.
Dated futures cash-and-carry. Replace the perp short with a quarterly future trading at a premium. The premium converges to zero at expiry, so the return is locked at entry. The cost is that the basis can be small, and rolling into the next contract at expiry is a new trade with new fees.
Reverse carry. When funding is negative, shorts pay longs. Short spot (borrowed) and long the perp to collect. Spot borrowing costs and availability make this harder than the forward trade, which is why negative funding tends to persist longer than positive.
Funding-rate derivatives. A few venues let you trade the rate itself rather than run the position. That is a directional bet on funding, not a hedged carry, and belongs in a different category.
Each variation trades simplicity for capture. The plain long-spot short-perp trade has the fewest ways to go wrong, which is why it is the one that scales into products.
Who actually runs it
The funding-rate trade is the return source behind a surprising amount of crypto's "yield". Here is the field, by how they package it.
| Operator type | Examples | How they run it | Who bears the risk |
|---|---|---|---|
| Market makers and prop desks | Wintermute, GSR, trading firms | Continuous hedged inventory across CEXs and DEXs, often with cross-venue legs | The firm |
| Synthetic-dollar protocols | Ethena, Resolv, Solstice | Pooled collateral hedged with perp shorts; return distributed to token holders | Token holders, via tranches or reserve funds |
| Funds | Superstate USCC | Basis trade inside a regulated fund wrapper for qualified purchasers | Fund investors |
| Exchange bots | Pionex spot-futures arbitrage, Bybit and Bitget equivalents | Templated bot on the exchange's own books; exchange custodies funds | The user, with exchange custody |
| Open-source software | Hummingbot funding-rate arbitrage strategy | User runs it on their own keys and infrastructure | The user, entirely |
| Non-custodial routers | BasisYield, ZiroDelta | Rank markets, hold spot, short perps, under trade-only permissions | The user, with the router's execution |
| Autonomous agents | Deploy Finance Income: Funding Rates | Defined mandate executed from the user's own wallet on Hyperliquid | The user, with delegated execution |
Two things stand out from the table. First, the largest "stablecoins" in this category are funding trades in a wrapper, which is why their yield rises and falls with leverage demand. Second, the difference between products is rarely the trade. It is who holds the funds, who decides when to enter and exit, and who absorbs a bad month.
What makes the trade stop paying
Funding-rate arbitrage fails in predictable ways. Anyone running it, or holding a product built on it, should know all four.
Funding compresses or flips. When leverage demand fades, the premium goes to zero and funding drops to the interest component or below. A position that earned 0.03% per 8 hours earns nothing, then costs. This is the normal state in a bear market and the reason the trade is cyclical.
The short leg gets liquidated. A sharp rally moves the perp short toward liquidation. The spot leg gains the same amount, so the position is fine on paper, but the exchange does not net your spot balance against your perp margin unless you are on a venue that supports it. If the short is liquidated at the top and the spot is still held, the hedge is gone and the position is now a naked long at the worst moment. Margin management is the whole job.
The venue fails. A hedge is only as good as the counterparty holding it. Centralized exchanges have frozen withdrawals and lost customer funds; decentralized ones have had outages and oracle incidents. Splitting legs across venues reduces one risk and adds another.
The spot asset breaks. If the "spot" leg is a liquid staking token or a wrapped asset rather than the asset itself, its price can diverge from the perp's oracle. The hedge then leaks, and in a crisis it leaks fastest.
None of these are exotic. They are why the capture rate is always below the headline and why the operators in the table above spend most of their effort on margin and venue management rather than on finding the rate.
How to check the rate yourself
Before allocating to anything in this category, look at the rate history rather than the current rate.
- Hyperliquid publishes funding per market on each contract's page and via its API, hourly.
- Aggregators such as Coinglass show funding across exchanges side by side, which is how cross-venue spreads are found.
- Look at at least six months. A rate that was high for the last two weeks and negative for the previous four months tells you what the average month looks like.
Then apply the leaks from the worked example: margin, fees, and idle hours. The number that survives is the one to compare against a tokenized Treasury or a lending rate.
Running it versus delegating it
You can run the plain trade yourself on Hyperliquid with an account and a spreadsheet. The work is margin monitoring, re-hedging when sizes drift, deciding when funding is too low to hold, and not being asleep during the rally that threatens the short leg.
Deploy Finance's Income: Funding Rates agent runs that job autonomously from a wallet you control. It holds the hedged position on Hyperliquid, manages the hedge and margin, collects funding, and steps back when the rate does not justify the position. The session key it uses can trade and cannot withdraw; you revoke it whenever you choose. There is no fee on deposits, and the risks are the four above plus venue, wallet-infrastructure, and delegated-execution risk. It is one operator in the table, not an exemption from it.
Verdict
Funding-rate arbitrage is a floating-rate loan to leveraged traders, secured by a hedge you have to maintain. The formula is public, the income is real, and the capture rate is always below the headline. Judge any product built on it by who holds the funds, who manages the margin, and what happens in the months when funding is negative.
Learn more
- Best funding-rate strategies, compared
- What is a delta-neutral portfolio?
- Funding-rate yield
- How Income: Funding Rates works
- Income: Funding Rates risks
- Hyperliquid funding documentation
Start with Deploy Finance
Create a self-custodial Deploy Finance wallet and review the live agents.