Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intrabar Timestamp for Market Replay

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

    Intrabar Timestamp for Market Replay

    Is there a time function available in Ninja that will return the current "data server" intrabar time based on historical external datafeed or market replay data? Time[0] returns the end of bar time and the DateTime.Now function returns the current local system time however, how would I go about obtaining a timestamp to the nearest second on an intrabar event that is relevant to the historical replay data. Ideally, this timestamp should return an accurate intrabar time even under accelerated market replay.

    Thanks,

    Whitmark
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    No in OnBarUpdate() since we are only dealing with bar data and not true market data. NT 6.5 will have an OnMarketData() method that provides a more granular resolution on time stamps for all market data events.
    RayNinjaTrader Customer Service

    Comment


      #3
      Excellent! Thanks Ray.
      whitmark
      NinjaTrader Ecosystem Vendor - Whitmark Development

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      163 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      313 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      350 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X