Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Resetting System Clock on Execute

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

    Resetting System Clock on Execute

    Hello guys, I've got a small bug with my strategy. When I am running my strategy in realtime against the sim101 account, whenever it executes sometimes it resets the system clock on my PC back one hour. I am running the 60 minute strategy (it happens on any timeframe). I can tell becuase once the script executes I look down on the lower right of my screen and it shows the time is for example 840am instead 940am like it is now. How do I fix this?

    #2
    Hello,

    Do you mean that the clock was at 940AM but then is switching to 840AM?

    Or do you mean to say that the execution time reported vs your actual PC clock is off one hour?

    When the clock is off by an hour, this is usually tied in to Daylighst Savings Time updates not being properly patched on your computer.

    Please double check you have correctly installed all the of the Daylight Savings Time patches for your OS:

    MatthewNinjaTrader Product Management

    Comment


      #3
      Hi sir, I mean when I turned on the strategy it says 940am, but after the first bar series executes say, for the hourly at 1030am, the strategy will cause the system clock to show 1 hour earlier.

      Comment


        #4
        I'm sorry, I'm not quite following.

        When you say "it says 940am", do you mean your system clock? Or the bar time says 940am?

        Keep in mind that the bar time represents the end time of the bar.
        MatthewNinjaTrader Product Management

        Comment


          #5
          No, the actual computers system clock says 1 hour earlier, on the computer, lower right side where the time is.

          Comment


            #6
            Time off by one hour is usually due to DST settings.

            Can you please check windows update and ensure you have the recent patches installed.
            MatthewNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            24 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            25 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-25-2026, 09:53 PM
            0 responses
            30 views
            0 likes
            Last Post CaptainJack  
            Started by CaptainJack, 03-25-2026, 09:51 PM
            0 responses
            18 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 03-23-2026, 11:13 AM
            0 responses
            27 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X