fix bugs.
This commit is contained in:
parent
c50f10db53
commit
3ea7247f53
6
main.py
6
main.py
@ -1,6 +1,6 @@
|
|||||||
import schedule
|
import schedule
|
||||||
import bn
|
import bn
|
||||||
import settings
|
import setting
|
||||||
import time
|
import time
|
||||||
import signals.ma_arrangement as maa
|
import signals.ma_arrangement as maa
|
||||||
import monitors.large_transfer as lt
|
import monitors.large_transfer as lt
|
||||||
@ -18,9 +18,9 @@ for s in symbols:
|
|||||||
schedule.every(4).hours.do(maa.run, symbol=s, interval='4h')
|
schedule.every(4).hours.do(maa.run, symbol=s, interval='4h')
|
||||||
|
|
||||||
# 监控
|
# 监控
|
||||||
schedule.every(settings.whaleAlert_minutes).minutes.do(lt.run)
|
schedule.every(setting.whaleAlert_minutes).minutes.do(lt.run)
|
||||||
|
|
||||||
print(f'Running... ChatID: {settings.chat_id}')
|
print(f'Running... ChatID: {setting.chat_id}')
|
||||||
while True:
|
while True:
|
||||||
schedule.run_pending()
|
schedule.run_pending()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
Loading…
Reference in New Issue
Block a user