Removed unused imports, added comments

This commit is contained in:
7u83 2018-12-27 12:56:39 +01:00
parent 55a583c147
commit d4e85d1410

View File

@ -33,12 +33,21 @@ import opensesim.world.scheduler.EventListener;
* @author tube * @author tube
*/ */
public interface TradingAPI { public interface TradingAPI {
public void addOrderBookListener(EventListener listener); public void addOrderBookListener(EventListener listener);
public Order createOrder(Account account, Order.Type type, double volume, double limit); public Order createOrder(Account account, Order.Type type, double volume, double limit);
public Set getBidBook(); public Set getBidBook();
public Set getAskBook(); public Set getAskBook();
public Set getOrderBook(Order.Type type);
/**
* Get the AssetPair this trading API is associated with
* @return the AssetPair object
*/
public AssetPair getAssetPair();
} }