Hi, I have already did this in Java. The Java application connects to Interactive broker, picks up the trades sent from Amibroker or a csv, validates the order places the Order. Once the order is placed, it manages the positions with defined StopLoss Rules.