|
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 noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"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
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"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
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
|
|
|
|
kleelof
-Interested User-
Posts: 23
Joined: May 30, 2010
|
Posted: May 30, 2010 05:41 AM
Msg. 1 of 4
Hello,
How can I determine if the IQFeed server has connected and disconnected?
take care, lee
|
kleelof
-Interested User-
Posts: 23
Joined: May 30, 2010
|
Posted: May 30, 2010 05:48 AM
Msg. 2 of 4
Nevermind....programmer error.
|
kleelof
-Interested User-
Posts: 23
Joined: May 30, 2010
|
Posted: May 30, 2010 06:02 AM
Msg. 3 of 4
Hello,
Ok. I found the technique, but it is extremely unreliable. Here is what I am using:
Private Sub IQFeed_SystemMessage(ByVal eventSender As System.Object, ByVal e As AxIQFEEDYLib._DIQFeedYEvents_SystemMessageEvent) Handles IQFeed.SystemMessage Debug.WriteLine("SystemMessage" + e.strSystemData) Select Case True Case InStr(e.strSystemData, "S,SERVER CONNECTED") ServerPanel1.state = ServerPanel.ServerPanelStates.connectedToIQFeed
End Select End Sub
Out of more than 10 launches, it worked twice.
take care, lee
|
DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005
|
Posted: Jun 7, 2010 09:42 AM
Msg. 4 of 4
You should certainly be able to use the S,SERVER CONNECTED system message (and the paired S,SERVER DISCONNECTED system message) to determine if the feed is connected or not.
When you say that it only worked 2 out of 10 launches. Are you saying that in the other 8 launches, that this message was never delivered to your app?
|
|
|
|