I have a trading strategies and want to make it trade automatically, I have successfully made it work in excel VBA but want to develop it in JAVA.
Basically you need to connect your java program with the trading software which I am currently using, using TCP connection calling it's API then you'll get the tick by tick data.
My strategies are based on OHLC chart, so you'll need to store and transform the tick by tick data to 1-minute OHLC data, calculate the signals, send orders and keep track of the net position. It would be a bonus if you are able to show all the signals in a candlestick chart.
All in all,
1) tick-by-tick data is provided to you
2) you have to find the OHLC for each minute, store them in a database and plot them on a chart
3) find trading signals using the OHLC data (very easy algorithm)
4) place order based on the signals
5.) keep tracking the profit and loss of the strategy
6.) keep the trading log record
Please let me know if you are able to do this. Thank you!
This is the software I am using for trading.
[url removed, login to view]
Host: [url removed, login to view]
please go to Tools -> Trader API -> start API
I'll also attach the specification and sample to you. Please let me know if you are able to do this job, thank you!