docs: public static Trades adaptTrades(BitstampTransaction[] transactions, CurrencyPair currencyPair) {
  
      List<Trade> trades = new ArrayList<>();
      long lastTradeId = 0;
      for (BitstampTransaction tx : transactions) {
        final long tradeId = tx.getTid();
        if (tradeId > lastTradeId) {
          lastTradeId = tradeId;
        }
        trades.add(adaptTrade(tx, currencyPair, 1000));
      }
  
      return new Trades(trades, lastTradeId, TradeSortType.SortByID);
    }