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.

    Comment


      #3
      Sorry,

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

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      70 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      42 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      25 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      28 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      54 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X