Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SubmitOrder() or ChangeOrder() in UNManaged structure

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

    SubmitOrder() or ChangeOrder() in UNManaged structure

    Hi Ninjas.

    Do you HAVE to call ChangeOrder() to modify an order when using Unmanaged, or can you simply overwrite the IOrder object with another call to SubmitOrder() ?

    It's coming up for me in OnExecution() while dealing with partial fills - it would be simpler if I could just use SubmitOrder() for both cases of filled and partially filled orders. Of course, if this breaks something or introduces a problem not easily seen, I don't want to do this.

    Thanks guys!

    #2
    Hello Locke,

    Thank you for your inquiry.

    If you wish to modify an already existing working order, the call to ChangeOrder() is necessary.

    Unlike the Managed approach where you could modify a working order by calling the entry order method again with your new parameters, the Unmanaged approach requires the utilization of the ChangeOrder() method.

    Please read the NinjaTrader help guide at this link for more information on using the unmanaged approach of ordering: http://ninjatrader.com/support/helpG...d_approach.htm
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    549 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X