def get_ta(self, df): df = df.reset_index("date", drop = True) df = TaSetBase1().get_ta(df) df = sig_123recall.main(df) df = sig_adx.main(df) df = sig_upbreak.main(df) df = sig_ta_PLUS_DM_28.main(df) df = sig_ta_WILLR_2_1.main(df) df = sig_ta_STOCHOSC_1.main(df) del df["ta_PLUS_DM_28"] return df
def main(df): df = df.reset_index("date", drop = True) df = base1.main(df) df = sig_123recall.main(df) df = sig_adx.main(df) df = sig_upbreak.main(df) df = sig_ta_PLUS_DM_28.main(df) df = sig_ta_WILLR_2_1.main(df) df = sig_ta_STOCHOSC_1.main(df) #df = sig_ta_WILLR_2_2.main(df) del df["ta_PLUS_DM_28"] #del df["ta_WILLR_2"] #assert 40 == df.shape[1] return df