Package com.xeiam.xchange.cryptotrade.dto.trade

Examples of com.xeiam.xchange.cryptotrade.dto.trade.CryptoTradeCancelOrderReturn


  }

  @Override
  public boolean cancelOrder(String orderId) throws IOException {

    CryptoTradeCancelOrderReturn cancelOrderReturn = super.cancelCryptoTradeOrder(Long.valueOf(orderId));

    return cancelOrderReturn.getStatus().equalsIgnoreCase("success");
  }
View Full Code Here


    return handleResponse(cryptoTradePlaceOrderReturn);
  }

  public CryptoTradeCancelOrderReturn cancelCryptoTradeOrder(long orderId) throws CryptoTradeException, IOException {

    CryptoTradeCancelOrderReturn cryptoTradeCancelOrderReturn = cryptoTradeProxy.cancelOrder(orderId, apiKey, signatureCreator, nextNonce());

    return handleResponse(cryptoTradeCancelOrderReturn);
  }
View Full Code Here

    CryptoTradeOrder cryptoOrder = orderInfo.getOrder();
    System.out.println(cryptoOrder);

    Thread.sleep(4000);

    CryptoTradeCancelOrderReturn cancelOrderReturn = tradeService.cancelCryptoTradeOrder(orderReturn.getOrderId());
    System.out.println(cancelOrderReturn);

    Thread.sleep(4000);

    orders = tradeService.getCryptoTradeOrderHistory(params);
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.cryptotrade.dto.trade.CryptoTradeCancelOrderReturn

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.