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 burtoninlondon, Today, 12:38 AM
          0 responses
          10 views
          0 likes
          Last Post burtoninlondon  
          Started by AaronKoRn, Yesterday, 09:49 PM
          0 responses
          14 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Yesterday, 08:42 PM
          0 responses
          11 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Yesterday, 07:51 PM
          0 responses
          14 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,983 views
          3 likes
          Last Post jhudas88  
          Working...
          X