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 would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"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.
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"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 have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"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
"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
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 »Running DTN.IQ and IQFeed App Simultaneously
Author Topic: Running DTN.IQ and IQFeed App Simultaneously (2 messages, Page 1 of 1)

jdstocks03
-Interested User-
Posts: 6
Joined: Aug 17, 2004


Posted: Nov 13, 2004 03:29 PM          Msg. 1 of 2
Okay, never mind, I do need help with this. As per a recent thread, the developer was advised to simply connect to the socket instead of registering his app in order to allow IQFeed and DTN.IQ to run simultaneously. I tried this and can't make it happen. Even using the VB History Socket sample I get an error. "Run-time error 40006: Wrong protocl or connection state for the requested transaction or request".

To use an existing connection (i.e., with DTN.IQ already running), both my app and the VB History sample use the following in lieu of registering the app: sckData.Connect "127.0.0.1", 9100. This produces the above error when the SendData command is used.

Any suggestions as to why this isn't working? Also, I tried port 5009 to no avail. I can connect to that port, but I can't send data to it. I do receive the time checks from the server every minute, but can't use port 5009 otherwise.
Edited by jdstocks03 on Nov 13, 2004 at 03:32 PM

LonnieS
-King of IQ Development-
Posts: 114
Joined: Jun 2, 2004


Posted: Jan 21, 2005 07:50 AM          Msg. 2 of 2
The version of DTNIQ you are using uses a partial IQFeed implementation - socket 9100 is not part of it's IQFeed. The next release of DTNIQ will use the full IQFeed implementation and will behave with other applications. If IQFeed was installed after DTNIQ the IQFeed History COM layer will function on runs of DTNIQ but not the history socket.
When you connect to port 5009 you still need to login with the S,KEY,0. After you get the response S,KEYOK operation should procede as normal.

Lonnie Shumate
Development Manager, IQ Systems
DTN Market ACCESS
 

 

Time: Sun February 28, 2021 6:43 PM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003