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 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
"You have an excellent product !!!!!!" - Comment from Arely
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
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 »New to API, Basically C# question
Author Topic: New to API, Basically C# question (4 messages, Page 1 of 1)

Vector12
-Interested User-
Posts: 2
Joined: Apr 2, 2022


Posted: Apr 2, 2022 03:34 PM          Msg. 1 of 4
Hi,

I am new to IQFeed and subscribed to the API. I have a basic question regarding the C# API. What is the latest .NET Framework / .NET Core / .NET version that is supported ? I could find this information on the API doc website

http://www.iqfeed.net/dev/api/docs/index.cfm

When I looked at the downloadable Sample codes, the framework version is "v2.0" which is quite old.

Thanks

Vector12
-Interested User-
Posts: 2
Joined: Apr 2, 2022


Posted: Apr 2, 2022 03:37 PM          Msg. 2 of 4
Also, second question: my IQFeed apps (e.g. IQFeed SnapQuote) are running fine and are able to show me data.


Question 2. If I want to use C# to download history data, can I be simply logged-in to IQFeed via one of the IQFeed apps (IQFeed SnapQuote), or do I need to Initialize the feed separately as per the information given here : http://www.iqfeed.net/dev/api/docs/InitializingTheFeed.cfm

DTN_Gary_Stephen
-DTN Guru-
Posts: 265
Joined: Jul 3, 2019


Posted: Apr 4, 2022 08:58 AM          Msg. 3 of 4
1. You may use whatever version of the .NET framework you need, that is 2.0 or later. .You can also use .NET Core, but we do not currently provide code examples for that. The API feed is TCP socket based, so it is language agnostic.

2. We recommend your app always launches the feed manually every time it runs. This makes sure your app is properly registered with the feed, and ensures that your app "plays nice" with other apps on the system that are using the feed.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

BottomFeeder
-Interested User-
Posts: 5
Joined: Jan 29, 2021


Posted: Apr 4, 2022 12:02 PM          Msg. 4 of 4
For C#, you should definitely take a look at https://github.com/mathpaquette/IQFeed.CSharpApiClient
It deals with the TCP sockets and works great.

-BF
 

 

Time: Mon June 27, 2022 3:50 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003