return cexIOOrderList;
}
public CexIOOrder placeCexIOLimitOrder(LimitOrder limitOrder) throws IOException {
CexIOOrder order =
cexIOAuthenticated.placeOrder(limitOrder.getCurrencyPair().baseSymbol, limitOrder.getCurrencyPair().counterSymbol, exchangeSpecification.getApiKey(), signatureCreator, CexIOUtils.nextNonce(),
(limitOrder.getType() == BID ? CexIOOrder.Type.buy : CexIOOrder.Type.sell), limitOrder.getLimitPrice(), limitOrder.getTradableAmount());
if (order.getErrorMessage() != null) {
throw new ExchangeException(order.getErrorMessage());
}
return order;
}