Support Board
Date/Time: Thu, 01 May 2025 19:14:11 +0000
Post From: Any way to call sc.GetOrderForSymbolAndAccountByIndex(...) in reverse?
[2025-03-04 00:34:37] |
LTSys - Posts: 68 |
Been looking for a way to get the results from this function in reverse. So instead of starting at index zero... int orderIndex = // some call to get the order count based on symbol and account while(sc.GetOrderForSymbolAndAccountByIndex(EMPTY_STRING, accountName, orderIndex, order) != SCTRADING_ORDER_ERROR) { orderIndex--; // reverse index } TIA |