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've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - 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
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"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
"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
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin 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 »IQFeed Developer »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: Mon May 16, 2022 12:14 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003