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 usazencort, Today, 01:16 AM
                  0 responses
                  1 view
                  0 likes
                  Last Post usazencort  
                  Started by kaywai, 09-01-2023, 08:44 PM
                  5 responses
                  603 views
                  0 likes
                  Last Post NinjaTrader_Jason  
                  Started by xiinteractive, 04-09-2024, 08:08 AM
                  6 responses
                  22 views
                  0 likes
                  Last Post xiinteractive  
                  Started by Pattontje, Yesterday, 02:10 PM
                  2 responses
                  21 views
                  0 likes
                  Last Post Pattontje  
                  Started by flybuzz, 04-21-2024, 04:07 PM
                  17 responses
                  230 views
                  0 likes
                  Last Post TradingLoss  
                  Working...
                  X