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: 403
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: Thu July 3, 2025 12:31 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003