Support Board
Date/Time: Mon, 21 Apr 2025 16:51:24 +0000
Post From: SOLVED Issue with function sc.GetOrderForSymbolAndAccountByIndex(...)
[2025-02-24 20:10:32] |
cmet - Posts: 690 |
main menus Trade > Trade Service Log (Ctrl-Shift-L) I'm sure there's better solutions but I gotta bail. Here's a couple things to look at: Beginning from 0, you can increment the OrderIndex parameter by 1 and keep calling sc.GetOrderForSymbolAndAccountByIndex until the function returns SCTRADING_ORDER_ERROR indicating there are no more orders.
Options: Add sc.RequestTradeOrders(); or maybe sc.FlagFullRecalculate = 1; Date Time Of Last Edit: 2025-02-24 20:31:59
|