'Return the price level corresponding to the given price
:param price: The price for which the price level needs to be returned
:type price: Price
:return: The price level
:rtype: PriceLevel'

def get_price_level(self, price):

    assert isinstance(price, Price), type(price)
    return self._price_map[price]
