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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          39 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          19 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          26 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          42 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          35 views
          0 likes
          Last Post CarlTrading  
          Working...
          X