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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X