Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unmanaged One-Updates-Other

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

    Unmanaged One-Updates-Other

    The unmanaged SubmitOrder(0 method has an "oco" string field, which is documented as "one-cancels-other".

    Experimenting with the sim101 environment, I noticed that this is actually "one-updates-other", namely, it reduces order size on a partial-fill of the tied order.

    This may sound silly, but can you acknowledge that this is indeed the case, and "OCO" is actually "OUO"?

    Thanks,
    Belcanto

    #2
    Belcanto,

    Thank you for your post.

    This is part of the One cancels other function, as the OCO will cancel other working orders opposite.

    Say you have a position of 10 and working stop and profit. Profit gets part filled for 4, this fill will cause the OCO to kick in for the stop to cancel 4 contracts. You could say it updates it but it is indeed cancelling 4 contracts.

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    656 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    371 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    579 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X