Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ChangeOrder()

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

    ChangeOrder()

    please provide syntax for ChangeOrder() in beta 10

    not in documentation/help

    #2
    ChangeOrder(IOrder order, int quantity, double limitPrice, double stopPrice)
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      thanks Josh

      Comment


        #4
        Josh,

        I also have a question regarding ChangeOrder. Is ChangeOrder an amend request OR is it a Cancel-New order? Essentially I'd like to know if the change request gets rejected for some reason, will the original order still be active/working?

        It is my understanding that rejected amend requests will leave the original order in tact while cancel-new rejections will not. To clarify, these are two types of ChangeOrders, I just want to know how NT has programmed this method 'under the hood', in order to properly protect my positions.

        thanks!


        Originally posted by NinjaTrader_Josh View Post
        ChangeOrder(IOrder order, int quantity, double limitPrice, double stopPrice)

        Comment


          #5
          It is a change-request not a cancel-new. I believe your understanding is correct, but you may need to test it to be sure we are on the same page. You can just run in a simulator and submit a change that is invalid and see how it behaves.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Unfortunately my tests are showing something different...can i get verification from someone else or from someone at NT regarding this?
            Will rejected ChangeOrders result in the original order to be working or not?

            Simple question. Any insight?



            Originally posted by NinjaTrader_Josh View Post
            It is a change-request not a cancel-new. I believe your understanding is correct, but you may need to test it to be sure we are on the same page. You can just run in a simulator and submit a change that is invalid and see how it behaves.

            Comment


              #7
              >> Will rejected ChangeOrders result in the original order to be working or not?
              yes

              Comment


                #8
                Originally posted by NinjaTrader_Dierk View Post
                >> Will rejected ChangeOrders result in the original order to be working or not?
                yes
                The answer 'yes' is ambiguous based on the question. Is the answer 'yes, the original order will still be in working status' ? Please clarify.

                Comment


                  #9
                  monpere,

                  If you have a working order already in working, you send a ChangeOrder, the change is not accepted, you are still left with the original state of working.
                  Josh P.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by DJ888, 04-16-2024, 06:09 PM
                  4 responses
                  12 views
                  0 likes
                  Last Post DJ888
                  by DJ888
                   
                  Started by terofs, Today, 04:18 PM
                  0 responses
                  11 views
                  0 likes
                  Last Post terofs
                  by terofs
                   
                  Started by nandhumca, Today, 03:41 PM
                  0 responses
                  7 views
                  0 likes
                  Last Post nandhumca  
                  Started by The_Sec, Today, 03:37 PM
                  0 responses
                  3 views
                  0 likes
                  Last Post The_Sec
                  by The_Sec
                   
                  Started by GwFutures1988, Today, 02:48 PM
                  1 response
                  9 views
                  0 likes
                  Last Post NinjaTrader_Clayton  
                  Working...
                  X