}
}
private static void raw(Exchange exchange) throws IOException {
BTCETradeServiceRaw tradeService = (BTCETradeServiceRaw) exchange.getPollingTradeService();
Map<Long, BTCETradeHistoryResult> trades = null;
try {
trades = tradeService.getBTCETradeHistory(null, null, null, null, null, null, null, null);
for (Map.Entry<Long, BTCETradeHistoryResult> entry : trades.entrySet()) {
System.out.println("ID: " + entry.getKey() + ", Trade:" + entry.getValue());
}
System.out.println(trades.toString());
} catch (ExchangeException e) {