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)

"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"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
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Version has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"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
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"Excellent datafeed !!!" - Comment from Arely
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 »IQFeed Developer »IQFeed Developer Support »HTT: BeginTime and EndTime precision
Author Topic: HTT: BeginTime and EndTime precision (2 messages, Page 1 of 1)

-Interested User-
Posts: 3
Joined: Jun 11, 2020

Posted: Jun 11, 2020 05:46 PM          Msg. 1 of 2
The v6.1 API docs for HTT indicate the format for [BeginDate BeginTime] and [EndDate EndTime] is CCYYMMDD HHmmSS.

Are seconds the highest level of precision available for this request? Data for this request is returned to the microsecond level of precision.

Is it possible to request data to the nearest microsecond?

If not then any suggestions on a good strategy for eliminating the inevitable duplicate data across multiple requests?


-DTN Evangelist-
Posts: 141
Joined: Jul 3, 2019

Posted: Jun 11, 2020 06:37 PM          Msg. 2 of 2

The start/end time in an HTT command must be in the format CCMMYYDD HHmmSS. So you can't search more precisely than a second.

The results of HTT searches will include fractions of a second that start with the end time. In other words:

HTT,AAPL,20200611 100000, 20200611 101000 

Will include times that start with 101000:

HTT,AAPL,100000 20200611,100000 20200611 101000
2020-06-11 10:01:00.992868,349.4945,230,7475759,349.4600,349.5100,20424,C,19,01,0,11,
2020-06-11 10:01:00.978873,349.4850,25,7475529,349.4600,349.5100,10396,O,24,87,0,11,
2020-06-11 10:01:00.903720,349.4998,2,7475504,349.4600,349.5100,10395,O,24,87,0,11,
2020-06-11 10:01:00.227203,349.4600,100,7473519,349.4600,349.5000,20419,C,19,01,0,11,
2020-06-11 10:01:00.221115,349.4800,100,7473419,349.4600,349.5000,8256,C,18,01,0,11,
2020-06-11 10:00:59.918933,349.4850,100,7473319,349.4600,349.5100,10390,C,24,01,0,11,
2020-06-11 10:00:59.756595,349.5100,600,7473219,349.4700,349.5100,207,C,164,01,0,11,
2020-06-11 10:00:00.078536,349.0700,100,7353962,349.0700,349.1000,26296,C,5,01,0,11,
2020-06-11 10:00:00.006590,348.8383,213,7353862,349.0300,349.0700,20027,O,19,3E05,0,11,

In other words, an HTT request ending at 20200611 101200 technically ends at 20200611 102000.999999.

One other item to note: timestamp precision varies by exchange. Depending on the symbols you're requesting, they may not all go to milliseconds, in which case the same general principles apply.

Gary Stephen
DTN IQFeed Implementation Support Specialist


Time: Tue September 29, 2020 9:57 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003