code: public static Ticker adaptTicker(CexIOTicker ticker) {
      if (ticker.getPair() == null) {
        throw new IllegalArgumentException("Missing currency pair in ticker: " + ticker);
      }
      return adaptTicker(ticker, adaptCurrencyPair(ticker.getPair()));
    }
docs: Adapts a CexIOTicker to a Ticker Object
  
  @param ticker The exchange specific ticker
  @return The ticker