class BitcoinAverageAdapters {

  /** private Constructor */
  private BitcoinAverageAdapters() {}

  /**
   * Adapts a BitcoinAverageTicker to a Ticker Object
   *
   * @param bitcoinAverageTicker
   * @return Ticker
   */
  public static Ticker adaptTicker(
      BitcoinAverageTicker bitcoinAverageTicker, CurrencyPair currencyPair) {

    BigDecimal last = bitcoinAverageTicker.getLast();
    BigDecimal bid = bitcoinAverageTicker.getBid();
    BigDecimal ask = bitcoinAverageTicker.getAsk();
    Date timestamp = bitcoinAverageTicker.getTimestamp();
    BigDecimal volume = bitcoinAverageTicker.getVolume();

    return new Ticker.Builder()
        .currencyPair(currencyPair)
        .last(last)
        .bid(bid)
        .ask(ask)
        .volume(volume)
        .timestamp(timestamp)
        .build();
  }

  public static ExchangeMetaData adaptMetaData(
      BitcoinAverageTickers tickers, ExchangeMetaData bAMetaData) {<FILL_FUNCTION_BODY>}
}


    Map<Instrument, InstrumentMetaData> currencyPairs = new HashMap<>();
    for (String currency : tickers.getTickers().keySet()) {
      if (!currency.startsWith("BTC")) {
        throw new IllegalStateException("Unsupported currency: " + currency);
      }
      currencyPairs.put(new CurrencyPair(BTC, Currency.getInstance(currency.substring(3))), null);
    }
    return new ExchangeMetaData(
        currencyPairs, Collections.<Currency, CurrencyMetaData>emptyMap(), null, null, null);
  
<no_super_class>