How to Close a Position

Written by Yen Bui

Updated: 2026-11-25 12:40:38

How to close a CFD position in the XTB mobile app?

Go to the Portfolio tab (bottom menu) → My transactions and select the CFD instrument you wish to close.

  • Option 1: From the transactions list

    1. Tap the instrument card to expand the list of active positions.

    2. Mark the checkbox in the top left corner next to the position you want to close (you can select multiple positions).

    3. Tap "Close selected" or "Close all".

  • Option 2: From the chart view

    1. Tap the plus icon (+) in the top right corner to open the detailed chart view.

    2. Scroll down to the bottom of the screen to the open positions section.

    3. Select the positions using the checkboxes and tap "Close selected" or "Close all".


​

How do I close a position on the web platform?

Go to the "Open Positions" tab at the bottom of the screen and select the position you want to close. Then, click the red X button next to the selected position.

🚩 Closing a CFD position can be either a Sell or a Buy – depending on how the position was opened, as closing is the reverse operation. This means that if you have a Buy (long) position in a CFD (forex, index, or commodity), it will be closed by Selling. Conversely, if you have a Sell (short) position, it will be closed by Buying.

If you still need help with your question,

The financial instruments we offer, especially CFDs, can be highly risky. Fractional Shares (FS) is an acquired from XTB fiduciary right to fractional parts of stocks and ETFs. FS are not a separate financial instrument. The limited corporate rights are associated with FS.
This page was not created for investors residing in Brazil. This brokerage is not authorized by the Comissão de Valores Mobiliários (CVM) or the Brazilian Central Bank (BCB). The content of this page should not be characterized as an investment offer in Brazil or for investors residing in that country.
Losses can exceed deposits