Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time[0] = Exchange first tick time-stamp?

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

    Time[0] = Exchange first tick time-stamp?

    Hi,

    Sorry, simple query. I did look around in the docs, but could not find the answer. Can I confirm that Time[0] of a bar in OnBarUpdate will always be equal to the exchange timestamp of the first tick of that bar, as if I checked the single tick time from OnMarketData? (single data series).

    Thanks.

    #2
    Hello pjsmith,

    Thanks for the reply.

    This depends on the bar type that is being used. Minute bars will only have a timestamp granularity down to the minute period. With tick bars, the Time[0] will include the timestamp of that first tick down to the millisecond.

    Please let me know if I can assist further.

    Comment


      #3
      Thank you. That perfectly answers my question and the tick bit is where I wanted clarification. Thanks.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      156 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      90 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      140 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      130 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      107 views
      0 likes
      Last Post CarlTrading  
      Working...
      X