Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 02:20:36 +0000



sc.SendOrdersToService settings

View Count: 576

[2018-04-19 13:45:40]
jizzary - Posts: 177
Hi

After reading the "Going from Simulation Mode to Live Trading" text (in the documentation) I don't understand why a change (enable/disable)
of the Trade >> Trade Simulation Mode On doesn't cause the Sierra platform to set the system variable sc.SendOrdersToService but requires
the intervention of the study developer using the following code?

SCInputRef SendOrdersToService = sc.Input[10];

if (sc.SetDefaults)
{
SendOrdersToService.Name = "Send Orders to Trade Service";
SendOrdersToService.SetYesNo(false);
return;
}

sc.SendOrdersToTradeService = SendOrdersToService.GetYesNo();


Thanks.
[2018-04-19 18:57:06]
Sierra Chart Engineering - Posts: 104368
This is for safety reasons. Automated trading cannot be made too easy to enable. There has to be many many safeguards in place.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account