mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 09:18:08 +00:00
feat: 更新网格引擎,修复订单处理逻辑中的布尔参数,确保正确的撤单处理
This commit is contained in:
@@ -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 }
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user