For the complete documentation index, see llms.txt. This page is also available as Markdown.

Funding Rate

Funding rates are periodic payments exchanged between long and short position holders. They serve to keep the perpetual contract price anchored to the underlying spot price.

Overview

  • When the funding rate is positive, long positions pay short positions.

  • When the funding rate is negative, short positions pay long positions.

  • Funding is settled automatically — no action is required from the trader.

Funding Interval

The default funding interval for most trading pairs is 4 hours (every 4 hours), with settlement occurring at fixed intervals. Some assets may use a different interval (e.g., 1 hour for certain pairs). See Supported Assets for per-pair details.

Funding Rate Formula

The funding rate consists of two components: the Interest Rate and the Premium Index.

Funding Rate (F) = { Average Premium Index (P) + clamp[ Interest Rate (I) - Average Premium Index (P), 0.05%, -0.05% ] } / (8 / N)

Where:

  • I (Interest Rate) = 0.01% (fixed, regardless of the funding interval).

  • N = Funding interval in hours (e.g., 4 for a 4-hour interval, 1 for a 1-hour interval).

  • P = Time-weighted Average Premium Index over the funding period.

Funding Rate Cap

The funding rate is capped at ±2% per interval for most crypto assets and ±0.375% for commodity pairs (XAU, XAG).

Premium Index

The Premium Index measures the deviation of the perpetual contract price from the Oracle Price.

Where:

  • Impact Bid Price = The average execution price to sell the "Impact Value" notional on the bid side of the order book.

  • Impact Ask Price = The average execution price to buy the "Impact Value" notional on the ask side of the order book.

  • Impact Value = 200 × Max Leverage for the pair (currently 20,000 USDC for most pairs).

Time-Weighted Average

The Premium Index is sampled every 5 seconds. The Average Premium Index is computed as a time-weighted average where more recent samples carry greater weight:

For a 1-hour interval with 5-second sampling, n = 720. For a 4-hour interval, n = 2,880.

Funding Fee Calculation

The funding fee is calculated at each settlement time based on your position size and the Oracle Price at that moment. Funding fees are automatically debited from or credited to your account balance.

Example

Assume you hold a 1 BTC long position with Oracle Price at 100,000 USDC and the funding rate is +0.01%:

Since the rate is positive and you are long, you pay 10 USDC. This amount is distributed to short position holders.

Last updated