Global Funding Rate
Last updated
Last updated
In Derivio’s universal margin system, we charge/distribute funding for both the token you long and short (e.g. long ETH/BTC = long ETH + short BTC). For each coin we break it down into two parts:
The long short ratio itself: we look at the OIs of a coin borrowed, versus the OI of all coins borrowed against this particular coin. We set up a threshold, which could be different for different coins, to determine if the market imbalance is significant. The final funding amount will be proportional to the long short percentage after threshold.
The borrow rate: If the pool has low open interest, the imbalance might not reflect the real market circumstances. So the borrow rate of the coin acts as a weight to let it more accurately reflect the true situation of the market.
And thus we could apply the formula in the previous section to calculate the funding rate for each coin separately, before adding them together to get the final funding rate.
Funding fees can be positive or negative; in a market neutral scenario (LP’s exposure), statistically the fees should cancel out each other. From a trader’s perspective, the fee is negligible when he/she trades over a particular market.
The funding fee is designed to be 0 most of the time, since we start to charge funding fee only when the market is skewed over a threshold (and this threshold is one of the parameters that are tuned differently for different pools). That is, only when trading is unfair between traders and LPs (traders are having cheap counter-parties here), that’s the time we start to charge.
If, at a point traders still feel too expensive to trade a particular market in a particular direction, that might mean arbitrageurs should step into the opposite direction to collect fundings and correct the imbalance. This can boost the trading volume while maintaining a healthy & fair market at the same time.
Parameters can be fine tuned for funding rate to make sure it is fair and don’t impact traders’ experience.
We define the Sentiment Indicators for market A/B as
Bullish % = Long(A) % / (Long(A) % + Long(B) %)
Bearish % = Long(B) % / (Long(A) % + Long(B) %)
where long/short% are defined in Q1.
The Sentiment Indicator aims to reflect the overall market sentiment, thus offering traders guidance on their trades. Typically, opening a position on the minority/contrarian side will receive funding fee payment.