mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
feat: 更新网格引擎,添加跳过去重选项以优化订单处理逻辑
This commit is contained in:
@@ -701,7 +701,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) {
|
||||
activeKeyCounts.set(key, (activeKeyCounts.get(key) ?? 0) + 1);
|
||||
@@ -984,7 +984,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)
|
||||
|
||||
Reference in New Issue
Block a user