Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to get account position and order status?
Collapse
X
-
Thanks Josh! Since the internet sometimes is not stable,
the active orders might be filled when the internet is temperarily disconnected. After the internet connection comes back by itself, the strategy will lose its synchronization with the account. That is why I would like to have a method or function to check account position and order status before making any new orders. If it is not possible now, is it planned in the future version of NT?
Comment
-
Dear Ninjatrader Support,
Hi, I have a question.
Have you come up with a method to get account position / quantity in NT7?
I would like to know because I have the same problem sometimes.
(meaning I would need to check the actual account position after reconnection.)
Look forward to hearing from you.
Comment
-
hana_maui,
What was possible to be released with NT7 was a way to check your account values. This is done in GetAccountValue(). Unfortunately there is no way to do positions across the strategy. The way to do that would be you have to store global variables across your strategies to be able to calculate your own position/quantity. If you do manual trades though, that would not be included.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 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
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment