Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Status

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

    Order Status

    Hi

    A couple of questiond re managing orders/executions:

    1) If I make a call to CancelOrder will this also cancel an associated profit target order or will i have to cancel this order seperately?

    2) If an order is filled and the profit target order is also subsequently filled what is the status of the order? I.e. I think of this as 'closed' but is there a way to determine if it is closed/profit target hit?

    Thanks

    Paul

    #2
    Hi Paul, this depends on if you tied the to cancel IOrder object to another with the OCO string - http://www.ninjatrader-support.com/H...V6/IOrder.html

    For ATM's you want to use then - http://www.ninjatrader-support.com/H...egyActive.html

    To track the orderstates you would use the IOrder objects again, Filled would be the state you look for then.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Hi Paul, this depends on if you tied the to cancel IOrder object to another with the OCO string - http://www.ninjatrader-support.com/H...V6/IOrder.html

      For ATM's you want to use then - http://www.ninjatrader-support.com/H...egyActive.html

      To track the orderstates you would use the IOrder objects again, Filled would be the state you look for then.
      Hi

      I would place the target order by virture of the SetProfitTarget ... so if I cancelled the orginal order I guess the profit target order would also get cancelled?

      Comment


        #4
        There would be no need to cancel it then, since the target would be submitted only if you got filled on your entry order.

        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          There would be no need to cancel it then, since the target would be submitted only if you got filled on your entry order.

          http://www.ninjatrader-support.com/H...fitTarget.html
          great ... thanks again

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by jclose, Today, 09:37 PM
          0 responses
          5 views
          0 likes
          Last Post jclose
          by jclose
           
          Started by WeyldFalcon, 08-07-2020, 06:13 AM
          10 responses
          1,413 views
          0 likes
          Last Post Traderontheroad  
          Started by firefoxforum12, Today, 08:53 PM
          0 responses
          11 views
          0 likes
          Last Post firefoxforum12  
          Started by stafe, Today, 08:34 PM
          0 responses
          11 views
          0 likes
          Last Post stafe
          by stafe
           
          Started by sastrades, 01-31-2024, 10:19 PM
          11 responses
          169 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X