Market Cap: $2.6808T -0.35%
Volume(24h): $47.5786B -12.97%
Fear & Greed Index:

43 - Neutral

  • Market Cap: $2.6808T -0.35%
  • Volume(24h): $47.5786B -12.97%
  • Fear & Greed Index:
  • Market Cap: $2.6808T -0.35%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How to Find the Liquidation Price of a BTC Position on OKX

Liquidation price on OKX is the dynamic mark price at which a leveraged BTC-USDT-SWAP position auto-closes—continuously updated based on equity, maintenance margin tiers, funding, and fees.

Oct 23, 2026 at 10:00 am

Liquidation Price Definition and Core Mechanics

1. Liquidation price is the specific market price at which a leveraged position on OKX is automatically closed due to insufficient margin.

2. It is not a fixed value but recalculates continuously as mark price, position size, leverage level, and entry price change.

3. For long positions, liquidation occurs when the mark price falls to or below the liquidation price; for short positions, it triggers when the mark price rises to or above that level.

4. The calculation incorporates both initial margin and maintenance margin requirements defined by OKX’s risk parameters for BTC-USDT-SWAP.

5. Funding rate accruals, unrealized PnL fluctuations, and fee deductions from equity also influence real-time liquidation thresholds.

Key Inputs Required for Manual Calculation

1. Position side: long or short — determines whether liquidation moves inversely or directly with price action.

2. Entry price: the average fill price of the open position, used as baseline for unrealized profit or loss computation.

3. Leverage multiplier: selected at order placement, directly affecting required margin and sensitivity to price movement.

4. Position size in contracts or base units: determines absolute margin impact per tick movement.

5. Maintenance margin ratio: a dynamic percentage set by OKX based on position notional and tiered risk bands, published in official margin tables.

OKX-Specific Margin Structure for BTC Perpetual

1. BTC-USDT-SWAP uses a tiered maintenance margin model where larger positions face higher minimum margin ratios.

2. As of 2026 Q3, the base maintenance margin for positions under 50 BTC equivalent is 0.8%, scaling up to 2.5% for positions exceeding 500 BTC equivalent.

3. Initial margin is calculated as position notional divided by leverage, while maintenance margin equals position notional multiplied by the applicable tiered ratio.

4. Equity is defined as wallet balance plus unrealized PnL minus accrued funding fees and realized fees.

5. Liquidation is triggered when equity drops to or below maintenance margin level — this condition maps directly to a unique price point.

Real-Time Access via OKX API and Interface

1. The /api/v5/account/positions endpoint returns live position data including liqPx, the current liquidation price for each active contract position.

2. This value is updated server-side every few seconds and reflects all real-time variables without manual recalculation.

3. Web interface users can locate the liquidation price in the “Positions” tab beside each open BTC-USDT-SWAP line item, displayed with precision up to four decimal places.

4. TradingView-integrated OKX charts show liquidation price levels as horizontal dashed lines when position details are enabled in chart settings.

5. WebSocket stream positions channel pushes updates to liqPx whenever margin utilization shifts beyond 0.1% thresholds.

Frequently Asked Questions

Q1: Does the liquidation price change if I add more margin to my position?Yes. Adding margin increases equity, thereby raising the liquidation price for long positions and lowering it for short positions.

Q2: Why does my liquidation price differ from the one shown on another exchange for the same BTC position size and leverage?Differences arise from distinct maintenance margin tiers, mark price calculation methodologies, and fee structures across exchanges.

Q3: Can I see historical liquidation prices for closed positions?No. OKX does not store or expose historical liquidation price values. Only current open positions return liqPx via API or UI.

Q4: Is the liquidation price the same as the bankruptcy price?No. Bankruptcy price is the theoretical price where equity hits zero before fees. Liquidation price is always less extreme, incorporating buffer margins and insurance fund mechanisms.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

See all articles

User not found or password invalid

Your input is correct