I want to implement a trading strategy in a custom developed C++ or C# app. I'm comfortable with the regression analysis and working with containers, logic loops, iterations, etc. However, the difficult part of the code writing is interfacing with the data feed and handling it into a container in the first place. I haven't subscribed to the esignal or iqfeed developer APIs, but I've read as much as I can about it, and I simply don't have the requisite programming skills (yet). I was hoping there would be some solid sample code available that I could modify to my liking, but this does not seem to be the case. Is there some open source available for me to look at. I can read code and I'm not afraid of using F1 all day long for the next several weeks. Any thoughts? Thank you, James
tradelink is open source and supports both the esignal and dtn iqfeed apis out of the box... just request ticks for a list of symbols, they will show up in any .net applicaton (c#, c++, vb, f# etc) : http://tradelink.googlecode.com
I've looked into the tradelink source code -- for retail traders, it is a resource beyond just the package itself. You don't have to use tradelink to get the value from it. Their code is so high-level, it's a trivial matter to pinpoint how the feed interfaces work. You can just "cut" the code out and use it elsewhere. If I remember correctly, the ESignal API in TradeLink simply imports the ESignal Windows COM interface and then provides a C# front end. Just reproduce this technique in C++, either using C++/CLI ('add reference') and using COM interop services under .NET, or use #import to have the interface description information be imported and used in an unmanaged C++ application. In fact, I will go so far as to say you should not be building retail trading systems without at least casually scanning over how TradeLink does things. You can save yourself time attacking the feed integration problems by looking at the TradeLink architecture. Disclaimer: I am unaffiliated with TradeLink, and have not contributed to their source tree.
the tradelink forum/groups have been in existence as long as tradelink itself (2.5+years). we have over 100 members and 1,500+ email archives on the main users list : http://groups.google.com/group/tradelink-users you can also find this link on the main page of the site : http://tradelink.googlecode.com
there is should be some samples in documentation, that comes with API subscription. IQ feed has great customer support. using sockets is pretty easy and staight forward way. there is also IQ feed forum and probably some yahoo groups ehorn 100% correct on support
As Bob111 says, using the sockets 'API' with IQFeed is easy. All you need to do is parse records with comma delimited fields. The documentation is sufficient to get the job done.
Don't even have to do that in .NET; you can just import the COM interface and add your delegate to their event properties for the callback. Truly lazy-mode -- it's great.