Learn · Chapter 8 of 10

Long, Short & Position Mechanics

How a position works from entry to exit: long and short, stop loss and take profit, realized and unrealized P&L, leverage, margin, liquidation and funding.

  • Beginner
  • 7 min read
  • Updated
  1. Chapter 1
  2. Chapter 2
  3. Chapter 3
  4. Chapter 4
  5. Chapter 5
  6. Chapter 6
  7. Chapter 7
  8. Chapter 8
  9. Chapter 9
  10. Chapter 10
Watch in 60 seconds

Chapter 8: Long, short and position mechanics

1:03 · captioned

1/4What Chapter 8 teaches

TAKE PROFITENTRYSTOP LOSS
  • Long gains on a rise · Short gains on a fall

A preview of Chapter 8: how a position gains or loses, why leverage multiplies losses as well as gains, and what liquidation means.

0:00 / 1:03

Transcript
  1. What Chapter 8 teaches
  2. Chapter 8 follows a position, money exposed to a price, from open to close.
  3. A long gains when price rises. A short gains when price falls.
  4. Leverage and margin
  5. Leverage means controlling a position larger than the money put up, called the margin.
  6. Gains and losses are counted on the full position, not the margin.
  7. At 10x leverage, a 1% move adds or removes 10% of the margin.
  8. Leverage multiplies losses as well as gains.
  9. Liquidation
  10. When losses cut the margin below a required minimum, the exchange closes part or all of the position: liquidation.
  11. Much or all of the margin is usually lost, and on some venues losses can exceed it.
  12. The position stays closed even if price recovers.
  13. What beginners get wrong
  14. Leverage does not make an idea more likely to be right. It brings liquidation closer.
  15. The chapter explains mechanics only. It recommends nothing. This is education, not advice.

Educational explainer with hypothetical data. Not financial advice.

Where we are

Chapter 7 covered tools that only mark a chart. This chapter is about what happens when money is actually exposed to price: the position. It explains the mechanics. It does not suggest using any of them.

By the end you will be able to follow a position from entry to exit, work out its gain or loss, and explain how leverage, margin, liquidation and funding change the picture.

A position has a direction

A position is an open exposure to an asset’s price. It has a direction, a size and an entry price.

Long vs short

LONG

Buy first, sell later. Gains if price rises.

  1. 1. BuyOpen the position.
  2. 2. Price movesUp helps, down hurts.
  3. 3. SellClose the position.

SHORT

Sell first, buy back later. Gains if price falls.

  1. 1. SellOpen the position.
  2. 2. Price movesDown helps, up hurts.
  3. 3. Buy backClose the position.
Both sides can lose. Long and short describe the direction of a position, not whether it is a good idea.
  • A long position gains when price rises. The asset is bought first and sold later.
  • A short position gains when price falls. The asset is sold first and bought back later. On spot markets this requires borrowing the asset. On derivatives it is done with a contract, with no borrowing of the asset itself.

The two are not perfect mirrors. An unleveraged long can lose at most what was paid, because a price cannot fall below zero. A price has no upper limit, so the possible loss on a short has no fixed limit either. See Long Position and Short Position.

Entry, exit and P&L

The entry is the price at which a position is opened. The exit is the price at which it is closed. The difference between them, multiplied by the size, is the profit or loss, written P&L.

Long P&L = (exit price - entry price) x position sizeFor a short, swap the two prices. Fees and funding are then subtracted.

P&L exists in two forms:

  • Unrealized P&L belongs to a position that is still open. It changes with every new trade in the market and can disappear.
  • Realized P&L is fixed when the position is closed. Only then is the gain or loss final.

A position that shows an unrealized gain of 300 has not made 300. It has made nothing until it is closed, and by then the number may be different. See P&L: Realized & Unrealized and Entry & Exit.

Planned exits: stop loss and take profit

Entry, stop loss and take profit
TAKE PROFITENTRYSTOP LOSS
A plan defines the exit before the entry: where the idea is wrong (stop loss) and where gains would be taken (take profit). Hypothetical data for illustration.

A position can be closed by hand or by orders placed in advance.

