Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

AddOn - To synchronize system clock with an internet time server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    AddOn - To synchronize system clock with an internet time server

    NT Team,

    Is there any developed AddOn (or similar) which will synchronize the system clock with an internet time server at a regular interval?

    As I understand, it is possible to achieve this from the Command Prompt (Option 2 ; half way down webpage). Is there any code that could make use of this command?

    Regards
    Shannon

    #2
    Hello,

    Thank you for the post.

    I am unaware of anything that already exists like this, although this may be possible.

    The document you provided notes that the command prompt would need to be elevated, so you would likely need to wait for the user account control popup and click Yes each time you used it.

    Because this is not specific to NinjaTrader, you would likely be best looking on Google for guides related to using command with C# and elevating processes if you want to pursue this further.

    Alternatively if the PC is having clock issues with keeping sync, that may be another avenue to explore as to why the PC itself can not stay in closer sync. Another option is a VPS server as well.


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      I use 3rd party NTP app available at link below. NTP is a pool of servers and the App essentially averages the time and access time(internet delay time) and automatically keeps your pc syncrhronized to give you the most accurate results.



      and I use Time.Is to check my pc clock available here: https://time.is/

      my is usually within +/- 30 ms.
      Last edited by JerryWar; 12-13-2016, 09:48 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by algospoke, Yesterday, 06:40 PM
      2 responses
      19 views
      0 likes
      Last Post algospoke  
      Started by ghoul, Today, 06:02 PM
      3 responses
      14 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by jeronymite, 04-12-2024, 04:26 PM
      3 responses
      45 views
      0 likes
      Last Post jeronymite  
      Started by Barry Milan, Yesterday, 10:35 PM
      7 responses
      21 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by AttiM, 02-14-2024, 05:20 PM
      10 responses
      181 views
      0 likes
      Last Post jeronymite  
      Working...
      X