Perpetual contracts have become a cornerstone of modern cryptocurrency trading, offering traders the ability to gain leveraged exposure to digital assets without expiration dates. Among leading platforms providing this service, OKX stands out with its robust infrastructure, advanced risk management systems, and support for up to 100x leverage. This in-depth guide breaks down everything you need to know about OKX perpetual contracts — from core mechanics and margin rules to funding rates, forced liquidations, and profit calculations.
Understanding Perpetual Contracts on OKX
Perpetual contracts are derivative financial instruments that allow traders to speculate on the future price of cryptocurrencies like Bitcoin (BTC) without owning the underlying asset. Unlike traditional futures, they do not expire, enabling positions to be held indefinitely.
Each contract on OKX represents $100 worth of the base cryptocurrency (e.g., BTC). Traders can go long (buy) if they expect prices to rise or short (sell) if they anticipate declines. With leverage ranging from 1x to 100x, even small price movements can result in significant gains — or losses.
👉 Discover how high-leverage trading works and start exploring advanced strategies today.
Key Differences: Perpetual vs. Quarterly Contracts
| Feature | Perpetual Contracts | Quarterly Contracts |
|---|---|---|
| Expiry Date | No expiry — positions can be held indefinitely | Fixed settlement date (e.g., end of quarter) |
| Funding Mechanism | Uses funding fees to anchor price to spot | Settled at expiry using index price |
| Mark Price Usage | Yes — reduces unintended liquidations | Yes |
| Daily Settlement | Yes — occurs at 17:00 Hong Kong time | No — only settled at expiry |
The absence of an expiry date makes perpetual contracts ideal for traders seeking long-term exposure or dynamic short-term strategies without worrying about roll-over costs.
Core Components of OKX Perpetual Contracts
1. Index Price Calculation
To ensure fair pricing, OKX calculates a spot index price by aggregating data from at least three major exchanges. This prevents manipulation and ensures accuracy.
How It Works:
- Collects real-time prices and volumes from selected exchanges.
- Excludes any exchange with stale data (no update within 30 minutes).
- Converts BTC-denominated pairs into USD using the OKX BTC/USD index.
Applies weighted averaging:
- ≥3 exchanges: Equal weights; outliers beyond ±3% of median are capped.
- 2 exchanges: Simple average.
- 1 exchange: Direct use of available price.
This multi-source approach enhances reliability and minimizes volatility caused by anomalies on a single platform.
2. Mark Price and Its Role
The mark price is used to calculate unrealized P&L and prevent unnecessary liquidations during flash crashes or spikes.
Formula:
Mark Price = Spot Index Price + Moving Average of Basis
Basis = (Best Bid + Best Ask) / 2 - Spot Index PriceBy smoothing out short-term fluctuations, the system protects traders from being prematurely liquidated due to temporary market imbalances.
Placing Orders: Trade Types and Execution
All contract orders are managed under the "Contract Orders" section, where users can view and cancel open trades before execution.
Supported Order Types:
- Buy Open Long: Enter a long position when bullish.
- Sell Close Long: Exit a long position.
- Sell Open Short: Enter a short position when bearish.
- Buy Close Short: Exit a short position.
Order Placement Process:
- Select contract type (e.g., BTC-USD).
- Input price (in USD per contract) and quantity (in contracts).
- Choose order type and submit.
In cross-margin mode, the system checks if your margin rate ≥ 1 / selected leverage.
In isolated margin mode, you must have enough available balance to cover one contract’s margin.
Margin System: Cross vs Isolated
OKX offers two margin models tailored to different risk appetites.
Cross-Margin Mode
- All available balance in the account secures open positions.
- Margin usage fluctuates with mark price changes.
- Higher flexibility but greater risk of total account liquidation.
Isolated-Margin Mode
- Each position has a fixed margin assigned.
- Changes in P&L affect only that specific position.
- Enables precise control over risk per trade.
👉 Learn how isolated margin helps manage risk more effectively in volatile markets.
Leverage, Initial & Maintenance Margin
| Term | Definition |
|---|---|
| Leverage | Multiplier that amplifies exposure (up to 100x) |
| Initial Margin Rate | = 1 / Leverage (e.g., 1% for 100x) |
| Maintenance Margin Rate | Minimum required to keep a position open |
When your margin ratio falls below the maintenance level, liquidation is triggered.
Example:
- BTC price: $10,000
- Trade: Buy 1 BTC equivalent (100 contracts)
- Leverage: 10x → Initial margin = $10,000 / 10 = $1,000
- If price drops to $9,150 and maintenance margin is 1%, the position may be liquidated due to insufficient equity.
Tiered Maintenance Margin System
To reduce systemic risk from large positions, OKX uses a tiered system where larger holdings require higher maintenance margins and restrict maximum leverage.
For example:
- Level 1 (≤19,999 contracts): 0.5% maintenance margin, up to 100x leverage
- Level 3 (≥30,000 contracts): Higher maintenance rate, capped at lower leverage
This tiered structure ensures market stability by discouraging over-leveraged whale positions.
Forced Partial Liquidation & Full Auto-Deleveraging
Large positions face forced partial liquidation instead of immediate full closure when near liquidation levels.
How It Works:
- Triggered when margin ratio ≤ maintenance level for Level 3+ positions.
- System reduces position size by two tiers (e.g., from 30,005 to ~20,000 contracts).
- If post-reduction margin still fails to meet requirements, the process repeats.
In isolated mode, the affected position is frozen during this process.
In cross mode, the entire currency account is locked.
If the position remains under-collateralized after repeated attempts, full liquidation occurs at bankruptcy price.
Profit & Loss Calculation
Unrealized P&L
Used for active positions:
- Long:
(Face Value × Contracts / Entry Price) - (Face Value × Contracts / Mark Price) - Short:
(Face Value × Contracts / Mark Price) - (Face Value × Contracts / Entry Price)
Realized P&L
Calculated upon closing:
- Long Close:
(Face Value / Entry Price - Face Value / Exit Price) × Contracts - Short Close:
(Face Value / Exit Price - Face Value / Entry Price) × Contracts
Daily settlement resets unrealized P&L into realized gains/losses at 17:00 HKT.
Funding Fees: Keeping Price Aligned
Since perpetual contracts don’t expire, funding fees align contract prices with spot values every 24 hours at 17:00 HKT.
Key Rules:
- Paid/received only if holding a position at settlement.
- Rate calculated every minute; final rate taken at 16:59 HKT.
- Formula caps rate between -0.25% and +0.25%.
If funding rate is positive, longs pay shorts. If negative, shorts pay longs.
OKX does not collect these fees — they are transferred directly between users.
Daily Settlement Process
At 17:00 Hong Kong time daily:
Unrealized P&L → Realized P&L
- Reset based on current mark price.
- New settlement benchmark set for next cycle.
Loss Sharing (if applicable)
- Any insolvency losses first offset by insurance fund.
- Remaining deficit shared among profitable traders proportionally.
Balance Update
- Realized P&L credited to account balance (cross) or fixed margin (isolated).
Risk Controls: Price Limits & Market Integrity
To prevent manipulation and extreme volatility:
- First 10 minutes after listing: ±5% from spot index.
- After 10 minutes: ±3% around recent average premium.
- Hard cap: ±25% from index or zero-bound protection.
Orders outside these bounds are rejected. Both opening and closing orders are subject to these limits.
Frequently Asked Questions (FAQ)
Q1: What happens if I don't have enough balance for funding fees?
If your balance is insufficient in isolated mode, the fee will be deducted from your position’s fixed margin. However, deductions stop once your margin ratio reaches the maintenance threshold — you won’t go negative.
Q2: Can I change leverage after opening a position?
Yes. In both cross and isolated modes, you can adjust leverage as long as it doesn’t exceed tier-based limits. Lowering leverage may require additional available balance.
Q3: How is the settlement benchmark price determined?
Before first settlement, it's your entry price. After each daily settlement, it updates to the mark price at 17:00 HKT.
Q4: Are there fees for trading perpetual contracts?
Yes. Taker fees apply on executed orders (typically 0.05–0.1%), while makers may receive rebates depending on tier. These are separate from funding fees.
Q5: Does OKX charge funding fees?
No. Funding fees are paid directly between traders — longs to shorts or vice versa — and OKX does not take a cut.
Q6: How can I avoid liquidation?
Use lower leverage, monitor mark price closely, enable alerts, and consider isolated margin for better control. Regularly check your margin ratio and add funds manually if needed.
Final Thoughts
OKX perpetual contracts offer powerful tools for both novice and experienced traders. With features like tiered margin systems, intelligent mark pricing, automatic partial liquidations, and transparent funding mechanisms, the platform balances performance with risk control.
Whether you're aiming to hedge portfolio exposure or capitalize on short-term volatility, understanding these rules is essential for success.
👉 Start trading perpetual contracts with confidence — access real-time data and advanced tools now.