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 been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"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
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"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
"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
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
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 »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: Fri April 26, 2024 12:04 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003