mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
feat: 更新市场平仓逻辑,添加数量参数并调整reduceOnly处理以符合交易所要求
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user