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
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"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
"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
"Excellent datafeed !!!" - Comment from Arely
"Everything is working great with the API. I love it." - Comment from Calvin
"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
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. 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 »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: Fri April 26, 2024 2:21 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003