From 5c7103fe035137dc7546520c5f08f4176644c405 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Sat, 21 Sep 2024 13:38:15 +0800 Subject: [PATCH] 1 --- main.py | 2 +- monitors/macd_boll.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 14ffb6b..816384a 100644 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ times = ["00:00", "04:00", "08:00", "12:00", "16:00", "20:00"] for t in times: schedule.every().day.at(t).do(macd_boll.run_crypto, interval = '4h') -version = 'V1.14' +version = 'V1.15' print(f'Running... {version}') while True: schedule.run_pending() diff --git a/monitors/macd_boll.py b/monitors/macd_boll.py index 22f6bd1..8f4bc74 100644 --- a/monitors/macd_boll.py +++ b/monitors/macd_boll.py @@ -67,7 +67,7 @@ def stratergy_run(symbol, interval, df, debug): def run_crypto(interval, debug=False): print('Vegas策略运行.') - + time.sleep(5) for s in crypto.get_future_symbols(): df = crypto.get_klines(s, interval, True) stratergy_run(s,interval, df, debug)