The "Last Price" indicates the last traded price on the Futures platform. To avoid the last price deviating from the spot price, Poloniex Futures uses the funding mechanism to ensure that the last price is always anchored to the global indexed spot price.
Funding occurs every 8 hours at 04:00 UTC, 12:00 UTC and 20:00 UTC. Traders will only pay or receive funding if they hold a position at one of these times. If you close your position prior to the funding exchange, then you will not pay or receive funding.
When the "Funding Rate" is positive, longs pay shorts. When the Funding Rate is negative, shorts pay longs.
Funding = Position Value * Funding Rate
Position Value is determined by the mark price at funding timestamp.
For example, Trader A holds a long position of 10,000 lots BTCUSDTPERP and the mark price is 5,000 USDT at the funding timestamp with the current funding rate at 0.02%.
According to the descriptions above, we could find out:
Position Value = 10,000 / 5,000 = 2 BTC
Funding = 2 BTC * 0.0250% = 0.0005 BTC or (at the mark price noted) 2.5 USDT
As the funding rate is positive, longs pays the shorts. Therefore, Trader A needs to pay a funding fee of 2.5 USDT and Trader B who shorts the same sized positions will receive 2.5 USDT. If trader A closes the position before the funding timestamp, then they do not need to pay the funding fee.
Funding Rate Calculation
The Funding Rate is composed of Interest Rate and Premium Index:
1. Interest Rate:
Each contract on the Futures platform consists of two instruments: Base Currency and Quote Currency. The Interest Rate is a function of the interest rates between the two currencies, indicating the differences between the Quote Currency(USD) and the Base Currency(BTC) in specified funding interval.
2. Premium Index:
The perpetual contract may trade at a significant premium or discount to the Mark Price. In these situations, the Premium Index will be used to raise or lower the next Funding Rate.
Premium Index：8-hour TWAP of the PXBTUSDT Index
Funding Basis = Funding Rate * (Time until Funding / Funding Interval)
Traders could check the Premium Index at Contract Specifications and the corresponding historical data at the index page.
3. Funding Rate
The initial Funding Rate is calculated based on the 8-Hour Interest Rate and Premium Index.
The final Funding Rate is calculated based on the initial Funding Rate, previous Funding Rate (T-1), initial Margin, and Maintenance Margin and will be applied for use at the funding timestamp.
The final Funding Rate calculated above is then applied to the trader’s position to determine the Funding amount to be paid or received at the funding timestamp.