Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Lastplayback function from Dll interface

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

    Lastplayback function from Dll interface

    Hi,
    I'm a proprietary trader and I'm trying to test NT7.

    I'm using the external data feed and sending price to NT7 via a c# client using : Last function.
    It is working fine.

    1/ I'm trying now to use LastPlayBack function like that :

    NTclient.LastPlayback("Key", 4869.79, 1,"20080131173000")); //yyyyMMddhhmmss
    NTclient.LastPlayback("Key", 5000, 1,"20080228173000"));

    Those 2 datas are recorded but with the wrong timestamp. It is recording with the current datetime.

    Does anyone experiencing the same issue?

    2/ I also noticed that I have to initialize the new timeserie with at least one call of Last function.
    After taht, LastPlayback can record prices.

    3/ Last little question:
    For this, External Data Feed need to be connected. I mean from NT7 GUI.
    Is there a way to automatically connect External data feed when NT7 starts?

    Thanks for your help.

    #2
    SirHC, you could unfortunately not autoConnect to the External Feed - thanks for the suggestion.

    I'm not sure I follow you here, the LastPlayback function would only be used for synchronizing to your external source, for feeding the price then the Last is used.

    Comment


      #3
      Hi Bertrand,

      I mean:

      Last is used to feed the last price from my program to NT7.

      LastPlayback is for feeding every historical prices (past prices) from my program to NT7.

      If this is correct, timestamp (20080228173000) I'm sending with LastPlayBack is not recorded correctly.

      Comment


        #4
        SirHC, the playback functions are not used to feed historical data into the application - they are provided to set the sync timestamp for the market data.

        Comment


          #5
          I'm not sure to understand how and when to use LastPlayBack.

          Can you give me a concrete exemple, please?

          Comment


            #6
            As support is limited in this area we would unfortunately not have a full working sample available, however you might want to look into this thread and the kindly shared application by a fellow forum user here -

            Comment


              #7
              Thank you for this exemple.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CaptainJack, 05-29-2026, 05:09 AM
              0 responses
              51 views
              0 likes
              Last Post CaptainJack  
              Started by CaptainJack, 05-29-2026, 12:02 AM
              0 responses
              32 views
              0 likes
              Last Post CaptainJack  
              Started by charlesugo_1, 05-26-2026, 05:03 PM
              0 responses
              99 views
              0 likes
              Last Post charlesugo_1  
              Started by DannyP96, 05-18-2026, 02:38 PM
              1 response
              177 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              170 views
              0 likes
              Last Post CarlTrading  
              Working...
              X