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)




"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"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
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"Excellent datafeed !!!" - Comment from Arely
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"You have an excellent product !!!!!!" - Comment from Arely
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
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 2, 2024 10:50 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003