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 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
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - 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
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"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
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: Sat May 18, 2024 11:25 PM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003