diff --git a/strategies/ChanLun_EMA52.py b/strategies/ChanLun_EMA52.py index cb072c8..77900a2 100644 --- a/strategies/ChanLun_EMA52.py +++ b/strategies/ChanLun_EMA52.py @@ -121,7 +121,7 @@ class ChanLun_EMA52(IStrategy): self.init_dataframes(dataframe) logger.info("Date: " + date.strftime('%Y-%m-%d %H:%M:%S') + " Price: " + str(last_price) + " EMA52_list: " + str(tf_ema52_list) + " MACD: " + macdstr) dataframe = resampled_merge(dataframe, long_df) - print(dataframe.iloc[-1]) + #print(dataframe.iloc[-1]) return dataframe def long_entry_condition(self, long_df): long_entry_condition = (long_df['dir52'] > 0) & (long_df['dir156'] > 0) & (long_df['macdhist'] > 0)