Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
OnExecutionUpdate with Playback
Collapse
X
-
OnExecutionUpdate with Playback
I have written a strategy which overrides the OnExecutionUpdate method to add stops and targets. It works fine in Sim. But in Playback OnExecutionUpdate does not get called.. Can anyone advise what the problem might be? Thanks!Tags: None
-
Hello gbourque,
We would need more specific details about what you created to be of assistance here. OnExecutionUpdate can be used with the playback connection, that override is called based on executions a strategy places. There is a sample in the following link that uses OnExecutionUpdate: https://ninjatrader.com/support/help...and_onexec.htm
-
I was using a global for my main order object and referencing that in OnExecutionUpdate instead of referencing the order object in the execution object parameter, as the example you pointed out shows. Apparently that was the problem. Thanks for your help!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
52 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
70 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
43 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
47 views
0 likes
|
Last Post
|

Comment