A stop loss is an order to close the position if price moves against it to a chosen level. Chart readers usually connect it to the invalidation level from Chapter 4: the price at which the original idea no longer fits. A take profit is an order to close the position at a chosen favourable price.

A stop loss limits a loss in normal conditions. It does not fix the loss exactly. Most stop orders become market orders once triggered, so in a fast market, or across a gap, the position can be closed at a worse price than the stop level. That difference is called slippage. See Stop Loss and Take Profit.

Leverage, margin and collateral

Leverage means controlling a position larger than the money put up for it. The money put up is the margin. The assets pledged as margin are the collateral: they are what the exchange can take to cover losses.

Leverage is written as a multiple. At 10x, a margin of 1,000 controls a position worth 10,000. The exchange or lender provides the rest of the exposure.

The same 1% price move at different leverage
1x (no leverage)1%

Position value changes 1% of your capital.

5x5%

About 5% of your margin, up or down.

10x10%

About 10% of your margin, up or down.

20x20%

About 20% of your margin, up or down.

Leverage multiplies gains and losses equally. It does not change the market; it changes how hard each move hits your margin. Simplified: ignores fees and funding.

The key mechanical fact is that gains and losses are calculated on the full position, not on the margin. A 1% move on a 10,000 position is 100. Against a margin of 1,000, that is 10%. Leverage does not change the market. It changes how much of the margin each move adds or removes.

Two margin levels matter:

Leverage shortens the distance to a total loss

At 10x, an adverse move of roughly 10% removes the entire margin. At 50x, roughly 2% does. Moves of that size can happen within minutes in volatile markets. See Leverage and Leverage Risk.

Exchanges also differ in how margin is shared between positions. With isolated margin, each position has its own margin. With cross margin, positions draw on a shared balance. See Margin & Collateral and Isolated vs Cross Margin.

Liquidation

Liquidation of a leveraged long (hypothetical)
ENTRY (10x LONG)LIQUIDATION PRICEPosition closedcollateral lostRecovery comes too late
With leverage, a move against the position can reach the liquidation price. The position is closed by the exchange even if price later recovers. Hypothetical data for illustration.

Liquidation is the forced closing of a leveraged position by the exchange. It happens when losses have reduced the margin to the maintenance level. The exchange closes part or all of the position to try to keep the loss within the collateral. In fast markets, and on some venues, the loss can still exceed it.

As a rough guide, a position at leverage L is liquidated by an adverse move of about 100 divided by L percent. The real liquidation price comes somewhat sooner, because of maintenance margin and fees. Exact formulas differ between exchanges.

Three consequences are worth stating plainly:

  • Liquidation usually means losing most or all of the margin for that position, and often an extra liquidation fee.
  • It is final. If price recovers a minute later, the position is already gone.
  • It is decided by the exchange’s rules, not by the trader.

A stop loss and a liquidation are therefore very different things. One is an exit chosen in advance at a level that fits the idea. The other is an exit imposed when the collateral has run out. See Liquidation and Stop Loss vs Liquidation.

Funding

Perpetual futures, introduced in Chapter 1, have no expiry date. Something has to keep their price close to the spot price. That mechanism is funding: a periodic payment exchanged between holders of long and short positions.

Funding payments on perpetual futures

POSITIVE FUNDING

Perp price trades above the spot index.

  • Longs pay shorts
  • Holding a long costs money over time
  • Tends to pull the perp price back down toward spot

NEGATIVE FUNDING

Perp price trades below the spot index.

  • Shorts pay longs
  • Holding a short costs money over time
  • Tends to pull the perp price back up toward spot
Funding is exchanged between traders, typically every few hours. It is an incentive that tends to keep the perpetual price near the spot price, not a limit. Neither state is a bullish or bearish reading.

When the perpetual trades above spot, the funding rate is usually positive and longs pay shorts. When it trades below spot, the rate is usually negative and shorts pay longs. The payment is calculated on the full position size, so leverage enlarges it in relation to the margin.

Funding is a running cost or income of holding a perpetual position. It is small per interval and adds up over time. Rates, intervals and formulas differ between exchanges. See Funding Rate and Spot vs Perpetuals.

