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 DannyP96, 05-18-2026, 02:38 PM
|
1 response
85 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
143 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
83 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
256 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
334 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment