Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Relationships between OnExecutionUpdate and OnOrderUpdate

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

    Relationships between OnExecutionUpdate and OnOrderUpdate

    Hello,

    Kindly help explain the relationships between OnExecutionUpdate and OnOrderUpdate event calls, for example the order in which these events are being called and who gets called when and when do we use it? Thanks.

    #2
    Hello billythekid72,

    OnExecutionUpdate() will run anytime there is a fill. OnOrderUpdate will run anytime an order changes states.

    Below are links to the help guide.



    These are not guaranteed to run in any specific order. Strategies should not depend on these methods running in a specific order.

    You can use these methods to run logic when an order fills or changes states. As an example you can place a limit and stop to protect a position when the entry fills.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you Chelsea.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      29 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      46 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Working...
      X