Support Board
Date/Time: Thu, 18 Sep 2025 05:02:49 +0000
Post From: How to get ClosedProfitLoss of an order. in ACSIL, given the InternalOrderID
[2019-10-20 13:03:21] |
ForgivingComputers.com - Posts: 1124 |
s_SCTradeOrder TradeOrderData; int Result = sc.GetOrderByOrderID(InternalOrderID, TradeOrderData); int OrderStatusCode = TradeOrderData.OrderStatusCode; if (OrderStatusCode == SCT_OSC_FILLED) { // The order has completely filled double FillPrice = TradeOrderData.LastFillPrice; } |