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)




"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"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
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"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 am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
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 »C# sample using sockets?
Author Topic: C# sample using sockets? (9 messages, Page 1 of 1)

svftech
-Interested User-
Posts: 5
Joined: Apr 17, 2009


Posted: Apr 17, 2009 10:27 AM          Msg. 1 of 9
Brand new to IQFEED as of today. I would like like to get streaming tick data using sockets. Could someone point me in the right direction as to how to get started? Ideally, it would be great if there was a simple sample app written in C# that did this. Also, is there a document that details this?

Thanks,
Steve

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Apr 17, 2009 10:36 AM          Msg. 2 of 9
Hi Steve and welcome to DTN!

The API for IQFeed is $300 per year and will give you all the documentation and sample apps you need to get started quickly. To sign up for the API, please visit www.iqfeed.net/dev. Fill out the online registration then fax or email the developer agreement in and we will get it turned on for you.

Jay Froscheiser
DTN - Trading Markets

jimc
-Interested User-
Posts: 35
Joined: Jan 22, 2008


Posted: Apr 17, 2009 10:46 AM          Msg. 3 of 9
I don't think there's a C#/sockets example in the SDK, but this old post should get you started: http://forums.dtnma.com/index.cfm?page=topic&topicID=284

Jim

svftech
-Interested User-
Posts: 5
Joined: Apr 17, 2009


Posted: Apr 17, 2009 11:38 AM          Msg. 4 of 9
Jim-

Worked like a charm! Thanks for the info. Looks very straightforward.

Steve

(Jay - I've signed up and ready to go, thx)

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: Apr 19, 2009 06:11 PM          Msg. 5 of 9
For some advanced code that works as an event driver, see https://sourceforge.net/projects/ousq/, or http://www.oneunified.net/blog/Trading/SmartQuant/Articles/index.blog. The code can be downloaded via the svn browser at SourceForge. The code package was built for SmartQuant, but is modularized enough that bits can be used elsewhere.

freemind
-Interested User-
Posts: 7
Joined: Jun 27, 2017


Posted: Jun 2, 2018 02:07 PM          Msg. 6 of 9
Hello @stargrazer,

Please have a look at this project. This library supports IQFeed 5.2. Fully written in C# in a highly efficient way. The code is production ready with unit and integration tests.

Feedbacks are welcome.

https://github.com/mathpaquette/IQFeed.CSharpApiClient

Thank you,
Mathieu

AK786
-Interested User-
Posts: 21
Joined: Jul 17, 2018


Posted: Jul 17, 2018 01:40 PM          Msg. 7 of 9
Mathieu,

First of all Thank you for your open source project.

Your code looks really good and I will probably add more to it. I downloaded your code.

For some reason, the .Net 2.0 Standard dependency is not detected.

On Compile i get the following error. I am using VS 2017 Community Edition. I have .Net 4.6.1 installed

Can you please guide me what is the easies way to get the code to compile. I was able to play with the examples posted by DTN - however yours is high performance IMO.

Error on Build

Severity Code Description Project File Line Suppression State
Error The current .NET SDK does not support targeting .NET Core 2.0. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.0. IQFeed.CSharpApiClient.Tests C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets 112
Error The current .NET SDK does not support targeting .NET Core 2.0. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.0. IQFeed.CSharpApiClient.Tests.Integration C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets 112
Error The current .NET SDK does not support targeting .NET Standard 2.0. Either target .NET Standard 1.6 or lower, or use a version of the .NET SDK that supports .NET Standard 2.0. IQFeed.CSharpApiClient C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets 126


Thanks

AK786



File Attached: Net20Standard Dependency.png (downloaded 1202 times)

AK786
-Interested User-
Posts: 21
Joined: Jul 17, 2018


Posted: Jul 17, 2018 02:06 PM          Msg. 8 of 9

AK786
-Interested User-
Posts: 21
Joined: Jul 17, 2018


Posted: Jul 17, 2018 03:08 PM          Msg. 9 of 9
It got fixed after I updated VS 2017 with the latest NetCore Packages, thank you

AK786
 

 

Time: Fri April 26, 2024 3:10 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003