1
This commit is contained in:
parent
89d274e1c5
commit
bf63933285
@ -91,11 +91,10 @@ def check_signal(symbol, interval,df):
|
|||||||
if latest['longResut']==True:
|
if latest['longResut']==True:
|
||||||
direction = '多'
|
direction = '多'
|
||||||
|
|
||||||
message = f"信号提醒\r\n\r\n品种: {symbol}\r\n周期: {interval}\r\n信号: {direction}\r\n当前价格:{latest['open']}\r\n\r\n{latest['timestamp']}"
|
message = f"⭐️信号提醒⭐️\r\n\r\n品种: {symbol}\r\n周期: {interval}\r\n信号: {direction}\r\n当前价格:{latest['open']}\r\n\r\n{latest['timestamp']}"
|
||||||
if direction != "":
|
if direction != "":
|
||||||
telegram_sender.send_message(setting.chat_id, message)
|
telegram_sender.send_message(setting.chat_id, message)
|
||||||
|
|
||||||
|
|
||||||
def run(interval):
|
def run(interval):
|
||||||
symbols= get_symbols()
|
symbols= get_symbols()
|
||||||
for s in symbols:
|
for s in symbols:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user