From aa3d5e8c6cdbe921864def073cdb31b39d99f11f Mon Sep 17 00:00:00 2001 From: discountry Date: Wed, 8 Oct 2025 05:44:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=BD=91=E6=A0=BC?= =?UTF-8?q?=E5=BC=95=E6=93=8E=EF=BC=8C=E6=B7=BB=E5=8A=A0=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E5=8E=BB=E9=87=8D=E5=8F=82=E6=95=B0=E4=BB=A5=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=96=B0=E8=AE=A2=E5=8D=95=E4=B8=8B=E5=8D=95=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/strategy/grid-engine.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/strategy/grid-engine.ts b/src/strategy/grid-engine.ts index 48c8c8b..3dd5eeb 100644 --- a/src/strategy/grid-engine.ts +++ b/src/strategy/grid-engine.ts @@ -530,7 +530,7 @@ export class GridEngine { this.log, false, undefined, - { priceTick: this.config.priceTick, qtyStep: this.config.qtyStep } + { priceTick: this.config.priceTick, qtyStep: this.config.qtyStep, skipDedupe: true } ); this.pendingKeyUntil.set(key, this.now() + GridEngine.PENDING_TTL_MS); if (placed?.orderId != null) { @@ -913,7 +913,7 @@ export class GridEngine { this.log, false, undefined, - { priceTick: this.config.priceTick, qtyStep: this.config.qtyStep } + { priceTick: this.config.priceTick, qtyStep: this.config.qtyStep, skipDedupe: true } ); if (placed) { this.lastPlacementOrdersVersion = this.ordersVersion; @@ -1266,7 +1266,7 @@ export class GridEngine { this.log, false, undefined, - { priceTick: this.config.priceTick, qtyStep: this.config.qtyStep } + { priceTick: this.config.priceTick, qtyStep: this.config.qtyStep, skipDedupe: true } ); if (placed) { // mark pending exposure broadly so we don't re-open immediately on that source level (choose closest source side)