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)




"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"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 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
"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
"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
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"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.
"IQ feed is brilliant. The support is mind-bending. What service!" - 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 Wish List »Binary Protocol
Author Topic: Binary Protocol (13 messages, Page 1 of 1)

gamozo
-Interested User-
Posts: 4
Joined: Apr 2, 2013


Posted: Apr 2, 2013 08:07 PM          Msg. 1 of 13
I really do not like working with text-based protocols, as they're clumsy, expensive to parse, and take longer to write parsers for.

I'm wondering if there could be a mode added where data will be sent in binary fixed-width structures rather than CSVs. It pains my love for optimization to know that you guys take in binary data, convert it to CSV, and I convert it right back the second I read it.

I know it's probably something that most people do not ask for, but I can't imagine it would take too long for you guys to implement it.

-Brandon
Edited by gamozo on Apr 2, 2013 at 08:20 PM

andrewm
-Interested User-
Posts: 52
Joined: Feb 23, 2015


Posted: Aug 9, 2019 12:44 AM          Msg. 2 of 13
Yes a binary protocol would be better. I suspect that the Windows IQ Feed client probably gets fed binary data but then serves it as ASCII.

andrewm
-Interested User-
Posts: 52
Joined: Feb 23, 2015


Posted: Aug 9, 2019 10:12 AM          Msg. 3 of 13
Actually a protobuf+gRPC API would be best. Then I don't have to build + maintain decoders for IQ's data protocols.

DTN_Stephen
-DTN Guru-
Posts: 453
Joined: Aug 22, 2014


Posted: Aug 9, 2019 10:17 AM          Msg. 4 of 13
Please contact us at support@iqfeed.net with your Login details so that we can enter a Customer Request. Thank you.

Stephen Shockey
Senior Customer Support Representative and Product Support Specialist

DTN
800-779-7299
stephen.shockey@dtn.com

aQuant
-Interested User-
Posts: 49
Joined: Jul 20, 2012


Posted: Sep 22, 2019 05:07 PM          Msg. 5 of 13
I agree, IQFeed developers should be able to handle binary protocol just as easily and it should be much more efficient to transfer to clients too. Especially with the hopefully coming soon (?) Market By Order depth protocol this would seem quite desirable to limit the number of bytes sent over the network.

DTN_Stephen
-DTN Guru-
Posts: 453
Joined: Aug 22, 2014


Posted: Sep 23, 2019 06:31 AM          Msg. 6 of 13
Thank you for your input.

If you haven't already please email support@iqfeed.net with your 6 digit IQ Login ID and that you would like to see Binary Protocol added to the IQ Feed and I will add you to the customer request.

I can verify that the additional Market Depth or MBO is on it's way. Unfortunately I cannot give you an ETA.

Stephen Shockey
Senior Customer Support Representative and Product Support Specialist

DTN
800-779-7299
stephen.shockey@dtn.com

aQuant
-Interested User-
Posts: 49
Joined: Jul 20, 2012


Posted: Sep 23, 2019 08:35 PM          Msg. 7 of 13
Hi Stephen,

I emailed my request to support as instructed. Thanks.

DTN_Stephen
-DTN Guru-
Posts: 453
Joined: Aug 22, 2014


Posted: Sep 25, 2019 06:35 AM          Msg. 8 of 13
Thank you. I have received your request. I will add this to our Customer enhancement for this feature. Please keep in mind our Product Managers review these requests on a monthly basis. If they decide to add this feature I will email all customers that have requested it.

Unfortunately this will be something that requires some development and will not likely not have an ETA initially if we go forward.

Stephen Shockey
Senior Customer Support Representative and Product Support Specialist

DTN
800-779-7299
stephen.shockey@dtn.com

mathpaquette
-Interested User-
Posts: 22
Joined: May 18, 2018


Posted: Jan 30, 2020 07:16 PM          Msg. 9 of 13
Hello guys,

I'm curious, which programming languages are you using ?

Thanks,
Mathieu

one541
-Interested User-
Posts: 6
Joined: May 6, 2020


Posted: May 7, 2020 09:51 AM          Msg. 10 of 13
I don't think the complexity of a binary protocol is worth it, or adding on an external dependency such as protobuf (and the beast of gRPC) because it is the latest fad.
IQFeed is a simple straight forward protocol is more than ample, and I can literally guarantee that protobuf+grpc overhead will not give any benefit.

jmv
-Interested User-
Posts: 19
Joined: May 31, 2011


Posted: Jun 11, 2020 05:46 AM          Msg. 11 of 13
I concur with one541,

Having been developing with Interactive Broker's API for a few years (if you want some real developer action, go give it a try, you will see what I mean), nowadays I tend to appreciate the raw simplicity of iqFeed.

Granted, from a bandwidth standpoint, an ascii-based protocol might not be the most optimal solution, but in these days and ages of 100+ Mbps domestic FTTH internet connections, this should be of no concern.

As for having to parse the incoming strings... well, even if iqFeed was to arrive in binary format, at the end of the day we would have to "parse" it too, i.e., re-adapt it to our own application classes/structures/etc ... be it ascii or binary, some degree of parsing is unavoidable.

Just my two cents, YMMV !!

regards,

dd
-Interested User-
Posts: 3
Joined: Jun 16, 2020


Posted: Jun 16, 2020 07:42 PM          Msg. 12 of 13
How many characters of ascii are actually used in the data?

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


Posted: Jun 17, 2020 10:37 AM          Msg. 13 of 13
Can you be more specific? The number of ASCII characters in an API response can vary a great deal, depending on the request.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Thu April 18, 2024 12:46 AM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003