• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

using Change for Addon -> Account order

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

    #16
    OK great now we are getting somewhere.

    My tests so far have involved the quantity being changed or not - and this i was tracking in onorderupdate after a change.

    Is it stated in help that .... patrick wrote ....

    Using Order.LimitPriceChanged or Order.StopPriceChanged has no event triggered in my tests whether the price is the same or not. In fact these two values are not supported and should not be used to change orders. Are you seeing these two values actually work to change orders?

    Or are you just informing me from internal checks with development?
    The only thing i see in help is in reference transitioning from historical orders which is not the case here.

    So are the planned to be supported or ? Are you saying if the entry price changes i need to cancel the order and resubmit fresh ./ anew?

    look forward to update as i was about to test the change of entry price (limit or MIT)

    thanks

    Comment


      #17
      Hello just to clarify and confirm as per my original post
      .....
      Hello, I am using the Change method within the Addon->Account section of methods....

      so NOT the strategy link you posted in your reply

      but this one ....

      Navigation: NinjaScript > Language Reference > Add On > Account >
      Change()
      Previous page Return to chapter overview Next page
      Definition
      Changes specified Order object(s).

      Syntax
      Change(IEnumerable<Order> orders)

      so does this change your response?

      look forward to your response
      thanks

      Comment


        #18
        Hello there, not sure if gone for the day or attending to other matters / testing & checking this ; are you able to respond on this before the weekend?
        thanks

        Comment


          #19
          Hello soulfx,

          Thank you for the additional details.

          Change() will not see any state occur if only the price or quantity is submitted for the same value it currently is.

          I was incorrect on Order.StopPriceChanged and Order.LimitPriceChanged. This are intended for the Change() function and do not perform an action alone.

          Please let me know if you have any questions.
          Patrick H.NinjaTrader Customer Service

          Comment


            #20
            Hello, I am not clear on your response ... considering how clear i have tried to be this is a vague response ...

            Patrick wrote ...

            Change() will not see any state occur if only the price or quantity is submitted for the same value it currently is.

            I was incorrect on Order.StopPriceChanged and Order.LimitPriceChanged. This are intended for the Change() function and do not perform an action alone.

            ....

            So the first part you are now confirming what i asked all along in this thread - there is no state if the quantity or price is the same value it currently is? I was VERY clear on this i just re read why only now after all these posts do you confirm it?

            so to confirm stoppricechanged and limitpricechanged DO work and ARE supported for the Change() function within the Account-.Addon ?

            What do you mean by they do not perform an action alone .. ???

            thanks

            Comment


              #21
              Hello soulfx,

              Thank you for your response.

              To elaborate on my last response Change() will not see any state occur if only the price or quantity is submitted for the same value it currently is for that order.

              Order.StopPriceChanged and Order.LimitPriceChanged are supported and intended for the Change() function. The action they perform is changing the price but that does not go into effect until the Change() function is called.

              Please let me know if you have any further questions.
              Patrick H.NinjaTrader Customer Service

              Comment


                #22
                Hello, thanks for confirming :

                I guess what in general i would like to know is that i appreciate it wasnt until post 4 or 5 you took over and from post 8 i specifically asked on quantity or price not changing : AND the title of this thread was clear on the Change() within Addon -> Account : why we are at post 21 to get this straight? Were you operating on the presumption it was in a strategy and those methods are not supported ? If they are not supported for the benefit of fellow users would it not be in order to update the managed help pages for this ?

                Point being alot of time elapsed and unnecessary repetition of the same - whilst i appreciate support handle multiple inquiries it seems 'at times' a quick read and reply by support and not fully answering the context of the question can end up taking more time from both parties to resolve back and forth.
                just my 2cents

                thanks

                Comment


                  #23
                  Hello soulfx,

                  Thank you for your feedback.

                  I will make sure to take note of this moving forward.
                  Patrick H.NinjaTrader Customer Service

                  Comment


                    #24
                    Hello, in further testing it would appear that for the Addon -> Account -> CreateOrder

                    when the order type is StopLimit - both the stop and limit fields in the CreateOrder parameters need to be set && when using the Change function for this order just Submitted with the Submit function :

                    for StopLimit order type both the stoppricechanged and limitpricechanged fields need to be set with the changed price.

                    Can you confirm this functionality

                    thanks

                    Comment


                      #25
                      Hello soulfx,

                      Thank you for your response.

                      There is correct. You will need to change the prices using the Order objects calls to StopPriceChanged and LimitPriceChanged. Then you call Change(): https://ninjatrader.com/support/help...-us/change.htm

                      Please let me know if you have any questions.
                      Patrick H.NinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by dadarara, Today, 02:42 AM
                      0 responses
                      3 views
                      0 likes
                      Last Post dadarara  
                      Started by TraderYoda, 10-17-2018, 09:06 AM
                      14 responses
                      145 views
                      1 like
                      Last Post TraderYoda  
                      Started by Johnny Santiago, Yesterday, 09:31 PM
                      0 responses
                      7 views
                      0 likes
                      Last Post Johnny Santiago  
                      Started by DarkCloudCover, Yesterday, 07:29 PM
                      1 response
                      16 views
                      0 likes
                      Last Post TraderYoda  
                      Started by bomberone3, Yesterday, 05:16 PM
                      0 responses
                      3 views
                      0 likes
                      Last Post bomberone3  
                      Working...
                      X