def Mom(mom, mom1):
    'Compute Momentum\n\n        Args:\n            mom (float): Mom value\n            mom1 (float): Mom[1] value\n\n        Returns:\n            string: "BUY", "SELL", or "NEUTRAL"\n        '
    if (mom < mom1):
        return Recommendation.buy
    elif (mom > mom1):
        return Recommendation.sell
    else:
        return Recommendation.neutral
Compute Momentum

Args:
    mom (float): Mom value
    mom1 (float): Mom[1] value

Returns:
    string: "BUY", "SELL", or "NEUTRAL"
def Mom(mom, mom1):
    'Compute Momentum\n\n        Args:\n            mom (float): Mom value\n            mom1 (float): Mom[1] value\n\n        Returns:\n            string: "BUY", "SELL", or "NEUTRAL"\n        '
    if (mom < mom1):
        return Recommendation.buy
    elif (mom > mom1):
        return Recommendation.sell
    else:
        return Recommendation.neutral