This commit is contained in:
aaron 2024-11-14 13:45:55 +08:00
parent c619cf3275
commit 594750273e
2 changed files with 6 additions and 4 deletions

View File

@ -15,7 +15,7 @@ def stratergy_run(symbol, interval, df, debug):
print(f"{timestamp}】【{symbol}】当前交易量: {current_volume} , 平均交易量: {average_volume} , 倍数: {rate}")
if rate > 3:
message = "📢信号提醒📢\r\n\r\n"
message = "📢Signals Notificaiton📢\r\n\r\n"
message += f"{symbol}{interval} 出现放量!\r\n\r\n"
message += timestamp

View File

@ -9,11 +9,10 @@ from datasource import crypto
from monitors import macd_boll
import datasource
from binance.um_futures import UMFutures
import redis
import redis,dingding
vol_up.run_crypto('1h')
# vol_up.run_crypto('1h')
# r = redis.Redis(host='45.76.104.85', port=6379, db=0 ,password="redis_ihkXTj")
@ -50,3 +49,6 @@ vol_up.run_crypto('1h')
# discord_sender.send_message(mUrl, '消息内容',text)
dingding.send_message('信号 测试')