Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

HOw to Get Count of Entries Current Position

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_PatrickH
    replied
    Hello tornadoatc,

    Thank you for your post.

    You would pull Position.Quantity: http://ninjatrader.com/support/helpG...n_quantity.htm

    If you are trying to pull the number of executed orders it would require a custom count.

    Leave a comment:


  • tornadoatc
    started a topic HOw to Get Count of Entries Current Position

    HOw to Get Count of Entries Current Position

    Hello,

    I am wondering if there is a way to get a count of the number of entries currently filled for the open Position?

    Thought I would be able to do something like Positions[0].ExecutionCount

    Is there a way to get the count from the Position so I don't have to manage count?

    Thanks,

Latest Posts

Collapse

Topics Statistics Last Post
Started by Kediil, Today, 09:26 AM
0 responses
1 view
0 likes
Last Post Kediil
by Kediil
 
Started by bootize, Today, 08:37 AM
0 responses
6 views
0 likes
Last Post bootize
by bootize
 
Started by _Zero_, 01-06-2020, 01:16 PM
4 responses
138 views
2 likes
Last Post globaljobber  
Started by sukhob, Yesterday, 04:27 PM
2 responses
21 views
0 likes
Last Post sukhob
by sukhob
 
Started by zacharydw00, Yesterday, 05:36 PM
0 responses
6 views
0 likes
Last Post zacharydw00  
Working...
X