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:

    Describes the Microsoft policy in response to DST and time zone changes.
    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 Mestor, 03-10-2023, 01:50 AM
            16 responses
            388 views
            0 likes
            Last Post z.franck  
            Started by rtwave, 04-12-2024, 09:30 AM
            4 responses
            31 views
            0 likes
            Last Post rtwave
            by rtwave
             
            Started by yertle, Yesterday, 08:38 AM
            7 responses
            29 views
            0 likes
            Last Post yertle
            by yertle
             
            Started by bmartz, 03-12-2024, 06:12 AM
            2 responses
            22 views
            0 likes
            Last Post bmartz
            by bmartz
             
            Started by funk10101, Today, 12:02 AM
            0 responses
            7 views
            0 likes
            Last Post funk10101  
            Working...
            X