class OERMarketDataServiceRaw extends OERBaseService {

  private final OER openExchangeRates;

  /**
   * Constructor
   *
   * @param exchange
   */
  public OERMarketDataServiceRaw(Exchange exchange) {

    super(exchange);
    this.openExchangeRates =
        ExchangeRestProxyBuilder.forInterface(OER.class, exchange.getExchangeSpecification())
            .build();
  }

  public OERRates getOERTicker(CurrencyPair pair) throws IOException {<FILL_FUNCTION_BODY>}
}


    // Request data
    OERTickers oERTickers =
        openExchangeRates.getTickers(
            exchange.getExchangeSpecification().getApiKey(),
            pair.base.toString(),
            pair.counter.toString());
    if (oERTickers == null) {
      throw new ExchangeException("Null response returned from Open Exchange Rates!");
    }
    return oERTickers.getRates();
  
<methods>public void <init>(org.knowm.xchange.Exchange) <variables>