@binance/derivatives-trading-portfolio-margin 18.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.d.mts +34 -22
- package/dist/index.d.ts +34 -22
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -684,7 +684,7 @@ interface CancelCmOrderResponse {
|
|
|
684
684
|
*/
|
|
685
685
|
positionSide?: string;
|
|
686
686
|
/**
|
|
687
|
-
*
|
|
687
|
+
* Status.
|
|
688
688
|
* @type {string}
|
|
689
689
|
* @memberof CancelCmOrderResponse
|
|
690
690
|
*/
|
|
@@ -795,7 +795,7 @@ interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInne
|
|
|
795
795
|
*/
|
|
796
796
|
cummulativeQuoteQty?: string;
|
|
797
797
|
/**
|
|
798
|
-
*
|
|
798
|
+
* Status.
|
|
799
799
|
* @type {string}
|
|
800
800
|
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
|
|
801
801
|
*/
|
|
@@ -933,7 +933,7 @@ interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInner {
|
|
|
933
933
|
*/
|
|
934
934
|
cummulativeQuoteQty?: string;
|
|
935
935
|
/**
|
|
936
|
-
*
|
|
936
|
+
* Status.
|
|
937
937
|
* @type {string}
|
|
938
938
|
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
|
|
939
939
|
*/
|
|
@@ -1082,7 +1082,7 @@ interface CancelMarginAccountOcoOrdersResponseOrderReportsInner {
|
|
|
1082
1082
|
*/
|
|
1083
1083
|
cummulativeQuoteQty?: string;
|
|
1084
1084
|
/**
|
|
1085
|
-
*
|
|
1085
|
+
* Status.
|
|
1086
1086
|
* @type {string}
|
|
1087
1087
|
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
|
|
1088
1088
|
*/
|
|
@@ -1283,7 +1283,7 @@ interface CancelMarginAccountOrderResponse {
|
|
|
1283
1283
|
*/
|
|
1284
1284
|
cummulativeQuoteQty?: string;
|
|
1285
1285
|
/**
|
|
1286
|
-
*
|
|
1286
|
+
* Status.
|
|
1287
1287
|
* @type {string}
|
|
1288
1288
|
* @memberof CancelMarginAccountOrderResponse
|
|
1289
1289
|
*/
|
|
@@ -1556,7 +1556,7 @@ interface CancelUmOrderResponse {
|
|
|
1556
1556
|
*/
|
|
1557
1557
|
positionSide?: string;
|
|
1558
1558
|
/**
|
|
1559
|
-
*
|
|
1559
|
+
* Status.
|
|
1560
1560
|
* @type {string}
|
|
1561
1561
|
* @memberof CancelUmOrderResponse
|
|
1562
1562
|
*/
|
|
@@ -3435,7 +3435,7 @@ interface MarginAccountNewOcoResponseOrderReportsInner {
|
|
|
3435
3435
|
*/
|
|
3436
3436
|
cummulativeQuoteQty?: string;
|
|
3437
3437
|
/**
|
|
3438
|
-
*
|
|
3438
|
+
* Status.
|
|
3439
3439
|
* @type {string}
|
|
3440
3440
|
* @memberof MarginAccountNewOcoResponseOrderReportsInner
|
|
3441
3441
|
*/
|
|
@@ -3824,7 +3824,7 @@ interface ModifyCmOrderResponse {
|
|
|
3824
3824
|
*/
|
|
3825
3825
|
pair?: string;
|
|
3826
3826
|
/**
|
|
3827
|
-
*
|
|
3827
|
+
* Status.
|
|
3828
3828
|
* @type {string}
|
|
3829
3829
|
* @memberof ModifyCmOrderResponse
|
|
3830
3830
|
*/
|
|
@@ -3941,7 +3941,7 @@ interface ModifyUmOrderResponse {
|
|
|
3941
3941
|
*/
|
|
3942
3942
|
symbol?: string;
|
|
3943
3943
|
/**
|
|
3944
|
-
*
|
|
3944
|
+
* Status.
|
|
3945
3945
|
* @type {string}
|
|
3946
3946
|
* @memberof ModifyUmOrderResponse
|
|
3947
3947
|
*/
|
|
@@ -4253,7 +4253,7 @@ interface NewCmOrderResponse {
|
|
|
4253
4253
|
*/
|
|
4254
4254
|
positionSide?: string;
|
|
4255
4255
|
/**
|
|
4256
|
-
*
|
|
4256
|
+
* Status.
|
|
4257
4257
|
* @type {string}
|
|
4258
4258
|
* @memberof NewCmOrderResponse
|
|
4259
4259
|
*/
|
|
@@ -4391,7 +4391,7 @@ interface NewMarginOrderResponse {
|
|
|
4391
4391
|
*/
|
|
4392
4392
|
cummulativeQuoteQty?: string;
|
|
4393
4393
|
/**
|
|
4394
|
-
*
|
|
4394
|
+
* Status.
|
|
4395
4395
|
* @type {string}
|
|
4396
4396
|
* @memberof NewMarginOrderResponse
|
|
4397
4397
|
*/
|
|
@@ -4814,7 +4814,7 @@ interface NewUmOrderResponse {
|
|
|
4814
4814
|
*/
|
|
4815
4815
|
positionSide?: string;
|
|
4816
4816
|
/**
|
|
4817
|
-
*
|
|
4817
|
+
* Status.
|
|
4818
4818
|
* @type {string}
|
|
4819
4819
|
* @memberof NewUmOrderResponse
|
|
4820
4820
|
*/
|
|
@@ -5242,7 +5242,7 @@ interface QueryAllCmOrdersResponseInner {
|
|
|
5242
5242
|
*/
|
|
5243
5243
|
positionSide?: string;
|
|
5244
5244
|
/**
|
|
5245
|
-
*
|
|
5245
|
+
* Status.
|
|
5246
5246
|
* @type {string}
|
|
5247
5247
|
* @memberof QueryAllCmOrdersResponseInner
|
|
5248
5248
|
*/
|
|
@@ -5816,7 +5816,7 @@ interface QueryAllCurrentUmOpenOrdersResponseInner {
|
|
|
5816
5816
|
*/
|
|
5817
5817
|
positionSide?: string;
|
|
5818
5818
|
/**
|
|
5819
|
-
*
|
|
5819
|
+
* Status.
|
|
5820
5820
|
* @type {string}
|
|
5821
5821
|
* @memberof QueryAllCurrentUmOpenOrdersResponseInner
|
|
5822
5822
|
*/
|
|
@@ -5953,7 +5953,7 @@ interface QueryAllMarginAccountOrdersResponseInner {
|
|
|
5953
5953
|
*/
|
|
5954
5954
|
side?: string;
|
|
5955
5955
|
/**
|
|
5956
|
-
*
|
|
5956
|
+
* Status.
|
|
5957
5957
|
* @type {string}
|
|
5958
5958
|
* @memberof QueryAllMarginAccountOrdersResponseInner
|
|
5959
5959
|
*/
|
|
@@ -6600,7 +6600,7 @@ interface QueryCmOrderResponse {
|
|
|
6600
6600
|
*/
|
|
6601
6601
|
side?: string;
|
|
6602
6602
|
/**
|
|
6603
|
-
*
|
|
6603
|
+
* Status.
|
|
6604
6604
|
* @type {string}
|
|
6605
6605
|
* @memberof QueryCmOrderResponse
|
|
6606
6606
|
*/
|
|
@@ -6943,7 +6943,7 @@ interface QueryCurrentMarginOpenOrderResponseInner {
|
|
|
6943
6943
|
*/
|
|
6944
6944
|
side?: string;
|
|
6945
6945
|
/**
|
|
6946
|
-
*
|
|
6946
|
+
* Status.
|
|
6947
6947
|
* @type {string}
|
|
6948
6948
|
* @memberof QueryCurrentMarginOpenOrderResponseInner
|
|
6949
6949
|
*/
|
|
@@ -7404,7 +7404,7 @@ interface QueryCurrentUmOpenOrderResponse {
|
|
|
7404
7404
|
*/
|
|
7405
7405
|
positionSide?: string;
|
|
7406
7406
|
/**
|
|
7407
|
-
*
|
|
7407
|
+
* Status.
|
|
7408
7408
|
* @type {string}
|
|
7409
7409
|
* @memberof QueryCurrentUmOpenOrderResponse
|
|
7410
7410
|
*/
|
|
@@ -7533,7 +7533,7 @@ interface QueryMarginAccountOrderResponse {
|
|
|
7533
7533
|
*/
|
|
7534
7534
|
side?: string;
|
|
7535
7535
|
/**
|
|
7536
|
-
*
|
|
7536
|
+
* Status.
|
|
7537
7537
|
* @type {string}
|
|
7538
7538
|
* @memberof QueryMarginAccountOrderResponse
|
|
7539
7539
|
*/
|
|
@@ -8635,7 +8635,7 @@ interface QueryUmOrderResponse {
|
|
|
8635
8635
|
*/
|
|
8636
8636
|
positionSide?: string;
|
|
8637
8637
|
/**
|
|
8638
|
-
*
|
|
8638
|
+
* Status.
|
|
8639
8639
|
* @type {string}
|
|
8640
8640
|
* @memberof QueryUmOrderResponse
|
|
8641
8641
|
*/
|
|
@@ -8963,7 +8963,7 @@ interface QueryUsersCmForceOrdersResponseInner {
|
|
|
8963
8963
|
*/
|
|
8964
8964
|
pair?: string;
|
|
8965
8965
|
/**
|
|
8966
|
-
*
|
|
8966
|
+
* Status.
|
|
8967
8967
|
* @type {string}
|
|
8968
8968
|
* @memberof QueryUsersCmForceOrdersResponseInner
|
|
8969
8969
|
*/
|
|
@@ -9190,7 +9190,7 @@ interface QueryUsersUmForceOrdersResponseInner {
|
|
|
9190
9190
|
*/
|
|
9191
9191
|
symbol?: string;
|
|
9192
9192
|
/**
|
|
9193
|
-
*
|
|
9193
|
+
* Status.
|
|
9194
9194
|
* @type {string}
|
|
9195
9195
|
* @memberof QueryUsersUmForceOrdersResponseInner
|
|
9196
9196
|
*/
|
|
@@ -19630,6 +19630,12 @@ interface AccountUpdateA {
|
|
|
19630
19630
|
* @memberof AccountUpdateA
|
|
19631
19631
|
*/
|
|
19632
19632
|
P?: Array<AccountUpdateAPInner>;
|
|
19633
|
+
/**
|
|
19634
|
+
* Symbol associated with FUNDING_FEE event
|
|
19635
|
+
* @type {string}
|
|
19636
|
+
* @memberof AccountUpdateA
|
|
19637
|
+
*/
|
|
19638
|
+
S?: string;
|
|
19633
19639
|
}
|
|
19634
19640
|
//#endregion
|
|
19635
19641
|
//#region src/websocket-streams/types/account-update.d.ts
|
|
@@ -19840,6 +19846,12 @@ interface AlgoOrderUpdateAo {
|
|
|
19840
19846
|
* @memberof AlgoOrderUpdateAo
|
|
19841
19847
|
*/
|
|
19842
19848
|
rm?: string;
|
|
19849
|
+
/**
|
|
19850
|
+
* Is activated or not, only meaningful for trailing order
|
|
19851
|
+
* @type {boolean}
|
|
19852
|
+
* @memberof AlgoOrderUpdateAo
|
|
19853
|
+
*/
|
|
19854
|
+
ia?: boolean;
|
|
19843
19855
|
}
|
|
19844
19856
|
//#endregion
|
|
19845
19857
|
//#region src/websocket-streams/types/algo-order-update.d.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -685,7 +685,7 @@ interface CancelCmOrderResponse {
|
|
|
685
685
|
*/
|
|
686
686
|
positionSide?: string;
|
|
687
687
|
/**
|
|
688
|
-
*
|
|
688
|
+
* Status.
|
|
689
689
|
* @type {string}
|
|
690
690
|
* @memberof CancelCmOrderResponse
|
|
691
691
|
*/
|
|
@@ -796,7 +796,7 @@ interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInne
|
|
|
796
796
|
*/
|
|
797
797
|
cummulativeQuoteQty?: string;
|
|
798
798
|
/**
|
|
799
|
-
*
|
|
799
|
+
* Status.
|
|
800
800
|
* @type {string}
|
|
801
801
|
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
|
|
802
802
|
*/
|
|
@@ -934,7 +934,7 @@ interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInner {
|
|
|
934
934
|
*/
|
|
935
935
|
cummulativeQuoteQty?: string;
|
|
936
936
|
/**
|
|
937
|
-
*
|
|
937
|
+
* Status.
|
|
938
938
|
* @type {string}
|
|
939
939
|
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
|
|
940
940
|
*/
|
|
@@ -1083,7 +1083,7 @@ interface CancelMarginAccountOcoOrdersResponseOrderReportsInner {
|
|
|
1083
1083
|
*/
|
|
1084
1084
|
cummulativeQuoteQty?: string;
|
|
1085
1085
|
/**
|
|
1086
|
-
*
|
|
1086
|
+
* Status.
|
|
1087
1087
|
* @type {string}
|
|
1088
1088
|
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
|
|
1089
1089
|
*/
|
|
@@ -1284,7 +1284,7 @@ interface CancelMarginAccountOrderResponse {
|
|
|
1284
1284
|
*/
|
|
1285
1285
|
cummulativeQuoteQty?: string;
|
|
1286
1286
|
/**
|
|
1287
|
-
*
|
|
1287
|
+
* Status.
|
|
1288
1288
|
* @type {string}
|
|
1289
1289
|
* @memberof CancelMarginAccountOrderResponse
|
|
1290
1290
|
*/
|
|
@@ -1557,7 +1557,7 @@ interface CancelUmOrderResponse {
|
|
|
1557
1557
|
*/
|
|
1558
1558
|
positionSide?: string;
|
|
1559
1559
|
/**
|
|
1560
|
-
*
|
|
1560
|
+
* Status.
|
|
1561
1561
|
* @type {string}
|
|
1562
1562
|
* @memberof CancelUmOrderResponse
|
|
1563
1563
|
*/
|
|
@@ -3436,7 +3436,7 @@ interface MarginAccountNewOcoResponseOrderReportsInner {
|
|
|
3436
3436
|
*/
|
|
3437
3437
|
cummulativeQuoteQty?: string;
|
|
3438
3438
|
/**
|
|
3439
|
-
*
|
|
3439
|
+
* Status.
|
|
3440
3440
|
* @type {string}
|
|
3441
3441
|
* @memberof MarginAccountNewOcoResponseOrderReportsInner
|
|
3442
3442
|
*/
|
|
@@ -3825,7 +3825,7 @@ interface ModifyCmOrderResponse {
|
|
|
3825
3825
|
*/
|
|
3826
3826
|
pair?: string;
|
|
3827
3827
|
/**
|
|
3828
|
-
*
|
|
3828
|
+
* Status.
|
|
3829
3829
|
* @type {string}
|
|
3830
3830
|
* @memberof ModifyCmOrderResponse
|
|
3831
3831
|
*/
|
|
@@ -3942,7 +3942,7 @@ interface ModifyUmOrderResponse {
|
|
|
3942
3942
|
*/
|
|
3943
3943
|
symbol?: string;
|
|
3944
3944
|
/**
|
|
3945
|
-
*
|
|
3945
|
+
* Status.
|
|
3946
3946
|
* @type {string}
|
|
3947
3947
|
* @memberof ModifyUmOrderResponse
|
|
3948
3948
|
*/
|
|
@@ -4254,7 +4254,7 @@ interface NewCmOrderResponse {
|
|
|
4254
4254
|
*/
|
|
4255
4255
|
positionSide?: string;
|
|
4256
4256
|
/**
|
|
4257
|
-
*
|
|
4257
|
+
* Status.
|
|
4258
4258
|
* @type {string}
|
|
4259
4259
|
* @memberof NewCmOrderResponse
|
|
4260
4260
|
*/
|
|
@@ -4392,7 +4392,7 @@ interface NewMarginOrderResponse {
|
|
|
4392
4392
|
*/
|
|
4393
4393
|
cummulativeQuoteQty?: string;
|
|
4394
4394
|
/**
|
|
4395
|
-
*
|
|
4395
|
+
* Status.
|
|
4396
4396
|
* @type {string}
|
|
4397
4397
|
* @memberof NewMarginOrderResponse
|
|
4398
4398
|
*/
|
|
@@ -4815,7 +4815,7 @@ interface NewUmOrderResponse {
|
|
|
4815
4815
|
*/
|
|
4816
4816
|
positionSide?: string;
|
|
4817
4817
|
/**
|
|
4818
|
-
*
|
|
4818
|
+
* Status.
|
|
4819
4819
|
* @type {string}
|
|
4820
4820
|
* @memberof NewUmOrderResponse
|
|
4821
4821
|
*/
|
|
@@ -5243,7 +5243,7 @@ interface QueryAllCmOrdersResponseInner {
|
|
|
5243
5243
|
*/
|
|
5244
5244
|
positionSide?: string;
|
|
5245
5245
|
/**
|
|
5246
|
-
*
|
|
5246
|
+
* Status.
|
|
5247
5247
|
* @type {string}
|
|
5248
5248
|
* @memberof QueryAllCmOrdersResponseInner
|
|
5249
5249
|
*/
|
|
@@ -5817,7 +5817,7 @@ interface QueryAllCurrentUmOpenOrdersResponseInner {
|
|
|
5817
5817
|
*/
|
|
5818
5818
|
positionSide?: string;
|
|
5819
5819
|
/**
|
|
5820
|
-
*
|
|
5820
|
+
* Status.
|
|
5821
5821
|
* @type {string}
|
|
5822
5822
|
* @memberof QueryAllCurrentUmOpenOrdersResponseInner
|
|
5823
5823
|
*/
|
|
@@ -5954,7 +5954,7 @@ interface QueryAllMarginAccountOrdersResponseInner {
|
|
|
5954
5954
|
*/
|
|
5955
5955
|
side?: string;
|
|
5956
5956
|
/**
|
|
5957
|
-
*
|
|
5957
|
+
* Status.
|
|
5958
5958
|
* @type {string}
|
|
5959
5959
|
* @memberof QueryAllMarginAccountOrdersResponseInner
|
|
5960
5960
|
*/
|
|
@@ -6601,7 +6601,7 @@ interface QueryCmOrderResponse {
|
|
|
6601
6601
|
*/
|
|
6602
6602
|
side?: string;
|
|
6603
6603
|
/**
|
|
6604
|
-
*
|
|
6604
|
+
* Status.
|
|
6605
6605
|
* @type {string}
|
|
6606
6606
|
* @memberof QueryCmOrderResponse
|
|
6607
6607
|
*/
|
|
@@ -6944,7 +6944,7 @@ interface QueryCurrentMarginOpenOrderResponseInner {
|
|
|
6944
6944
|
*/
|
|
6945
6945
|
side?: string;
|
|
6946
6946
|
/**
|
|
6947
|
-
*
|
|
6947
|
+
* Status.
|
|
6948
6948
|
* @type {string}
|
|
6949
6949
|
* @memberof QueryCurrentMarginOpenOrderResponseInner
|
|
6950
6950
|
*/
|
|
@@ -7405,7 +7405,7 @@ interface QueryCurrentUmOpenOrderResponse {
|
|
|
7405
7405
|
*/
|
|
7406
7406
|
positionSide?: string;
|
|
7407
7407
|
/**
|
|
7408
|
-
*
|
|
7408
|
+
* Status.
|
|
7409
7409
|
* @type {string}
|
|
7410
7410
|
* @memberof QueryCurrentUmOpenOrderResponse
|
|
7411
7411
|
*/
|
|
@@ -7534,7 +7534,7 @@ interface QueryMarginAccountOrderResponse {
|
|
|
7534
7534
|
*/
|
|
7535
7535
|
side?: string;
|
|
7536
7536
|
/**
|
|
7537
|
-
*
|
|
7537
|
+
* Status.
|
|
7538
7538
|
* @type {string}
|
|
7539
7539
|
* @memberof QueryMarginAccountOrderResponse
|
|
7540
7540
|
*/
|
|
@@ -8636,7 +8636,7 @@ interface QueryUmOrderResponse {
|
|
|
8636
8636
|
*/
|
|
8637
8637
|
positionSide?: string;
|
|
8638
8638
|
/**
|
|
8639
|
-
*
|
|
8639
|
+
* Status.
|
|
8640
8640
|
* @type {string}
|
|
8641
8641
|
* @memberof QueryUmOrderResponse
|
|
8642
8642
|
*/
|
|
@@ -8964,7 +8964,7 @@ interface QueryUsersCmForceOrdersResponseInner {
|
|
|
8964
8964
|
*/
|
|
8965
8965
|
pair?: string;
|
|
8966
8966
|
/**
|
|
8967
|
-
*
|
|
8967
|
+
* Status.
|
|
8968
8968
|
* @type {string}
|
|
8969
8969
|
* @memberof QueryUsersCmForceOrdersResponseInner
|
|
8970
8970
|
*/
|
|
@@ -9191,7 +9191,7 @@ interface QueryUsersUmForceOrdersResponseInner {
|
|
|
9191
9191
|
*/
|
|
9192
9192
|
symbol?: string;
|
|
9193
9193
|
/**
|
|
9194
|
-
*
|
|
9194
|
+
* Status.
|
|
9195
9195
|
* @type {string}
|
|
9196
9196
|
* @memberof QueryUsersUmForceOrdersResponseInner
|
|
9197
9197
|
*/
|
|
@@ -19631,6 +19631,12 @@ interface AccountUpdateA {
|
|
|
19631
19631
|
* @memberof AccountUpdateA
|
|
19632
19632
|
*/
|
|
19633
19633
|
P?: Array<AccountUpdateAPInner>;
|
|
19634
|
+
/**
|
|
19635
|
+
* Symbol associated with FUNDING_FEE event
|
|
19636
|
+
* @type {string}
|
|
19637
|
+
* @memberof AccountUpdateA
|
|
19638
|
+
*/
|
|
19639
|
+
S?: string;
|
|
19634
19640
|
}
|
|
19635
19641
|
//#endregion
|
|
19636
19642
|
//#region src/websocket-streams/types/account-update.d.ts
|
|
@@ -19841,6 +19847,12 @@ interface AlgoOrderUpdateAo {
|
|
|
19841
19847
|
* @memberof AlgoOrderUpdateAo
|
|
19842
19848
|
*/
|
|
19843
19849
|
rm?: string;
|
|
19850
|
+
/**
|
|
19851
|
+
* Is activated or not, only meaningful for trailing order
|
|
19852
|
+
* @type {boolean}
|
|
19853
|
+
* @memberof AlgoOrderUpdateAo
|
|
19854
|
+
*/
|
|
19855
|
+
ia?: boolean;
|
|
19844
19856
|
}
|
|
19845
19857
|
//#endregion
|
|
19846
19858
|
//#region src/websocket-streams/types/algo-order-update.d.ts
|
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 = "18.0.
|
|
17
|
+
var version = "18.0.1";
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/rest-api/modules/account-api.ts
|