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 »Program Exits
Author Topic: Program Exits (4 messages, Page 1 of 1)

gklangreck
-Interested User-
Posts: 3
Joined: Aug 18, 2004


Posted: Aug 18, 2004 02:10 PM          Msg. 1 of 4
I'm trying to develop a VB .NET program receiving up to the second stock quotes. I've tryed this simple test program to figure out what the problem is and it exits after less than 5 min without a reason. Can anyone help, please. Here is the code for the form.

Private s1 As String = "KLAC"
Private s2 As String = "NVLS"

Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
IQFeed.WatchSymbol(s1)
IQFeed.WatchSymbol(s2)
End Sub


Private Sub IQFeed_ReceiveMessage(ByVal sender As Object, ByVal e As AxIQFEEDXLib._IIQFeedXEvents_ReceiveMessageEvent) Handles IQFeed.ReceiveMessage
If (e.message.Chars(0) = "Q") Then
Dim message As String() = Split(e.message, ",")
If message(1) = s1 Then
lstOutput.Items.Add("S1 " & message(3))
ElseIf message(1) = s2 Then
lstOutput.Items.Add("S2 " & message(3))
End If
End If
End Sub

See very simple program, why does it exit...

jfcantin
-Interested User-
Posts: 20
Joined: May 18, 2004


Posted: Aug 18, 2004 02:44 PM          Msg. 2 of 4
Look at the following thread : http://forums.iqfeed.net/index.cfm?page=topic&topicID=150 posted a few days ago and you will have your answer.

You will probably need to implement the socket interface like most of the .net users.

I might be wrong, but it looks like you are using IQFeedX instead of IQFeedY.

JF

gklangreck
-Interested User-
Posts: 3
Joined: Aug 18, 2004


Posted: Aug 19, 2004 11:41 AM          Msg. 3 of 4
OK I see now that I should be using IQFeedY, but I don't see any examples for VB .NET. I tried the AX control, but it would shutdown my program right after it loged in. I'm currently trying to use the Com direction from reading other problems in this forum, but still having problems with tham. Does anyone have a simple watch symbol program in VB .NET that they could send me.

Thanks...

DTN_Natalie_H
-DTN Evangelist-
Posts: 175
Joined: May 10, 2004

DTN Market Access, LLC.


Posted: Aug 19, 2004 04:53 PM          Msg. 4 of 4
We have two .NET examples, one is CSharp and the other is VB. The VB one uses IQFeedY, and would be a good one for you to review. It is installed with the developer install package, and you can acccess the code/run it from Start menu->Programs->IQFeed->.NET Examples->Level1 VB.NET COM.

Natalie Hannan DTN Market Access, LLC.
 

 

Time: Fri April 26, 2024 5:53 PM CFBB v1.2.0 18 ms.
© AderSoftware 2002-2003