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 sjsj2732, Yesterday, 04:31 AM
      0 responses
      36 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      287 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      288 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      134 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      95 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X