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 RubenCazorla, Today, 09:07 AM
          2 responses
          11 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by i019945nj, 12-14-2023, 06:41 AM
          7 responses
          81 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by timmbbo, 07-05-2023, 10:21 PM
          4 responses
          158 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by tkaboris, Today, 08:01 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by Lumbeezl, 01-11-2022, 06:50 PM
          31 responses
          819 views
          1 like
          Last Post NinjaTrader_Adrian  
          Working...
          X