def fetch_order_book(self, symbol, limit=None, params={}):
    self.load_markets()
    request = {'book': self.market_id(symbol)}
    response = self.publicGetOrderBook(self.extend(request, params))
    orderbook = self.safe_value(response, 'payload')
    timestamp = self.parse8601(self.safe_string(orderbook, 'updated_at'))
    return self.parse_order_book(orderbook, symbol, timestamp, 'bids', 'asks', 'price', 'amount')
def fetch_order_book(self, symbol, limit=None, params={}):
    self.load_markets()
    request = {'book': self.market_id(symbol)}
    response = self.publicGetOrderBook(self.extend(request, params))
    orderbook = self.safe_value(response, 'payload')
    timestamp = self.parse8601(self.safe_string(orderbook, 'updated_at'))
    return self.parse_order_book(orderbook, symbol, timestamp, 'bids', 'asks', 'price', 'amount')