Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Managed vs unmanage regarding order

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

    Managed vs unmanage regarding order

    I have an old Algo that I programmed under unmanaged approach in NT7. I can migrate it to NT8, but before that, I'm considering perhaps reconverting it to a managed approach. However I've been reading about some limitations with order's life that might disrupt normal trading. The problem is that the Algo goes Tick by Tick because is intraday, so I have doubts about orders keep alive without resubmitting them every tick. The NT8's guide shows the following:


    - Orders are primarily submitted from within the OnBarUpdate() method when a specific order method is called. By default, orders are kept alive, provided they are re-submitted on each call of the OnBarUpdate() method. If an order is not re-submitted, it is then canceled. Orders can be modified by re-submitting them with changed parameters (a new limit price, for example).​

    - By default, orders submitted via Entry() and Exit() methods automatically cancel at the end of a bar if not re-submitted

    So, what is the behavior to expect from NT8 under a managed approach regarding order's life ?

    Thanks

    #2
    Hello pstrusi,

    This is correct, if an order is submitted with isLiveUntilCancelled as false (or using a different overload which will default this to false) the order will expire and automatically cancel when the submission bar closes. When isLiveUntilCancelled is true, the order will remain working and will not expire.

    The unmanaged approach will not automatically cancel orders.

    You may find these examples helpful.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X