a
This commit is contained in:
parent
ed8b2cf473
commit
4a84f5e6ad
|
|
@ -410,14 +410,7 @@ class PositionManager:
|
|||
# 如果数据库已保存,标记为取消
|
||||
if trade_id and DB_AVAILABLE and Trade:
|
||||
try:
|
||||
<<<<<<< Current (Your changes)
|
||||
<<<<<<< Current (Your changes)
|
||||
=======
|
||||
from database.connection import db
|
||||
>>>>>>> Incoming (Background Agent changes)
|
||||
=======
|
||||
from database.connection import db
|
||||
>>>>>>> Incoming (Background Agent changes)
|
||||
db.execute_update(
|
||||
"UPDATE trades SET status = 'cancelled' WHERE id = %s",
|
||||
(trade_id,)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user