Home › Guides › Negative Balance

WHY BOTS FAILFREENO ACCOUNTAUTOMATED TRADE BOTSNegative BalanceThe arithmetic of how bots failEDUCATION ONLY | NO SIGNALSEXAMPLE NUMBERS ARE LABELLEDAUTOMATED TRADE BOTSautomatedtradebots.com
A free page on negative balance. Education only, with example numbers labelled.
WHY BOTS FAIL

Negative Balance

Short answer

A negative balance means the account holds less than zero after losses: you owe the broker or exchange, or the loss is absorbed by someone else, depending on the rules.

Leverage lets a position lose more than the account holds. A negative balance is what is left when the market jumps past the stop out and the positions are closed at a worse price than the level.

The page explains the idea in plain words, works through the arithmetic with a table, and shows how it hits grid, martingale and DCA bots, then tells you what to check before you run one.

  • A worked example with real arithmetic
  • How it hits grid, martingale and DCA bots
  • How to check for it before you run a bot
  • No advice, no signals, no profit promises

Last reviewed 28 October 2026. Education only, not advice.

Free, no account Runs in your browser Worked numbers shown Not advice Examples labelled

Ready to go further

Next: see where liquidation starts

The liquidation price calculator shows the price where a leveraged position runs out of margin. A gap can still pass it.

Reading time7 minutes
Worked exampleExact arithmetic
Tools linked2 on this page
Reviewed28 Oct 2026

What is included

  • What it is, in plain words
  • The formula or mechanism, with exact arithmetic
  • How it hits grid, martingale and DCA bots
  • A check you can run before you switch a bot on

Who it is for

  • People who run or plan to run a trading bot
  • Anyone reading a backtest or a bot sales page
  • Readers who want the numbers, not the pitch
  • Not advice, and not a signal service
Account balance after a gap against a leveraged position (made-up $1,000 account)$1006% gapagainst a $15,000 position-$2008% gapagainst a $15,000 position-$50010% gapagainst a $15,000 position-$1,25015% gapagainst a $15,000 positionCalculated by us on 27 Oct 2026, exact. Heights show size only; red bars are negative balances. Costs and slippage ignored.
The picture for this page. Example numbers are made up unless the page says they were calculated.

Key facts

  • A negative balance means the account holds less than zero after losses: you owe the broker or exchange, or the loss is absorbed by someone else, depending on the rules.
  • It usually follows a gap. A stop out closes positions at the market, and if price has jumped past the stop out level, the close happens at the worse price.
  • Negative balance protection is a rule or policy, where it exists, that limits a client's loss to the money in the account. It depends on the broker and the country, so read your own terms.
  • In the made-up example below, a 5 percent move reaches the stop out and a 6.67 percent move takes the balance to zero. A 10 percent gap leaves -$500 (calculated by us on 27 Oct 2026, exact).
  • Crypto futures handle the shortfall differently: insurance funds and auto-deleveraging, and the details differ by exchange.

What a negative balance is

An account normally does not lose more than it holds, because the broker closes positions at the stop out level while there is still equity left. Two things can break that. One is a gap: the market jumps from one price to another with no trading in between, so a position cannot be closed at the price you wanted. The other is a fast move where the broker's closing orders fill at progressively worse prices. In either case, the loss can pass the equity and the balance goes below zero.

Balance after the close = starting balance - loss at the closing price
Negative balance when loss > balance

Leverage is what makes it possible. A $15,000 position on a $1,000 account moves $150 for each 1 percent in price. The account is exposed to 15 times its own size, so a move of 6.67 percent is enough to wipe it out, and anything beyond that is borrowed money.

A worked example: a gap past the stop out

This is a made-up account. Balance $1,000. One long position worth $15,000 at 30:1 leverage, so used margin is $15,000 / 30 = $500. Margin level starts at 200 percent. Take the stop out level as 50 percent, which is an example and not any broker's rule.

  • The stop out level is reached when equity falls to $250, a loss of $750. As a share of the position that is $750 / $15,000 = 5.0 percent.
  • If the price fell smoothly, the position would be closed at that 5.0 percent loss, and $250 would be left.
  • If price gaps instead, the position closes at the first price available after the gap. The table shows the result for different gap sizes. Calculated by us on 27 Oct 2026, exact, costs ignored.
Price falls to (gap or move)Loss on the positionBalance after closingMargin level before closingWhat happens
4%$600$40080%Above the stop out level, position stays open
5%$750$25050%At the stop out level: closed with $250 left
6%$900$10020%Closed past the level, some equity left
8%$1,200-$200-40%Closed below zero: negative balance
10%$1,500-$500-100%Closed below zero: negative balance
15%$2,250-$1,250-250%Closed below zero: negative balance

A 5 percent move closes the account with $250 left, as designed. A 6 percent gap leaves $100, so the gap has already taken $150 more than the level promised. At about 6.67 percent the balance reaches zero. An 8 percent gap leaves -$200, and a 10 percent gap leaves -$500. At 15 percent the shortfall is $1,250, more than the whole starting balance.

