Positions by Date: Find Oldest Active Position?
Author: ronc
Creation Date: 7/27/2013 8:53 PM
profile picture

ronc

#1
The newest active position can be found via LastActivePosition but how does one get the oldest active position?

Thanks,
Ron
profile picture

Eugene

#2
That simple:

CODE:
Please log in to see this code.


The ActivePositions List is comprised of active Positions as they happen, so the item at index 0 is the oldest one you're still holding.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).