Login Page - Create Account

Support Board


Date/Time: Tue, 26 Aug 2025 10:09:31 +0000



Post From: Trade Management by Study works in Sim but not live

[2025-07-28 04:37:42]
User453293 - Posts: 20
I tested out the new release. This time, using Trade Management by Study, the stop was not set correctly in either simulation or non-simulation.

However, I was able to get sc.GetNearestStopWorkingAttachedOrder and sc.ModifyOrder working in both simulation and non-simulation.
For anyone reading, the code was, essentially:


sc.SupportAttachedOrdersForTrading = true;
if (sc.GlobalTradeSimulationIsOn)
{
  sc.SendOrdersToTradeService = false;
}
else
{
  sc.SendOrdersToTradeService = true;
}
int getAttachedOrderCallSuccess = sc.GetNearestStopWorkingAttachedOrder(OrderDetails);
.
.
.
sc.ModifyOrder(ModifyOrder);

Date Time Of Last Edit: 2025-07-28 04:38:08