PDA

View Full Version : Tick data date time


ct
04-20-2007, 12:31 PM
Can you retrive the date/time timestamp of a tick or last tick entry in NinjaScript?

I wanted to be sure my cpu clock was close to the last tick time received before I enter a trade just to be sure there is no lag.

I wasn't sure if the "bars." data would give me what i needed if on a tick chart.

Cliff

NinjaTrader_Dierk
04-20-2007, 05:38 PM
- only ZenFire and eSignal feed go with timestamps submitted by the provider/broker. Ticks on any other feed/broker are timestamped with your local PC clock anyway -> no way to compare
- on a tick or volume series running with CalculateOnBarClose=True: Close[0].Time would be the time when the last tick was received (this is not true for any other series)