Skip to content
All library documents

How Margin and Liquidation Work in Crypto Perpetual Futures

Article Quant Q&A · Author: VoltageC

Summary

The answer explains leverage in a crypto perpetual contract as a trader posting margin to support a larger notional position. A trader who shorts one contract at a stated price posts half the contract value for 2x leverage, while a counterparty takes the long side. The exchange matches those positions; it does not need to borrow the contract’s notional value to create the exposure.

If the market rises enough to exhaust the short trader’s margin, the exchange liquidates the position and transfers the remaining exposure to another market participant. In the example, the long side receives payment from the margin, and the exchange’s resulting short and long exposures offset. This illustrates how liquidation and matching can reassign risk. It is a simplified explanation: actual liquidation rules, insurance funds, fees, and settlement vary by venue, and the example does not fully describe those mechanisms.

Key ideas

  • Leverage increases a trader’s contract exposure relative to the margin they post.
  • A perpetual futures trade pairs a long position with a short position, which need not use equal leverage.
  • When a trader’s margin is depleted, liquidation can close or transfer that trader’s exposure.
  • The exchange may arrange offsetting positions while charging fees, but venue-specific liquidation details matter.

Tags

Full text
# Crypto perpetual futures contracts- How does the exchange fund the leverage?


# Crypto perpetual futures contracts- How does the exchange fund the leverage?












Am I correct in saying that with the leverage system in crypto perpetual futures contracts, the user does not borrow from the exchange and the exchange does not have to borrow from external sources to "fund the leverage"?

Who pays the shorts profit if the long counterparty bought without leverage?

Is each trade matched with longs and shorts of the same X leverage? (e.g both sides have 5X leverage) or 1 long of 10,000 USD notional value can be matched with 100 short contracts if each contract is worth $100 of notional value. Thank you.

## Answer by MaPy (score 2)

https://quant.stackexchange.com/a/73465

Think about it as:

- An individual A enters short 1 btc-perp (currently at 20kusdt) contract 2x leverage is equivalent to: The individual post 0.5 * btcusdt (10k usdt) as a margin to the exchange, and the exchange let him/her take a 1 contract exposure. The individual A (short) enters short 1 contract in the market with the individual B (long)

If the price of the btc increases by 50% (new price 30k) then the exchange will take over the position, use the 10k to pay the long contract, and close the short contract (enter in a long contract) in the market to another participant (individual C) willing to enter a short at 30k.

the exchanges will run no risk:

- initial position 0.

- end position 1 short + 1 long = 0 (technically exchange will make a profit due to liquidation fees, trading fees etc)

overall positions:

- exchange 1 short + 1 long

- Individual A 0

- Individual B 1 long

- Individual C 1 short

Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.