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)




"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"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
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"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
"You have an excellent product !!!!!!" - Comment from Arely
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"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
"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
"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
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 »Can you force all API connections to PROTOCOL 6.1 by default?
Author Topic: Can you force all API connections to PROTOCOL 6.1 by default? (2 messages, Page 1 of 1)

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


Posted: Aug 28, 2020 06:06 PM          Msg. 1 of 2
Is there some way to globally force all API connections to use 6.1 by default so we don't have to do SET PROTOCOL
on each connection?

DTN_Gary_Stephen
-DTN Evangelist-
Posts: 141
Joined: Jul 3, 2019


Posted: Aug 31, 2020 09:19 AM          Msg. 2 of 2
Andrew,

No, you have to send S,SET PROTOCOL 6.1 each time you connect if you want it. The API does not have any ability to retain a setting. This is a standard behavior of REST APIs: the server does not store any information about a connection.

The API defaults to the oldest supported protocol for backwards compatibility reasons. It is preferable to force the user to specify a newer protocol if they want, so as not to break existing code each time a new protocol is released.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Tue September 29, 2020 10:01 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003