rterp / SumZeroTrading

A Java API for Developing Automated Trading Applications for the Equity, Futures, and Currency Markets
http://rterp.github.io/SumZeroTrading/
Other
145 stars 47 forks source link

How to exit from an operation #53

Open diego1982chile opened 5 years ago

diego1982chile commented 5 years ago

Hi,

I've been looking into the Sums Zero API a way to exit from operation. I know that this would enter:

TradeOrder order = new TradeOrder(orderId, ticker, amount, TradeDirection.SELL); ibClient.placeOrder(order);

thing is how could i explicitly exit that entered order?

Thank's