class CoindealMarketDataServiceRaw extends CoindealBaseService {

  private final Coindeal coindeal;

  public CoindealMarketDataServiceRaw(Exchange exchange) {
    super(exchange);
    this.coindeal =
        ExchangeRestProxyBuilder.forInterface(Coindeal.class, exchange.getExchangeSpecification())
            .build();
  }

  public CoindealOrderBook getCoindealOrderbook(CurrencyPair currencyPair) throws IOException {<FILL_FUNCTION_BODY>}
}

    try {
      return coindeal.getOrderBook(CoindealAdapters.adaptCurrencyPairToString(currencyPair));
    } catch (CoindealException e) {
      throw CoindealErrorAdapter.adapt(e);
    }
  
<methods>public void <init>(org.knowm.xchange.Exchange) <variables>protected ParamsDigest basicAuthentication,protected org.knowm.xchange.coindeal.CoindealAuthenticated coindeal