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?