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 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
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"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
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"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
"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 »NEW IQFEED FORUMS »IQFeed API Questions »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: 396
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 May 20, 2024 2:02 PM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003