This commit is contained in:
2026-09-04 23:08:21 +08:00
parent 8f97666d9e
commit 9f01eb8dc5
4 changed files with 92 additions and 39 deletions

View File

@@ -89,6 +89,8 @@ def StartTrend() -> None:
lt = time.localtime()
if (lt.tm_hour, lt.tm_min, lt.tm_sec) >= (15, 0, 0):
log.info("[Trend] 已到 15:00结束趋势策略")
run.client.close()
run.executor.shutdown()
return
current_sec = lt.tm_sec