Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »No milliseconds included in DateTime on Tick Data Requests
Author Topic: No milliseconds included in DateTime on Tick Data Requests (18 messages, Page 1 of 1)

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Mar 31, 2014 03:17 AM          Msg. 1 of 18
I use protocol 5.1 (also tried 5.0) when I subscribe to the Lookup socket. When I request tick data (fx data, such as EURUSD.COMP the tick data that is returned includes the Date and Time BUT not any milliseconds. Milliseconds is always "000". Why is that the case and how can this be solved?

Thanks
Matt

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 31, 2014 03:42 AM          Msg. 2 of 18
I don't believe Forex publishes the millisecond activity, but I will confirm with our market data team when they come in.

Tim

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Mar 31, 2014 03:46 AM          Msg. 3 of 18
Well, I would be very surprised if they do not because several ticks per second are received for each symbol. That should definitely be on the to-do list for the next release (if it is not) because it makes using tick based data pretty impossible for low-latency sensitive use.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 31, 2014 03:56 AM          Msg. 4 of 18
I am sure it is something they would like to add, but I have no ETA on seeing it. I will see if there is anything on the horizon I haven't heard of and let you know.

Tim

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Mar 31, 2014 04:18 AM          Msg. 5 of 18
I see the same lacking on Level1 quote subscriptions for fx. Can you confirm that milliseconds are also not reported on Level1 quotes? I do not understand why your servers would not time stamp everything that comes in, regardless of asset class? (unless of course it is already exchange time stamped)

By the way could you please let me know the field descriptor to specify in "Select Update Fields" in order to have a full time stamp (with date) returned. I do not see dates returned right now for Level1 quote subscriptions. I currently use "Bid TimeMS", "Ask TimeMS", and Last TimeMS", so how can I get the full date & time returned? Thanks


Edited by bbmat on Mar 31, 2014 at 04:19 AM
Edited by bbmat on Mar 31, 2014 at 04:21 AM

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 31, 2014 04:21 AM          Msg. 6 of 18
That is correct, we do not have millisecond on level one as well. We do not timestamp any of the data, the milliseconds displayed with other exchanges is exchange sent, not DTN created. I believe this is a feed limitation, but as I mentioned I do have an email out to confirm this and I will report back once I know for sure.

Tim

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Mar 31, 2014 04:23 AM          Msg. 7 of 18
got it, regarding my last line in the previous post,

"By the way could you please let me know the field descriptor to specify in "Select Update Fields" in order to have a full time stamp (with date) returned. I do not see dates returned right now for Level1 quote subscriptions. I currently use "Bid TimeMS", "Ask TimeMS", and Last TimeMS", so how can I get the full date & time returned?"

Could you please point me to the right field?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 31, 2014 04:37 AM          Msg. 8 of 18
I do not believe there are date fields available for bid and ask since we do not have historical bids and asks, but I will confirm that as well.

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Mar 31, 2014 04:39 AM          Msg. 9 of 18
so how would you deal with the fact that the stream continues throughout a date switch? Anyone who does not deal with EST as local time needs to convert to UTC or local time which makes it very error prone if no date can be retrieved.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 31, 2014 04:54 AM          Msg. 10 of 18
I am not sure I understand the question, wouldn't the reset of the time to 00:00:00 be the identifier you would need to know the date switched?

Tim

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Mar 31, 2014 05:00 AM          Msg. 11 of 18
no I would not because the EST time 00:00:00 would show on my machine as 12:00:00 noon (12 hours ahead) and no date switch would be made. My problem is that I want to convert all time stamps to UTC datetime and right now the date portion is missing on streaming data.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 31, 2014 05:04 AM          Msg. 12 of 18
I don't think I have a way to help that one unfortunately, about the best you could do is watch the timestamp messages that we send each second to level one and populate a date field that way and prepend that date to the timestamp.

Tim

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Mar 31, 2014 05:17 AM          Msg. 13 of 18
got it, thanks.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 31, 2014 08:17 AM          Msg. 14 of 18
I confirmed that Forex does not place a millisecond timestamp on their quotes, so there is nowhere to get an accurate millisecond timestamp from.

Tim

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Mar 31, 2014 08:30 AM          Msg. 15 of 18
Thanks for checking.

Not wanting to open another topic, could you please let me know what the cutoff time is for fx data when requesting historical DAILY data? What is the time at which the Daily Close of a compressed data point is taken? Is it midnight EST?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 31, 2014 08:38 AM          Msg. 16 of 18
We close them at 5:00 pm EST.

Tim

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Mar 31, 2014 08:39 AM          Msg. 17 of 18
Thanks

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 31, 2014 08:41 AM          Msg. 18 of 18
No problem. Let me know if anything else comes up.
 

 

Time: Sat April 27, 2024 5:40 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003