Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IB orderID

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    IB orderID

    Hi,

    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?

    #2
    benoirat, I would unfortunately not be aware of a way since the native IB order id would not be exposed in our NinjaScript - I will however add this as enhancement request to consider.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    333 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    211 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    196 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    287 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    242 views
    0 likes
    Last Post CarlTrading  
    Working...
    X