How Funding Works
Funding is computed in three stages:- A premium index is sampled from the order book every 5 seconds.
- Samples are averaged over the 1-hour charge window to produce an hourly rate.
- The rate is settled against every open position at the end of the window.
Premium Index
Every 5 seconds, the protocol takes one snapshot per market of how far the book has drifted from Index. It walks the book for a fixed quote notional on each side.Funding Rate
At the end of each charge window, premium samples are averaged, passed through the 8-hour funding formula, divided by 8 to get an hourly rate, and capped.- The 0.01% term is a fixed interest leg per 8 hours.
- The +/-0.05% clamp bounds the interest-versus-premium adjustment.
- Crypto markets use a 1.0 scale.
- Non-crypto markets use a 0.5 scale.
- The 4% per hour cap prevents extreme funding during sustained dislocation.
Payment
At the end of each charge window, every open position in the market settles a funding payment proportional to position size and the hourly rate.
Funding is a direct transfer between longs and shorts. The protocol takes no cut.
Settlement credits or debits the quote balance, and realized funding is tracked
separately from trading PnL.