feat: 更新网格引擎,修复订单处理逻辑中的布尔参数,确保正确的撤单处理

This commit is contained in:
discountry
2025-10-08 04:38:22 +08:00
parent 4240cc6901
commit 3d959ae579
+2 -2
View File
@@ -444,7 +444,7 @@ export class GridEngine {
side, side,
amount, amount,
this.log, this.log,
true, false,
undefined, undefined,
{ qtyStep: this.config.qtyStep } { qtyStep: this.config.qtyStep }
); );
@@ -1136,7 +1136,7 @@ export class GridEngine {
priceStr, priceStr,
Math.abs(qty), Math.abs(qty),
this.log, this.log,
true, false,
undefined, undefined,
{ priceTick: this.config.priceTick, qtyStep: this.config.qtyStep } { priceTick: this.config.priceTick, qtyStep: this.config.qtyStep }
); );