While margin trading unlocks the door to amplified gains, it also introduces another layer of complexity - funding requirements. Often overshadowed by margin requirements, understanding funding rates is crucial for responsible leveraged trading on Helix. What are Funding Rates? In traditional futures contracts, the price on the exchange converges with the spot price over time. In contrast, perpetual futures on Injective never expire, creating a potential disconnect between the contract price and the underlying asset’s spot price. To keep these prices in sync, a mechanism called funding payments kicks in. Funding rates are essentially periodic fees exchanged between long and short positions. The direction of these payments depends on the prevailing market sentiment:Documentation Index
Fetch the complete documentation index at: https://injectivelabs-mintlify-jp-developers-first-half-1777019423.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Positive Funding Rates : If a significant majority of traders are long, long positions pay funding fees to short positions. This incentivises trading activity that could potentially bring the contract price down towards the spot price.
- Negative Funding Rates : Conversely, if most traders are short, long positions receive funding fees from short positions. This encourages trading activity that could potentially push the contract price up towards the spot price.
How Funding is Calculated
Funding is calculated as: where The denominator represents the number of seconds between the start of the funding interval and the last trade, multiplied by 24 to normalize from a daily to hourly basis. If no trades occurred during the entire funding interval, the TWAP is zero and only theHourlyInterestRate contributes to the funding rate.
The system computes a Premium each block,
representing how far the contract is trading from the mark price as a percentage:
where VWAP is the volume-weighted average price of all trades executed in that block,
across market buy executions, market sell executions, limit order matches, and atomic order executions.
Using this figure, a Cumulative Price is accumulated throughout the hour.
At the end of each block where trades occur, the current Premium is multiplied by the time passed (in seconds)
since the last update:
Blocks with no trades do not update the cumulative price or the last timestamp.
The premium is not carried forward - the TWAP denominator only counts time up to the last trade within the interval.
Example :
Let’s say you are long 10,000 USDT notional of INJ/USDT PERP (regardless of leverage), and the funding rate is +0.02%, at the top of the hour, you will make a funding payment of 2 USDT. Conversely, if you are short 10,000 notional of INJ/USDT PERP with the same funding rate, you will receive a funding payment of 2 USDT.
Let’s say you are short 20,000 USDT notional of BTC/USDT PERP, and the funding rate is -0.0035%. At the top of the hour, you make a funding payment of 0.7 USDT. Conversely, if you are long the same amount, you will receive a funding payment of 0.7 USDT.
Note, in some rare cases of extreme price volatility, there may be a small discrepancy between the estimated funding rate that you see on Helix, and the actual funding fee billed at the top of the hour.