what is the Ninjascript to get my total account position in contracts? in the strategies tab on the control center, there is an 'account position' field that shows, say, 3L for 3 long contracts, even if I have several strategies running that show different contract sizes. I am looking for a way to use the "3L" total account position in a strategy to enter/exit by using that 3L in a calculation. What is the code line for this output? Do you have any tips on how to use this because it might have different syntax as far as outputting "3 Long" for instance? Thank you!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Get Account Position
Collapse
X
-
Get Account Position
Hi NT 8 support,
what is the Ninjascript to get my total account position in contracts? in the strategies tab on the control center, there is an 'account position' field that shows, say, 3L for 3 long contracts, even if I have several strategies running that show different contract sizes. I am looking for a way to use the "3L" total account position in a strategy to enter/exit by using that 3L in a calculation. What is the code line for this output? Do you have any tips on how to use this because it might have different syntax as far as outputting "3 Long" for instance? Thank you!Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
88 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
151 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
80 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
53 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
62 views
0 likes
|
Last Post
|

Comment