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
              DierkNinjaTrader Customer Service

              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 vantojo, Yesterday, 06:49 PM
                  2 responses
                  19 views
                  0 likes
                  Last Post NinjaTrader_PaulH  
                  Started by angeljulio, Today, 05:35 AM
                  0 responses
                  4 views
                  0 likes
                  Last Post angeljulio  
                  Started by patricia70, Today, 04:41 AM
                  0 responses
                  10 views
                  0 likes
                  Last Post patricia70  
                  Started by morrnel, Yesterday, 09:12 PM
                  1 response
                  19 views
                  0 likes
                  Last Post NinjaTrader_Jason  
                  Started by 7robert, Yesterday, 04:41 PM
                  1 response
                  12 views
                  0 likes
                  Last Post NinjaTrader_Jason  
                  Working...
                  X