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 tonynt, Today, 11:01 AM
          0 responses
          13 views
          0 likes
          Last Post tonynt
          by tonynt
           
          Started by newton1, Today, 09:54 AM
          1 response
          36 views
          0 likes
          Last Post AaronKoRn  
          Started by leontancfa, Today, 08:50 AM
          0 responses
          28 views
          0 likes
          Last Post leontancfa  
          Started by SuperDude123, Today, 08:31 AM
          0 responses
          41 views
          0 likes
          Last Post SuperDude123  
          Started by thommo, Today, 05:26 AM
          1 response
          47 views
          0 likes
          Last Post NinjaTrader_ShawnB  
          Working...
          X