What is funding rate?
For a single trading pair, when traders' long position exceeds short position or short position exceeds long position, the larger position holders will be charged a funding fee at 0 o'clock UT.
When long position is the larger position, long position holders pay.
Funding rate = basic daily interest rate* ( long position - short position ) / long position
When short position is the larger position, short position holders pay.
Funding rate = basic daily interest rate* ( short position - long position ) / short position
Basic daily interest rate=0.1%
Funding fee = funding rate * position amount in this direction * index price
If funding rate is positive, long position pay funding fee. If funding rate is negative, short position pay funding fee. 67.5% funding fee goes to liquidity pool, 10% will go to arbitrageur, 22.5% will remain in the contract.