public Map<String, Object> adaptOpenOrders(String data) throws ExchangeException {
Map<String, Object> resultMap = new HashMap<String, Object>();
CoinfloorOpenOrders rawRetObj;
try {
rawRetObj = streamObjectMapper.readValue(data, CoinfloorOpenOrders.class);
} catch (IOException e) {
throw new ExchangeException("JSON parse error", e);
}
resultMap.put("raw", rawRetObj);
List<LimitOrder> openOrdersList = new ArrayList<LimitOrder>();
List<CoinfloorOrder> orders = rawRetObj.getOrders();
for (CoinfloorOrder order : orders) {
openOrdersList.add(adaptOrder(order));
}