add RSI, MOM, EMA5 and EMA10 to analyze

This commit is contained in:
Janne Sinivirta 2017-10-28 16:14:01 +03:00
parent 871b5e17ee
commit 57a17697a0
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ def populate_indicators(dataframe: DataFrame) -> DataFrame:
dataframe['tema'] = ta.TEMA(dataframe, timeperiod=9)
dataframe['mfi'] = ta.MFI(dataframe)
dataframe['cci'] = ta.CCI(dataframe)
dataframe['rsi'] = ta.RSI(dataframe)
dataframe['mom'] = ta.MOM(dataframe)
dataframe['ema5'] = ta.EMA(dataframe, timeperiod=5)
dataframe['ema10'] = ta.EMA(dataframe, timeperiod=10)
dataframe['ao'] = awesome_oscillator(dataframe)
return dataframe