QUESTION
Why is my trading bot losing money?
SHORT ANSWER
Four causes cover nearly every case: the strategy was overfitted to its backtest, costs were not modelled, the market regime changed, or the position size is wrong for the account. A losing streak on its own is evidence of none of them.
First work out whether this is a drawdown or a failure, because the right response is opposite in each case. A system with a 40% win rate has losing runs all the time, and ten losses in a row is ordinary. Switching it off during a normal drawdown turns a temporary loss into a permanent one. Compare the current fall with the maximum drawdown of the tested period before deciding anything.
If the fall is deeper than anything the testing showed, the most likely cause is overfitting. A strategy tuned until its backtest looked good describes that period and nothing else, and live trading is the first fair test it has had.
The next most likely cause is costs. Spread and commission are paid on every trade and are often a double-digit share of a short gold target. A strategy that is slightly profitable before costs can lose steadily after them, and the profit calculator shows the size of that gap for a given trade. In our own replays from 2019 to Oct 2026, what separated good years from bad was the spread as a share of the stop distance: about 14% in 2019-2024 and about 2.5% in 2025-2026.
The two less obvious causes
A regime change means the strategy still works and the market has moved away from what it trades. Trend systems bleed in ranges and mean-reversion systems bleed in trends, and neither is broken. That is why regime gating exists, and why we ship with the choppy regime switched off instead of pretending we have a strategy for it.
Position size is the quietest cause. If the broker minimum lot has been rounding your size up, your real risk per trade is above the setting and the account falls faster than the strategy should allow. Work out the dollar risk of a recent trade by hand and compare it with the setting.
Related questions
- Are trading bots profitable?Some are, most are not. The profitable ones make modest returns with real drawdowns, well below …
- How much should I risk per trade?The conventional range is 1% to 2% of account equity per trade, and it holds up well. At 2%, ten…
- Why do most trading bots fail?Overfitting is the biggest single cause. A strategy tuned until its backtest looked good describ…
- Can a trading bot blow my account?Yes, and faster than manual trading can, because a bot repeats a bad rule without ever hesitatin…
- What is a good win rate for a trading bot?Win rate alone tells you nothing. At a 2:1 reward-to-risk ratio break-even is about 34%, so a 40…
- Backtest does not match live results
Further reading
Educational information only, not financial advice. Trading leveraged products carries substantial risk of loss. Last updated 2026-11-11.