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 just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"Excellent datafeed !!!" - Comment from Arely
"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
"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
"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
"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
"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
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
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 »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: 127
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: Thu May 16, 2024 4:18 AM CFBB v1.2.0 20 ms.
© AderSoftware 2002-2003