
amethyste
-Interested User-
Posts: 15
Joined: Nov 4, 2009
|
Posted: Jun 25, 2010 07:58 AM

Msg. 1 of 5
HI,
What is the best solution for a .NET (c#) developper with IqFeed : TCP/IP or COM ?
What is the most Stable ? With new revision of IQFeed, TCP/IP protocol change or not ? And with COM ? All TCP/IP functions are présent in COM api ?
thanks
|

DTN_Steve_S
-DTN Guru-
Posts: 2096
Joined: Nov 21, 2005
|
Posted: Jun 25, 2010 08:35 AM

Msg. 2 of 5
We recommend TCP/IP for all developers. The COM interfaces are provided as a wrapper around the TCP/IP communications for those developers who do not want to (or don't know how to) deal with the socket communications. Both should be stable.
"new revision" is a relative term to what version you are currently running. If you are upgrading from 4.7.0.9 to 4.7.1.3, there should be no changes in protocol. If you are upgrading from an earlier version, I would suggest that you read through the release notes and ask specific questions about anything that concerns you.
Most, but not quite all TCP/IP functions are present in the COM API. For example, we do not yet have a COM interface to wrap the communcations on the Admin port.
|

jimc
-Interested User-
Posts: 35
Joined: Jan 22, 2008
|
Posted: Jun 25, 2010 09:21 AM

Msg. 3 of 5
Bite the bullet and write a multi-threaded socket feed consumer. The COM interface has too much overhead, especially going back and forth to the .NET world. When volume spikes, the COM<->.NET solution won't be able to keep up, and you'll find your CPU pegged and your program falling farther and farther behind. It will eventually catch up, but when I was using COM with .NET, it sometimes took 10 minutes until my program was caught up.
Jim
|

amethyste
-Interested User-
Posts: 15
Joined: Nov 4, 2009
|
Posted: Jun 25, 2010 10:00 AM

Msg. 4 of 5
OK, I begin to develop with TCP/IP
Where is the Doc ? It's only for developer member ?
|

DTN_Steve_S
-DTN Guru-
Posts: 2096
Joined: Nov 21, 2005
|
Posted: Jun 25, 2010 10:04 AM

Msg. 5 of 5
Yes, as Jay mentioned in this thread: http://forums.dtn.com/index.cfm?page=topic&topicID=2604Quote: The full API documentation is available by subscription for $300 per year. This includes documentation, sample applications, direct support from our developers and access to pre-release/beta software. To sign up, register at www.iqfeed.net/dev. Then fax/email the signed developer agreement back and you will be given access to the developer area.
|