Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 06:28:58 +0000



Post From: GetOrderByIndex doesn't work when connected to Trade Evaluator Service

[2022-12-08 17:58:36]
User852621 - Posts: 14
The code inside the while loop never gets executed:


    while (sc.GetOrderByIndex(Index, order) != SCTRADING_ORDER_ERROR)
    {
      SCString msg;

      msg.Format("%d", order.OrderStatusCode);

      sc.AddMessageToLog(msg, 1);

      Index++;
    }

The same code works on sim mode.
Date Time Of Last Edit: 2022-12-08 18:52:52