ProTrader API
Hello,
Is it possible to send orders to ProTrader using some kind of API?
I would like to implement my strategy in Java and integrate ProTrader to only execute orders.
Where can I find more information on this subject or it is not possible?
regards
Hello. Yes we have C# APi which you can use in your indicators, strategies and plug-ins. Info about this API you can find here.
So I can recommend you next: write simple plug-in with ability to send order, you can use our guide for start. For placing orders use method Send() from OrdersCollection class. Then create your java strategy and finally the most interesting - find a way to make communication between Java (your strategy) and C# code (your plug-in). According to the Google search it is not standard but possible via special bridges.
Hi Tomasz,
I've integrated ,NET with Java in my day job and the simplest way is to use WCF in your C# project to provide an interface for the Java app to call via http. If writing to a file isn't working out I could point you in the right direction. Feel free to send me a PM.
Paul.