One hypothetical leveraged long, in numbersHypothetical illustration

A made-up asset trades at 100. A trader opens a long of 100 units, worth 10,000, with 1,000 of margin. That is 10x leverage.

A hypothetical 10x long: 100 units at 100, with 1,000 of margin
  1. Take profit108If filled here: +800, or +80% of the margin.
  2. Entry100Position value 10,000.
  3. Stop loss96If filled here: -400, or -40% of the margin.
  4. Liquidationabove 90Margin is down to the maintenance level. The exchange closes the position.
  • Price rises to 103. Unrealized P&L is 3 x 100 = +300. Price moved 3%, and the margin shows +30%.
  • Price falls to 97. Unrealized P&L is -300, or -30% of the margin.
  • The stop loss at 96 is triggered and filled at 96. Realized loss is 4 x 100 = 400, or 40% of the margin. With slippage, the fill and the loss would be worse.
  • With no stop loss, price falls further. Somewhere above 90, the remaining margin reaches the maintenance level and the position is liquidated.
  • Funding. Suppose the rate is +0.01% per interval. On 10,000 that is 1 per interval, paid by the long. Three intervals a day make 3, or 0.3% of the margin each day.

Without leverage, the same 100 units would need 10,000 of capital, and the fall to 96 would be a 4% loss with no liquidation price.

What it does NOT mean

  • Leverage does not make an idea more likely to be right. It makes the result of being right or wrong larger in relation to the margin.
  • A stop loss does not fix the loss exactly. It is an instruction to close, and the fill can be worse than the stop level.
  • Unrealized profit is not profit. It is a number that changes until the position is closed.
  • Short is not simply long upside down. The possible loss on a short has no fixed limit.
  • Liquidation is not a safety feature for the trader. It is meant to protect the exchange and the other side of the trade from losses beyond the collateral. It does not always succeed, and on some venues a trader can still owe more than the margin.

Check your understanding

Try answering these in your head before moving on:

  1. A short of 50 units is opened at 100 and closed at 94. Before fees, what is the realized P&L?
  2. At 20x leverage, roughly what adverse price move uses up the whole margin?
  3. Name two differences between a stop loss being triggered and a position being liquidated.

Key takeaway

A position has a direction, a size, an entry and eventually an exit, and its P&L is only final once it is closed. Leverage calculates gains and losses on the full position while only the margin stands behind it, which is why small moves can lead to liquidation.

Next, Chapter 9: Risk, Psychology & Trading Styles turns from how a position works to how its size is decided and why people find the rules hard to follow.

Go deeper in the Library

Bull, Bear, Long & Short Long Position A long position is one that gains value if the price rises and loses value if it falls. It can be as simple as owning an asset, or it can be a leveraged contract with very different risks. Beginner Bullish context Bull, Bear, Long & Short Short Position A short position is one that gains value if the price falls and loses value if it rises. It relies on borrowing or on a derivative contract, and its possible loss is not capped. Beginner Bearish context Trading Mechanics Entry & Exit The entry is the fill that opens a position and the exit is the fill that closes it; together they fix the result of a trade before costs. Beginner Trading Mechanics Stop Loss A stop loss is a stop order placed in advance to close a position if price moves against it to a chosen level, limiting the loss approximately but not exactly. Beginner Trading Mechanics P&L: Realized & Unrealized Unrealized P&L is the gain or loss on a position that is still open and changes with price; realized P&L is the gain or loss locked in when a position is closed. Beginner Trading Mechanics Leverage Leverage is the ratio of a position's size to the margin backing it; it multiplies the effect of every price move on that margin, for losses exactly as much as for gains. Intermediate Trading Mechanics Margin & Collateral Margin is the collateral posted to open and keep a leveraged position; it absorbs the position's losses, and if it falls below the maintenance requirement the position is liquidated. Intermediate Trading Mechanics Liquidation Liquidation is the forced closing of a leveraged position by the exchange when the margin behind it falls below the maintenance requirement. Intermediate

Sources and further reading