InvestorsHub Logo
Followers 0
Posts 1
Boards Moderated 0
Alias Born 12/08/2008

Re: None

Monday, 12/08/2008 8:49:14 PM

Monday, December 08, 2008 8:49:14 PM

Post# of 1986
API for Automated Trading?

I took a look at the Trade-Ideas API with a view to using it in an automated system. I was rather disappointed to find that you have to add a Trade-Ideas window to your application and manually configure alerts through that. I was hoping for something less bloated where alerts would be sent through a callback mechanism. For example you would have a function to subscribe to an alert, something like:

CreateAlert(int dAlertID, char*, szAlert, char* szFilterString);

This would be called with an ID, an alert string and a filter string similar to the “Collaborate” address, for example:

CreateAlert(1, “NewHigh, NewLow”, “MinPrice=20, MinTRangeP=5, MinTV=1000000”);

Alerts would then be sent to a callback function the same information shown in the Trade-Ideas window:

AlertCallback(int dAlertID, long ldTimeStamp, char* szSymbol......etc);

This seems fairly easy to implement to me, and would be even easier if you made it so the user had to run Trade-Ideas and the API connected to that. Any plans to implement something like this to better support automated trading?
Join InvestorsHub

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.