@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.d.mts +49 -52
- package/dist/index.d.ts +49 -52
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -5
- 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
|
*/
|
|
@@ -3847,12 +3847,6 @@ interface ModifyCmOrderResponse {
|
|
|
3847
3847
|
* @memberof ModifyCmOrderResponse
|
|
3848
3848
|
*/
|
|
3849
3849
|
price?: string;
|
|
3850
|
-
/**
|
|
3851
|
-
* Avg Price.
|
|
3852
|
-
* @type {string}
|
|
3853
|
-
* @memberof ModifyCmOrderResponse
|
|
3854
|
-
*/
|
|
3855
|
-
avgPrice?: string;
|
|
3856
3850
|
/**
|
|
3857
3851
|
* Orig Qty.
|
|
3858
3852
|
* @type {string}
|
|
@@ -3871,12 +3865,6 @@ interface ModifyCmOrderResponse {
|
|
|
3871
3865
|
* @memberof ModifyCmOrderResponse
|
|
3872
3866
|
*/
|
|
3873
3867
|
cumQty?: string;
|
|
3874
|
-
/**
|
|
3875
|
-
* Cum Base.
|
|
3876
|
-
* @type {string}
|
|
3877
|
-
* @memberof ModifyCmOrderResponse
|
|
3878
|
-
*/
|
|
3879
|
-
cumBase?: string;
|
|
3880
3868
|
/**
|
|
3881
3869
|
* Time In Force.
|
|
3882
3870
|
* @type {string}
|
|
@@ -3953,7 +3941,7 @@ interface ModifyUmOrderResponse {
|
|
|
3953
3941
|
*/
|
|
3954
3942
|
symbol?: string;
|
|
3955
3943
|
/**
|
|
3956
|
-
*
|
|
3944
|
+
* Status.
|
|
3957
3945
|
* @type {string}
|
|
3958
3946
|
* @memberof ModifyUmOrderResponse
|
|
3959
3947
|
*/
|
|
@@ -3976,12 +3964,6 @@ interface ModifyUmOrderResponse {
|
|
|
3976
3964
|
* @memberof ModifyUmOrderResponse
|
|
3977
3965
|
*/
|
|
3978
3966
|
price?: string;
|
|
3979
|
-
/**
|
|
3980
|
-
* Avg Price.
|
|
3981
|
-
* @type {string}
|
|
3982
|
-
* @memberof ModifyUmOrderResponse
|
|
3983
|
-
*/
|
|
3984
|
-
avgPrice?: string;
|
|
3985
3967
|
/**
|
|
3986
3968
|
* Orig Qty.
|
|
3987
3969
|
* @type {string}
|
|
@@ -4000,12 +3982,6 @@ interface ModifyUmOrderResponse {
|
|
|
4000
3982
|
* @memberof ModifyUmOrderResponse
|
|
4001
3983
|
*/
|
|
4002
3984
|
cumQty?: string;
|
|
4003
|
-
/**
|
|
4004
|
-
* Cum Quote.
|
|
4005
|
-
* @type {string}
|
|
4006
|
-
* @memberof ModifyUmOrderResponse
|
|
4007
|
-
*/
|
|
4008
|
-
cumQuote?: string;
|
|
4009
3985
|
/**
|
|
4010
3986
|
* Time In Force.
|
|
4011
3987
|
* @type {string}
|
|
@@ -4277,7 +4253,7 @@ interface NewCmOrderResponse {
|
|
|
4277
4253
|
*/
|
|
4278
4254
|
positionSide?: string;
|
|
4279
4255
|
/**
|
|
4280
|
-
*
|
|
4256
|
+
* Status.
|
|
4281
4257
|
* @type {string}
|
|
4282
4258
|
* @memberof NewCmOrderResponse
|
|
4283
4259
|
*/
|
|
@@ -4415,7 +4391,7 @@ interface NewMarginOrderResponse {
|
|
|
4415
4391
|
*/
|
|
4416
4392
|
cummulativeQuoteQty?: string;
|
|
4417
4393
|
/**
|
|
4418
|
-
*
|
|
4394
|
+
* Status.
|
|
4419
4395
|
* @type {string}
|
|
4420
4396
|
* @memberof NewMarginOrderResponse
|
|
4421
4397
|
*/
|
|
@@ -4838,7 +4814,7 @@ interface NewUmOrderResponse {
|
|
|
4838
4814
|
*/
|
|
4839
4815
|
positionSide?: string;
|
|
4840
4816
|
/**
|
|
4841
|
-
*
|
|
4817
|
+
* Status.
|
|
4842
4818
|
* @type {string}
|
|
4843
4819
|
* @memberof NewUmOrderResponse
|
|
4844
4820
|
*/
|
|
@@ -5266,7 +5242,7 @@ interface QueryAllCmOrdersResponseInner {
|
|
|
5266
5242
|
*/
|
|
5267
5243
|
positionSide?: string;
|
|
5268
5244
|
/**
|
|
5269
|
-
*
|
|
5245
|
+
* Status.
|
|
5270
5246
|
* @type {string}
|
|
5271
5247
|
* @memberof QueryAllCmOrdersResponseInner
|
|
5272
5248
|
*/
|
|
@@ -5840,7 +5816,7 @@ interface QueryAllCurrentUmOpenOrdersResponseInner {
|
|
|
5840
5816
|
*/
|
|
5841
5817
|
positionSide?: string;
|
|
5842
5818
|
/**
|
|
5843
|
-
*
|
|
5819
|
+
* Status.
|
|
5844
5820
|
* @type {string}
|
|
5845
5821
|
* @memberof QueryAllCurrentUmOpenOrdersResponseInner
|
|
5846
5822
|
*/
|
|
@@ -5977,7 +5953,7 @@ interface QueryAllMarginAccountOrdersResponseInner {
|
|
|
5977
5953
|
*/
|
|
5978
5954
|
side?: string;
|
|
5979
5955
|
/**
|
|
5980
|
-
*
|
|
5956
|
+
* Status.
|
|
5981
5957
|
* @type {string}
|
|
5982
5958
|
* @memberof QueryAllMarginAccountOrdersResponseInner
|
|
5983
5959
|
*/
|
|
@@ -6624,7 +6600,7 @@ interface QueryCmOrderResponse {
|
|
|
6624
6600
|
*/
|
|
6625
6601
|
side?: string;
|
|
6626
6602
|
/**
|
|
6627
|
-
*
|
|
6603
|
+
* Status.
|
|
6628
6604
|
* @type {string}
|
|
6629
6605
|
* @memberof QueryCmOrderResponse
|
|
6630
6606
|
*/
|
|
@@ -6967,7 +6943,7 @@ interface QueryCurrentMarginOpenOrderResponseInner {
|
|
|
6967
6943
|
*/
|
|
6968
6944
|
side?: string;
|
|
6969
6945
|
/**
|
|
6970
|
-
*
|
|
6946
|
+
* Status.
|
|
6971
6947
|
* @type {string}
|
|
6972
6948
|
* @memberof QueryCurrentMarginOpenOrderResponseInner
|
|
6973
6949
|
*/
|
|
@@ -7428,7 +7404,7 @@ interface QueryCurrentUmOpenOrderResponse {
|
|
|
7428
7404
|
*/
|
|
7429
7405
|
positionSide?: string;
|
|
7430
7406
|
/**
|
|
7431
|
-
*
|
|
7407
|
+
* Status.
|
|
7432
7408
|
* @type {string}
|
|
7433
7409
|
* @memberof QueryCurrentUmOpenOrderResponse
|
|
7434
7410
|
*/
|
|
@@ -7557,7 +7533,7 @@ interface QueryMarginAccountOrderResponse {
|
|
|
7557
7533
|
*/
|
|
7558
7534
|
side?: string;
|
|
7559
7535
|
/**
|
|
7560
|
-
*
|
|
7536
|
+
* Status.
|
|
7561
7537
|
* @type {string}
|
|
7562
7538
|
* @memberof QueryMarginAccountOrderResponse
|
|
7563
7539
|
*/
|
|
@@ -8659,7 +8635,7 @@ interface QueryUmOrderResponse {
|
|
|
8659
8635
|
*/
|
|
8660
8636
|
positionSide?: string;
|
|
8661
8637
|
/**
|
|
8662
|
-
*
|
|
8638
|
+
* Status.
|
|
8663
8639
|
* @type {string}
|
|
8664
8640
|
* @memberof QueryUmOrderResponse
|
|
8665
8641
|
*/
|
|
@@ -8987,7 +8963,7 @@ interface QueryUsersCmForceOrdersResponseInner {
|
|
|
8987
8963
|
*/
|
|
8988
8964
|
pair?: string;
|
|
8989
8965
|
/**
|
|
8990
|
-
*
|
|
8966
|
+
* Status.
|
|
8991
8967
|
* @type {string}
|
|
8992
8968
|
* @memberof QueryUsersCmForceOrdersResponseInner
|
|
8993
8969
|
*/
|
|
@@ -9214,7 +9190,7 @@ interface QueryUsersUmForceOrdersResponseInner {
|
|
|
9214
9190
|
*/
|
|
9215
9191
|
symbol?: string;
|
|
9216
9192
|
/**
|
|
9217
|
-
*
|
|
9193
|
+
* Status.
|
|
9218
9194
|
* @type {string}
|
|
9219
9195
|
* @memberof QueryUsersUmForceOrdersResponseInner
|
|
9220
9196
|
*/
|
|
@@ -12622,7 +12598,8 @@ interface TradeApiInterface {
|
|
|
12622
12598
|
* - Both `quantity` and `price` must be sent
|
|
12623
12599
|
* - 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.
|
|
12624
12600
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
12625
|
-
* - when the order is in partially filled status and the new `quantity`
|
|
12601
|
+
* - when the order is in partially filled status and the new `quantity` <= `executedQty`
|
|
12602
|
+
* - When the order is `GTX` and the new price will cause it to be executed immediately
|
|
12626
12603
|
*
|
|
12627
12604
|
* @summary Modify CM Order (TRADE)
|
|
12628
12605
|
* @param {ModifyCmOrderRequest} requestParameters Request parameters.
|
|
@@ -12643,7 +12620,9 @@ interface TradeApiInterface {
|
|
|
12643
12620
|
* - Both quantity and price must be sent
|
|
12644
12621
|
* - 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.
|
|
12645
12622
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
12646
|
-
* - when the order is in partially filled status and the new quantity
|
|
12623
|
+
* - when the order is in partially filled status and the new quantity <= executedQty
|
|
12624
|
+
* - When the order is GTX and the new price will cause it to be executed immediately
|
|
12625
|
+
* - The amendment keeps the order's original selfTradePreventionMode.
|
|
12647
12626
|
*
|
|
12648
12627
|
* @summary Modify UM Order (TRADE)
|
|
12649
12628
|
* @param {ModifyUmOrderRequest} requestParameters Request parameters.
|
|
@@ -16199,7 +16178,8 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
16199
16178
|
* - Both `quantity` and `price` must be sent
|
|
16200
16179
|
* - 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.
|
|
16201
16180
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
16202
|
-
* - when the order is in partially filled status and the new `quantity`
|
|
16181
|
+
* - when the order is in partially filled status and the new `quantity` <= `executedQty`
|
|
16182
|
+
* - When the order is `GTX` and the new price will cause it to be executed immediately
|
|
16203
16183
|
*
|
|
16204
16184
|
* @summary Modify CM Order (TRADE)
|
|
16205
16185
|
* @param {ModifyCmOrderRequest} requestParameters Request parameters.
|
|
@@ -16221,7 +16201,9 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
16221
16201
|
* - Both quantity and price must be sent
|
|
16222
16202
|
* - 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.
|
|
16223
16203
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
16224
|
-
* - when the order is in partially filled status and the new quantity
|
|
16204
|
+
* - when the order is in partially filled status and the new quantity <= executedQty
|
|
16205
|
+
* - When the order is GTX and the new price will cause it to be executed immediately
|
|
16206
|
+
* - The amendment keeps the order's original selfTradePreventionMode.
|
|
16225
16207
|
*
|
|
16226
16208
|
* @summary Modify UM Order (TRADE)
|
|
16227
16209
|
* @param {ModifyUmOrderRequest} requestParameters Request parameters.
|
|
@@ -18588,7 +18570,8 @@ declare class RestAPI {
|
|
|
18588
18570
|
* - Both `quantity` and `price` must be sent
|
|
18589
18571
|
* - 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.
|
|
18590
18572
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
18591
|
-
* - when the order is in partially filled status and the new `quantity`
|
|
18573
|
+
* - when the order is in partially filled status and the new `quantity` <= `executedQty`
|
|
18574
|
+
* - When the order is `GTX` and the new price will cause it to be executed immediately
|
|
18592
18575
|
*
|
|
18593
18576
|
* @summary Modify CM Order (TRADE)
|
|
18594
18577
|
* @param {ModifyCmOrderRequest} requestParameters Request parameters.
|
|
@@ -18610,7 +18593,9 @@ declare class RestAPI {
|
|
|
18610
18593
|
* - Both quantity and price must be sent
|
|
18611
18594
|
* - 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.
|
|
18612
18595
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
18613
|
-
* - when the order is in partially filled status and the new quantity
|
|
18596
|
+
* - when the order is in partially filled status and the new quantity <= executedQty
|
|
18597
|
+
* - When the order is GTX and the new price will cause it to be executed immediately
|
|
18598
|
+
* - The amendment keeps the order's original selfTradePreventionMode.
|
|
18614
18599
|
*
|
|
18615
18600
|
* @summary Modify UM Order (TRADE)
|
|
18616
18601
|
* @param {ModifyUmOrderRequest} requestParameters Request parameters.
|
|
@@ -19645,6 +19630,12 @@ interface AccountUpdateA {
|
|
|
19645
19630
|
* @memberof AccountUpdateA
|
|
19646
19631
|
*/
|
|
19647
19632
|
P?: Array<AccountUpdateAPInner>;
|
|
19633
|
+
/**
|
|
19634
|
+
* Symbol associated with FUNDING_FEE event
|
|
19635
|
+
* @type {string}
|
|
19636
|
+
* @memberof AccountUpdateA
|
|
19637
|
+
*/
|
|
19638
|
+
S?: string;
|
|
19648
19639
|
}
|
|
19649
19640
|
//#endregion
|
|
19650
19641
|
//#region src/websocket-streams/types/account-update.d.ts
|
|
@@ -19855,6 +19846,12 @@ interface AlgoOrderUpdateAo {
|
|
|
19855
19846
|
* @memberof AlgoOrderUpdateAo
|
|
19856
19847
|
*/
|
|
19857
19848
|
rm?: string;
|
|
19849
|
+
/**
|
|
19850
|
+
* Is activated or not, only meaningful for trailing order
|
|
19851
|
+
* @type {boolean}
|
|
19852
|
+
* @memberof AlgoOrderUpdateAo
|
|
19853
|
+
*/
|
|
19854
|
+
ia?: boolean;
|
|
19858
19855
|
}
|
|
19859
19856
|
//#endregion
|
|
19860
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
|
*/
|
|
@@ -3848,12 +3848,6 @@ interface ModifyCmOrderResponse {
|
|
|
3848
3848
|
* @memberof ModifyCmOrderResponse
|
|
3849
3849
|
*/
|
|
3850
3850
|
price?: string;
|
|
3851
|
-
/**
|
|
3852
|
-
* Avg Price.
|
|
3853
|
-
* @type {string}
|
|
3854
|
-
* @memberof ModifyCmOrderResponse
|
|
3855
|
-
*/
|
|
3856
|
-
avgPrice?: string;
|
|
3857
3851
|
/**
|
|
3858
3852
|
* Orig Qty.
|
|
3859
3853
|
* @type {string}
|
|
@@ -3872,12 +3866,6 @@ interface ModifyCmOrderResponse {
|
|
|
3872
3866
|
* @memberof ModifyCmOrderResponse
|
|
3873
3867
|
*/
|
|
3874
3868
|
cumQty?: string;
|
|
3875
|
-
/**
|
|
3876
|
-
* Cum Base.
|
|
3877
|
-
* @type {string}
|
|
3878
|
-
* @memberof ModifyCmOrderResponse
|
|
3879
|
-
*/
|
|
3880
|
-
cumBase?: string;
|
|
3881
3869
|
/**
|
|
3882
3870
|
* Time In Force.
|
|
3883
3871
|
* @type {string}
|
|
@@ -3954,7 +3942,7 @@ interface ModifyUmOrderResponse {
|
|
|
3954
3942
|
*/
|
|
3955
3943
|
symbol?: string;
|
|
3956
3944
|
/**
|
|
3957
|
-
*
|
|
3945
|
+
* Status.
|
|
3958
3946
|
* @type {string}
|
|
3959
3947
|
* @memberof ModifyUmOrderResponse
|
|
3960
3948
|
*/
|
|
@@ -3977,12 +3965,6 @@ interface ModifyUmOrderResponse {
|
|
|
3977
3965
|
* @memberof ModifyUmOrderResponse
|
|
3978
3966
|
*/
|
|
3979
3967
|
price?: string;
|
|
3980
|
-
/**
|
|
3981
|
-
* Avg Price.
|
|
3982
|
-
* @type {string}
|
|
3983
|
-
* @memberof ModifyUmOrderResponse
|
|
3984
|
-
*/
|
|
3985
|
-
avgPrice?: string;
|
|
3986
3968
|
/**
|
|
3987
3969
|
* Orig Qty.
|
|
3988
3970
|
* @type {string}
|
|
@@ -4001,12 +3983,6 @@ interface ModifyUmOrderResponse {
|
|
|
4001
3983
|
* @memberof ModifyUmOrderResponse
|
|
4002
3984
|
*/
|
|
4003
3985
|
cumQty?: string;
|
|
4004
|
-
/**
|
|
4005
|
-
* Cum Quote.
|
|
4006
|
-
* @type {string}
|
|
4007
|
-
* @memberof ModifyUmOrderResponse
|
|
4008
|
-
*/
|
|
4009
|
-
cumQuote?: string;
|
|
4010
3986
|
/**
|
|
4011
3987
|
* Time In Force.
|
|
4012
3988
|
* @type {string}
|
|
@@ -4278,7 +4254,7 @@ interface NewCmOrderResponse {
|
|
|
4278
4254
|
*/
|
|
4279
4255
|
positionSide?: string;
|
|
4280
4256
|
/**
|
|
4281
|
-
*
|
|
4257
|
+
* Status.
|
|
4282
4258
|
* @type {string}
|
|
4283
4259
|
* @memberof NewCmOrderResponse
|
|
4284
4260
|
*/
|
|
@@ -4416,7 +4392,7 @@ interface NewMarginOrderResponse {
|
|
|
4416
4392
|
*/
|
|
4417
4393
|
cummulativeQuoteQty?: string;
|
|
4418
4394
|
/**
|
|
4419
|
-
*
|
|
4395
|
+
* Status.
|
|
4420
4396
|
* @type {string}
|
|
4421
4397
|
* @memberof NewMarginOrderResponse
|
|
4422
4398
|
*/
|
|
@@ -4839,7 +4815,7 @@ interface NewUmOrderResponse {
|
|
|
4839
4815
|
*/
|
|
4840
4816
|
positionSide?: string;
|
|
4841
4817
|
/**
|
|
4842
|
-
*
|
|
4818
|
+
* Status.
|
|
4843
4819
|
* @type {string}
|
|
4844
4820
|
* @memberof NewUmOrderResponse
|
|
4845
4821
|
*/
|
|
@@ -5267,7 +5243,7 @@ interface QueryAllCmOrdersResponseInner {
|
|
|
5267
5243
|
*/
|
|
5268
5244
|
positionSide?: string;
|
|
5269
5245
|
/**
|
|
5270
|
-
*
|
|
5246
|
+
* Status.
|
|
5271
5247
|
* @type {string}
|
|
5272
5248
|
* @memberof QueryAllCmOrdersResponseInner
|
|
5273
5249
|
*/
|
|
@@ -5841,7 +5817,7 @@ interface QueryAllCurrentUmOpenOrdersResponseInner {
|
|
|
5841
5817
|
*/
|
|
5842
5818
|
positionSide?: string;
|
|
5843
5819
|
/**
|
|
5844
|
-
*
|
|
5820
|
+
* Status.
|
|
5845
5821
|
* @type {string}
|
|
5846
5822
|
* @memberof QueryAllCurrentUmOpenOrdersResponseInner
|
|
5847
5823
|
*/
|
|
@@ -5978,7 +5954,7 @@ interface QueryAllMarginAccountOrdersResponseInner {
|
|
|
5978
5954
|
*/
|
|
5979
5955
|
side?: string;
|
|
5980
5956
|
/**
|
|
5981
|
-
*
|
|
5957
|
+
* Status.
|
|
5982
5958
|
* @type {string}
|
|
5983
5959
|
* @memberof QueryAllMarginAccountOrdersResponseInner
|
|
5984
5960
|
*/
|
|
@@ -6625,7 +6601,7 @@ interface QueryCmOrderResponse {
|
|
|
6625
6601
|
*/
|
|
6626
6602
|
side?: string;
|
|
6627
6603
|
/**
|
|
6628
|
-
*
|
|
6604
|
+
* Status.
|
|
6629
6605
|
* @type {string}
|
|
6630
6606
|
* @memberof QueryCmOrderResponse
|
|
6631
6607
|
*/
|
|
@@ -6968,7 +6944,7 @@ interface QueryCurrentMarginOpenOrderResponseInner {
|
|
|
6968
6944
|
*/
|
|
6969
6945
|
side?: string;
|
|
6970
6946
|
/**
|
|
6971
|
-
*
|
|
6947
|
+
* Status.
|
|
6972
6948
|
* @type {string}
|
|
6973
6949
|
* @memberof QueryCurrentMarginOpenOrderResponseInner
|
|
6974
6950
|
*/
|
|
@@ -7429,7 +7405,7 @@ interface QueryCurrentUmOpenOrderResponse {
|
|
|
7429
7405
|
*/
|
|
7430
7406
|
positionSide?: string;
|
|
7431
7407
|
/**
|
|
7432
|
-
*
|
|
7408
|
+
* Status.
|
|
7433
7409
|
* @type {string}
|
|
7434
7410
|
* @memberof QueryCurrentUmOpenOrderResponse
|
|
7435
7411
|
*/
|
|
@@ -7558,7 +7534,7 @@ interface QueryMarginAccountOrderResponse {
|
|
|
7558
7534
|
*/
|
|
7559
7535
|
side?: string;
|
|
7560
7536
|
/**
|
|
7561
|
-
*
|
|
7537
|
+
* Status.
|
|
7562
7538
|
* @type {string}
|
|
7563
7539
|
* @memberof QueryMarginAccountOrderResponse
|
|
7564
7540
|
*/
|
|
@@ -8660,7 +8636,7 @@ interface QueryUmOrderResponse {
|
|
|
8660
8636
|
*/
|
|
8661
8637
|
positionSide?: string;
|
|
8662
8638
|
/**
|
|
8663
|
-
*
|
|
8639
|
+
* Status.
|
|
8664
8640
|
* @type {string}
|
|
8665
8641
|
* @memberof QueryUmOrderResponse
|
|
8666
8642
|
*/
|
|
@@ -8988,7 +8964,7 @@ interface QueryUsersCmForceOrdersResponseInner {
|
|
|
8988
8964
|
*/
|
|
8989
8965
|
pair?: string;
|
|
8990
8966
|
/**
|
|
8991
|
-
*
|
|
8967
|
+
* Status.
|
|
8992
8968
|
* @type {string}
|
|
8993
8969
|
* @memberof QueryUsersCmForceOrdersResponseInner
|
|
8994
8970
|
*/
|
|
@@ -9215,7 +9191,7 @@ interface QueryUsersUmForceOrdersResponseInner {
|
|
|
9215
9191
|
*/
|
|
9216
9192
|
symbol?: string;
|
|
9217
9193
|
/**
|
|
9218
|
-
*
|
|
9194
|
+
* Status.
|
|
9219
9195
|
* @type {string}
|
|
9220
9196
|
* @memberof QueryUsersUmForceOrdersResponseInner
|
|
9221
9197
|
*/
|
|
@@ -12623,7 +12599,8 @@ interface TradeApiInterface {
|
|
|
12623
12599
|
* - Both `quantity` and `price` must be sent
|
|
12624
12600
|
* - 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.
|
|
12625
12601
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
12626
|
-
* - when the order is in partially filled status and the new `quantity`
|
|
12602
|
+
* - when the order is in partially filled status and the new `quantity` <= `executedQty`
|
|
12603
|
+
* - When the order is `GTX` and the new price will cause it to be executed immediately
|
|
12627
12604
|
*
|
|
12628
12605
|
* @summary Modify CM Order (TRADE)
|
|
12629
12606
|
* @param {ModifyCmOrderRequest} requestParameters Request parameters.
|
|
@@ -12644,7 +12621,9 @@ interface TradeApiInterface {
|
|
|
12644
12621
|
* - Both quantity and price must be sent
|
|
12645
12622
|
* - 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.
|
|
12646
12623
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
12647
|
-
* - when the order is in partially filled status and the new quantity
|
|
12624
|
+
* - when the order is in partially filled status and the new quantity <= executedQty
|
|
12625
|
+
* - When the order is GTX and the new price will cause it to be executed immediately
|
|
12626
|
+
* - The amendment keeps the order's original selfTradePreventionMode.
|
|
12648
12627
|
*
|
|
12649
12628
|
* @summary Modify UM Order (TRADE)
|
|
12650
12629
|
* @param {ModifyUmOrderRequest} requestParameters Request parameters.
|
|
@@ -16200,7 +16179,8 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
16200
16179
|
* - Both `quantity` and `price` must be sent
|
|
16201
16180
|
* - 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.
|
|
16202
16181
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
16203
|
-
* - when the order is in partially filled status and the new `quantity`
|
|
16182
|
+
* - when the order is in partially filled status and the new `quantity` <= `executedQty`
|
|
16183
|
+
* - When the order is `GTX` and the new price will cause it to be executed immediately
|
|
16204
16184
|
*
|
|
16205
16185
|
* @summary Modify CM Order (TRADE)
|
|
16206
16186
|
* @param {ModifyCmOrderRequest} requestParameters Request parameters.
|
|
@@ -16222,7 +16202,9 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
16222
16202
|
* - Both quantity and price must be sent
|
|
16223
16203
|
* - 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.
|
|
16224
16204
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
16225
|
-
* - when the order is in partially filled status and the new quantity
|
|
16205
|
+
* - when the order is in partially filled status and the new quantity <= executedQty
|
|
16206
|
+
* - When the order is GTX and the new price will cause it to be executed immediately
|
|
16207
|
+
* - The amendment keeps the order's original selfTradePreventionMode.
|
|
16226
16208
|
*
|
|
16227
16209
|
* @summary Modify UM Order (TRADE)
|
|
16228
16210
|
* @param {ModifyUmOrderRequest} requestParameters Request parameters.
|
|
@@ -18589,7 +18571,8 @@ declare class RestAPI {
|
|
|
18589
18571
|
* - Both `quantity` and `price` must be sent
|
|
18590
18572
|
* - 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.
|
|
18591
18573
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
18592
|
-
* - when the order is in partially filled status and the new `quantity`
|
|
18574
|
+
* - when the order is in partially filled status and the new `quantity` <= `executedQty`
|
|
18575
|
+
* - When the order is `GTX` and the new price will cause it to be executed immediately
|
|
18593
18576
|
*
|
|
18594
18577
|
* @summary Modify CM Order (TRADE)
|
|
18595
18578
|
* @param {ModifyCmOrderRequest} requestParameters Request parameters.
|
|
@@ -18611,7 +18594,9 @@ declare class RestAPI {
|
|
|
18611
18594
|
* - Both quantity and price must be sent
|
|
18612
18595
|
* - 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.
|
|
18613
18596
|
* - However the order will be cancelled by the amendment in the following situations:
|
|
18614
|
-
* - when the order is in partially filled status and the new quantity
|
|
18597
|
+
* - when the order is in partially filled status and the new quantity <= executedQty
|
|
18598
|
+
* - When the order is GTX and the new price will cause it to be executed immediately
|
|
18599
|
+
* - The amendment keeps the order's original selfTradePreventionMode.
|
|
18615
18600
|
*
|
|
18616
18601
|
* @summary Modify UM Order (TRADE)
|
|
18617
18602
|
* @param {ModifyUmOrderRequest} requestParameters Request parameters.
|
|
@@ -19646,6 +19631,12 @@ interface AccountUpdateA {
|
|
|
19646
19631
|
* @memberof AccountUpdateA
|
|
19647
19632
|
*/
|
|
19648
19633
|
P?: Array<AccountUpdateAPInner>;
|
|
19634
|
+
/**
|
|
19635
|
+
* Symbol associated with FUNDING_FEE event
|
|
19636
|
+
* @type {string}
|
|
19637
|
+
* @memberof AccountUpdateA
|
|
19638
|
+
*/
|
|
19639
|
+
S?: string;
|
|
19649
19640
|
}
|
|
19650
19641
|
//#endregion
|
|
19651
19642
|
//#region src/websocket-streams/types/account-update.d.ts
|
|
@@ -19856,6 +19847,12 @@ interface AlgoOrderUpdateAo {
|
|
|
19856
19847
|
* @memberof AlgoOrderUpdateAo
|
|
19857
19848
|
*/
|
|
19858
19849
|
rm?: string;
|
|
19850
|
+
/**
|
|
19851
|
+
* Is activated or not, only meaningful for trailing order
|
|
19852
|
+
* @type {boolean}
|
|
19853
|
+
* @memberof AlgoOrderUpdateAo
|
|
19854
|
+
*/
|
|
19855
|
+
ia?: boolean;
|
|
19859
19856
|
}
|
|
19860
19857
|
//#endregion
|
|
19861
19858
|
//#region src/websocket-streams/types/algo-order-update.d.ts
|