fix: remove leftover conn.commit() after deleting paper_check_positions

This commit is contained in:
root 2026-03-03 13:27:40 +00:00
parent 0a5222a1de
commit 4c43309c16

View File

@ -787,10 +787,6 @@ def paper_open_trade(
) )
conn.commit()
def paper_has_active_position(symbol: str, strategy: Optional[str] = None) -> bool: def paper_has_active_position(symbol: str, strategy: Optional[str] = None) -> bool:
"""检查该币种是否有活跃持仓""" """检查该币种是否有活跃持仓"""
with get_sync_conn() as conn: with get_sync_conn() as conn: