I am sending order to my IB advisor master account, which has presets for trade allocation. Unfortunately IB sends a trade confirmation (with side = ALLOC) for the allocation trade, which NT considers as a real trade... As a workaround I was ignoring trade confirmations from NT and getting them directly from the IB API, then I could filter myself on the ALLOC trades.
My problem then is matching these executions to different strategies. I have done that by product thus far, but now I want to trade multiple strategies per product. In order to allocate the execution to the right strategy I want to use IB OrderID. I get the orderID from the IB API execution, but from NT, I am getting a NT orderID, which I cannot match to the IB one.
My question: How can I get the IB OrderID matching an order that NT sent out?
Comment