Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 03:45:28 +0000



Post From: What does a General order error mean when the Trade Service Log does not contain anything?

[2021-11-09 13:43:21]
ycomp - Posts: 321
Trade Acitivty Log shows nothing for the account / symbol the indicator is running on

Global Simulation mode on

sc.SendOrdersToTradeService = false;

s_SCNewOrder NewOrder;
NewOrder.OrderQuantity = 1;
NewOrder.OrderType = SCT_ORDERTYPE_LIMIT; // (but I tried with market also)
NewOrder.Price1 = masterParentOrder.Price1;
NewOrder.TimeInForce = SCT_TIF_GOOD_TILL_CANCELED;

sc.BuyEntry(NewOrder, sc.UpdateStartIndex); // but I also tried with auto-looping disable sc.BuyEntry(NewOrder); // same error and blank service log

Date Time Of Last Edit: 2021-11-09 13:44:21