// Find our Sim101 account lock (Account.All) // myAccount = Account.All.FirstOrDefault(a => a.Name == "6700005596"); // myAccount = Account.All.FirstOrDefault(a => a.Name == "Sim101" ); myAccount = Account.All.FirstOrDefault(a => a.Name == "Playback101"); // Subscribe to static events. Remember to unsubscribe with -= when you are done Account.AccountStatusUpdate += OnAccountStatusUpdate;
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
how can i subscrible to multiple accounts at a time
Collapse
X
-
how can i subscrible to multiple accounts at a time
In my addon, i only apply 1 account at a time to subscribe. how can i subscrible to more than 1 account ?
Code:Tags: None
-
Hi junkone, thanks for your reply.
AccountStatusUpdate is for all accounts. The documentation for AccountStatusUpdate says this:
AccountStatusUpdate can be used for subscribing to account status events from all accounts.
You can test it by creating multiple Sim accounts and printing the data from OnAccountStatusUpdate.
Best regards,
-ChrisL
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
566 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment