code: @Override
    public Trades getTrades(CurrencyPair currencyPair, Object... args) throws IOException {
  
      String pairs = WexAdapters.getPair(currencyPair);
      int numberOfItems = FULL_SIZE;
      if (args != null && args.length > 0) {
        if (args[0] instanceof Integer) {
          numberOfItems = (Integer) args[0];
        }
      }
  
      WexTrade[] bTCETrades =
          getBTCETrades(pairs, numberOfItems).getTrades(WexAdapters.getPair(currencyPair));
      return WexAdapters.adaptTrades(bTCETrades, currencyPair);
    }
docs: Get recent trades from exchange
  
  @param args Optional arguments. This implementation assumes args[0] is integer value limiting
  number of trade items to get. -1 or missing -> use default 2000 max fetch value int from 1
  to 2000 -> use API v.3 to get corresponding number of trades
  @return Trades object
  @throws IOException