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 cmoran13, 04-16-2026, 01:02 PM
              0 responses
              42 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              25 views
              0 likes
              Last Post PaulMohn  
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              162 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              98 views
              1 like
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              157 views
              2 likes
              Last Post CaptainJack  
              Working...
              X