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)




"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"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
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
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: Sun November 17, 2019 8:58 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003