SmartQuant Discussion
http://www.smartquant.com/forums/

Exchange side timestamp versus OpenQuantLocalClock
http://www.smartquant.com/forums/viewtopic.php?f=44&t=10843
Page 1 of 1

Author:  peek [ Tue Sep 23, 2014 6:53 pm ]
Post subject:  Exchange side timestamp versus OpenQuantLocalClock

Hi

I would like to know how to check the timestamps of the my computers internal clock time versus exchange timestamps sent in market data from the exchange side of IQFeed.

I am doing this so I can identify when market data is stale or the exchange is having any connectivity issues.

IE I just want to scan for when
if ( abs(IQFeedmessage.exchangeSideTimestamp - OpenQuantClock.Timestamp) > criticalTimeLag )

Author:  Dr. Anton Fokin [ Fri Sep 26, 2014 8:16 pm ]
Post subject:  Re: Exchange side timestamp versus OpenQuantLocalClock

Hi,

we've just released OQ2014 version that includes native IQFeed plugin supporting exchange time. You can access exchange time in tick data it using Tick.ExchangeDateTime (Tick.DateTime is local OQ time, so you can see the latency).

Regards,
Anton

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/