Support Board
Date/Time: Sat, 18 Jan 2025 19:34:17 +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 |