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)




"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"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
"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.
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"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
"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
"You have an excellent product !!!!!!" - Comment from Arely
"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
"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 started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
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) »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: 1238
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: Wed May 8, 2024 3:21 AM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003