Support Board
Date/Time: Sat, 10 May 2025 20:21:39 +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 |