What is closing a position and how do I do it?

A leveraged margin position is a trade executed through an advance financed by Kraken.

For example:

A long XBT/EUR position is opened by advancing the trader EUR to buy XBT.
A short XBT/EUR position is opened by advancing the trader XBT to sell for EUR.

To close the position, the funds advanced to the trader must be returned to Kraken.

There are two ways you can return the funds and close the position:

(1) Execute an opposing trade to acquire the advanced asset from the market — a sell order to close a long position or a buy order to close a short position.

For example, suppose you buy 1 XBT of XBT/EUR at 2:1 leverage.

To close the entire position, you sell 1 XBT of XBT/EUR (at any leverage).
To close half the position, you sell 0.5 XBT of XBT/EUR (at any leverage).

The closing leverage does not need to match the opening leverage, but it does need to be a leveraged order to close a position.

Be careful that you don’t execute a closing order for more volume than your position, since this will create a new leveraged position on the opposite side (unless this is what you want to do).

(2) Return the advanced funds directly from your account balance with no trade involved — this is position settlement.

Note: If you have multiple positions, they will be closed in the order they were created following the "First in First Out" (FIFO) rule.