Trailing Stop: Exchange vs Local — what really matters
· Trading Systems
When a trading bot opens a position, it needs to know when to exit. We can set a fixed take profit or a stop loss. But there is a third method — the trailing stop — which moves automatically with the price and lets the position run as long as the market keeps going our way.
The trailing stop is responsible for most of the gains in our system. And this is exactly where the way price is managed makes an enormous difference.
What is a trailing stop?
Imagine you bought Bitcoin at $60,000. You set a trailing stop $2,000 below the current price — at $58,000. Price rises to $65,000? The stop automatically moves to $63,000. Price rises to $70,000? Stop moves to $68,000. The stop never moves back — it only follows the price upward.
When the price falls to the stop level — the position closes and you keep the profit. You don't need to do anything — the bot does it automatically.
Two modes: Exchange and Local
Our system offers two ways of managing the trailing stop:
Exchange mode — the stop order is physically placed on the exchange (Bitget). The exchange monitors the price non-stop, tick by tick, 24/7. The moment the price touches the stop level — even for one second — the exchange immediately executes the closing order.
Local mode — the stop is not sent to the exchange. The bot checks the price every 10 minutes and decides itself whether to close the position. If the price touched the stop level but recovered within those 10 minutes — the position stays open.
Why does this matter? A real example
May 10, 2019, 8:51 PM UTC. The bot has an open long position on BTC, trailing stop set at $6,277.
Within one minute the price drops from $6,305 to $6,270 — a brief flash crash. It immediately recovers to $6,290 and closes that one-minute candle. By the end of the 10-minute window the price is back above $6,320.
What happens in each mode?
- Exchange mode: The exchange sees the wick at $6,270 — below $6,277 — and immediately executes the order. Position closed at $6,277. Profit: +0.13%.
- Local mode: The bot only checks price at the end of the 10-minute candle. Closing price is $6,323 — above the stop. No action. Position stays open.
What happens over the next week? BTC rises to $7,210.
Exchange mode locked in +0.13% and exited the market before the big move. Local mode captured +15.02% and rode the full trend.
A one-minute wick ended a position that could have returned 100 times more profit.
Backtest data: 8 years of BTC history
We ran two identical backtests on BTC data from 2018 to 2026 — differing only in the trailing stop mode. The results speak for themselves:
| Metric | Exchange mode | Local mode |
|---|---|---|
| Number of trades | 234 | 217 |
| Win rate | 85% | 60% |
| Final balance (start: $10,000) | $68,391 | $105,710 |
| Average winning trade | +$770 | +$1,411 |
| Average losing trade | -$2,671 | -$1,017 |
| Max drawdown | 31.5% | 18.9% |
| Profit factor | 1.64 | 2.11 |
| Average holding time | 114h | 131h |
How to read this?
Exchange mode has a higher win rate (85% vs 60%) — which seems better. But it is misleading. It wins more often because it exits quickly on wicks — each time booking a small "+0.13%". When it is right, it earns little. When it is wrong — the losses are large, because the stop did not act early enough.
Local mode wins less often, but when it wins — it rides the full trend. The average gain is almost twice as high (+$1,411 vs +$770). Losses are smaller (-$1,017 vs -$2,671), because the stop is not pulled by brief wicks. The end result: 55% more profit with 40% less risk.
Why local mode is closer to reality
Our bot checks the price every 10 minutes. This means a brief wick lasting 30 seconds — even if it drops well below the stop level — does not cause an exit, because when the bot checks 10 minutes later the price is already back above the stop.
Exchange mode on the exchange reacts to every tick. This sounds like an advantage, but in practice the Bitcoin market is full of short, sharp moves that quickly reverse. Each such move "knocks" the position out of the stop, even though the trend remains strong.
This is a well-known phenomenon among traders — called stop hunting. Large market participants (market makers, algorithms) often push price through popular stop levels specifically to "collect" orders and then move in the opposite direction.
Summary
A trailing stop is not just a technical order — it is a philosophy of position management. The question "when to exit?" is just as important as "when to enter?". A stop that is too sensitive cuts positions in the middle of trends. One that is too far away exposes you to large losses.
Our tests on 8 years of historical data show clearly: local mode — where the stop is monitored every 10 minutes rather than tick by tick — is more resilient to artificial market disturbances and allows you to genuinely benefit from trends. Higher profit, lower risk.
In crypto markets, it is not who is right most often that wins — it is who, when right, fully capitalises on it.
This article is for educational purposes only and does not constitute financial advice.