Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cancel Order

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

    Cancel Order

    I have this problem: When I call to CancelOrder() and I need to call in the future to the same IOrder, this second call is ignored. Why?

    Thanks in advance.

    Jesus Rueda.

    #2
    Jesus, are you working with TraceOrders = true as this occurs? What is it's output then?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Ok Bertrand. Using TraceOrders I have found the problem (I think). So, I need cancel the previous order and put a new order in the same bar. How can I do it?

      Comment


        #4
        Are you just trying to change the price? Then just resubmit at the new price...
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Yes, but I need to retest again my conditions for entry. I would be better don't make it. Is there any posibility in this case?

          Comment


            #6
            Then just include your entry conditions in the check and only change the order price if they are fulfilled as well.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Ok Bertrand, I will try it.

              Thanks.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by set2win, 08-04-2021, 09:23 AM
              39 responses
              999 views
              0 likes
              Last Post WaleeTheRobot  
              Started by md4866, Today, 08:15 PM
              0 responses
              1 view
              0 likes
              Last Post md4866
              by md4866
               
              Started by mjbatts91, Yesterday, 04:48 PM
              2 responses
              23 views
              0 likes
              Last Post mjbatts91  
              Started by pibrew, Today, 06:10 PM
              1 response
              17 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by actualfacts.2021, 07-25-2021, 03:11 PM
              8 responses
              1,184 views
              0 likes
              Last Post linkcou
              by linkcou
               
              Working...
              X