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 used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"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
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
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: Thu May 2, 2024 1:17 PM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003