From f6bc4437859c7f52c991d97a7868a2a0bb451cc6 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Sun, 22 Sep 2024 11:31:04 +0800 Subject: [PATCH] 1 --- main.py | 4 ++-- monitors/macd_boll.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 4da8517..2be59de 100644 --- a/main.py +++ b/main.py @@ -29,10 +29,10 @@ for t in times: schedule.every().day.at(t).do(macd_boll.run_crypto, interval = '4h') #jin10 -schedule.every().day.at("10:00").do(jin10.run) +schedule.every().day.at("04:00").do(jin10.run) version = 'V1.21' print(f'Running... {version}') while True: schedule.run_pending() - time.sleep(1) + time.sleep(1) \ No newline at end of file diff --git a/monitors/macd_boll.py b/monitors/macd_boll.py index fd99064..d699b55 100644 --- a/monitors/macd_boll.py +++ b/monitors/macd_boll.py @@ -47,8 +47,6 @@ def stratergy_run(symbol, interval, df, debug): direction = '空' if latest['Long_Signal'] == True: direction = '多' - print(latest) - print(f"【{symbol} - {interval}】 is checked!") if direction != "": message = f"策略:【MACD+BOLL价格策略】\r\n" message += f"品种: {symbol}\r\n"