Overview
Funding rates for perpetual future contracts are a mechanism to ensure the price of the contract stays close to the underlying asset’s price. When the funding rate is positive, long position holders pay funding to the short position holders; when the funding rate is negative, short position holders pay funding to the long position holders.Funding Interval
Hotstuff charges hourly funding payments. There are no fees on funding payments. To aid readability the funding rate is expressed as an 8-hour interest rate. All the funding payments are transferred between the holders of the perpetual contracts. This makes the funding a zero-sum game, where longs receive all funding from shorts, or shorts receive all funding from longs. Funding rates are designed to prevent large price disparities between the perpetual contract and the underlying asset. When the funding rate is high, it can incentivize traders to take the opposite position and help to bring the contract’s price closer to the spot price of the underlying asset.Funding payments
For a user with an open perpetual position, the exact funding payment is calculated as follows:oracle_price is underlying asset’s spot index price.
Funding Rate Calculations
time_weighted_avg_premiumis the Average Premium Index (P)impact_bid_pxis the avg execution price for a buy order of sizeimpact_notional_usdimpact_ask_pxis the avg execution price for a sell order of sizeimpact_notional_usdimpact_notional_usdis an instrument specific risk parameter