Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaTrader.Client.dll LastPlayback function changing time.

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

    NinjaTrader.Client.dll LastPlayback function changing time.

    Hello.

    I am using NinjaTrader.Client.dll library for sending data to NT7, and I have some problem. I send data from file, and how we can see there no data with time 9:59:59, but NT7 have it. And I see, that sometimes NT7 subtract 1 second (not only in the first ticks). When I debug my "sender", I see that time is correct. When and why time changing? This bug happen some times. I mean with same data, same time, same computer it can happen and not.
    Attached Files

    #2

    Comment


      #3
      But it not the same problem. I use time without any conversions. In the text file I have date and time in "yyyyMMddHHmmss" format. And I have no problem with value. And I use NT7 and I need help in NT7 platform.

      Comment


        #4
        Та же самая это проблема. Некорректно работает функция LastPlayback.
        Решения пока что нет.

        Comment


          #5
          Hello,

          Thank you for the post.

          The platform would use the PC time, it is possible that an external application has a different time than when the platform gets the tick and timestamps it. As this is not a generally supported subject, you may or may not be able to use the LastPlayback method instead of Last as has been mentioned. This would be an item you would need to try. You can also try syncing the PC clock, in case you have some timestamped information incoming and the PC is out of sync that may be one possibility.

          I look forward to being of further assistance.

          Comment


            #6
            Originally posted by NinjaTrader_Jesse View Post
            Hello,

            Thank you for the post.

            The platform would use the PC time, it is possible that an external application has a different time than when the platform gets the tick and timestamps it. As this is not a generally supported subject, you may or may not be able to use the LastPlayback method instead of Last as has been mentioned. This would be an item you would need to try. You can also try syncing the PC clock, in case you have some timestamped information incoming and the PC is out of sync that may be one possibility.

            I look forward to being of further assistance.
            But my external application send timestamps from text file. I mean, that I read text file, get "20170101100000", and send it to NT7, but NT7 write to base "20170101095959". I repeat, I am not convert DateTime.ToString(), I use ready formatted timestamp in string format.

            Comment


              #7
              Anybody can help me?

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              574 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              332 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              553 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              551 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X