Support Board
Date/Time: Fri, 14 Mar 2025 14:17:51 +0000
Post From: Entry order submission failed. BuyEntry returned: -1
[2024-12-27 11:07:47] |
User431178 - Posts: 613 |
As you said it will execute in sim mode, I would ask what is sc.SendOrdersToTradeService set to in your code? Automated Trading Management: SendOrdersToTradeService Automated Trading From an Advanced Custom Study: Going from Simulation Mode to Live Trading sc.SendOrdersToTradeService = sc.GlobalTradeSimulationIsOn ? 0 : 1; |