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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
84 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
66 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
58 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment