- ago
Just got this error while placing a trade:

"Interactive Brokers Broker: Exception Placing Trade: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct."

Any ideas?
0
179
3 Replies

Reply

Bookmark

Sort
Cone8
 ( 5.95% )
- ago
#1
From the Log Viewer (Ctrl+L), please right click and Copy Message Details and paste them here too. Thanks.
0
- ago
#2
6/11/2025 09:30:51:618
Interactive Brokers

Interactive Brokers Broker: Exception Placing Trade: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.

InvalidOperationException

CODE:
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at WealthLab.InteractiveBrokers.IBConnection.RequestContractDetails(Contract c) at WealthLab.InteractiveBrokers.IBConnection.GetSymbolInfo(String symbol) at WealthLab.InteractiveBrokers.IBConnection.RoundToMarketRule(Contract c, Transaction t, Double orderPrice, Double incr) at WealthLab.InteractiveBrokers.IBBroker.PlaceTradeInternal(Transaction t, String ocoGroup, Boolean replaceOrder)
0
Cone8
 ( 5.95% )
- ago
#3
Better late than never. :)
It happens about once every two weeks?

We'll have to try to identify that non-concurrent collection and make it concurrent!
0

Reply

Bookmark

Sort