浏览代码

修订自动化启动时间

daniel-ali 2 年之前
父节点
当前提交
8e5810ec20
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      QMT/download_history_data2.py

+ 1 - 1
QMT/download_history_data2.py

@@ -54,7 +54,7 @@ if __name__ == '__main__':
 
     # num = 1
     sched = BlockingScheduler()
-    sched.add_job(func=download_data, trigger='cron', hour='22', minute='45', args=[stocks, engine])
+    sched.add_job(func=download_data, trigger='cron', hour='15', minute='45', args=[stocks, engine])
     try:
         sched.start()
     except (KeyboardInterrupt, SystemExit):