code: public DSXTradesWrapper getDSXTrades(String pairs, int size, String type) throws IOException {
  
      if (size < 1) {
        size = 1;
      }
  
      if (size > FULL_SIZE) {
        size = FULL_SIZE;
      }
  
      return dsx.getTrades(pairs.toLowerCase(), size, 1, type);
    }
docs: Get recent trades from exchange
  
  @param pairs String of currency pairs to retrieve (e.g. "btcusd-btceur")
  @param size Integer value from 1 -> get corresponding number of items
  @return DSXTradesWrapper
  @throws IOException