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 YuelongST, Today, 04:03 PM
          0 responses
          1 view
          0 likes
          Last Post YuelongST  
          Started by ATMtrader0001, Today, 02:53 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Emily  
          Started by tomd, Today, 02:38 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Jim  
          Started by Petrv333, Today, 02:03 PM
          1 response
          17 views
          0 likes
          Last Post NInjaTrader_MaxH  
          Started by stafe, Today, 12:34 PM
          2 responses
          23 views
          0 likes
          Last Post stafe
          by stafe
           
          Working...
          X