Funding Mechanism
Mechanism
Paradex perpetuals use continuous funding. The funding rate is recomputed every second and the funding index advances continuously. There are no fixed hourly or 8-hour funding events. Open positions accrue funding in real time, and the accrued funding PnL settles against your balance whenever the position is modified (trade, liquidation, transfer, or withdrawal).
The accrued funding contributes to the total unrealized PnL (and therefore to the account value), and is calculated in USDC, the settlement asset. The continuous accrual model reduces on-chain transaction spikes compared to discrete funding events.
Funding calculation flow
Each second:
- Fair Basis: how far the perp is trading from spot.
- Raw Funding Rate: Fair Basis pulled toward the Baseline Rate, clamped, and capped.
- Smoothed Funding Rate: EWMA over the raw rate.
- Funding Premium: the rate expressed in USDC per unit of notional.
- Funding Index: advances by Premium × elapsed time.
- Accrued PnL: applied to your position.
A worked numerical example for one tick is given in the Example section below.
Inputs
Fair Basis
Fair Basis measures how rich or cheap the perp is versus spot. It is built from three sources, each treated as one vote:
- On-venue quotes: Paradex best bid, best ask, and last trade, each expressed as a basis .
- On-venue mid: basis computed from the Paradex bid/ask mid.
- External venues: per-venue basis for each external venue.
All inputs are EWMA-smoothed before use. The smoothed bases are then combined through two successive medians so no single feed can dominate:
The published Fair Basis blends the external median with the liquid basis, weighted by an on-venue liquidity score :
For how Fair Basis drives the Mark Price, see Mark Price Calculation.
Liquidity weight
A tick is liquid when both bid and ask are present and the relative spread is within the per-market Max Top-of-book Spread (default 1%). The weight ramps linearly toward 1 on liquid ticks and toward 0 on illiquid ticks, traversing the full 0-to-1 range over 30 minutes of sustained conditions.
Sustained thinness drives and Fair Basis follows external consensus; sustained tightness drives and on-venue signals regain equal weight.
Raw Funding Rate
The Raw Funding Rate is derived from Fair Basis by pulling it toward the Baseline Rate (clamped), applying an optional per-market Funding Multiplier, and capping the result at the Maximum Funding Rate:
The clamp on is the key piece: it limits how hard the Baseline can pull the rate back toward fair value.
- When : fully corrects toward Baseline, so .
- When : saturates at , so the rate tracks basis, offset by the clamp.
- The outer clip caps the result at .
A perp near fair value therefore earns the Baseline Rate; a meaningfully rich perp pushes toward (longs pay shorts); a meaningfully cheap perp pushes toward .
Funding Multiplier
The Funding Multiplier is a per-market parameter between 0 and 1 that scales the funding rate before the cap is applied. Most markets use a multiplier of 1 (no scaling). TradFi markets use a Funding Multiplier of 0.5.
Period scaling
The Baseline Rate, Clamp Rate, and Max Rate are all quoted per the market’s Funding Period. For a market with a non-8h period, each is scaled by before being used in the formulas above, so the defaults remain interpretable as “per 8h.”
Default values
- Interest Rate (Baseline Rate) = 0.01%
- Clamp Rate = 0.05%
- Maximum Funding Rate = 5%
- Funding Multiplier = 1 (default; 0.5 for TradFi markets)
Smoothed Funding Rate
The published Funding Rate is an EWMA over the Raw Rate:
Smoothing is specified by half-life: the time for a step change in the Raw Rate to be half-absorbed into the published rate. Given a 1-second tick, , where is the half-life expressed in seconds.
A separate 8-hour smoothing of the Raw Rate feeds option pricing; it is not the rate published on the perp.
Funding Premium
At a given time , the Funding Premium represents the amount paid by long positions to short positions per funding period (by default, 8h). It is expressed in the settlement asset (USDC) per unit of notional:
Although funding is continuous, the Premium is quoted per funding period so it remains comparable to rates on other venues. Dividing by USDC keeps the amount correct if USDC depegs.
Funding Index
At a global level, a Funding Index tracks accrued funding for 1 unit of the asset since launch, as the time-weighted sum of the Funding Premium:
In practice the Index is updated each 1-second tick:
If the gap since the previous tick exceeds 30 seconds (for example, during an outage, oracle maintenance, or market pause), is treated as zero so the index does not jump.
Positions held through a pause accrue no funding during the pause. Partial holding periods otherwise settle exactly by the index delta: there is no “next funding” countdown.
Accrued Funding
The Accrued (Unrealized) Funding of an open perpetual position depends on the change in the Funding Index since its last cached value (from the last trade):
where Perpetual Position Size is a signed position size (positive for a long position, negative for short).
Sign conventions:
- A positive Index delta corresponds to positive funding (a rich perp). The leading minus sign makes the PnL negative for longs (they pay) and positive for shorts (they receive).
- Negative funding flips the signs: shorts pay, longs receive.
Whenever the account updates an existing perpetual position, accrued funding is realized:
Accrued funding settles into realized PnL whenever the position is modified (trade, liquidation, transfer, or withdrawal).
Publication
- The funding rate is recomputed every 1 second.
- It is published on the
funding_dataWebSocket channel and embedded in every price tick. - History is available via the account funding-history REST endpoint.
- Funding is paused when the oracle is in maintenance, the USDC price is invalid, or the perp market is halted.
Per-market parameters
Listing defaults (individual markets may override):
Live values per market are available via the market-details endpoint.
Example
Assume BTC-USD-PERP with the default 8h funding period. We look at a 1-minute holding window and assume Spot Price, USDC Price, Fair Basis, and the smoothed Funding Rate are all constant over that minute (i.e., the pipeline has reached a steady state). In production, all four update each second; this assumption just keeps the arithmetic tractable.
Raw rate:
Smoothed rate: at steady state, .
Premium (per 8h, per unit of notional):
Index advance over 60s (8h = 28,800s):
Accrued PnL on +0.5 BTC over this minute:
The long pays about 1.9 cents over the minute. Extrapolating to a full 8h at this rate, the long would pay roughly USDC, which matches 0.03% of a 30,000 USD notional (a useful sanity check on the formulas).