Funding Fee
In perpetual trading, the funding fee serves to balance the market: Perpetual contracts often aim to track the spot price of an asset. When the price of the contract deviates from the spot price, a funding fee is used to bring the contract's price back in line with the spot market. The funding fee is paid by either side of the traders, helping to maintain the contract's price close to the spot market price.
Objectives
The concept of funding fee derives from traditional finance. Since the late 1990s, fees known as "make and take fees" have been in existence. These fees originated as a response to the Securities and Exchange Commission's (SEC) adoption of their Order Execution Guidelines. Electronic Communication Networks (ECNs) implemented a requirement for participants to pay in order to access order flow. In a formal context, the SEC defines make and take fees as charges associated with non-marketable, resting orders that provide liquidity at a specific price and receive a rebate when executed, while incoming orders that utilize this resting liquidity are subject to an access fee.
In the realm of decentralized finance, funding fees are periodic payments imposed on traders engaged in perpetual futures contracts. Since perpetual futures have a key property of having no expiration, the primary purpose of the funding fee is to converge the contract price with the index price so that lasting divergence in the price is prevented.
Mechanism
In order to balance long and short demand, which are reflected through OI, either long or short traders will pay funding fees, depending on their positions. Funding rate in Jungle is recalculated every hour. If the funding rate is positive, long position holders will pay the funding fee to the platform, and if negative, short position holders will pay. The funding fee charged by platform will be kept in the treasury to cover potential losses of LPs caused by long/short balancing.
Jungle Echange’s funding rate calculation identifies the four key factors: market activity reflected by open interest, market volatility, market sentiment, and exchange-specific edge case factors. Hence we design the funding fee mechanism as below:
-
Goal: To ensure fair pricing and incentivize traders to maintain balanced positions for healthy market dynamics.
-
Formula:
- Realization: For each one-hour-epoch, Funding Rate will be reset and recalculated. For each user, upon entry, Funding Rate within the last 8-hour-epoch will be taken into account to prevent potential losses caused by market manipulation and malicious attacks: