Kehittäjäportaali
Teema

Fee#

Funding Fee#

Funding payment help keep perpetual contract prices aligned with their index prices. They are exchanged between long and short position holders; the platform does not charge the funding fee. A positive rate means longs pay shorts, while a negative rate means shorts pay longs. In hedge mode, the long and short legs settle independently.

Funding is settled hourly at the top of the hour. The displayed hourly rate is one eighth of the nominal eight-hour rate. Only positions open at settlement participate.

The rate is derived from impact bid and impact ask prices relative to the index price. The premium index is sampled every five seconds and weighted over a rolling one-hour window, with newer samples receiving more weight. The final calculation applies the configured interest-rate component, dampener or multiplier, and contract-specific cap or floor.

Premium Index:

Premium index = [max(0, Impact bid − Index price) − max(0, Index price − Impact ask)] ÷ Index price

Funding Rate:

Funding rate = clamp((Weighted average premium index + clamp(Interest rate − Weighted average premium index, ± Premium dampener)) ÷ (8 / N) × Multiplier, ± Funding cap)

N is the funding settlement interval in hours. The interest-rate component is 0.01%, and the impact base notional is 200 USD. Impact bid and impact ask are average fill prices for selling or buying the configured impact notional from the relevant side of the order book.

Funding Fee Calculation:

  • Position value = Position size × Mark price
  • Charged funding fee = min(Payer position value × Funding rate, max(Equity, 0))
  • Payout funding rate = Total charged funding fee ÷ Total charged position value
  • Payout funding fee = Receiver position value × Payout funding rate

The payer's charge is capped at available equity, so funding alone does not push equity below zero. If the full amount cannot be collected, the payout rate is lower than the funding rate; the platform does not cover the difference.

The predicted rate updates every five seconds, while the settled rate is locked at settlement. When funding is paused, no rate is calculated and no funding is collected or distributed for that window.

Risk notice: Crypto products involve significant risk. Prices can rise or fall, and losses may exceed expectations. This material is for technical and informational purposes only and does not constitute financial, investment, or tax advice.

Trading Fee#

Trading fees for Onchain Perps & Spot are based on the main account's VIP tier. Spot and perpetual trading have separate maker and taker fee rates. Each sub-account uses the fee rates associated with its main account's VIP tier.

When the main account's VIP tier changes, the applicable trading fee rates are updated according to the standard OKX VIP rules. The fee schedule will be published when live trading for Onchain Perps & Spot becomes available.

When the main account's VIP tier changes, the applicable trading fee rates for its sub-accounts follow the updated main-account tier according to the platform's fee rules.

Sisällysluettelo