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 set2win, 08-04-2021, 09:23 AM
            39 responses
            1,000 views
            0 likes
            Last Post WaleeTheRobot  
            Started by md4866, Today, 08:15 PM
            0 responses
            6 views
            0 likes
            Last Post md4866
            by md4866
             
            Started by mjbatts91, Yesterday, 04:48 PM
            2 responses
            23 views
            0 likes
            Last Post mjbatts91  
            Started by pibrew, Today, 06:10 PM
            1 response
            19 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by actualfacts.2021, 07-25-2021, 03:11 PM
            8 responses
            1,187 views
            0 likes
            Last Post linkcou
            by linkcou
             
            Working...
            X