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)




"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"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
"You have an excellent product !!!!!!" - Comment from Arely
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"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.
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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.
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
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) »IQFeed Developer Support »HTT Trade Aggressor
Author Topic: HTT Trade Aggressor (6 messages, Page 1 of 1)

trader_8317
-Interested User-
Posts: 3
Joined: Sep 29, 2019


Posted: Sep 29, 2019 03:18 PM          Msg. 1 of 6
Hi,

I'm trying to execute a HTT request, as per the example on: http://www.iqfeed.net/dev/api/docs/HistoricalviaTCPIP.cfm. I find that when I execute: "HTT,GOOGL,20190409 000000,20190409 235959,10,155959,160004,1,TESTREQUEST"
I get:
TESTREQUEST,2019-04-09 16:00:00.391602,1203.6000,100,948999,1203.2900,1203.3900,10031,E,5,17,48,9,
TESTREQUEST,2019-04-09 16:00:00.391610,1203.7100,200,949199,1203.2900,1203.3900,10032,E,5,17,48,9,
TESTREQUEST,2019-04-09 16:00:00.391615,1203.7700,50,949249,1203.2900,1203.3900,10033,O,5,8717,48,9,
TESTREQUEST,2019-04-09 16:00:00.479088,1202.6900,118,949367,1203.2900,1203.3900,5885,E,19,17,48,9,
TESTREQUEST,2019-04-09 16:00:00.701530,1203.2900,1,949368,1203.2900,1203.3900,10034,O,5,8717,48,9,
TESTREQUEST,2019-04-09 16:00:01.215912,1202.6900,41,949409,1203.2900,1203.3900,5886,O,19,8717,48,9,
TESTREQUEST,2019-04-09 16:00:01.215982,1202.6900,6,949415,1203.2900,1203.3900,5887,O,19,8717,48,9,
TESTREQUEST,2019-04-09 16:00:01.227863,1202.6900,14,949429,1203.2900,1203.3900,5888,O,19,8717,48,9,
TESTREQUEST,2019-04-09 16:00:01.259771,1202.6900,39,949468,1203.2900,1203.3900,5889,O,19,8717,48,9,
TESTREQUEST,2019-04-09 16:00:02.630410,1203.2900,100,949568,1203.2900,1203.7100,10035,E,5,17,48,9,

This almost lines up with the example response given at the bottom of the link I gave, apart from the penultimate column (which I understand should be trade aggressor, with values 0-3) is 48. I've (at least tried to) set the protocol to 6.1. Could anyone shine any light on why my trade aggressor field appears to have an invalid value?

Thanks for your help in advance.

DTN_Gary_Stephen
-DTN Guru-
Posts: 396
Joined: Jul 3, 2019


Posted: Oct 1, 2019 04:52 PM          Msg. 2 of 6
You are correct. In protocol 6.1 the Trade Aggressor field should only be 0, 1, 2, or 3. We are looking into this now.

As an aside, there will never be any trade aggressor data in the API as far back as April. The exchanges only started providing this data about May 25 of this year. The field should say 0 in this case.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

trader_8317
-Interested User-
Posts: 3
Joined: Sep 29, 2019


Posted: Oct 2, 2019 03:35 AM          Msg. 3 of 6
Hi Gary,

Thanks for getting back to me. Please comment on this thread when the issue is resolved.

Also, thanks for the extra detail around data availability - that's useful to know.

DTN_Gary_Stephen
-DTN Guru-
Posts: 396
Joined: Jul 3, 2019


Posted: Oct 2, 2019 09:09 AM          Msg. 4 of 6
So far, we haven't been able to reproduce it. I ran the same HTT command last yesterday, and got 0 in the TradeAggressor field where it should be. We are still working on it, though.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

trader_8317
-Interested User-
Posts: 3
Joined: Sep 29, 2019


Posted: Oct 3, 2019 03:46 AM          Msg. 5 of 6
Hi Gary,

I've just re-run it, and I can confirm that it's now working correctly (with 0 in the TradeAggressor field). Weird that it gave that result before.

Cheers!

DTN_Gary_Stephen
-DTN Guru-
Posts: 396
Joined: Jul 3, 2019


Posted: Oct 3, 2019 02:17 PM          Msg. 6 of 6
My only guess is that maybe you were using a different protocol, but there's no past protocol that would produce the comma-separated list you provided for an HTT command. So I really don't know what happened. Definitely let me know if it happens again.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Mon May 6, 2024 2:24 PM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003