Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IsFirstTickOfBar not working correctly in Market Replay

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

    IsFirstTickOfBar not working correctly in Market Replay

    I am getting an unexpected behaviour of IsFirstTickOfBar using Market replay connection. IsFirstTickOfBar is always true when historical data is loading but is always false when calculating "real-time" data.

    Is anything I can do about it?

    #2
    Hello guillembm,

    Thank you for your note.

    So that I may best attempt to reproduce, what bar type, interval and instrument are you testing using Market Replay data?

    Can you provide a simplified example script that demonstrates?

    Are you running the script On Price Change or On Each Tick?

    Thanks in advance; I look forward to assisting you further.

    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Sorry,

      It was an issue using State.RealTime. My fault.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by DanielSanMartin, Yesterday, 02:37 PM
      2 responses
      13 views
      0 likes
      Last Post DanielSanMartin  
      Started by DJ888, 04-16-2024, 06:09 PM
      4 responses
      12 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by terofs, Today, 04:18 PM
      0 responses
      11 views
      0 likes
      Last Post terofs
      by terofs
       
      Started by nandhumca, Today, 03:41 PM
      0 responses
      8 views
      0 likes
      Last Post nandhumca  
      Started by The_Sec, Today, 03:37 PM
      0 responses
      6 views
      0 likes
      Last Post The_Sec
      by The_Sec
       
      Working...
      X