no message

This commit is contained in:
aaron 2024-11-30 22:11:48 +08:00
parent a5375c2edd
commit 959b13e2af

View File

@ -15,11 +15,6 @@ def stratergy_run(symbol, interval, df, debug):
rate = current_volume / average_volume rate = current_volume / average_volume
rate_limit = 10 rate_limit = 10
if interval == '15m':
rate_limit = 5
if interval == '1h':
rate_limit = 3
if rate > rate_limit: if rate > rate_limit:
message = "📢Signals Notificaiton📢\r\n\r\n" message = "📢Signals Notificaiton📢\r\n\r\n"
message += f"{symbol}{interval} 出现放量 {round(rate, 2)}\r\n\r\n" message += f"{symbol}{interval} 出现放量 {round(rate, 2)}\r\n\r\n"