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)




"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"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 noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"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
"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
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
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: 394
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: Tue April 23, 2024 1:05 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003