When viewing your open positions in the Positions tab, you can close positions in various ways:
If you have a position in a product made up of a single trade, simply click on ‘Close’ or ‘Close All’ to close the trade.
If you have a position in a product made up of a single trade, simply click on ‘Close’ or ‘Close All’ to close the trade.
If your position contains both long and short trades, you can choose to close a trade by opening another in the same product with the ‘Close By’ function.
If the trade sizes are the same (e.g., 5 long and 5 short), there will be no remaining trades open.
If the sizes are different (e.g. 5 long and 3 short) then after the Close By there will be a remaining position, shown in your Open Positions.
Close By will close the two trades using the opening prices.
Your Positions will automatically update with the new information. And your History will update showing the amount of lots closed, as well as the realised P&L.