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 cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"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 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
"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
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 9:56 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003