Mark Price Calculation
Perpetual Mark Price Formula
The mark price of a perpetual future instrument is calculated as :
where :
is an external oracle price of the underlying coin obtained via the Pyth & Stork Networks.
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 (Binance, Bybit, OKX, Hyperliquid, and Lighter).
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 :
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 (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.