Support Board
Date/Time: Mon, 16 Jun 2025 14:36:59 +0000
[Programming Help] - Can't get list of orders when on a Live account?
View Count: 226
[2025-04-28 03:32:20] |
LTSys2 - Posts: 27 |
Hi, when I call the following function on a Sim account it works... I can loop through the trades. while(sc.GetOrderForSymbolAndAccountByIndex(EMPTY_STRING, accountName, orderIndex++, order) != SCTRADING_ORDER_ERROR)
But when I call it on a Live account it doesn't work? Is there some step or some SC setting I am missing? TIA Date Time Of Last Edit: 2025-04-28 03:43:06
|
[2025-04-28 05:48:16] |
LTSys2 - Posts: 27 |
Disregard... figured it out. Needed to set this flag... sc.SendOrdersToTradeService = true;
And turn Trade Simulation Mode off. |
To post a message in this thread, you need to log in with your Sierra Chart account: