Support Board
Date/Time: Sat, 01 Feb 2025 06:46:56 +0000
Post From: sc.ModifyOrder not working in live trading
[2019-06-25 07:12:25] |
tomas262 - Posts: 144 |
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 |
AT-enabled.png / V - Attached On 2019-06-25 07:10:15 UTC - Size: 29.77 KB - 292 views trade-service-log.png / V - Attached On 2019-06-25 07:10:23 UTC - Size: 64.19 KB - 285 views study-input.png / V - Attached On 2019-06-25 07:10:29 UTC - Size: 56.64 KB - 281 views |