polycopy 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1034,7 +1034,7 @@ class Redeemer {
|
|
|
1034
1034
|
this.delayTimeoutId = void 0;
|
|
1035
1035
|
}
|
|
1036
1036
|
this.state = "stopped";
|
|
1037
|
-
init.logger.info("
|
|
1037
|
+
init.logger.info("自动 redeem 已停止");
|
|
1038
1038
|
}
|
|
1039
1039
|
/**
|
|
1040
1040
|
* 获取可 Redeem 的仓位
|
|
@@ -1404,8 +1404,6 @@ class Trader {
|
|
|
1404
1404
|
break;
|
|
1405
1405
|
case "TIMEOUT":
|
|
1406
1406
|
init.logger.warning("订单超时,尝试取消");
|
|
1407
|
-
telegramService.warning("订单超时", `订单 ID: ${orderId}
|
|
1408
|
-
已尝试取消`);
|
|
1409
1407
|
await this.client.cancelOrder(orderId);
|
|
1410
1408
|
break;
|
|
1411
1409
|
}
|