':param new_quantity: The new quantity
:type new_quantity: Quantity'

@quantity.setter
def quantity(self, new_quantity):

    assert isinstance(new_quantity, Quantity), type(new_quantity)
    self._price_level.depth -= (self._tick.quantity - new_quantity)
    self._tick.quantity = new_quantity
