Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 17:05:19 +0000



Post From: SOLVED Issue with function sc.GetOrderForSymbolAndAccountByIndex(...)

[2025-02-24 20:42:13]
LTSys - Posts: 68
I added that flag to the defaults...


if(sc.SetDefaults) {

sc.AutoLoop = 0;
sc.UpdateAlways = 1;
sc.FlagFullRecalculate = 1;
}

And I am now calling "sc.RequestTradeOrders();" before the loop containing "sc.GetOrderForSymbolAndAccountByIndex(...)".

It worked for about 5 loops and then it stopped looping.
Date Time Of Last Edit: 2025-02-24 20:58:28