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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      83 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      41 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      23 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      31 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      31 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X