Learn: risk and leverage
What is a funding rate on perpetual futures?
A funding rate is a periodic payment between longs and shorts on a perpetual future, on many venues every 8 hours. When the rate is positive, longs pay shorts; when it is negative, shorts pay longs. Each payment is position size x mark price x rate, so 0.01% every 8 hours is about 11% a year on the full position.
How it works
A perpetual future is a contract that tracks a coin's price but never expires. A dated future converges to spot at expiry, which keeps it honest; a perpetual has no expiry, so it needs another mechanism. That mechanism is funding: at fixed times, traders on one side pay traders on the other, and the direction is set so that holding the side that pushes the price away from spot costs money.
When the perpetual trades above the spot index, the rate is usually positive and longs pay shorts. When it trades below, the rate turns negative and shorts pay longs. Venues compute the rate from the premium of the perpetual over the index, plus a small interest component, and cap it. In crowded markets, when most traders want the same side, funding can rise sharply.
Funding is paid on the full value of your position, not on your margin. That is why a small-looking rate matters so much with leverage. It is also charged only if your position is open at the funding time: open after it and close before the next one, and you neither pay nor receive.
The exact rule the games grade by
The rule the games use: each funding payment = Q x mark x rate, with a sign. A positive rate means longs pay shorts; a negative rate means shorts pay longs. Only funding times strictly inside the holding window count (open before the time, close after it). Funding is every 8 hours, and the annualised cost of a rate is rate x 3 x 365. The rate itself follows a common formula: premium + clamp(interest - premium, plus or minus 0.05%), with interest at 0.01% per 8 hours; the games cap it at plus or minus 0.75%, and real venues set their own caps per contract.
Step by step
- List the funding times between your open and your close. A time exactly at your open or close does not count.
- For each time, read the rate and the mark price.
- Compute size x mark x rate. With a positive rate a long pays and a short receives; with a negative rate the reverse.
- Add up the payments with their signs to get the net funding for the hold.
- To compare with a yield or a fee, annualise: rate x 3 x 365 for 8-hour funding.
Worked example
A trader holds a 0.5 BTC long from hour 3 to hour 45. Funding is at hours 0, 8, 16, 24, 32, 40 and 48. Hours 0 and 48 fall outside the window, so 5 funding times count.
At hour 8 the rate is 0.010% and the mark is 60,400: the long pays 0.5 x 60,400 x 0.010% = 3.02 USDT. At hour 16 it pays 7.65 at 0.025%; at hour 24 it pays 9.27 at 0.030%, because the market got crowded on the long side.
At hour 32 the rate turns negative, -0.005%, so shorts pay longs and this long receives 1.52 USDT. At hour 40 the rate is back to 0.010% and the long pays 3.05. Net, the long paid 21.47 USDT over less than two days, even if the price ended where it started.
Annualised, a steady 0.010% every 8 hours is 10.95% of the position value a year. At 0.030% it would be 32.85%. With leverage, that cost is charged on the full position, so as a share of your margin it is several times larger.
Takeaway: Holding a perpetual is not free: 0.5 BTC long for two days paid 21.47 USDT in funding, and a steady 0.010% every 8 hours is 10.95% a year on the whole position.
Common mistakes
- Counting funding on margin, not on the position. Funding is size x mark x rate. With 10x leverage, a rate that looks like 11% a year on the position is about 110% a year as a share of your margin.
- Getting the direction backwards. A positive rate means longs pay shorts. A negative rate means shorts pay longs. Being on the receiving side does not make a position safe; price moves still dominate.
- Counting times outside the window. You pay or receive only if the position is open at the funding time. A time at the moment you open or close does not count in the games, and venues define the cut-off precisely.
- Treating funding as a yield. Collecting funding on a short or in a hedged basis trade is not free income. Rates flip, fees come out of every leg, and the venue itself is a risk. See Basis Trade.
What this does not tell you, and what can go wrong
Funding tells you what holding the position costs or earns at the current rate. It does not tell you what the rate will be next time: rates change every interval and can spike when one side is crowded. A high positive rate shows many traders are long with leverage; it does not tell you which way price goes next.
What can go wrong: funding drains margin on long holds, which moves your liquidation price closer over time. A trade that seemed cheap to hold can become expensive in a crowded market. And the "cash-and-carry" trade that buys spot and shorts the perpetual to collect funding still carries fees on four legs, rate changes, liquidation risk on the short and the risk that the venue fails or freezes withdrawals.
Interval lengths, formulas and caps differ by venue; the games use one common formula and an 8-hour interval for training.
Questions people ask
Who pays funding, longs or shorts?
It depends on the sign of the rate. When the funding rate is positive, longs pay shorts; when it is negative, shorts pay longs. The rate is usually positive when the perpetual trades above the spot index, because more traders want to be long, and negative when it trades below.
How often is funding paid?
Many venues charge funding every 8 hours, three times a day, and the games use that interval. Some venues use other intervals, such as every hour or every 4 hours, and some change the interval when markets are volatile. Check the venue's own schedule.
How do I calculate the annual cost of a funding rate?
Multiply the rate by the number of payments in a year. With 8-hour funding that is rate x 3 x 365, so 0.01% every 8 hours is 10.95% a year on the position value. It is a simple sum, not compounded, and it assumes the rate stays the same, which it rarely does.
Do I pay funding if I close before the funding time?
No. Funding is exchanged only between positions that are open at the funding time. If you open after one funding time and close before the next, you neither pay nor receive. Venues define the exact cut-off, so a position closed seconds before the time may still count on some of them.
Practise it
Reading about a rule is not the same as applying it. These games generate a fresh simulation each round, ask you to make the call first, and grade you against the same rule.
Funding Rate
Hold a perpetual through funding intervals. Work out the cost, and who pays whom.
Basis Trade
Buy spot, short the perpetual. Count funding and fees, and find what is left of the carry.