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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    418 views
    0 likes
    Last Post CaptainJack  
    Working...
    X