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)




"Excellent datafeed !!!" - Comment from Arely
"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
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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 just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
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 »couple of questions
Author Topic: couple of questions (8 messages, Page 1 of 1)

pwave
-Interested User-
Posts: 17
Joined: Feb 20, 2015


Posted: Feb 20, 2015 09:20 AM          Msg. 1 of 8
Hello,

I started with the API yesterday and went through the documentation. Very well documented with examples.

I have a few questions. The first three questions are motivated by desire to make the datafeed work as efficiently as possible while using as minimal resources as possible even though I have a 20Mbps ISP connection and a powerful desktop.

1. How many more messages would one generally receive for a typical equities symbol if one watched it with wSYMBOL as opposed to tSYMBOL assuming a Level1 subscription?

2. For trade messages in wSYMBOL and tSYMBOL when the Message Contents field has 'C' designation: do the bid and ask fields contain the best bid and best ask at the time of the trade?

3. On the average, how many bytes of data are fetch per tick from your servers? The protocol between my app and IQConnect is string based and seems to consume hundreds of bytes. I presume the connection between IQConnect and the servers is more efficient; can you give me an idea of the average number of bytes used per tick?

4. How many client apps can be simultaneously connected to IQConnect? I use a charting platform and besides that I would like to have my own app connect to the datafeed as well for purposes of additional processing and monitoring.

Thanks.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Feb 20, 2015 09:43 AM          Msg. 2 of 8
Hello,

1. Since the trade messages are filtered out at the IQFeed level, and not at the server level, only your internal bandwidth would be adjusted by this change. You would see a reduction in your inter-process communication by about 75%.

2. The bid and ask datafeed is not the same as the trades feed and so they can occasionally be a few milliseconds out of sync due to latency, but we always attach the best known bid and ask in our system to each trade at the time of the trade in our history.

3. I took a sample here and the quote I checked was 88 bytes. Little more or a little less depending upon symbol length and symbol precision.

4. You can only have one client app connected at any one time. Exchange regulations would require a second account to be purchased to view it in this manner.

Tim
Edited by DTN_Tim Walter on Feb 20, 2015 at 09:44 AM

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Feb 20, 2015 09:49 AM          Msg. 3 of 8
Addendum to #4.

If you are asking about having all of those applications on the same PC though, that would be fine there is no physical limits on level one connections.

Tim

pwave
-Interested User-
Posts: 17
Joined: Feb 20, 2015


Posted: Feb 20, 2015 09:55 AM          Msg. 4 of 8
Perfect. Thank you Tim.

Craig
-DTN Guru-
Posts: 326
Joined: Apr 16, 2010


Posted: Feb 20, 2015 12:52 PM          Msg. 5 of 8
Just to clarify on #1.
So using 't' does nothing to limit bandwidth between the users server and IQFeed?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Feb 20, 2015 12:52 PM          Msg. 6 of 8
That is correct.

Tim

pwave
-Interested User-
Posts: 17
Joined: Feb 20, 2015


Posted: Feb 20, 2015 01:22 PM          Msg. 7 of 8
Why not have tSYMBOL be filtered at the server? It makes sense for following reasons:

1. It would make the datafeed much more efficient and robust to packet drops in the Internet. The fewer packets you send, the more robust the feed since you have fewer points of failure.

2. Every packet drop in the Internet leads to TCP misbehavior which adds to the delay.

3. It would reduce your costs by significantly reducing the bandwidth demand on your datacenter outgoing links (and the volume of quotes has been going up over the years with HFT while the volume of trades have remained the same).

4. As a retail trader, changes in quotes do not make sense to me. They are not actionable information to me since I am at a huge latency disadvantage compared to the hedge funds. I only care about actual trades.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Feb 20, 2015 01:33 PM          Msg. 8 of 8
This is something that has certainly been considered and is reviewed occasionally by our product management team to determine if there is enough interest to justify this enhancement. Unfortunately, the number of people that want to filter out the bids and asks is actually quite small compared to those that want it. So while everything you said is true, the demand has just not been there to date. But, we will continue to evaluate this as we move forward.

Tim
 

 

Time: Tue May 7, 2024 7:40 PM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003