Neural Networks, Deep Learning, Data Science, Algorithmic Trading, Cryptocurrency Investment.
df_ens['Date'] = pd.to_datetime(df_ens['Date']) df_ens.set_index('Date', inplace=True) def SIGNAL_1(df_ens): return df_ens['trns'] class MyCandlesStrat_1(Strategy): def init(self): super().init() self.signal1_1 = self.I(SIGNAL_1, self.data) def next(self): super().next() if self.signal1_1 == 1: