UserTrades trades = KrakenAdapters.adaptTradesHistory(krakenTradeHistoryMap);
List<UserTrade> tradeList = trades.getUserTrades();
assertThat(tradeList.size()).isEqualTo(1);
UserTrade trade = tradeList.get(0);
assertThat(trade.getId()).isEqualTo("TY5BYV-WJUQF-XPYEYD");
assertThat(trade.getPrice()).isEqualTo(new BigDecimal("32.07562"));
assertThat(trade.getTradableAmount()).isEqualTo("0.50000000");
assertThat(trade.getCurrencyPair().baseSymbol).isEqualTo(Currencies.BTC);
assertThat(trade.getCurrencyPair().counterSymbol).isEqualTo(Currencies.LTC);
assertThat(trade.getType()).isEqualTo(OrderType.ASK);
assertThat(trade.getFeeAmount()).isEqualTo(new BigDecimal("0.03208"));
assertThat(trade.getFeeCurrency()).isEqualTo(Currencies.LTC);
}