Skip to main content
Funding is the periodic payment between longs and shorts that keeps a perpetual close to its index. When the rate is positive, longs pay shorts; when negative, shorts pay longs. It settles every hour by default, and only positions open at the settlement block pay or receive. Funding is paid between traders; the venue charges no fee on it.

What you pay

payment=position size×mark price×funding rate\text{payment} = \text{position size} \times \text{mark price} \times \text{funding rate} The rate is quoted on an 8-hour basis, and each settlement charges its share of it. On an hourly market, a quoted 0.01% costs 0.00125% per hour, or 0.03% a day.
Funding is not prorated. You pay or receive the full amount if you hold a position at the settlement block, and nothing if you close before it.

How the rate is built

Every blockdepth-weighted bid and ask against the index
Every 5 secondsmedian of that window’s blocks
Each settlement periodmean of the samples
Add the interest componentclamped per market, ±0.05% by default
Divide across the period, then clampto the market’s own rate limits
Funding rate
One quote cannot move it — you have to hold real depth away from the index, which anyone can trade against
A single anomalous block cannot carry the sample
A single five-second window cannot carry the period
The interest term is bounded, so it cannot become the rate
Every market publishes its own ceiling
Paid between traders. The venue takes no share apart from rounding dust.
How the rate is built
What each layer closes
1. Premium, every block. The premium measures how far this venue’s book sits from the index. It uses the average price of filling a set order size (the impact notional, set per market) on each side, so one small quote cannot move it: premium=max⁡(0,  impact bid−index)  −  max⁡(0,  index−impact ask)index\text{premium} = \frac{\max(0,\; \text{impact bid} - \text{index}) \;-\; \max(0,\; \text{index} - \text{impact ask})}{\text{index}} It is zero while the index sits between the impact bid and ask. A block is skipped when the book is crossed, when either side has fewer than four levels, or when the index is more than 10 seconds old. 2. Average over the period. Each 5-second window keeps the median of its blocks, and the rate uses the mean of those windows: 720 samples in an hour. If fewer than 20% of the samples arrive, that period has no funding. 3. Add interest, then cap. A per-market interest rate is added, and the gap between it and the premium is capped (±0.05% by default): F8h=Pˉ+clamp⁡ ⁣(I−Pˉ,  −0.05%,  +0.05%)F_{8h} = \bar{P} + \operatorname{clamp}\!\left(I - \bar{P},\; -0.05\%,\; +0.05\%\right) The interest rate is set per market, typically 0.01% per 8 hours. It stands for the cost of borrowing dollars rather than the coin, and comes to about 11% a year paid by longs to shorts. With no premium, the rate equals the interest rate. The result is divided across the period (÷ 8 for hourly), then held within the market’s minimum and maximum rate. Example. The impact bid is $10,100 and the index is $10,000, so the book sits above the index.
  1. Premium = (10,100 − 10,000) ÷ 10,000 = 1%.
  2. Interest minus premium = 0.01% − 1% = −0.99%, capped to −0.05%.
  3. 8-hour rate = 1% − 0.05% = 0.95%.
  4. On an hourly market, each settlement charges 0.95% ÷ 8 = 0.11875%: longs pay shorts.
Each market sets its own interval (30 minutes, 1, 2, 4, 8, or 24 hours), interest rate, impact notional, and caps. See Markets.

Settlement

Funding settles on the first block of each period, for every position in the market at once, using the mark price at that block. It is final and never rolled back. Payments go between traders; only rounding dust goes to the fee collector.