code: public static OrderBook adaptOrderBook(
        CryptopiaOrderBook cryptopiaOrderBook, CurrencyPair currencyPair) {
      List<LimitOrder> asks =
          createOrders(currencyPair, Order.OrderType.ASK, cryptopiaOrderBook.getAsks());
      List<LimitOrder> bids =
          createOrders(currencyPair, Order.OrderType.BID, cryptopiaOrderBook.getBids());
  
      return new OrderBook(new Date(), asks, bids);
    }
docs: Adapts a CryptopiaOrderBook to an OrderBook Object
  
  @param cryptopiaOrderBook The exchange specific order book
  @param currencyPair (e.g. BTC/USD)
  @return The XChange OrderBook