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 was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"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
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"Version 4.0.0.2 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.
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Product Support »DTN.IQ Client Software Support »Results format for historical tick data request
Author Topic: Results format for historical tick data request (3 messages, Page 1 of 1)

illuminatus7
-Interested User-
Posts: 34
Joined: Jan 27, 2011


Posted: Oct 21, 2017 02:05 PM          Msg. 1 of 3
Hi,
I'm trying to pull historical tick data for US equities (using the HTT request) and I noticed that your documentation shows somewhat different results than what I get. I'm using version 5.6.2.0.

My request: HTT,SPY,20171002 083000,20171002 170000,,,,,1,0,1

What I get:
0,2017-10-02 16:01:23,252.2800,535,46479775,252.2800,252.2900,272419,0,0,E,

Your docs (specifically result format section):
http://www.iqfeed.net/dev/api/docs/HistoricalviaTCPIP.cfm

Differences:
* I only get second precision for the time, not microsecond as indicated in the docs.
* The Trade Market Center field is always empty
* There's no Trade Condition number at the end.

How do I get the data in the format specified in the docs? Help appreciated.

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


Posted: Oct 23, 2017 08:42 AM          Msg. 2 of 3
Good morning,

The feed defaults to protocol 4.9 for compatibility reasons and I think you are still using that default.
If you just set your protocol to 5.2, for each connection, I think things will match up for you.

This page discusses how to do this.
http://www.iqfeed.net/dev/api/docs/IQFeedProtocols.cfm

Tim

illuminatus7
-Interested User-
Posts: 34
Joined: Jan 27, 2011


Posted: Oct 23, 2017 07:23 PM          Msg. 3 of 3
Thanks. Works fine after I set the protocol.
 

 

Time: Tue September 25, 2018 5:57 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003