Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug in NT DLL or chart?

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

    Bug in NT DLL or chart?

    Hi guys,

    I'm using the DLL to feed data values to NT through the External Datafeed connection. However, when I call the LastPlayback function, I notice that the timestamp does not appear to be parsed correctly within NT when looking at the timestamps assigned to bars generated within a chart.

    Specifically, the timestamp appears to be parsed as if an extra zero digit has been added on to the front of the timestamp string.

    E.g. I am using minute bars, then 001123 is interpreted as occurring at 1 minute past midnight instead of eleven minutes past which is what it should be. Similarly, 201500 will be interpreted as 2:01 instead of 20:15. On the other hand, if I pass the string 01123 then this is parsed to 00:11 within the chart even though it is no longer in the prescribed HHMMSS format.

    Would you mind taking a look at this.

    many thanks

    #2
    Correct timestamp format is yyyyMMddHHmmss

    Comment


      #3
      Thanks Dierk. That solved the problem.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      67 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      36 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      59 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X