fix bug
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user