Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
AddOn subscribing to OnPositionUpdate for active strategies
Collapse
X
-
AddOn subscribing to OnPositionUpdate for active strategies
I am tyring to update data in my addon by subscribing to OnPositionUpdates for active strategies. Is there a trick to being able to subscribe in the Addon to the event being published by the strategies?Tags: None
-
Hello parkinsonbr,
You would need to follow the samples from the help guide to subscribe to the event on the account, did you try that and if so what part are you having trouble with?
If you can provide a sample of what you tried or what you are seeing happen that would be helpful.
To subscribe to account positions updates you would need to use the addon account object and subscribe to its OnPositionUpdate event. You wouldn't know which strategy had the update only that there was a position update. There is no way to observe individual strategy OnPositionUpdates from this context just the overall account.
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
626 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
359 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
562 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
567 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment