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. Please let me know if you are able to do this. Thank you!