Automated Funding Rates

Algorithm

Automated funding rates represent a mechanism employed within perpetual futures contracts, particularly prevalent on cryptocurrency exchanges, to maintain alignment between the contract price and the spot market price of the underlying asset. These rates, dynamically adjusted based on the difference between perpetual contract and spot prices, function as periodic payments exchanged between traders, effectively incentivizing convergence. The calculation relies on a time-weighted average funding rate, determined by the funding interval and the premium or discount relative to the index price, influencing the cost of holding a leveraged position.