Package com.xeiam.xchange.btcchina.dto.trade.streaming.request

Examples of com.xeiam.xchange.btcchina.dto.trade.streaming.request.BTCChinaPayload


      private void subscribePrivateData() {

        final List<String> params = buildPrivateDataParams();

        if (!params.isEmpty()) {
          BTCChinaPayload payload = getPayload(params.toArray(new String[0]));

          final List<String> arg = new ArrayList<String>(2);
          arg.add(toPostData(payload));
          arg.add(getSign(payload));
View Full Code Here


  }

  private BTCChinaPayload getPayload(String[] params) {

    final long tonce = BTCChinaUtils.getNonce();
    final BTCChinaPayload payload = new BTCChinaPayload(tonce, accessKey, "post", "subscribe", params);
    return payload;
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.btcchina.dto.trade.streaming.request.BTCChinaPayload

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.