Login Page - Create Account

Support Board


Date/Time: Fri, 03 Oct 2025 03:27:57 +0000



Post From: Linux

[2025-09-29 15:22:33]
Tony - Posts: 637
hey gtaranti,

yeah, 6 seconds is a big deal, especially when market is volatile, I would try use USA server instead of European server 1st, or simply disable NTP client.

What I am doing right now is writing a ACSIL study to monitor any discrepancy between last price and computer time, if the difference is more than 1 second, I will get a warning:
  // other code
  
  int SecondsDelayed {
    sc.IsReplayRunning() ? 0 :
    (sc.CurrentSystemDateTime - sc.BaseDataEndDateTime[sc.Index]).GetTimeInSeconds()
  };
  
  if (SecondsDelayed >= 2)
    // warning message on screen
  
  // other code

Date Time Of Last Edit: 2025-09-29 15:24:26