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.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Relationships between OnExecutionUpdate and OnOrderUpdate
Collapse
X
-
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.Tags: None
-
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
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
29 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
46 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment