Anyone use JAVA to develop there automated trading systems?

No. Maybe you can show an example of the kind of messages you receive back from the API after submitting an order.

For example for a Buy Limit order I have to make the following API calls:

- https://localhost:5000/v1/portal/iserver/account/${ACCOUNT_ID}/order (normally it will return a reply_id)
- https://localhost:5000/v1/portal/iserver/reply/${replyID} (Each time will return a different reply ID). Can be 1, 2 sometimes 3 times, for example when you place a limit order that is far from the Limit Price.

I will retry with real orders later to see real-world examples, but I think I'll move forward with the Java Api, since it seems more robust, and more people are using it.

Is it possible to retrieve the current bid/asks with a websocket in Java?
 
Back
Top