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 Javierw.ok, Today, 04:12 PM
          0 responses
          2 views
          0 likes
          Last Post Javierw.ok  
          Started by timmbbo, Today, 08:59 AM
          2 responses
          10 views
          0 likes
          Last Post bltdavid  
          Started by alifarahani, Today, 09:40 AM
          6 responses
          40 views
          0 likes
          Last Post alifarahani  
          Started by Waxavi, Today, 02:10 AM
          1 response
          18 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by Kaledus, Today, 01:29 PM
          5 responses
          15 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X