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)




"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"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 noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"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
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: Fri May 24, 2024 12:21 PM CFBB v1.2.0 17 ms.
© AderSoftware 2002-2003