Everything above is for one position and a single clean gap. Real gaps happen on opens, on news and in thin markets, and they are not usually that clean, but the arithmetic of what leverage does to a gap is exactly this.

Account balance by size of the price fall against a $15,000 position (made-up)-$1,000$0$500$1,0000%4%8%12%16%Zero: below this the balance is negativeStop out at 5%: $25010% gap: -$500Fall in price from the entry, closed at that priceCalculated by us on 27 Oct 2026, exact, for the made-up $1,000 account at 30:1.
The stop out only protects the account if price passes through it smoothly. A jump skips the line and the balance keeps falling.

Negative balance protection

Some retail trading accounts carry a protection that limits the client's loss to the money in the account. If a gap leaves the balance below zero, the provider resets it to zero instead of asking for the difference. Whether such protection exists depends on the broker, the account type and the country, and on whether the account is classed as retail or professional. Some accounts have no protection at all, and the client is liable for the shortfall. This page does not say which rule applies to any person or place. Read the terms of your own account, look for the words "negative balance", and ask the provider if they are not clear.

Two cautions. First, protection, where it exists, is about what you owe. It does not undo the loss: you still lose everything in the account. Second, it is the broker's rule or policy and has its own conditions, so do not count on it as part of a strategy.

Crypto futures: a different shape

On crypto futures the closing process is usually called liquidation, and the position is closed when the margin falls to a maintenance level. Details differ by exchange, but the following ideas are common in general terms:

  • Isolated and cross margin. With isolated margin the position can lose only the margin assigned to it. With cross margin the whole account balance backs the position, so a bad position can use all of it.
  • Liquidation before zero. The exchange tries to close a position while its margin is still positive. If the close fills at a worse price than planned and the margin goes below zero, there is a shortfall.
  • Insurance fund. Many exchanges keep a reserve funded from liquidation outcomes, and it covers some shortfalls so they do not reach other users.
  • Auto-deleveraging. If the reserve is not enough, an exchange may close some profitable positions on the other side, at a set price, to cover the loss. This depends on the exchange and its published rules.

The practical point is the same: a liquidation price on a screen is the price where the process starts, not a promise about where it ends. Use the liquidation price calculator to see where the process begins for your position, and read the exchange's rules on shortfalls.

How it hits bots

  • Grid and martingale bots hold their largest exposure just when price is far from where they started. A gap at that point is the worst case, because the stack is big when the jump arrives.
  • Bots that hold over weekends are exposed to the gap on the reopen, when no order can fill in between.
  • Bots on thin or small instruments can see a price jump through several levels in one print.
  • Bots that reopen after a stop out may start again on a balance that is already negative or near zero, depending on the account.

How to check before you run a bot

  • Read the account terms for negative balance, stop out and liquidation. Write down who bears a shortfall.
  • Compute the loss from a gap of 5, 10 and 20 percent on the largest position the bot can build. If the loss is greater than the balance, a gap can cause a negative balance.
  • Reduce leverage or size until a gap you consider plausible leaves a positive balance.
  • Check whether the bot holds over weekends and news, and whether it can be set not to.
  • Do not rely on a stop loss alone: a gap fills it at the next price, not at the level.

What it does not tell you

It does not say how likely a gap is. The example sizes are chosen to show the arithmetic and are not forecasts. It also does not show what any particular broker or exchange does. The numbers use a made-up account and ignore costs, and a real close includes spread and slippage, which usually make the result slightly worse.

FAQ

Frequently Asked Questions

Can I lose more than I deposit?

It depends on the account and the provider. Some retail accounts have negative balance protection by rule or policy, and some do not. Read the terms of your account, because the answer differs between brokers, exchanges and countries.

What causes a negative balance?

Usually a gap or a very fast move that takes the price past the stop out level before positions can be closed. The close then fills at a worse price, and the loss is greater than the equity.

Does a stop loss prevent a negative balance?

Not reliably. A stop loss is a trigger, and in a gap it fills at the next available price, which can be far beyond the stop level.

What is negative balance protection?

A rule or policy under which a client's loss is limited to the money in the account, and a balance below zero is reset to zero. Whether it applies depends on the provider and the account, so check your terms.

What is an insurance fund on a crypto exchange?

A reserve some exchanges hold to cover shortfalls when a liquidation closes at a worse price than the bankruptcy price. How it works, and what happens if it runs out, differs by exchange and should be read in its rules.

Are the numbers on this page real?

Example numbers are made up to show how the maths works, and the page says so. A figure only counts as exact when the page says it was calculated on a stated date. Nothing you enter in a calculator leaves your browser.

Can I use this to decide whether to run a bot?

It can show whether a bot's numbers hold together and how much an account can lose. It cannot say what the market will do, and it is not advice. Use it to ask better questions, then read the terms of your own broker or exchange.

Is this financial advice?

No. It explains how losses can exceed an account in general terms. The account and prices are made up, with exact arithmetic, and no claim is made about any broker, country or exchange.

Know the Risk Before You Run It

Free calculators and guides, added every week. Leave your details and we will email you when new ones go up.

Trading carries a risk of loss