Skip to content

Mechanics

Margin close out explained

A margin close out is the automatic closing of positions once an account's equity has fallen to a stated proportion of the margin held against them, and it is a procedure the firm performs at the prevailing market price rather than a warning it issues.

Reviewed

Every open position has collateral held against it, and every open position has an unrealised result that moves with the market. When the second erodes the first far enough, the firm closes positions to stop the erosion. That procedure is a margin close out, sometimes called a stop out, and the threshold at which it begins is published as a percentage.

Key term

Margin close-out
Margin close-out is the automatic closing of open positions by the firm once account equity falls to a stated proportion of the margin those positions require.

It is worth being exact about what the threshold is a percentage of, because the phrasing is compact and easily misread. The figure is the account's equity, meaning the balance plus the unrealised result on open positions, divided by the margin currently held against those positions. That ratio is the margin level, and the close out threshold is a level of it.

Key term

Margin level
Margin level states account equity as a percentage of the margin currently in use, the single figure a firm's warning and close-out thresholds are measured against.

The sequence, in order 

The process has three stages and they are frequently compressed into one in conversation, which loses the fact that only the last of them does anything.

  1. The margin level falls as the unrealised result on open positions goes against the account. Nothing is triggered and nothing is required. Equity is simply lower than it was.
  2. The margin level reaches the warning threshold. The platform marks the account, usually by colouring the margin figures and sending a notification. This is a notification and not an instruction, and it changes nothing about the positions.
  3. The margin level reaches the close out threshold. The firm begins closing positions at the prevailing market price until the level is restored above the threshold, or until no positions remain.

The distinction between the second and third stages is the one that matters. The warning is a courtesy that depends on a working connection and a delivered message, while the close out is automatic and depends on neither. An account can pass through the warning threshold and the close out threshold inside a single fast move, in which case the notification and the closure arrive together or in the wrong order.

Key term

Margin call
A margin call is a notification that account equity has fallen close to the collateral open positions require, and it is a warning rather than the automatic closing that can follow.

Which positions close, and in what order 

Firms publish an ordering rule, and the two common ones produce different outcomes from the same account. Closing the largest losing position first restores the margin level in the fewest transactions, because that position is both consuming the most margin and generating the most erosion. Closing positions in the order they were opened is simpler to describe and can require more of them to be closed.

Closing stops as soon as the margin level is restored above the threshold, which means a close out usually leaves some positions open. Which ones survive is a consequence of the ordering rule rather than of anything about their merits, and the surviving set is frequently not the set an account holder would have chosen. The rule is published in the account documentation, and it is the one detail of the procedure that genuinely varies between firms.

The arithmetic of a close out 

Worked example. Illustrative figures, not YAL prices or terms.

An account moving through both thresholds

Balance
10,000.00
Margin held against open positions
5,000.00
Unrealised result at the outset
0.00, so equity is 10,000.00
Margin level at the outset
10,000 ÷ 5,000 = 200%
Unrealised result falls to
3,750.00 debit, so equity is 6,250.00
Margin level
6,250 ÷ 5,000 = 125%, assumed warning threshold
Unrealised result falls to
7,500.00 debit, so equity is 2,500.00
Margin level
2,500 ÷ 5,000 = 50%, assumed close out threshold

Illustrative balances, margin and thresholds, chosen so the arithmetic is legible. The thresholds are stated assumptions and not YAL terms. Spread, commission and financing are excluded, and all three would move the equity figures further.

Two features of that progression are worth noticing. The margin level fell by half while the unrealised result doubled, because equity is in the numerator and the margin held is unchanged in the denominator. And the account was closed out with equity still positive: the threshold is not zero, and it is not intended to be, because closing at zero would leave no room for the closing trades themselves.

For YAL accounts the published close out level is 50% of the margin held against open positions.

Why a close out can leave less than the threshold 

The threshold names a level at which closing begins, not a level at which the account settles. Positions are closed at the prevailing market price, and between the moment the threshold is breached and the moment the last position is closed the market continues to move. In ordinary conditions that interval is short and the difference is small.

In a market that has gapped, the interval contains a jump. Every position is closed on the far side of it, and the resulting equity can be well below the threshold, in extreme cases below zero. The close out procedure did not fail in that case; it was executed at the only prices that existed. This is the same mechanism that fills a stop order away from its level, applied to a whole account at once.

Trading CFDs and leveraged products involves a significant risk of loss and is not suitable for all investors. You could lose more than your initial investment. Ensure you fully understand the risks and seek independent advice if necessary.

Where a regulator requires negative balance protection for retail clients, a debit balance arising this way is written back so that the account's liability is limited to the funds in it. That is an account level remedy applied after the positions have closed. It does not prevent the closure, does not improve the prices achieved and is not a per position guarantee.

Key term

Negative balance protection
Negative balance protection limits a retail account's liability to the funds held in it, so a deficit left after a gapping close out is written off rather than owed.

Everything that moves the margin level 

The market moving against open positions is the obvious cause and not the only one. Financing posted at the daily rollover reduces equity every night a position is carried. A firm raising a published requirement ahead of a known event raises the denominator without anything happening to the market. A position in an instrument quoted in a foreign currency has both its margin and its result converted, so a movement in that exchange rate alone changes the level.

The general point is that the margin level is a computed figure with several inputs, only one of which is the price of the instrument being watched. An account can approach a threshold on a day when the position itself has barely moved, and the platform's own margin display is the only place all the inputs are already combined.

In summary 

  • A margin close out closes positions automatically once equity divided by margin held falls to a published threshold.
  • The warning threshold notifies and changes nothing. Only the close out threshold acts, and it does not depend on a notification being received.
  • Positions are closed in a published order until the level is restored, so some usually survive and which ones is decided by the rule rather than by merit.
  • Closing happens at prevailing prices, so a gapped market can leave equity well below the threshold. Negative balance protection, where required, is applied afterwards.

Get started

Open your account in four steps.

A clear path from sign-up to your first trade, in four steps.

No depositNo documents

  1. 01/ 04step 1 of 4

    Register

    A few details to get started.

    No deposit to open

  2. 02/ 04step 2 of 4

    Verify

    Confirm your identity, securely.

    ID and proof of address

  3. 03/ 04step 3 of 4

    Fund

    Add money by bank transfer or card.

    From $0

  4. 04/ 04step 4 of 4

    Trade

    Go live on the platform you already know.

    MetaTrader 5

Cookies on this site

Some cookies are needed to make the site work. With your permission we also use analytics cookies to see which pages are read, so we can improve them. You can change your choice at any time.