Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Last vs LastPlayback

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

    Last vs LastPlayback

    For the following functions in the ATI DLL:

    -int Last()
    -int LastPlayback()

    Is LastPlayback() the same thing as Last(), but with the overload to specify a timestamp? Otherwise are they the same thing? Thanks.

    #2
    Anyone know? I would just test it myself, but I wouldn't be able to know if LastPlayback() is doing something else 'behind the scenes' that might be costing performance.

    Comment


      #3
      Hello,

      Thanks for the reopen, seems your forum thread got closed on accident.

      They are not quite the same as they are separate methods(Otherwise we would supply a Last() with an overload with DateTime).

      You will want to use Last() when possible for live data moving forward.

      -Brett
      BrettNinjaTrader Product Management

      Comment


        #4
        Thanks Brett, so is there no way to feed timestamped data through the ATI DLL then? In other words, the timestamp must be added by NT itself (using the PC's clock)? Thanks.

        Comment


          #5
          Correct.

          I will have it added to our suggestion list for next major release.

          -Brett
          BrettNinjaTrader Product Management

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          27 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          117 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          69 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          226 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          414 views
          0 likes
          Last Post CaptainJack  
          Working...
          X