Support Board
Date/Time: Mon, 23 Dec 2024 03:18:51 +0000
Post From: ACSIL - List Closed Orders
[2015-06-30 02:58:52] |
ejtrader - Posts: 688 |
SC Team - I am trying to list most recent orders that matches the Trade Activity Log - InternalOrderID & ServiceOrderID. I have been trying to use the following with no success. Any hints? if I take out SCTRADING_ORDER_ERROR - for all orders InternalOrderID shows up as '0'. int Index = 0; s_SCTradeOrder OrderDetails; while (sc.GetOrderByIndex(Index++, OrderDetails) != SCTRADING_ORDER_ERROR) { // Print OrderDetails.InternalOrderID -- This doesn't seem to execute } Date Time Of Last Edit: 2015-06-30 05:09:10
|