return bitstampAuthenticated.buy(exchangeSpecification.getApiKey(), signatureCreator, BitstampUtils.getNonce(), tradableAmount, price);
}
public boolean cancelBitstampOrder(int orderId) throws IOException {
final BitstampBooleanResponse response = bitstampAuthenticated.cancelOrder(exchangeSpecification.getApiKey(), signatureCreator, BitstampUtils.getNonce(), orderId);
if (response.getError() != null) {
throw new ExchangeException("Failed to cancel order " + orderId + " because " + response.getError());
}
return response.getResponse();
}