1. Funding Calculation
Funding occurs every 8 hours at 20:00, 04:00, and 12:00 UTC. You will only pay or receive funding if you 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 any funding.
Funding = Position Value * Funding Rate
Position Value = Quantity * Contract Value / Mark Price
2. Funding Rate Calculation
Funding Rate is calculated according to the Premium / Discount every 8 hours with a +/- 0.375% dampener. Thus, in the Final Funding Rate Calculation, the changes of Funding Rate between Funding Interval should be below 0.375%.
Funding Rate (F) = Clamp [Premium Index (P), 0.375%, -0.375%]
Premium Index (P) = (Max(0, Impact Bid Price - Mark Price) - Max(0, Mark Price - Impact Ask Price)) / Spot Price + current Funding Rate
Impact Bid Price = The average fill price to execute the Impact Margin Notional on the Bid side
Impact Ask Price = The average fill price to execute the Impact Margin Notional on the Ask side
Premium Index (P) is updated each minute and its Impact Average of every minute is calculated every 8 hours.
Note: CoinEx does NOT charge users funding. It's exchanged between users.