Support Board
Date/Time: Thu, 06 Feb 2025 20:07:00 +0000
Post From: Trading works sim off to paper account but not live trading account. Urgent
[2020-05-04 20:23:50] |
User807787 - Posts: 41 |
This is a big issue for me(lost a good trade) My keybinds (through a manual looping study) are not sending orders when the trade service is in live mode. They work perfectly fine when sending to the paper account. Sim mode off in both cases Trading via the chart and trade menu work for both paper and live. sc.SendOrdersToTradeService = true; an example would be: if (sc.KeyboardKeyEventCode == 65 && sc.IsKeyPressed_Control) { LastPrice = sc.GetLastPriceForTrading(); SetStopQuantAllowance(sc, LastPrice, 0); NewOrder.OrderQuantity = Quant; NewOrder.OrderType = SCT_ORDERTYPE_LIMIT; NewOrder.TimeInForce = SCT_TIF_DAY; float Price = sc.Ask; Price = Price + Allowance; NewOrder.Price1 = Price; sc.BuyOrder(NewOrder); } Date Time Of Last Edit: 2020-05-05 01:45:44
|