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)




"Everything is working great with the API. I love it." - Comment from Calvin
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"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
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler 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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
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 »IQFeed Developer »IQFeed Developer Support »Trade Aggressor always 0
Author Topic: Trade Aggressor always 0 (5 messages, Page 1 of 1)

karthikkrishnan
-Interested User-
Posts: 22
Joined: Nov 4, 2015


Posted: May 16, 2020 01:30 PM          Msg. 1 of 5
Looking into tick data feed for INTC, I see the Trade Aggressor is always 0. Is this expected ?

DTN Todd
-Interested User-
Posts: 72
Joined: Mar 24, 2010


Posted: May 18, 2020 01:31 AM          Msg. 2 of 5
Hello Karthikkrishnan

I will have our Developer support team look into your question they should have an answer for you within 24 hours

Thanks
Todd

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


Posted: May 18, 2020 08:21 AM          Msg. 3 of 5
Karthik,

Hello, this is Gary Stephen with DTN IQFeed API Support.

The INTC data looks normal to me. Not every trade has an aggressor, but most do. Can you give me an example of a request you did where there were a large number of zeroes in that field?

By the way, make sure you are sending S,SET PROTOCOL 6.1 if you want to see the trade aggressor. All earlier protocols, including the default 4.9, don't even have the Trade Aggressor field.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

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


Posted: May 18, 2020 09:09 AM          Msg. 4 of 5
Actually, let me clarify the above answer.

The API will currently show 0 as the trade aggressor for all trades on equity symbols, because the equity exchanges currently do not return Trade Aggressor data. The IQFeed apps do have a "bid/ask at trade" data point, which is based on whether the bid or ask matches the price of the trade.

For exchanges that do provide trade aggressor data, this will be a 1 for the buyer, 2 for the seller, and 3 for neither.


Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Edited by DTN_Gary_Stephen on May 18, 2020 at 09:40 AM

karthikkrishnan
-Interested User-
Posts: 22
Joined: Nov 4, 2015


Posted: May 19, 2020 06:02 PM          Msg. 5 of 5
>>>equity exchanges currently do not return Trade Aggressor data

This explains it. Thanks!
 

 

Time: Sun August 14, 2022 8:15 AM CFBB v1.2.0 32 ms.
© AderSoftware 2002-2003