Is there a command that returns the number of currently "open" positions? I know about Position.Quantity but that is used for the number of lots that are open, how about the actual count of trades that have been entered and are not currently closed?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Position count?
Collapse
X
-
Position count?
Hi,
Is there a command that returns the number of currently "open" positions? I know about Position.Quantity but that is used for the number of lots that are open, how about the actual count of trades that have been entered and are not currently closed?Tags: None
-
You would have to run your own variable to keep track of that.
Edit: Actually. Please check out the Performance objects. You may have success with the various .Count properties.Last edited by NinjaTrader_JoshP; 06-23-2008, 09:39 PM.Josh P.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
630 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 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
566 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment