Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

OCO ID in unmanaged orders

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

    OCO ID in unmanaged orders

    How does the ocoid work when using unmanaged orders? If I have a target and a stop will one get canceled if the other gets filled, and the size of the orders be adjusted when the ocoids are the same?

    Thanks

    #2
    Hello GKonheiser,

    The OCO works the same as it would for using this with manual orders.

    Any orders that use the same OCO ID are paired together.

    Any orders that re-use an OCO ID after another order using that ID has filled or cancelled will cause this order to get stuck in PendingSubmit.

    A part filled order will cause the quantity of the paired order to be reduced to the remaining quantity until fully filled.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by RaddiFX, Today, 10:15 AM
    2 responses
    14 views
    0 likes
    Last Post RaddiFX
    by RaddiFX
     
    Started by patrickmlee007, Today, 09:33 AM
    2 responses
    17 views
    0 likes
    Last Post patrickmlee007  
    Started by magnatauren, 08-15-2020, 02:12 PM
    5 responses
    206 views
    0 likes
    Last Post RaddiFX
    by RaddiFX
     
    Started by rene69851, 05-02-2024, 03:25 PM
    1 response
    22 views
    0 likes
    Last Post rene69851  
    Started by ETFVoyageur, Yesterday, 07:05 PM
    5 responses
    45 views
    0 likes
    Last Post ETFVoyageur  
    Working...
    X