Funding fees ensure perpetual contract prices closely track the underlying spot market. Depending on the prevailing funding rate, traders with open positions periodically pay or receive these fees:
Positive Funding Rate: Traders holding long positions pay traders holding short positions.
Negative Funding Rate: Traders holding short positions pay traders holding long positions.
Funding rates are updated every hour, calculated based on market conditions from the previous hour.
Funding Rate Calculation
Pacifica calculates the funding rate using two components: the Premium Index and a fixed 8-hour Interest Rate (0.01%):
Clamp of +-0.05% keeps funding static for small fluctuations in premium, allowing for a steady funding rate during relatively steady market conditions
Pacifica samples and updates the funding rate every 5 seconds and displays a TWAP of the estimated next 1h funding rate. At the end of each 1-hour interval, the average funding rate is taken and then applied to open positions, and the funding rate TWAP is reset.
Funding fees per hour are capped at ±4%.
Funding payments:
For isolated margin positions, funding payments are deducted from the isolated margin balance and will therefore affect the position's liquidation price. After each funding payout, Pacifica recalculates liquidation prices to reflect the adjusted margin.