1
This commit is contained in:
parent
c619cf3275
commit
594750273e
@ -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
|
||||
|
||||
|
||||
8
test.py
8
test.py
@ -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('信号 测试')
|
||||
Loading…
Reference in New Issue
Block a user