GUM Docs
Open GUM

Perps

Funding

The hourly payments between longs and shorts that keep perp prices close to the oracle price.

Funding is a payment between traders on the same market. Perps never expire, so funding is what keeps a perp’s price close to the oracle price of the asset.

  • When the rate is positive, longs pay shorts. This happens when the perp trades above the oracle price.
  • When the rate is negative, shorts pay longs. This happens when the perp trades below it.

GUM doesn’t take a fee on funding.

How the rate is set

The rate has two parts:

  • Premium: how far the order book trades from the oracle price, averaged over the current hour.
  • Interest: a small baseline. When the book trades close to the oracle price, the rate settles at this baseline.

Each market caps the rate in both directions. The rate is recalculated through the hour.

When it’s paid

Funding is paid every hour, on the hour (UTC), on the size of the position you hold at that moment. Each payment covers the whole hour before it, at that hour’s rate and mark price: a position held over the hour pays or receives the full hour’s funding, and one opened and closed between two hours pays none. Funding is added to or taken from your account value, so paying it moves you closer to liquidation.

How the app shows it

  • The chart header shows the current hourly rate and a countdown to the next payment.
  • The funding details also show the rate per 8 hours and annualized. You’re charged the hourly rate; the other two are for comparison.
  • Your past payments appear in your funding history.