Support Board
Date/Time: Wed, 30 Apr 2025 07:36:35 +0000
[Programming Help] - Can't get list of orders when on a Live account?
View Count: 27
[2025-04-28 03:32:20] |
LTSys2 - Posts: 25 |
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: 25 |
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: