feat: 更新市场平仓逻辑,添加数量参数并调整reduceOnly处理以符合交易所要求

This commit is contained in:
discountry
2025-10-12 10:16:14 +08:00
parent 189fed0f6e
commit fabc8af679
+2 -1
View File
@@ -353,7 +353,8 @@ export async function marketClose(
symbol,
side,
type,
closePosition: "true",
quantity,
reduceOnly: "true",
};
await deduplicateOrders(adapter, symbol, openOrders, locks, timers, pendings, type, side, log);