// Interested in the public polling market data feed (no authentication)
OkCoinMarketDataServiceRaw okCoinMarketDataServiceRaw = (OkCoinMarketDataServiceRaw) okcoinExchange.getPollingMarketDataService();
// Get the latest full order book data
OkCoinDepth depth = okCoinMarketDataServiceRaw.getDepth(CurrencyPair.BTC_CNY);
System.out.println(depth.toString());
System.out.println("size: " + (depth.getAsks().length + depth.getBids().length));
}