remove print

This commit is contained in:
jackyu66git
2026-02-06 15:31:50 +08:00
parent 4db1935ff6
commit fe4486972d
+1 -1
View File
@@ -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)