Skip to content
PerpFinder
Intermediate5 minutes

How to Avoid Liquidation: Margin, Stops and Position Size

Understand liquidation thresholds, margin allocation, stop-order limits, and position sizing with explicit examples and diagrams.

Updated

Liquidation starts when a position or account no longer meets the venue’s maintenance requirement. It can reduce a position, close it, or transfer it under the venue’s rules.

No checklist can prevent every liquidation. The practical task is to understand the threshold, limit exposure, and prepare for worse execution or unavailable controls.

Key takeaways

  • Maintenance margin can trigger liquidation before equity reaches zero.
  • A stop order requests an exit but does not guarantee a fill or maximum loss.
  • Position quantity determines dollar price exposure; margin determines the collateral supporting it.
  • Funding, fees, and other positions can change the available margin.

How liquidation works

A venue compares eligible equity with the maintenance requirement. It can use a mark price that differs from the latest traded price or a stop-order trigger.

Illustrated example

Liquidation starts before equity reaches zero

Illustrative threshold$90,452Equity meets maintenance
Initial margin$1,00010× initial leverage
Position equityMaintenance requirement

The dashed marker shows the threshold. A stop order and a liquidation process can use different trigger prices.

Hypothetical isolated linear long: 0.1 BTC at $100,000, $1,000 margin, and a constant 0.5% maintenance rate on current notional. No fees, funding, or margin changes. This is not a venue quote. Why venue liquidation rules matter.

The illustration uses one isolated linear long, constant quantity, and a fixed maintenance rate. It excludes fees, funding, collateral changes, and other positions.

For this model, the long threshold equals entry price × (1 − margin / entry notional) ÷ (1 − maintenance rate).

The short threshold equals entry price × (1 + margin / entry notional) ÷ (1 + maintenance rate).

These formulas assume maintenance is a constant fraction of current notional. A tiered or portfolio margin system needs its actual rules.

The Hyperliquid liquidation documentation explains mark-price triggers, partial book liquidation, and backstop transfers. A book close can leave collateral with the trader.

Compare position size with available equity

Assume a $10,000 linear position. A 1% adverse price move loses $100 before costs. That loss is the same whether its initial margin is $1,000 or $5,000.

More supporting margin can move an isolated liquidation threshold farther from entry. It also commits more collateral. Reducing quantity changes dollar price exposure directly.

A venue’s maximum leverage is a product limit, not a recommended setting. Review the exact market and position tier.

Understand what a stop order does

A stop-market order becomes a market order after its trigger. The fill can be worse than the trigger price. Available liquidity and platform operation affect execution.

A stop-limit order becomes a limit order. It can remain unfilled if the market moves beyond the acceptable price. Neither order type guarantees a maximum loss.

Confirm the trigger reference, direction, quantity, reduce-only setting, and order status. A displayed order is not evidence that it will execute during every disruption.

Size a hypothetical position from a loss allowance

Suppose the allowance for price loss is $100 and the planned exit is 2% from entry. The planned position value is $100 ÷ 0.02 = $5,000.

Illustrated example

A wider stop means a smaller planned position

Planned price-loss allowance$100
CalculationRisk ÷ distance

Planned position value (USD)

2% stop distance$5,000
5% stop distance$2,000
10% stop distance$1,000

A stop order does not guarantee its execution price or the maximum loss.

Hypothetical $100 allowance for price loss on a linear position. Size = allowance ÷ stop distance. Fees, funding, and worse execution can make the actual loss exceed the allowance.

If execution occurs 3% from entry instead, the same position loses $150 before costs. Fees and holding charges add to that result.

This example shows why a planned allowance is not a guaranteed cap. The risk-management guide adds account and portfolio context.

Check the collateral boundary

Cross margin shares eligible equity among positions. A loss can reduce the support for another position. Isolated margin assigns collateral to a specified position under venue rules.

Check which assets and positions share equity. Do not assume that every wallet balance, subaccount, or profitable hedge is available to support a losing position.

The cross versus isolated guide compares equal positions with explicit collateral assumptions.

Include holding costs in the review

Funding and borrowing can reduce account equity without an adverse price move. Rates, notional values, settlement intervals, and debit rules can change.

Assume $10,000 notional pays 0.03% at each of three settlements. That is $9 in total, or 0.9% of an initial $1,000 margin allocation.

This is an assumed schedule. It does not imply that every venue pays every eight hours or that rates remain constant. Check the funding observations.

Prepare for limited execution or access

Review withdrawal routes, emergency controls, order cancellation, and the venue’s status information. Adding margin requires accessible funds and a working transfer path.

Do not treat an unrealized profit on another platform as immediately transferable collateral. Network delays and transfer limits can prevent a timely deposit.

Understand possible liquidation feedback

Forced book-based closes can consume liquidity and contribute to further price pressure. The result depends on the book, other traders, and the venue’s liquidation process.

Possible feedback path

How forced closes can amplify a move

  1. Mark price falls

    Equity declines on an exposed long position.

  2. Maintenance requirement is breached

    The venue applies its liquidation rules.

  3. Positions are reduced or transferred

    Book-based closing orders can consume bid liquidity.

  4. Further price pressure is possible

    The result depends on available liquidity and other market activity.

Conceptual long-liquidation sequence. Venues can use partial liquidation, order books, backstops, or other mechanisms. The sequence is not inevitable and does not predict a price bottom or a funding-rate reversal.

A liquidation spike does not establish a price bottom or guarantee that funding will reverse. The liquidation tracker shows covered observations and their limits.

Does liquidation always consume all margin?

No.

Remaining equity, fill prices, partial closes, and backstop rules determine the outcome. Read the selected venue’s mechanism.

Is a stop-loss enough to prevent liquidation?

No.

Stops can fill beyond their trigger or remain unfilled. Price gaps, limited liquidity, and service interruptions remain relevant.

Can funding alone move a liquidation threshold?

A funding debit can reduce eligible equity and change the threshold.

Its effect depends on the position, collateral, and venue’s account rules.

Hyperliquid logo

Hyperliquid

4% off trading fees with code AWD

Claim Deal

This guide links to partner offers. PerpFinder may earn a commission. You can lose all your money on perp trades. Details