Closing a Position
Closing a position means ending an open trade with an offsetting transaction: a long position is closed by selling, a short position by buying back the same quantity.
Approx. 1 min read · Updated October 9, 2026
Closing a position – also called closing out or offsetting a position – means ending an open trade by entering into an offsetting transaction. The term originally comes from derivatives and futures trading. To close an open short position, for example, the trader has to enter into a corresponding long position, i.e. buy back the same quantity; a long position, in turn, is closed by selling.
How it works
The offsetting trade cancels out the original position, so that the trader no longer has any exposure in that instrument. Only then is the result final: the difference between the opening and closing price turns the paper profit or loss into a realised one. A position can be closed manually with a market or limit order, or automatically when a stop-loss or take-profit order is triggered. Closing only part of a position is also possible.
Example: a trader opens a short position of 100 share CFDs at $80. A few days later, the price has fallen to $72, and the trader buys 100 CFDs on the same share to close the position. The gain of $8 per share, or $800 in total, is now realised – before costs.
Why it matters for traders
On most forex and CFD platforms, positions are closed with a "Close" button that automatically places the offsetting order. On accounts that allow hedging – holding long and short positions in the same instrument at the same time – an opposite order may, however, open a new position instead of closing the existing one. Both positions then remain open: they offset each other's price risk, but costs such as financing charges can continue to apply. A trader who has closed all positions is flat.
Cashback angle
Cashback is paid on every lot you trade – up to $4.40 per lot at RoboForex.
Get deal** Affiliate link (advertising)
More terms.
- Paper Profit and LossA paper profit or paper loss is the unrealised gain or loss of an open position. It only becomes a realised result once the position is closed.
- FlatA trader is flat when they have no open positions. A market or share is also called flat when its price moves sideways for a longer period without significant moves.
- Profit-TakingProfit-taking means closing profitable positions to realise gains. After strong price moves, widespread profit-taking can trigger a correction.
- Short SellingShort selling means selling securities the seller does not own, usually borrowed shares, in order to buy them back later at a lower price and profit from falling prices.