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)




"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
"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
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"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
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: Sat May 4, 2024 6:40 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003