Removed unused imports, added comments

This commit is contained in:
7u83 2018-12-27 12:56:39 +01:00
parent 55a583c147
commit d4e85d1410
1 changed files with 12 additions and 3 deletions

View File

@ -33,12 +33,21 @@ import opensesim.world.scheduler.EventListener;
* @author tube
*/
public interface TradingAPI {
public void addOrderBookListener(EventListener listener);
public Order createOrder(Account account, Order.Type type, double volume, double limit);
public Set getBidBook();
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();
}