示例#1
0
 def get_ta(self, df, confer):
     df = df.reset_index("date", drop = True)
     df = TaSetBase1().get_ta(df, confer)
     df = sig_123recall.main(df)
     df = sig_adx.main(df)
     df = sig_upbreak.main(df)
     df = sig_ta_PLUS_DM_28.main(df)
     del df["ta_PLUS_DM_28"]
     return df
示例#2
0
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)
    del df["ta_PLUS_DM_28"]

    #assert 40 == df.shape[1]
    return df
示例#3
0
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)
    del df["ta_PLUS_DM_28"]

    #assert 40 == df.shape[1]
    return df