Funding payment is dependant on position notional value & funding rate, with longs paying shorts when funding is positive (perp above index) & shorts paying longs when negative (perp below index).
For each position you hold, the funding payment is calculated as:FundingAmount=PositionSize(notional)×FundingRate.The position size for calculation is typically taken as the notional value of the contracts. On Roxom, since everything is in BTC terms, it effectively translates to BTCamountpaid/received=positioncontracts×contractvalue×fundingrate.For example, if you are long 5 contracts and each contract is worth 1 BTC notional at current prices, and the funding rate is +0.05%, then you would pay 5 × 1 BTC × 0.0005 = 0.0025 BTC in that funding interval (and shorts collectively receive that amount).
Who Pays Whom:
If the Funding Rate is positive, Long positions pay and Short positions receive.
If the Funding Rate is negative, Short positions pay and Long positions receive.
Essentially, the side that is more “in demand” (causing the perp to price above index) pays the side that is less in demand. This incentivizes traders to take the other side and brings the prices back in line.