Support Board
Date/Time: Sat, 05 Jul 2025 18:10:33 +0000
sc.ModifyOrder not working in live trading
View Count: 1052
[2019-06-25 07:12:25] |
tomas262 - Posts: 149 |
Hello, when trading live with some ACSIL code to modify attached order I am getting following message: "NQU19 [C] 1.50 Range #2 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. | 2019-06-25 02:04:35.050" I understand it has to be set correctly (according to this Automated Trading Management: SendOrdersToTradeService) which I think I have done but still getting error message. Check the screenshot attached Code I use within sc.SetDefaults block: SendOrdersToService.Name = "Send/Modify Orders to Trade Service"; SendOrdersToService.SetYesNo(true); sc.SendOrdersToTradeService = SendOrdersToService.GetYesNo(); In simulation (reply) mode, everything works great! Any ideas what I could be doing wrong? Appreciate your help |
![]() ![]() ![]() |
[2019-06-25 11:32:32] |
|
You must move this line: sc.SendOrdersToTradeService = SendOrdersToService.GetYesNo(); Below the sc.SetDefaults block. 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: