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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    56 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    160 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    96 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X