Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Chris L.NinjaTrader Customer Service

    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 benmarkal, Yesterday, 12:52 PM
      3 responses
      22 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by helpwanted, Today, 03:06 AM
      1 response
      17 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      11 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      6 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      244 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Working...
      X