def METHOD_NAME(self, tick: TradeTick):
    """
    Update the indicator with the given trade tick.
    Parameters
    ----------
    tick : TradeTick
        The update tick to handle.
    """
    PyCondition.not_none(tick, "tick")
    self.update_raw(tick.price.as_double())