Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Updating LiveUntilCancelled Orders

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

    Updating LiveUntilCancelled Orders

    Hello

    I've started looking seriously into LiveUntilCancelled orders .

    I'd like to know what is the best method to update such an order ?

    I'm already keeping track of the IOrders.

    #2
    zark.be, you can update any order by resubmitting it using the same signal name, it would be amended then as needed.

    Comment


      #3
      What happens to the IOrders ?

      Is the one I'm holding on to will be updated ? Should I discard it and save the new one generated by the function ?

      Comment


        #4
        I'm having the problem of an order getting executed multiple times.


        Can i programmatically query all working orders from NinjaTrader ? as to be able to check why i have multiple "TGT 1" getting hit even though after getting hit the first time my strategy does not send anymore.

        Comment


          #5
          zark.be, the IOrders would be updated as well with your new order if not executed.

          If you're not seeing executions then it means after hitting a terminal state you're not resetting the IOrder object to null again to 'recycle'.

          Here's an example showing the core logics - http://www.ninjatrader.com/support/f...ead.php?t=7499

          Comment


            #6
            Originally posted by zark.be View Post
            I'm having the problem of an order getting executed multiple times.


            Can i programmatically query all working orders from NinjaTrader ? as to be able to check why i have multiple "TGT 1" getting hit even though after getting hit the first time my strategy does not send anymore.
            That would depend on how you are handling the IOrders. Maybe you could show how you are handling the entries, while not showing the secret sauce that creates the entry conditions, so that we can see what you are doing, and why it seems to be misbehaving ?

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            76 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            45 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            26 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            62 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X