Learn · Lesson

Closing the trade

8 min · Reading · Practical example

Closing a trade is a separate execution step that must be verified, not assumed. A position can close fully, close partly, or remain open if the instruction is rejected or pending. This lesson explains the controls and records to check, how to calculate a result from actual fills, and how to review leftover orders. You will practise separating realised and unrealised outcomes so that a closed ticket is not confused with a completely flat account.

The idea

Closing a trade means reducing or removing an existing position. It converts the closed portion's price movement into a realised result. A position may close through a manual instruction, an attached exit order, or a provider's margin close-out process. Use the platform's documented close-position control and check the quantity. In some account models, an opposite order reduces the existing position; in others, it may open a separate position in the opposite direction. Do not assume that clicking “sell” always closes a long or that “buy” always closes a short. A full close exits the whole position. A partial close exits only some of it, leaving exposure behind. After either action, confirm the remaining quantity and any related orders. Separate pending entries may still be active and could reopen exposure later. The exit price is the actual execution price, not necessarily the quote shown when you clicked or the trigger level of a stop. Closing a long generally involves the bid; closing a short generally involves the ask. Spread changes can therefore affect the result. Calculate the final result from actual entry and exit fills, quantity, contract value, and any account-currency conversion. Check whether the history reports gross trading profit separately from commissions, financing, or other adjustments. Avoid subtracting the spread twice when it is already reflected in the execution prices. An exit is complete only when the position status and quantity confirm it. A submitted close request can be pending or rejected. Check the record before retrying so that you do not accidentally create a new position or send duplicate instructions. Realised versus unrealised results The closed portion has a realised trading outcome. Any remaining quantity continues to have an unrealised result that changes with prices. A partial close can therefore produce a realised gain while the remaining exposure later loses more. Review both components rather than celebrating the closed portion in isolation. Multiple fills and average prices An entry or exit may consist of several executions. For a simple quantity-weighted average, multiply each fill price by its quantity, add the products, and divide by the total quantity. Do not use an unweighted average when fill sizes differ. For example, closing two units at $104 and eight at $103 produces an average of $103.20, not $103.50. Contract multipliers and currency conversion still apply when calculating the monetary result. After-exit housekeeping Closing a position does not necessarily cancel independent pending entries or every related instruction. Some platforms manage linked exits automatically; others require checks. Verify the actual order list. An unused entry order can create a new position after you believe the session has ended. The final check concerns account exposure, not just the window you were viewing.

Apply the idea

In a demo account, identify a position by its instrument, direction, and reference number. Use the documented close control and confirm whether you are closing all units or only part. For a simplified long position of 10 units, an actual entry at $100 and exit at $104 produce a gross result of ($104 − $100) × 10 = $40. If separate commission and financing total $3, the net result is $37 under these assumptions. For a separate short position of 10 units entered at $100 and closed at $96, gross result is ($100 − $96) × 10 = $40. If it closes at $104 instead, the gross result is −$40. Check the multiplier and conversion for the actual product; these examples assume one dollar of value per dollar move per unit. If you close 4 units of a 10-unit position, 6 remain exposed. Check the open-position list, attached exits, and any independent pending orders. Do not confuse a realised result on the closed portion with the ongoing result on the remainder. Save the history record with actual entry, exit, quantity, charges, and exit reason. Compare the result with your plan, including any difference between a stop trigger and its fill. Finish by verifying that no unintended exposure or pending instruction remains. Reconcile a partial close Imagine ten simplified long units entered at $100. You close four at $103 and six at $101. Gross results are $12 and $6, giving $18 in total before separate charges. The average exit is $101.80, which also produces ($101.80 − $100) × 10 = $18. Compare that with an incorrect calculation using a simple average of the two exit prices. This shows why quantity matters when summarising fills. In demo history, identify one completed position and match each execution with its quantity. Record the exit reason: target, stop, manual decision, time rule, or provider action. Avoid writing a reason based only on what happened afterwards. Finally, inspect active positions and pending orders. Confirm that the remaining account state is intentional. If an order is still present, decide according to the plan whether it should remain; do not assume it became irrelevant automatically when another position closed.

Key takeaway

Verify that the position actually closed and that the remaining quantity is what you intended. Cancelling a pending order and closing a filled position are different actions. Use actual fills and all relevant charges to calculate the final result. The displayed quote or stop trigger alone is not enough. Record why the trade ended and whether the exit followed the plan. A profitable exit is not automatically a good process, and a planned loss is not automatically a mistake.