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)




"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
"Excellent datafeed !!!" - Comment from Arely
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
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 »NEW IQFEED FORUMS »IQFeed API Questions »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: 52
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 Guru-
Posts: 396
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: Thu May 2, 2024 7:14 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003