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 started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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 like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Everything is working great with the API. I love it." - Comment from Calvin
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
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 »ensuring iqconnect is up
Author Topic: ensuring iqconnect is up (3 messages, Page 1 of 1)

steve1986
-DTN Evangelist-
Posts: 119
Joined: Apr 13, 2009


Posted: Apr 1, 2012 10:54 PM          Msg. 1 of 3
I'm making the switch over from linking iq32.dll to using the ShellExecute method.

However, I'm finding some timing issues as to knowing whether or not IQConnect has been properly started. From reading the documentation, it appears I need to query the Admin port and wait for the specific message stating that the connection is up.

One question I have is do I need to maintain a persistent Admin connection in a thread? My app currently does historical data calls to the historical port, so it doesn't maintain a connection to the real-time port which I know would keep IQConnect up. If I close the connection to the Admin port, will IQConnect exit after a certain amount of time?

thanks,

Steve

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Apr 2, 2012 08:24 AM          Msg. 2 of 3
It is recommended that you maintain a connection to the admin port to monitor feed status and/or clientstats.

IQConnect will exit 5s after the last client disconnects. Maintaining the admin port connnection will guarantee that the feed doesn't exit.

steve1986
-DTN Evangelist-
Posts: 119
Joined: Apr 13, 2009


Posted: Apr 2, 2012 07:37 PM          Msg. 3 of 3
Okay thanks Steve.
 

 

Time: Fri April 26, 2024 6:20 PM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003