docs: public static Trades adaptTrades(
        BitcoindeTradesWrapper bitcoindeTradesWrapper, CurrencyPair currencyPair) {
  
      List<Trade> trades = new ArrayList<>();
      long lastTradeId = 0;
      for (BitcoindeTrade bitcoindeTrade : bitcoindeTradesWrapper.getTrades()) {
        final long tid = bitcoindeTrade.getTid();
        if (tid > lastTradeId) {
          lastTradeId = tid;
        }
        trades.add(
            new Trade(
                null,
                bitcoindeTrade.getAmount(),
                currencyPair,
                bitcoindeTrade.getPrice(),
                DateUtils.fromMillisUtc(bitcoindeTrade.getDate() * 1000L),
                String.valueOf(tid)));
      }
      return new Trades(trades, lastTradeId, TradeSortType.SortByID);
    }