Support Board
Date/Time: Fri, 24 Oct 2025 14:39:30 +0000
Post From: How to get ClosedProfitLoss of an order. in ACSIL, given the InternalOrderID
| [2019-10-20 13:03:21] |
| ForgivingComputers.com - Posts: 1150 |
|
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; } |
