Package com.xeiam.xchange.coinfloor.dto.streaming.account

Examples of com.xeiam.xchange.coinfloor.dto.streaming.account.CoinfloorTradeVolume


  public Map<String, Object> adaptTradeVolume(String data) {

    Map<String, Object> resultMap = new HashMap<String, Object>();

    CoinfloorTradeVolume rawRetObj;
    try {
      rawRetObj = streamObjectMapper.readValue(data, CoinfloorTradeVolume.class);
    } catch (IOException e) {
      throw new ExchangeException("JSON parse error", e);
    }

    resultMap.put("generic", rawRetObj.getAssetVol());
    resultMap.put("raw", rawRetObj);

    return resultMap;
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.coinfloor.dto.streaming.account.CoinfloorTradeVolume

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.