def MA(ma, close):
    'Compute Moving Average\n\n        Args:\n            ma (float): MA value\n            close (float): Close value\n\n        Returns:\n            string: "BUY", "SELL", or "NEUTRAL"\n        '
    if (ma < close):
        return Recommendation.buy
    elif (ma > close):
        return Recommendation.sell
    else:
        return Recommendation.neutral
Compute Moving Average

Args:
    ma (float): MA value
    close (float): Close value

Returns:
    string: "BUY", "SELL", or "NEUTRAL"
def MA(ma, close):
    'Compute Moving Average\n\n        Args:\n            ma (float): MA value\n            close (float): Close value\n\n        Returns:\n            string: "BUY", "SELL", or "NEUTRAL"\n        '
    if (ma < close):
        return Recommendation.buy
    elif (ma > close):
        return Recommendation.sell
    else:
        return Recommendation.neutral