Funding
Last updated
Last updated
Bluefin computes the funding rate following the following formula:
where TWA is the time-weighted average, the index price is the aggregated price of the base asset in the spot market, and the market price is a median of the last trade price, the best bid and best ask,
The prices are snapshotted every minute. At the end of each hour, the rate is calculated as an average (TWA) of the 60 values calculated over the course of the last hour. The funding rate has an absolute value hourly cap of 0.1%.
Funding Payments are accumulated at every hour's end and settled at the time of every account action, i.e., when trading, managing margin, or changing leverage. For each hour, funding payments are proportional to the position's notional value using the oracle price and the hourly funding rate.
If the Funding Rate is positive, long position holders pay short position holders, and vice versa if the Rate is negative. The mechanism incentivizes the convergence of mid-market price towards the index price.