WARNING
If your circuit breaker fires during a drawdown, IBKR’s API can silently reject your exit orders. Your positions remain open, your risk management is disabled, and you are left fully exposed as the market drops.
And when you try to recover the loss, IBKR’s Compliance department will officially void their liability and declare that you, the developer, are 100% responsible.
This is not a hypothetical. It is the current reality of building automated strategies on the IBKR TWS API.
I’m posting this because I almost blew up my account on May 12th, and the way IBKR handled it afterward was worse than the actual bug.
Here’s what happened: My automated system was running fine. When the market moved against me, my circuit breaker triggered to close my SPX positions. All 7 individual option orders were rejected with Error 321: Missing order exchange. Seconds later, BAG combo orders for the exact same positions went through.
Why? Because IBKR auto-populates the exchange field for BAGs, but requires it explicitly for individual orders. This was nowhere in the documentation.
By the time I figured out what was happening, the market had moved. My risk management was completely disabled, and I was left holding the bag. The direct loss was around $4,500.
Real reason I’m posting this:
When I complained, IBKR Tech Support admitted the documentation was flawed. On August 27th, they literally wrote to me: "We are reworking the documentation. It now includes a more detailed explanation of 'exchange' field."
Then, when I asked them to cover the loss, their Compliance department completely reversed course. On November 9th, they claimed "there was no documentary gap" and dismissed their own tech team's admission as a "customer service accommodation."
They did offer a partial credit for the trading loss, but only if I signed a full release of liability and a strict confidentiality clause. I refused. I am not going to sign away my right to hold them accountable if their undocumented routing rules cause a failure again.
They basically told me it was my fault for not testing a feature their paper sandbox can't even simulate, and tried to buy my silence.
I’ve put the full timeline and email trail in a GitHub issue here: https://github.com/ib-api-reloaded/ib_async/issues/262
If you are building automated systems on IBKR, check your routing logic. And if it fails, don't expect Compliance to stand by their own Tech Support's admissions.
I have full documented timeline since May. Audit your own routing logic, and understand the institutional risk you are taking on.