signatureCreator = CexIODigest.createInstance(exchangeSpecification.getSecretKey(), exchangeSpecification.getUserName(), exchangeSpecification.getApiKey());
}
public CexIOBalanceInfo getCexIOAccountInfo() throws IOException {
CexIOBalanceInfo info = cexIOAuthenticated.getBalance(exchangeSpecification.getApiKey(), signatureCreator, CexIOUtils.nextNonce());
if (info.getError() != null) {
throw new ExchangeException("Error getting balance. " + info.getError());
}
return info;
}