Package com.xeiam.xchange.justcoin.dto.trade.in

Examples of com.xeiam.xchange.justcoin.dto.trade.in.OrderReq


        getBasicAuthentication(), exchangeSpecification.getApiKey()).getId();
  }

  public String placeLimitOrder(LimitOrder limitOrder) throws IOException {

    OrderReq req =
        new OrderReq(JustcoinUtils.getApiMarket(limitOrder.getCurrencyPair()), Utils.format(limitOrder.getLimitPrice()), Utils.format(limitOrder.getTradableAmount()), limitOrder.getType().toString()
            .toLowerCase());

    return justcoin.createLimitOrder(req, getBasicAuthentication(), exchangeSpecification.getApiKey()).getId();
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.justcoin.dto.trade.in.OrderReq

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.