def fetch_order_book(self, symbol, limit=512, params={}):
    self.load_markets()
    market = self.market(symbol)
    request = {'pair': market['id'], 'depth': 32, 'askCount': limit, 'bidCount': limit}
    orderbook = self.currentGetOrderBookPairAskCountBidCountDepth(self.extend(request, params))
    return self.parse_order_book(orderbook, None, 'bids', 'asks', 'price', 'baseAmount')
def fetch_order_book(self, symbol, limit=512, params={}):
    self.load_markets()
    market = self.market(symbol)
    request = {'pair': market['id'], 'depth': 32, 'askCount': limit, 'bidCount': limit}
    orderbook = self.currentGetOrderBookPairAskCountBidCountDepth(self.extend(request, params))
    return self.parse_order_book(orderbook, None, 'bids', 'asks', 'price', 'baseAmount')