@binance/derivatives-trading-portfolio-margin 19.0.0 → 21.0.0
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.d.mts +8 -10
- package/dist/index.d.ts +8 -10
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -33,7 +33,7 @@ interface AccountBalanceResponse1Inner {
|
|
|
33
33
|
*/
|
|
34
34
|
totalWalletBalance?: string;
|
|
35
35
|
/**
|
|
36
|
-
* Cross Margin Asset.
|
|
36
|
+
* Cross Margin Asset. Equal to crossMarginFree + crossMarginLocked.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof AccountBalanceResponse1Inner
|
|
39
39
|
*/
|
|
@@ -10045,7 +10045,7 @@ interface GetUmIncomeHistoryRequest {
|
|
|
10045
10045
|
readonly symbol?: string;
|
|
10046
10046
|
/**
|
|
10047
10047
|
* Income type.
|
|
10048
|
-
* @type {'TRANSFER' | 'WELCOME_BONUS' | 'REALIZED_PNL' | 'FUNDING_FEE' | 'COMMISSION' | 'INSURANCE_CLEAR' | 'REFERRAL_KICKBACK' | 'COMMISSION_REBATE' | 'API_REBATE' | 'CONTEST_REWARD' | 'CROSS_COLLATERAL_TRANSFER' | 'OPTIONS_PREMIUM_FEE' | 'OPTIONS_SETTLE_PROFIT' | 'INTERNAL_TRANSFER' | '
|
|
10048
|
+
* @type {'TRANSFER' | 'WELCOME_BONUS' | 'REALIZED_PNL' | 'FUNDING_FEE' | 'COMMISSION' | 'INSURANCE_CLEAR' | 'REFERRAL_KICKBACK' | 'COMMISSION_REBATE' | 'API_REBATE' | 'CONTEST_REWARD' | 'CROSS_COLLATERAL_TRANSFER' | 'OPTIONS_PREMIUM_FEE' | 'OPTIONS_SETTLE_PROFIT' | 'INTERNAL_TRANSFER' | 'DELIVERED_SETTELMENT' | 'COIN_SWAP_DEPOSIT' | 'COIN_SWAP_WITHDRAW' | 'POSITION_LIMIT_INCREASE_FEE'}
|
|
10049
10049
|
* @memberof AccountApiGetUmIncomeHistory
|
|
10050
10050
|
*/
|
|
10051
10051
|
readonly incomeType?: GetUmIncomeHistoryIncomeTypeEnum;
|
|
@@ -11228,7 +11228,6 @@ declare enum GetUmIncomeHistoryIncomeTypeEnum {
|
|
|
11228
11228
|
OPTIONS_PREMIUM_FEE = "OPTIONS_PREMIUM_FEE",
|
|
11229
11229
|
OPTIONS_SETTLE_PROFIT = "OPTIONS_SETTLE_PROFIT",
|
|
11230
11230
|
INTERNAL_TRANSFER = "INTERNAL_TRANSFER",
|
|
11231
|
-
AUTO_EXCHANGE = "AUTO_EXCHANGE",
|
|
11232
11231
|
DELIVERED_SETTELMENT = "DELIVERED_SETTELMENT",
|
|
11233
11232
|
COIN_SWAP_DEPOSIT = "COIN_SWAP_DEPOSIT",
|
|
11234
11233
|
COIN_SWAP_WITHDRAW = "COIN_SWAP_WITHDRAW",
|
|
@@ -12213,7 +12212,7 @@ interface TradeApiInterface {
|
|
|
12213
12212
|
/**
|
|
12214
12213
|
* Query user's margin force orders
|
|
12215
12214
|
*
|
|
12216
|
-
* > **Note:** Portfolio Margin accounts liquidated through the
|
|
12215
|
+
* > **Note:** Portfolio Margin accounts liquidated through the Risk-Based Liquidation Adjustment flow will not have any order or trade records returned by this endpoint. Query the capital flow endpoint instead: Query Cross Isolated Margin Capital Flow.
|
|
12217
12216
|
*
|
|
12218
12217
|
* Weight(IP): 1
|
|
12219
12218
|
*
|
|
@@ -13263,7 +13262,7 @@ interface NewMarginOrderRequest {
|
|
|
13263
13262
|
*/
|
|
13264
13263
|
readonly timeInForce?: NewMarginOrderTimeInForceEnum;
|
|
13265
13264
|
/**
|
|
13266
|
-
* `NONE`:No STP / `EXPIRE_TAKER`:expire taker order when STP triggers/ `EXPIRE_MAKER`:expire taker order when STP triggers/ `EXPIRE_BOTH`:expire both orders when STP triggers
|
|
13265
|
+
* `NONE`: No STP / `EXPIRE_TAKER`: expire taker order when STP triggers/ `EXPIRE_MAKER`: expire taker order when STP triggers/ `EXPIRE_BOTH`: expire both orders when STP triggers
|
|
13267
13266
|
* @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_BOTH' | 'EXPIRE_MAKER'}
|
|
13268
13267
|
* @memberof TradeApiNewMarginOrder
|
|
13269
13268
|
*/
|
|
@@ -13485,8 +13484,8 @@ interface NewUmOrderRequest {
|
|
|
13485
13484
|
*/
|
|
13486
13485
|
readonly priceMatch?: NewUmOrderPriceMatchEnum;
|
|
13487
13486
|
/**
|
|
13488
|
-
* `
|
|
13489
|
-
* @type {'
|
|
13487
|
+
* `EXPIRE_TAKER`: expire taker order when STP triggers/ `EXPIRE_MAKER`: expire taker order when STP triggers/ `EXPIRE_BOTH`: expire both orders when STP triggers
|
|
13488
|
+
* @type {'EXPIRE_TAKER' | 'EXPIRE_BOTH' | 'EXPIRE_MAKER'}
|
|
13490
13489
|
* @memberof TradeApiNewUmOrder
|
|
13491
13490
|
*/
|
|
13492
13491
|
readonly selfTradePreventionMode?: NewUmOrderSelfTradePreventionModeEnum;
|
|
@@ -15410,7 +15409,7 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
15410
15409
|
/**
|
|
15411
15410
|
* Query user's margin force orders
|
|
15412
15411
|
*
|
|
15413
|
-
* > **Note:** Portfolio Margin accounts liquidated through the
|
|
15412
|
+
* > **Note:** Portfolio Margin accounts liquidated through the Risk-Based Liquidation Adjustment flow will not have any order or trade records returned by this endpoint. Query the capital flow endpoint instead: Query Cross Isolated Margin Capital Flow.
|
|
15414
15413
|
*
|
|
15415
15414
|
* Weight(IP): 1
|
|
15416
15415
|
*
|
|
@@ -15754,7 +15753,6 @@ declare enum NewUmOrderPriceMatchEnum {
|
|
|
15754
15753
|
QUEUE_20 = "QUEUE_20",
|
|
15755
15754
|
}
|
|
15756
15755
|
declare enum NewUmOrderSelfTradePreventionModeEnum {
|
|
15757
|
-
NONE = "NONE",
|
|
15758
15756
|
EXPIRE_TAKER = "EXPIRE_TAKER",
|
|
15759
15757
|
EXPIRE_BOTH = "EXPIRE_BOTH",
|
|
15760
15758
|
EXPIRE_MAKER = "EXPIRE_MAKER",
|
|
@@ -17612,7 +17610,7 @@ declare class RestAPI {
|
|
|
17612
17610
|
/**
|
|
17613
17611
|
* Query user's margin force orders
|
|
17614
17612
|
*
|
|
17615
|
-
* > **Note:** Portfolio Margin accounts liquidated through the
|
|
17613
|
+
* > **Note:** Portfolio Margin accounts liquidated through the Risk-Based Liquidation Adjustment flow will not have any order or trade records returned by this endpoint. Query the capital flow endpoint instead: Query Cross Isolated Margin Capital Flow.
|
|
17616
17614
|
*
|
|
17617
17615
|
* Weight(IP): 1
|
|
17618
17616
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ interface AccountBalanceResponse1Inner {
|
|
|
35
35
|
*/
|
|
36
36
|
totalWalletBalance?: string;
|
|
37
37
|
/**
|
|
38
|
-
* Cross Margin Asset.
|
|
38
|
+
* Cross Margin Asset. Equal to crossMarginFree + crossMarginLocked.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof AccountBalanceResponse1Inner
|
|
41
41
|
*/
|
|
@@ -10046,7 +10046,7 @@ interface GetUmIncomeHistoryRequest {
|
|
|
10046
10046
|
readonly symbol?: string;
|
|
10047
10047
|
/**
|
|
10048
10048
|
* Income type.
|
|
10049
|
-
* @type {'TRANSFER' | 'WELCOME_BONUS' | 'REALIZED_PNL' | 'FUNDING_FEE' | 'COMMISSION' | 'INSURANCE_CLEAR' | 'REFERRAL_KICKBACK' | 'COMMISSION_REBATE' | 'API_REBATE' | 'CONTEST_REWARD' | 'CROSS_COLLATERAL_TRANSFER' | 'OPTIONS_PREMIUM_FEE' | 'OPTIONS_SETTLE_PROFIT' | 'INTERNAL_TRANSFER' | '
|
|
10049
|
+
* @type {'TRANSFER' | 'WELCOME_BONUS' | 'REALIZED_PNL' | 'FUNDING_FEE' | 'COMMISSION' | 'INSURANCE_CLEAR' | 'REFERRAL_KICKBACK' | 'COMMISSION_REBATE' | 'API_REBATE' | 'CONTEST_REWARD' | 'CROSS_COLLATERAL_TRANSFER' | 'OPTIONS_PREMIUM_FEE' | 'OPTIONS_SETTLE_PROFIT' | 'INTERNAL_TRANSFER' | 'DELIVERED_SETTELMENT' | 'COIN_SWAP_DEPOSIT' | 'COIN_SWAP_WITHDRAW' | 'POSITION_LIMIT_INCREASE_FEE'}
|
|
10050
10050
|
* @memberof AccountApiGetUmIncomeHistory
|
|
10051
10051
|
*/
|
|
10052
10052
|
readonly incomeType?: GetUmIncomeHistoryIncomeTypeEnum;
|
|
@@ -11229,7 +11229,6 @@ declare enum GetUmIncomeHistoryIncomeTypeEnum {
|
|
|
11229
11229
|
OPTIONS_PREMIUM_FEE = "OPTIONS_PREMIUM_FEE",
|
|
11230
11230
|
OPTIONS_SETTLE_PROFIT = "OPTIONS_SETTLE_PROFIT",
|
|
11231
11231
|
INTERNAL_TRANSFER = "INTERNAL_TRANSFER",
|
|
11232
|
-
AUTO_EXCHANGE = "AUTO_EXCHANGE",
|
|
11233
11232
|
DELIVERED_SETTELMENT = "DELIVERED_SETTELMENT",
|
|
11234
11233
|
COIN_SWAP_DEPOSIT = "COIN_SWAP_DEPOSIT",
|
|
11235
11234
|
COIN_SWAP_WITHDRAW = "COIN_SWAP_WITHDRAW",
|
|
@@ -12214,7 +12213,7 @@ interface TradeApiInterface {
|
|
|
12214
12213
|
/**
|
|
12215
12214
|
* Query user's margin force orders
|
|
12216
12215
|
*
|
|
12217
|
-
* > **Note:** Portfolio Margin accounts liquidated through the
|
|
12216
|
+
* > **Note:** Portfolio Margin accounts liquidated through the Risk-Based Liquidation Adjustment flow will not have any order or trade records returned by this endpoint. Query the capital flow endpoint instead: Query Cross Isolated Margin Capital Flow.
|
|
12218
12217
|
*
|
|
12219
12218
|
* Weight(IP): 1
|
|
12220
12219
|
*
|
|
@@ -13264,7 +13263,7 @@ interface NewMarginOrderRequest {
|
|
|
13264
13263
|
*/
|
|
13265
13264
|
readonly timeInForce?: NewMarginOrderTimeInForceEnum;
|
|
13266
13265
|
/**
|
|
13267
|
-
* `NONE`:No STP / `EXPIRE_TAKER`:expire taker order when STP triggers/ `EXPIRE_MAKER`:expire taker order when STP triggers/ `EXPIRE_BOTH`:expire both orders when STP triggers
|
|
13266
|
+
* `NONE`: No STP / `EXPIRE_TAKER`: expire taker order when STP triggers/ `EXPIRE_MAKER`: expire taker order when STP triggers/ `EXPIRE_BOTH`: expire both orders when STP triggers
|
|
13268
13267
|
* @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_BOTH' | 'EXPIRE_MAKER'}
|
|
13269
13268
|
* @memberof TradeApiNewMarginOrder
|
|
13270
13269
|
*/
|
|
@@ -13486,8 +13485,8 @@ interface NewUmOrderRequest {
|
|
|
13486
13485
|
*/
|
|
13487
13486
|
readonly priceMatch?: NewUmOrderPriceMatchEnum;
|
|
13488
13487
|
/**
|
|
13489
|
-
* `
|
|
13490
|
-
* @type {'
|
|
13488
|
+
* `EXPIRE_TAKER`: expire taker order when STP triggers/ `EXPIRE_MAKER`: expire taker order when STP triggers/ `EXPIRE_BOTH`: expire both orders when STP triggers
|
|
13489
|
+
* @type {'EXPIRE_TAKER' | 'EXPIRE_BOTH' | 'EXPIRE_MAKER'}
|
|
13491
13490
|
* @memberof TradeApiNewUmOrder
|
|
13492
13491
|
*/
|
|
13493
13492
|
readonly selfTradePreventionMode?: NewUmOrderSelfTradePreventionModeEnum;
|
|
@@ -15411,7 +15410,7 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
15411
15410
|
/**
|
|
15412
15411
|
* Query user's margin force orders
|
|
15413
15412
|
*
|
|
15414
|
-
* > **Note:** Portfolio Margin accounts liquidated through the
|
|
15413
|
+
* > **Note:** Portfolio Margin accounts liquidated through the Risk-Based Liquidation Adjustment flow will not have any order or trade records returned by this endpoint. Query the capital flow endpoint instead: Query Cross Isolated Margin Capital Flow.
|
|
15415
15414
|
*
|
|
15416
15415
|
* Weight(IP): 1
|
|
15417
15416
|
*
|
|
@@ -15755,7 +15754,6 @@ declare enum NewUmOrderPriceMatchEnum {
|
|
|
15755
15754
|
QUEUE_20 = "QUEUE_20",
|
|
15756
15755
|
}
|
|
15757
15756
|
declare enum NewUmOrderSelfTradePreventionModeEnum {
|
|
15758
|
-
NONE = "NONE",
|
|
15759
15757
|
EXPIRE_TAKER = "EXPIRE_TAKER",
|
|
15760
15758
|
EXPIRE_BOTH = "EXPIRE_BOTH",
|
|
15761
15759
|
EXPIRE_MAKER = "EXPIRE_MAKER",
|
|
@@ -17613,7 +17611,7 @@ declare class RestAPI {
|
|
|
17613
17611
|
/**
|
|
17614
17612
|
* Query user's margin force orders
|
|
17615
17613
|
*
|
|
17616
|
-
* > **Note:** Portfolio Margin accounts liquidated through the
|
|
17614
|
+
* > **Note:** Portfolio Margin accounts liquidated through the Risk-Based Liquidation Adjustment flow will not have any order or trade records returned by this endpoint. Query the capital flow endpoint instead: Query Cross Isolated Margin Capital Flow.
|
|
17617
17615
|
*
|
|
17618
17616
|
* Weight(IP): 1
|
|
17619
17617
|
*
|
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
|
+
var version = "21.0.0";
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/rest-api/modules/account-api.ts
|
|
@@ -1714,7 +1714,6 @@ let GetUmIncomeHistoryIncomeTypeEnum = /* @__PURE__ */ function(GetUmIncomeHisto
|
|
|
1714
1714
|
GetUmIncomeHistoryIncomeTypeEnum$1["OPTIONS_PREMIUM_FEE"] = "OPTIONS_PREMIUM_FEE";
|
|
1715
1715
|
GetUmIncomeHistoryIncomeTypeEnum$1["OPTIONS_SETTLE_PROFIT"] = "OPTIONS_SETTLE_PROFIT";
|
|
1716
1716
|
GetUmIncomeHistoryIncomeTypeEnum$1["INTERNAL_TRANSFER"] = "INTERNAL_TRANSFER";
|
|
1717
|
-
GetUmIncomeHistoryIncomeTypeEnum$1["AUTO_EXCHANGE"] = "AUTO_EXCHANGE";
|
|
1718
1717
|
GetUmIncomeHistoryIncomeTypeEnum$1["DELIVERED_SETTELMENT"] = "DELIVERED_SETTELMENT";
|
|
1719
1718
|
GetUmIncomeHistoryIncomeTypeEnum$1["COIN_SWAP_DEPOSIT"] = "COIN_SWAP_DEPOSIT";
|
|
1720
1719
|
GetUmIncomeHistoryIncomeTypeEnum$1["COIN_SWAP_WITHDRAW"] = "COIN_SWAP_WITHDRAW";
|
|
@@ -4148,7 +4147,7 @@ var TradeApi = class {
|
|
|
4148
4147
|
/**
|
|
4149
4148
|
* Query user's margin force orders
|
|
4150
4149
|
*
|
|
4151
|
-
* > **Note:** Portfolio Margin accounts liquidated through the
|
|
4150
|
+
* > **Note:** Portfolio Margin accounts liquidated through the Risk-Based Liquidation Adjustment flow will not have any order or trade records returned by this endpoint. Query the capital flow endpoint instead: Query Cross Isolated Margin Capital Flow.
|
|
4152
4151
|
*
|
|
4153
4152
|
* Weight(IP): 1
|
|
4154
4153
|
*
|
|
@@ -4553,7 +4552,6 @@ let NewUmOrderPriceMatchEnum = /* @__PURE__ */ function(NewUmOrderPriceMatchEnum
|
|
|
4553
4552
|
return NewUmOrderPriceMatchEnum$1;
|
|
4554
4553
|
}({});
|
|
4555
4554
|
let NewUmOrderSelfTradePreventionModeEnum = /* @__PURE__ */ function(NewUmOrderSelfTradePreventionModeEnum$1) {
|
|
4556
|
-
NewUmOrderSelfTradePreventionModeEnum$1["NONE"] = "NONE";
|
|
4557
4555
|
NewUmOrderSelfTradePreventionModeEnum$1["EXPIRE_TAKER"] = "EXPIRE_TAKER";
|
|
4558
4556
|
NewUmOrderSelfTradePreventionModeEnum$1["EXPIRE_BOTH"] = "EXPIRE_BOTH";
|
|
4559
4557
|
NewUmOrderSelfTradePreventionModeEnum$1["EXPIRE_MAKER"] = "EXPIRE_MAKER";
|
|
@@ -6649,7 +6647,7 @@ var RestAPI = class {
|
|
|
6649
6647
|
/**
|
|
6650
6648
|
* Query user's margin force orders
|
|
6651
6649
|
*
|
|
6652
|
-
* > **Note:** Portfolio Margin accounts liquidated through the
|
|
6650
|
+
* > **Note:** Portfolio Margin accounts liquidated through the Risk-Based Liquidation Adjustment flow will not have any order or trade records returned by this endpoint. Query the capital flow endpoint instead: Query Cross Isolated Margin Capital Flow.
|
|
6653
6651
|
*
|
|
6654
6652
|
* Weight(IP): 1
|
|
6655
6653
|
*
|