Skip to main content

How It Works

  • When mark price>index price\text{mark price} > \text{index price}: Longs pay shorts (incentivizes selling, reduces perp price)
  • When mark price<index price\text{mark price} < \text{index price}: Shorts pay longs (incentivizes buying, raises perp price)

Funding Rate

The premium measures how far the perp trades from its index: premium=mark price−index priceindex price\text{premium} = \frac{\text{mark price} - \text{index price}}{\text{index price}} Phoenix averages the premium over each hour. The 8-hour funding rate FF is: F=m×[P+clamp(I−P, −R, R)]F = m \times \left[P + \text{clamp}\left(I - P,\ -R,\ R\right)\right]
  • PP: average premium over the hour
  • II: interest rate, 0.01%0.01\% per 8 hours
  • RR: clamp band radius
  • mm: market multiplier
When PP is within RR of II, F=m×0.01%F = m \times 0.01\%. For example, a crypto market with zero premium has F=0.01%F = 0.01\%, and longs pay shorts.

Settlement

  • Funding settles hourly. Each hour pays 1/81/8 of FF:
hourly funding payment=position size×index price×F8\text{hourly funding payment} = \text{position size} \times \text{index price} \times \frac{F}{8}
  • Each hour’s payment is capped by the market’s maximum funding rate. Market Parameters shows the cap as a percentage of the current mark price.
  • Pending funding (but unsettled) can affect account health/liquidation risk in real time
When a trader interacts with the protocol, their pending funding is calculated as: funding payment=(current accumulator−snapshot accumulator)×position size\text{funding payment} = \left(\text{current accumulator} - \text{snapshot accumulator}\right) \times \text{position size}