Funding
A perp has no expiry date, so funding payments keep its price close to the asset's index price instead. Funding is paid directly between longs and shorts: the protocol takes no cut.
Who pays whom
- Positive funding rate: longs pay shorts.
- Negative funding rate: shorts pay longs.
The rate mostly follows how far the perp trades above or below the index, so the side on the wrong side of the gap pays, which pulls the perp back toward the index. Because an interest rate is added on top, the rate can be positive, with longs paying, even while the perp trades slightly below the index. See How the rate is set.
How the rate is set
The rate follows the premium: how far the market's order book trades above or below the index price, averaged over each hour and smoothed from one hour to the next. An interest rate is added on top, and the result is capped:
Funding rate = clamp(Premium + clamp(Interest rate − Premium, −0.05%, +0.05%), −Cap, +Cap)
| Every market today | |
|---|---|
| Interest rate | 0.01% per 8 hours |
| Cap | 4% per 8 hours, either way |
While the premium stays within 0.05% of the interest rate, the funding rate equals the interest rate: longs pay shorts 0.01% per 8 hours. A larger premium moves the rate with it, up to the cap.
When it is paid
| Rate window | 8 hours |
| Settlement | Every hour |
The funding rate is quoted per 8-hour window, and each hourly settlement applies an eighth of it:
Hourly payment = position size × index price × funding rate / 8
For example, a 1 BTC long with the index at 60,000 USDso and a funding rate of 0.01% pays 1 × 60,000 × 0.0001 / 8 = 0.75 USDso to shorts for that hour.
Funding is applied to your position the next time it is touched, by a trade, a withdrawal or a liquidation, and everything owed since the last time is settled at once.
The window, the settlement interval, the interest rate and the cap are per-market settings that can change. These are the values every market uses today.