class CoincheckMarketDataServiceRaw extends CoincheckBaseService {
  private final Coincheck coincheck;

  public CoincheckMarketDataServiceRaw(Exchange exchange) {
    super(exchange);
    coincheck =
        ExchangeRestProxyBuilder.forInterface(Coincheck.class, exchange.getExchangeSpecification())
            .build();
  }

  public CoincheckTicker getCoincheckTicker(CoincheckPair pair) throws IOException {
    return coincheck.getTicker(pair);
  }

  public CoincheckOrderBook getCoincheckOrderBook(CoincheckPair pair) throws IOException {
    return coincheck.getOrderBook(pair);
  }

  public CoincheckTradesContainer getCoincheckTrades(
      CoincheckPair pair, CoincheckPagination pagination) throws IOException {<FILL_FUNCTION_BODY>}
}

    if (pagination == null) {
      pagination = CoincheckPagination.builder().build();
    }
    return coincheck.getTrades(
        pair,
        pagination.getLimit(),
        pagination.getOrder(),
        pagination.getStartingAfter(),
        pagination.getEndingBefore());
  
<methods>public void <init>(org.knowm.xchange.Exchange) <variables>protected final Logger LOG