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.
Chapter 8: Long, short and position mechanics
1:03 · captioned1/4What Chapter 8 teaches
- Long gains on a rise · Short gains on a fall
2/4Leverage and margin
- Counted on the full position
- Leverage multiplies losses as well as gains
3/4Liquidation
- Liquidation: a forced close by the exchange
4/4What beginners get wrong
- Mechanics explained, nothing suggested
A preview of Chapter 8: how a position gains or loses, why leverage multiplies losses as well as gains, and what liquidation means.
Transcript
- What Chapter 8 teaches
- Chapter 8 follows a position, money exposed to a price, from open to close.
- A long gains when price rises. A short gains when price falls.
- Leverage and margin
- Leverage means controlling a position larger than the money put up, called the margin.
- Gains and losses are counted on the full position, not the margin.
- At 10x leverage, a 1% move adds or removes 10% of the margin.
- Leverage multiplies losses as well as gains.
- Liquidation
- When losses cut the margin below a required minimum, the exchange closes part or all of the position: liquidation.
- Much or all of the margin is usually lost, and on some venues losses can exceed it.
- The position stays closed even if price recovers.
- What beginners get wrong
- Leverage does not make an idea more likely to be right. It brings liquidation closer.
- 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
Buy first, sell later. Gains if price rises.
- 1. BuyOpen the position.
- 2. Price movesUp helps, down hurts.
- 3. SellClose the position.
SHORT
Sell first, buy back later. Gains if price falls.
- 1. SellOpen the position.
- 2. Price movesDown helps, up hurts.
- 3. Buy backClose the position.
- 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
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 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:
- Initial margin is the amount needed to open the position.
- Maintenance margin is the smaller amount that must remain to keep it open.
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 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.
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
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.
- Take profit108If filled here: +800, or +80% of the margin.
- Entry100Position value 10,000.
- Stop loss96If filled here: -400, or -40% of the margin.
- 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:
- A short of 50 units is opened at 100 and closed at 94. Before fees, what is the realized P&L?
- At 20x leverage, roughly what adverse price move uses up the whole margin?
- 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
Sources and further reading
- Options, Futures, and Other Derivatives, John C. Hull
- Trading and Exchanges: Market Microstructure for Practitioners, Larry Harris (2003)
- Customer Advisory: Understand the Risks of Virtual Currency Trading (opens in a new tab), U.S. Commodity Futures Trading Commission. Margined futures through leveraged accounts amplify risk, and customers may lose more than their initial investments
- Stop Orders: Factors to Consider During Volatile Markets (opens in a new tab), FINRA (2025). A stop order becomes a market order once the stop price is reached, so the execution price can differ from the stop price