Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO with unmanaged orders

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

    OCO with unmanaged orders

    What does the OCO field in SubmitOrder do? Is it just for reference, and you check OCO ids yourself and manage the cancels, or is there something more automatic that happens?

    #2
    Hi Dave, with this field you can optionally link orders together if they would use the same OCO string.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks Bertrand - you haven't answered my question though. Will anything automatic happen using this field, or is it purely for reference for the strategy code to know which trades to cancel?

      Comment


        #4
        It's a regular OCO order then, if one part of the submitted bracket fills > the other cancels.

        Normally all orders in Unmanged are liveUntilCancelled...
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Right, so you're saying that within an unmanaged system, if you fill in two trades to have the same OCO, if one of them fills, the other one will automatically cancel?

          Comment


            #6
            Originally posted by dave1992 View Post
            Right, so you're saying that within an unmanaged system, if you fill in two trades to have the same OCO, if one of them fills, the other one will automatically cancel?
            You're understanding is correct.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by algospoke, Today, 06:40 PM
            0 responses
            10 views
            0 likes
            Last Post algospoke  
            Started by maybeimnotrader, Today, 05:46 PM
            0 responses
            8 views
            0 likes
            Last Post maybeimnotrader  
            Started by quantismo, Today, 05:13 PM
            0 responses
            7 views
            0 likes
            Last Post quantismo  
            Started by AttiM, 02-14-2024, 05:20 PM
            8 responses
            169 views
            0 likes
            Last Post jeronymite  
            Started by cre8able, Today, 04:22 PM
            0 responses
            10 views
            0 likes
            Last Post cre8able  
            Working...
            X