• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time Difference between Chart & Acct Performance

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

    Time Difference between Chart & Acct Performance

    I have NinjaScript code which Launches AtmStrategies, I am running in simulation. I've noticed that there is a time shift of a few minutes (about 5 or 6) between the Time on the chart and its associated Time stamp as posted in AccountPerformance. This occurs on every trade every day. As I prepare to go live I want to resolve this.

    The PC clock is set to auto sync with internet time (Although I get permission error if I try to change the sync schedule). The PC matches eBay time, so I think the time sync is working.

    Ideas?

    #2
    Hello,

    Thank you for your note.

    Does this time discrepancy happen with market orders you make manually?

    Are you entering the position with a limit, stop market, or stop limit order?

    Are you viewing the trades on another chart and this is not matching what is in the Account Performance tab? Also, may we have screenshots of this?

    To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

    For detailed instructions please visit the following link
    http://take-a-screenshot.org/
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      The attached file shows the discrepancy when using Market orders.

      My NinjaScript code uses Limit Orders. On Volume Charts. The discrepancy is the same.

      Since I noticed this (weeks ago) I have deleted the NinjaTrader.sdf file and restarted to create new. I have reset the Simulation accounts, Repaired the DataBase, Reset the database, but no change.

      If you don't see an easy fix, I'll uninstall/reinstall NT. You might suggest best way to do so.
      Attached Files

      Comment


        #4
        I just submitted Market orders while observing the PC clock. The times reported in Account match the PC time. But the Chart time is approx 5 Minutes ahead.

        So the discrepancy seems to be the Chart time not matching the PC clock.

        Comment


          #5
          Hi tquinn,

          Try clearing your chart cache and historical data and try making a new order.

          Please use the steps I have provided below to delete your cache data:
          • Close NinjaTrader
          • Open (My) Documents/NinjaTrader 7/db/cache/
          • Delete all files within this folder
          • Go up one directory to the /db/ folder
          • Repeat this procedure for the tick, minute, and day folders as well to delete your downloaded historical data
          • Restart NinjaTrader
          • Connect

          Open a new chart without any indicators or templates applied to see if you are able to load a chart.

          This initial load may take a little longer than normal since all new data is being loaded from the historical data servers. After everything has loaded please restart NinjaTrader and let me know if you continue to experience a slow load time.

          Let me know if you have the same issue and we'll set up a call.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Thanks for your help.

            Since my last post I've been investigating the Windows Time Sync. The "Internet Time" was not actually getting done. It showed that it was scheduled, but the Time service was not actually able to run.

            I think it is all fixed now. NOT an NT issue, just confusing and difficult Windows issues.

            Comment


              #7
              Tquinn, I am experiencing the same problem, could you please point me in the right direction for what you did with internet time. Thanks

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by ajay8000, Yesterday, 11:31 PM
              4 responses
              13 views
              0 likes
              Last Post ajay8000  
              Started by simjs, Yesterday, 11:23 PM
              0 responses
              5 views
              0 likes
              Last Post simjs
              by simjs
               
              Started by akuntysh, Yesterday, 10:41 PM
              0 responses
              4 views
              0 likes
              Last Post akuntysh  
              Started by Wolf1, Yesterday, 08:26 PM
              0 responses
              7 views
              0 likes
              Last Post Wolf1
              by Wolf1
               
              Started by pparmley, Yesterday, 04:30 PM
              0 responses
              9 views
              0 likes
              Last Post pparmley  
              Working...
              X