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)




"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"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 cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
"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
"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 would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
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 »Trouble with .NET
Author Topic: Trouble with .NET (7 messages, Page 1 of 1)

Bobby
-Interested User-
Posts: 2
Joined: Jul 6, 2004


Posted: Jul 6, 2004 12:06 PM          Msg. 1 of 7
I'm using IQFeed 2.3.0.1 and the watchlist .NET examples, Level1 C Sharp COM and Level1 VB.NET COM, don't seem to work. Both will open and behave normally, producing no errors, but items added to the watchlist never generate any data in the watchlist window.

VB.NET code I've written also does not seem to respond to message events. But, the C++ watchlist example does work.

Any ideas on how I can get my .NET apps to respond to IQFeed events?

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

DTN Market Access, LLC.


Posted: Jul 6, 2004 12:42 PM          Msg. 2 of 7
Can you elaborate on the issues with running the .NET example applications?

As far as getting your .NET app to respond to IQFeed events, you can reference the code of the .NET example applications.

Natalie Hannan DTN Market Access, LLC.

Bobby
-Interested User-
Posts: 2
Joined: Jul 6, 2004


Posted: Jul 7, 2004 11:54 AM          Msg. 3 of 7
Let's focus on the vb.net example.

On installation of the latest version of IQFeed, a few .net examples are installed. vbdotnetlevel1com.exe is the example that shows up on my program menu as Level1 VB.NET COM.

When I run this example, the form captioned VbDotNetIQFeedY contains two List Boxes, lstAction and lstData. When the forms open, lstAction is blank, lstData contains this text "Click on RegisterClientApp to start the Feed"

I click on the button captioned "Register Client App"
A dialogue pops up and goes through the registration steps.
lstAction now says:
"Called IQFeedY::RegisterClient App"
lstData still says:
"Click on RegisterClientApp to start the Feed"

I click on the button captioned "Watch a Symbol"
A dialogue pops up and I enter the symbol "DELL" then press Okay.
lstAction now says:
"Called IQFeedY::RegisterClient App
Called IQFeedY::WatchSymbol ~ Dell"
lstData still says:
"Click on RegisterClientApp to start the Feed"

This remains the state of the a form. No data is ever presented in the lstAction window.

The same result occurs no matter what symbols I've tried.

When I open the example in Visual Studio .NET 2003, compile, and run the example, the result is the same. However, in the Solution Explorer window of visual studio it lists the vbDotNetLevel1Socket as unavailable and says the project file cannot be found.

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

DTN Market Access, LLC.


Posted: Jul 7, 2004 02:27 PM          Msg. 4 of 7
I can duplicate the issue that you are having. Basically, you are getting logged in, and IQConnect.exe is dropping out. We are aware of this issue, and it is usually random.

What you should see is this:

After you click on the "Register Client App" button, a dialog pops up and goes through the log in process. (This part is working as expected for you). Then, you should see a blue icon in your systray. This is IQConnect. That icon should not disappear, and you should see the follwoing lines in lstData:

System Message: S,KEY,...
System Message: S,SERVER CONNECTED
System Message: S,IP,…..
System Message: S,CUST,…
System Message: S,KEYOK
IQFeed Started

These lines may not be in the same order, and the ... represents more data.

If you can try the test app a few times, you may be able to get IQConnect to stay in the sys tray, and then you should be able to run the test app just fine.

Please let me know what you find. Thanks!

Natalie Hannan DTN Market Access, LLC.

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

DTN Market Access, LLC.


Posted: Jul 7, 2004 02:44 PM          Msg. 5 of 7
Bobby,

You wrote:
When I open the example in Visual Studio .NET 2003, compile, and run the example, the result is the same. However, in the Solution Explorer window of visual studio it lists the vbDotNetLevel1Socket as unavailable and says the project file cannot be found.


The vbDotNetLevel1Socket is a test app that we do not currently distribute. You should be able to build the Level1 VB.NET COM app and the Level1 C Sharp COM app. But, we will clean the project up, so you shouldn't be receiving that message in the future. Thanks!

Natalie Hannan DTN Market Access, LLC.

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


Posted: Jul 7, 2004 08:51 PM          Msg. 6 of 7
Natalie,

Is there a reason why you don't distribute the socket example? Because in the past it was recommanded to use the TCP interface for increased stability. Is the TCP interface still the best way to go?

thanks,

Jean-Francois
Edited by jfcantin on Jul 9, 2004 at 09:14 AM

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

DTN Market Access, LLC.


Posted: Jul 14, 2004 01:55 PM          Msg. 7 of 7
Jean-Francois,

The socket example is not complete at this time. We are working towards providing both TCP and COM examples for C++, VB, Java, and .NET.

I can't really say which interface is more stable, as we have a fair amount of people on both. I'm not sure how long ago you were directed towards the TCP interface, but we may have made some improvements since then.

Thanks!

Natalie Hannan DTN Market Access, LLC.
 

 

Time: Mon December 16, 2019 8:00 AM CFBB v1.2.0 47 ms.
© AderSoftware 2002-2003