Support Board
Date/Time: Wed, 17 Sep 2025 10:45:25 +0000
Post From: List of all open Positions?
[2018-02-15 12:48:24] |
User99735 - Posts: 234 |
Hi, Is there a simple way of getting a list of all open Positions from a ACSIL study? The only option I could conceive was to loop through all trades using functions sc.GetOrderFillArraySize / c.GetOrderFillEntry and get a list of symbols for which trades were filled. Using the list of symbols, use function sc.GetTradePositionForSymbolAndAccount to get the position details if position is still open. Regards Vivek |