def RSI(rsi, rsi1):
    'Compute Relative Strength Index\n\n        Args:\n            rsi (float): RSI value\n            rsi1 (float): RSI[1] value\n\n        Returns:\n            string: "BUY", "SELL", or "NEUTRAL"\n        '
    if ((rsi < 30) and (rsi1 > rsi)):
        return Recommendation.buy
    elif ((rsi > 70) and (rsi1 < rsi)):
        return Recommendation.sell
    else:
        return Recommendation.neutral
Compute Relative Strength Index

Args:
    rsi (float): RSI value
    rsi1 (float): RSI[1] value

Returns:
    string: "BUY", "SELL", or "NEUTRAL"
def RSI(rsi, rsi1):
    'Compute Relative Strength Index\n\n        Args:\n            rsi (float): RSI value\n            rsi1 (float): RSI[1] value\n\n        Returns:\n            string: "BUY", "SELL", or "NEUTRAL"\n        '
    if ((rsi < 30) and (rsi1 > rsi)):
        return Recommendation.buy
    elif ((rsi > 70) and (rsi1 < rsi)):
        return Recommendation.sell
    else:
        return Recommendation.neutral