import schedule import time import monitors.large_transfer as lt import telegram_sender,setting import dingding import monitors.move as move from monitors import vegas, vegas_cross, macd_boll #vegas schedule.every().hour.at(":00").do(vegas.run_crypto, interval = '1h') times = ["00:00", "04:00", "08:00", "12:00", "16:00", "20:00"] for t in times: schedule.every().day.at(t).do(vegas.run_crypto, interval = '4h') #vegas_cross schedule.every().hour.at(":00").do(vegas_cross.run_crypto, interval = '1h') times = ["00:00", "04:00", "08:00", "12:00", "16:00", "20:00"] for t in times: schedule.every().day.at(t).do(vegas_cross.run_crypto, interval = '4h') #macd_boll schedule.every().hour.at(":00").do(macd_boll.run_crypto, interval = '15m') schedule.every().hour.at(":15").do(macd_boll.run_crypto, interval = '15m') schedule.every().hour.at(":30").do(macd_boll.run_crypto, interval = '15m') schedule.every().hour.at(":45").do(macd_boll.run_crypto, interval = '15m') schedule.every().hour.at(":00").do(macd_boll.run_crypto, interval = '1h') times = ["00:00", "04:00", "08:00", "12:00", "16:00", "20:00"] for t in times: schedule.every().day.at(t).do(macd_boll.run_crypto, interval = '4h') version = 'V1.13' print(f'Running... {version}') while True: schedule.run_pending() time.sleep(1)