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 Karado58, 11-26-2012, 02:57 PM
          8 responses
          14,825 views
          0 likes
          Last Post Option Whisperer  
          Started by Option Whisperer, Today, 09:05 AM
          0 responses
          1 view
          0 likes
          Last Post Option Whisperer  
          Started by cre8able, Yesterday, 01:16 PM
          3 responses
          11 views
          0 likes
          Last Post cre8able  
          Started by Harry, 05-02-2018, 01:54 PM
          10 responses
          3,203 views
          0 likes
          Last Post tharton3  
          Started by ChartTourist, Today, 08:22 AM
          0 responses
          6 views
          0 likes
          Last Post ChartTourist  
          Working...
          X