This commit is contained in:
2026-09-12 16:25:34 +08:00
parent 7a7049ce44
commit 554dd0f4cb
13 changed files with 646 additions and 93 deletions

View File

@@ -213,7 +213,8 @@ def handle_loss(
def _position_key(runtime: Runtime, code: str) -> str:
return f"{runtime.account_cfg.account_id}:{code}"
# tracker 为该账户的 ZT Runtime 独享,与 sync_positions 使用同一个键。
return code
def get_add_num(hands: int, market_value: float) -> int: