From e7ccad634ce5b74e06c32a5df3c05559e258c307 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Thu, 14 Nov 2024 13:55:35 +0800 Subject: [PATCH] 1 --- monitors/vol_up.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitors/vol_up.py b/monitors/vol_up.py index ab61e52..31f8f14 100644 --- a/monitors/vol_up.py +++ b/monitors/vol_up.py @@ -14,10 +14,10 @@ def stratergy_run(symbol, interval, df, debug): rate = current_volume / average_volume print(f"【{timestamp}】【{symbol}】当前交易量: {current_volume} , 平均交易量: {average_volume} , 倍数: {rate}") - if rate > 3: + if rate > 5: message = "📢Signals Notificaiton📢\r\n\r\n" message += f"{symbol} 在 {interval} 出现放量!\r\n\r\n" - message += timestamp + message += f"{timestamp}" if debug == False: dingding.send_message(message, True)