feat QMT_API.py

This commit is contained in:
2026-09-02 21:03:45 +08:00
parent 66ccd42d4e
commit 9d8b913465
13 changed files with 91 additions and 163 deletions

View File

@@ -108,7 +108,6 @@ def StartTrend() -> None:
def RunOnce(run: Runtime, signals:list[SignalItem]) -> None:
"""按固定步骤执行一轮趋势策略, ``RunOnce``。"""
if not trading_time(datetime.now()):
log.info("[运行] 非交易时间,跳过本轮")
return
print("=" * 40 + f" Ticker {datetime.now().strftime('%Y-%m-%d %H:%M:%S')} " +"=" * 40)