Machine Learning, Investment, AI, Sklearn, Quant.
dataset['Close'].ewm(span=10, adjust=False).mean() dataset['EMA_20'] = dataset['Close'].ewm(span=20, adjust=False).mean() dataset['EMA_50'] = dataset['Close'].ewm(span=50, adjust=False).mean() dataset['EMA_100'] = dataset['Close'].ewm(span=100, adjust=False).mean() # Relative Strength Index (RSI)