Package com.xeiam.xchange.coinsetter.dto.pricealert.response

Examples of com.xeiam.xchange.coinsetter.dto.pricealert.response.CoinsetterPriceAlertList


    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());
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.coinsetter.dto.pricealert.response.CoinsetterPriceAlertList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.