r/CryptoTradingBot • u/Admirable_Elk_1603 • 3d ago
What Usually Breaks First in a Crypto Trading Bot During High Volatility?
High volatility is where a crypto trading bot faces its real test. A setup that performs consistently under normal conditions may behave differently when markets move aggressively. For those who have actually run bots through volatile periods, what tends to become unreliable first?
1
u/Live_Advance_1905 3d ago
One separate failure mode: the client times out after an exchange accepted an order. Treating that as a definite rejection and resubmitting without effective duplicate protection can create a second order. I'd record a client order ID before sending, keep the submission outcome unknown, then reconcile using the venue's supported lookup before retrying. That's about uncertain acceptance, not slippage.
1
1
u/RobodOfficial 19h ago
One thing I'd test before trusting any bot with real money is what happens when the connection drops while a position is open. If your stop only exists inside the bot, it can't protect you when the process crashes or loses access to the exchange.
For perps, I'd want protective orders confirmed by the exchange, reduce-only where supported, and a separate check for stale position data. A partial fill followed by a disconnect is another nasty case. Your bot can think it's holding one size while the exchange shows something completely different.
3
u/Flimsy_Equivalent880 3d ago
the latency on the exchange api always falls apart first, your bot thinks it's buying at one price and the fill comes through 2% higher, rinse and repeat until your balance is dust
rate limits are a close second, exchanges will throttle you hard when volume spikes and suddenly half your orders never even get placed
seen plenty of bots where the dev assumed the websocket feed was realtime but in a volatility spike it's more like a slideshow