Package com.xeiam.xchange.coinfloor.CoinfloorUtils

Examples of com.xeiam.xchange.coinfloor.CoinfloorUtils.CoinfloorCurrency


  public CoinfloorTradeVolume(@JsonProperty("tag") int tag, @JsonProperty("error_code") int errorCode, @JsonProperty("volume") int assetVol) {

    this.tag = tag;
    this.errorCode = errorCode;

    CoinfloorCurrency currency = (tag == 102) ? CoinfloorCurrency.BTC : CoinfloorCurrency.GBP;
    this.assetVol = CoinfloorUtils.scaleToBigDecimal(currency, assetVol);
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.coinfloor.CoinfloorUtils.CoinfloorCurrency

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.