The Moment Your Bot Dies
It's 2:15 PM. A Fed announcement just hit the wires. Your EA is supposed to capitalize on the volatility spike—the exact moment you spent months optimizing for. Instead, you get silence.
Your bot isn't broken. It's throttled. The exchange API just rejected 47 of your last 50 requests with a 429 error. "Too many requests." Your bot is locked out for 60 seconds. By the time it recovers, the move is over.
Retail traders hit this wall constantly. Professional traders never do. The difference isn't the strategy. It's infrastructure.
What API Rate Limits Actually Are
Every exchange API has a limit. "You can send 100 requests per second." It sounds generous until you realize a single candle update, order status check, and quote refresh is already 3 requests. Scale that across 10 trading pairs and you're at 30 requests per second. Add in error handling, retry logic, and logging—you hit 100 in seconds.
When you exceed the limit, the API throttles you. It rejects requests. Your bot has three choices: wait and retry, skip the request entirely, or crash.
Most exchanges publish their rate limit tiers in their API documentation. The problem isn't that limits exist—it's that retail traders ignore them when designing their systems.
Why Retail Bots Hit Limits (And Lose Trades)
Retail traders build bots that are inefficient by design:
- They poll the API every 100ms instead of using WebSocket streams (10x more requests)
- They request full order books when they only need top-of-book (40x more data)
- They retry failed requests immediately instead of backing off exponentially (creates cascading failures)
- They don't batch requests (sending 100 individual order updates instead of one batch request)
- They log every single request to disk (I/O bottleneck slows everything down)
Result: A bot that works fine during slow markets collapses the moment volatility spikes—exactly when it should perform best.
The Cost of Getting Throttled
When your bot gets throttled, you don't just miss one trade. You miss the entire regime shift. Here's the damage:
- Missed signals: Your bot can't check market conditions. It can't place orders. It can't execute the strategy it was built for.
- Execution slippage: By the time your bot recovers from throttling, the best entry is gone. You fill worse or not at all.
- Cascading losses: A throttled bot can't close positions fast enough. Open trades become forced holders. Winning trades turn into breakeven. Breakeven turns into losses.
- Confidence destruction: You built the bot. You backtested it. You deployed it. Then it fails at the exact moment it should work. You turn it off and manual trade instead—defeating the entire point of automation.
Professional traders never experience this because they build systems that respect API limits from day one.
How Professional Systems Handle Continuous Limits
Professional trading infrastructure handles rate limits like water flows around a rock. It doesn't fight the limit—it works within it.
Here's the difference:
- Intelligent request queuing: Professional systems queue all requests and prioritize them. Market data gets sent first. Order updates second. Logging last. If you hit the limit, logging drops—not critical data.
- WebSocket streams instead of polling: WebSocket connections provide true bidirectional communication, unlike polling which is fundamentally one-way and wasteful. Same data, 100x fewer requests.
- Batch operations: Instead of sending 50 individual requests, batch them into 1. Most exchanges give you 2-5x more throughput with batching.
- Exponential backoff: When throttled, wait longer each time. 100ms, 200ms, 400ms. Don't hammer the API. Respect its limits and it respects you.
- Infrastructure separation: Market data lives on one connection/thread. Orders live on another. Monitoring lives on a third. One bottleneck doesn't kill the whole system.
The result: Your system stays within limits even during extreme volatility.
The Infrastructure Gap: DIY vs. Professional
Let me be direct: Most DIY traders don't have the infrastructure to handle professional-grade trading volume. They're not equipped to.
DIY bot:
- Single connection to the exchange
- Polling-based (wasteful)
- No request prioritization
- Crashes under load
- Runs on a home computer or cheap VPS
- No monitoring, no failover
Professional system:
- Multiple redundant connections
- WebSocket streams + API fallback
- Intelligent request queuing and prioritization
- Scales linearly—no crashes under load
- Runs on dedicated, low-latency infrastructure
- Real-time monitoring, automatic recovery, failover systems
The DIY trader sees the difference the moment the market spikes. That's exactly when they need the system to work best. And that's when it fails.
What Alorny Builds (And Why It Matters)
When we build custom EAs and trading systems, we don't optimize for the happy path. We optimize for the worst case—the exact moment when you need the system most.
Every EA we ship includes:
- Intelligent request queuing built into the architecture
- WebSocket connections where supported (lower request overhead, higher reliability)
- Exponential backoff on API failures (respects exchange limits, prevents cascading failures)
- Request batching where applicable (2-5x more throughput from the same API key)
- Redundant connections (one fails, another takes over automatically)
- Real-time monitoring so you know the moment something is wrong
Custom MT5 EAs start at $100. Complex systems with full infrastructure hardening start at $300+. See what we'd build for your exact strategy, or message us on WhatsApp with your trading volume.
Key Takeaways
- API throttling kills retail bots at the worst time. During volatility spikes, when you need them most, they get shut down by rate limits.
- DIY bots are inefficient by design. Polling instead of streaming, no request prioritization, no failover. They collapse under real trading load.
- Professional systems work within limits. WebSocket streams, intelligent queuing, batch operations, and exponential backoff mean they scale smoothly.
- The cost of throttling is high. Missed trades, worse execution, confidence loss, and manual override. That's worse than building it right the first time.
- Infrastructure matters more than strategy. You can have the best trading logic in the world. If the infrastructure throttles, the strategy dies.