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.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Today, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    21 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    10 views
    0 likes
    Last Post cre8able  
    Working...
    X