FakeTrade

How perpetual futures work

Published · 4 min read

A perpetual future — a perp — is a contract that follows the price of an asset and never expires. You do not own the coin: you hold a position that gains when the price moves your way and loses when it moves against you. Perps are among the most traded crypto products because they let you go short as easily as long, and hold a large position with a small amount of margin.

This guide walks through a perp position from opening to closing, with examples on $80,000 BTC, a round price picked for the arithmetic.

Long and short

A long position gains when the price rises. A short gains when the price falls: in effect you sell first and buy back later. On spot you can only sell coins you already hold, but on a perp the short is a position of its own, with the same rules as a long.

Example

A long of 0.5 BTC at $80,000 is a position worth $40,000 (size × price).

If BTC rises 1%, the long is up $400.00; if BTC falls 1%, it is down $400.00.

A short of the same size has the opposite result.

Leverage and margin

You do not pay the full value of a perp position. You post margin, and leverage is the ratio between the position's value and that margin. At 10× the $40,000 position above needs $4,000.00 of margin; at 50× it needs $800.00.

Leverage does not change what a price move is worth in dollars — 1% is still $400.00 — it changes how much of your own money stands behind the position, and so how small a move it takes to use that money up.

On FakeTrade the margin and the opening fee come out of your cash when the order fills. The maximum leverage depends on the market and on the size of the position: BTC goes up to 150× on positions up to $200K, and less above that. Leverage brackets explains why.

Maintenance margin and liquidation

Every position must keep a minimum amount of equity — its margin plus its unrealised P&L — called the maintenance margin. For BTC in the first bracket it is 0.4% of the position value: $160.00 on $40,000. When losses eat the margin down to that level, the position is liquidated: the engine closes it, and its margin is gone.

For the 10× long above that happens at $72,289.16, about 9.64% below the entry. At 50× it is $78,714.86, only 1.61% away. How the liquidation price is calculated shows the formula, and the liquidation price calculator works it out for any perp.

Funding: the price of never expiring

A futures contract with an expiry date is pulled towards the spot price as that date gets closer. A perp never expires, so exchanges use funding instead: a small payment between the long and the short side every few hours. On a real exchange the rate moves with the gap between the perp's price and the spot price, so the side that pushed the perp away from spot pays the other.

On FakeTrade a perp is priced from its coin's spot market, so there is no gap to close, and funding is a fixed 0.01% of the position value every 8 hours, at 00:00, 08:00 and 16:00 UTC. Longs pay it and shorts receive it. On the $40,000 position that is $4.00 per payment, $12.00 a day. Funding rate explained has the details.

Fees

Every fill pays a fee: 0.02% as maker (a limit order that rests and is filled later) and 0.05% as taker (market orders, stops, TP/SL and the Close button). Opening the $40,000 position with a market order costs $20.00; closing it with a resting limit order costs $8.00. A liquidation pays no fee. More in Maker vs taker fees.

Isolated or cross

Each perp position is either isolated — it can lose only its own margin — or cross, where your whole balance stands behind it and its liquidation depends on everything else you hold in cross mode. Isolated keeps the worst case of each trade on its order ticket; Isolated vs cross margin compares the two with numbers.

A perp trade on FakeTrade, step by step

  1. Open a perpetual market — for example the BTCUSDT perpetual — and choose Long or Short.
  2. Set the leverage and the margin mode, then the size. The ticket shows the margin, the fee and the estimated liquidation price before you send the order.
  3. Attach a TP and an SL so the position closes itself if the price goes too far either way. Order types covers both.
  4. Keep an eye on the funding countdown: payments are taken at 00:00, 08:00 and 16:00 UTC, from every position open at that moment.
  5. Close with the Close button or a limit order, or partly with a reduce-only order. Your result after fees and funding goes to your balance and your history.

Every perp on FakeTrade has its own page with its leverage, maintenance margin and fees; the market list has them all.

Keep reading

FakeTrade is an educational simulator: no real money, no real trades. Nothing here is financial advice, and the prices in the examples are round numbers chosen for the arithmetic, not forecasts.