1
This commit is contained in:
parent
721968b85d
commit
8995266ee1
5
main.py
5
main.py
@ -3,6 +3,7 @@ import setting
|
|||||||
import time
|
import time
|
||||||
import monitors.vegas as vegas
|
import monitors.vegas as vegas
|
||||||
import monitors.large_transfer as lt
|
import monitors.large_transfer as lt
|
||||||
|
import utils
|
||||||
|
|
||||||
# 监控
|
# 监控
|
||||||
schedule.every(setting.whaleAlert_minutes).minutes.do(lt.run)
|
schedule.every(setting.whaleAlert_minutes).minutes.do(lt.run)
|
||||||
@ -10,7 +11,9 @@ schedule.every(setting.whaleAlert_minutes).minutes.do(lt.run)
|
|||||||
schedule.every().hour.at(":00").do(vegas.run, interval = '1h')
|
schedule.every().hour.at(":00").do(vegas.run, interval = '1h')
|
||||||
schedule.every().hour.at(":00").do(vegas.run, interval = '4h')
|
schedule.every().hour.at(":00").do(vegas.run, interval = '4h')
|
||||||
|
|
||||||
print(f'Running... ChatID: {setting.chat_id}')
|
print(f'Running...')
|
||||||
|
print(f'Pairs:')
|
||||||
|
print(utils.get_top_binance_usdt_pairs(20))
|
||||||
while True:
|
while True:
|
||||||
schedule.run_pending()
|
schedule.run_pending()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user