}
public static void generic() throws IOException {
// Get the latest order book data for BTC/CAD
OrderBook orderBook = marketDataService.getOrderBook(CurrencyPair.BTC_CAD);
// System.out.println(orderBook.toString());
System.out.println("Date: " + orderBook.getTimeStamp());
System.out.println("lowestAsk: " + orderBook.getAsks().get(0));
System.out.println("highestAsk: " + orderBook.getAsks().get(orderBook.getAsks().size() - 1));
System.out.println("asks Size: " + orderBook.getAsks().size());
System.out.println("lowestBid: " + orderBook.getBids().get(orderBook.getBids().size() - 1));
System.out.println("highestBid: " + orderBook.getBids().get(0));
System.out.println("bids Size: " + orderBook.getBids().size());
}