@binance/derivatives-trading-portfolio-margin 17.0.0 → 18.0.1

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 CHANGED
@@ -14,7 +14,7 @@ let __binance_common = require("@binance/common");
14
14
 
15
15
  //#region package.json
16
16
  var name = "@binance/derivatives-trading-portfolio-margin";
17
- var version = "17.0.0";
17
+ var version = "18.0.1";
18
18
 
19
19
  //#endregion
20
20
  //#region src/rest-api/modules/account-api.ts
@@ -3638,7 +3638,8 @@ var TradeApi = class {
3638
3638
  * - Both `quantity` and `price` must be sent
3639
3639
  * - When the new `quantity` or `price` doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
3640
3640
  * - However the order will be cancelled by the amendment in the following situations:
3641
- * - when the order is in partially filled status and the new `quantity` * When the order is `GTX` and the new price will cause it to be executed immediately
3641
+ * - when the order is in partially filled status and the new `quantity` <= `executedQty`
3642
+ * - When the order is `GTX` and the new price will cause it to be executed immediately
3642
3643
  *
3643
3644
  * @summary Modify CM Order (TRADE)
3644
3645
  * @param {ModifyCmOrderRequest} requestParameters Request parameters.
@@ -3663,7 +3664,9 @@ var TradeApi = class {
3663
3664
  * - Both quantity and price must be sent
3664
3665
  * - When the new quantity or price doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
3665
3666
  * - However the order will be cancelled by the amendment in the following situations:
3666
- * - when the order is in partially filled status and the new quantity * When the order is GTX and the new price will cause it to be executed immediately
3667
+ * - when the order is in partially filled status and the new quantity <= executedQty
3668
+ * - When the order is GTX and the new price will cause it to be executed immediately
3669
+ * - The amendment keeps the order's original selfTradePreventionMode.
3667
3670
  *
3668
3671
  * @summary Modify UM Order (TRADE)
3669
3672
  * @param {ModifyUmOrderRequest} requestParameters Request parameters.
@@ -6384,7 +6387,8 @@ var RestAPI = class {
6384
6387
  * - Both `quantity` and `price` must be sent
6385
6388
  * - When the new `quantity` or `price` doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
6386
6389
  * - However the order will be cancelled by the amendment in the following situations:
6387
- * - when the order is in partially filled status and the new `quantity` * When the order is `GTX` and the new price will cause it to be executed immediately
6390
+ * - when the order is in partially filled status and the new `quantity` <= `executedQty`
6391
+ * - When the order is `GTX` and the new price will cause it to be executed immediately
6388
6392
  *
6389
6393
  * @summary Modify CM Order (TRADE)
6390
6394
  * @param {ModifyCmOrderRequest} requestParameters Request parameters.
@@ -6408,7 +6412,9 @@ var RestAPI = class {
6408
6412
  * - Both quantity and price must be sent
6409
6413
  * - When the new quantity or price doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
6410
6414
  * - However the order will be cancelled by the amendment in the following situations:
6411
- * - when the order is in partially filled status and the new quantity * When the order is GTX and the new price will cause it to be executed immediately
6415
+ * - when the order is in partially filled status and the new quantity <= executedQty
6416
+ * - When the order is GTX and the new price will cause it to be executed immediately
6417
+ * - The amendment keeps the order's original selfTradePreventionMode.
6412
6418
  *
6413
6419
  * @summary Modify UM Order (TRADE)
6414
6420
  * @param {ModifyUmOrderRequest} requestParameters Request parameters.