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