Support Board
Date/Time: Thu, 30 Oct 2025 07:34:21 +0000
Post From: Entry order submission failed. BuyEntry returned: -1
| [2024-12-27 18:39:33] |
| User425576 - Posts: 16 |
|
@User431178, I am not getting executions in sim mode either, this is why I asked the question. I did have it working in sim mode but now it has halted. // Trade Management Settings
sc.AllowMultipleEntriesInSameDirection = false; sc.MaximumPositionAllowed = 1; // Only one position at a time sc.SupportReversals = true; sc.SendOrdersToTradeService = false; // Use simulation system sc.AllowOppositeEntryWithOpposingPositionOrOrders = false; sc.SupportAttachedOrdersForTrading = true; // Enable attached orders sc.CancelAllOrdersOnEntriesAndReversals = true; sc.AllowEntryWithWorkingOrders = false; sc.CancelAllWorkingOrdersOnExit = true; sc.AllowOnlyOneTradePerBar = true; sc.MaintainTradeStatisticsAndTradesData = true; return; This is what I am using currently and I also uploaded the cpp file for any interested in taking a look. |
| |
