CoinsetterPriceAlertRequest request = new CoinsetterPriceAlertRequest("EMAIL", "CROSSES", new BigDecimal("123.12"), "BTCUSD");
CoinsetterPriceAlertResponse addResponse = priceAlertService.add(clientSession.getUuid(), request);
log.info("add price alert response: {}", addResponse);
// List
CoinsetterPriceAlertList priceAlerts = priceAlertService.list(clientSession.getUuid());
for (CoinsetterPriceAlert alert : priceAlerts.getPriceAlerts()) {
log.info("{}", alert);
}
// Remove
CoinsetterRemovePriceAlertResponse removeResponse = priceAlertService.remove(clientSession.getUuid(), addResponse.getUuid());