@binance/derivatives-trading-portfolio-margin 18.0.0 → 18.0.2

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 CHANGED
@@ -684,7 +684,7 @@ interface CancelCmOrderResponse {
684
684
  */
685
685
  positionSide?: string;
686
686
  /**
687
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
9193
+ * Status.
9194
9194
  * @type {string}
9195
9195
  * @memberof QueryUsersUmForceOrdersResponseInner
9196
9196
  */
@@ -12265,13 +12265,16 @@ interface TradeApiInterface {
12265
12265
  /**
12266
12266
  * Cancel All UM Open Conditional Orders
12267
12267
  *
12268
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `DELETE /papi/v1/um/algo/allOpenOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
12269
+ *
12268
12270
  * Weight(IP): 1
12269
12271
  *
12270
12272
  * Security Type: TRADE
12271
12273
  *
12272
- * @summary Cancel All UM Open Conditional Orders (TRADE)
12274
+ * @summary Cancel All UM Open Conditional Orders - Deprecated (TRADE)
12273
12275
  * @param {CancelAllUmOpenConditionalOrdersRequest} requestParameters Request parameters.
12274
12276
  *
12277
+ * @deprecated
12275
12278
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12276
12279
  * @memberof TradeApiInterface
12277
12280
  */
@@ -12392,6 +12395,8 @@ interface TradeApiInterface {
12392
12395
  /**
12393
12396
  * Cancel UM Conditional Order
12394
12397
  *
12398
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `DELETE /papi/v1/um/algo/order` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
12399
+ *
12395
12400
  * Weight(IP): 1
12396
12401
  *
12397
12402
  * Security Type: TRADE
@@ -12399,9 +12404,10 @@ interface TradeApiInterface {
12399
12404
  * Notes:
12400
12405
  * - Either `strategyId` or `newClientStrategyId` must be sent.
12401
12406
  *
12402
- * @summary Cancel UM Conditional Order (TRADE)
12407
+ * @summary Cancel UM Conditional Order - Deprecated (TRADE)
12403
12408
  * @param {CancelUmConditionalOrderRequest} requestParameters Request parameters.
12404
12409
  *
12410
+ * @deprecated
12405
12411
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12406
12412
  * @memberof TradeApiInterface
12407
12413
  */
@@ -12718,6 +12724,8 @@ interface TradeApiInterface {
12718
12724
  /**
12719
12725
  * Place new UM conditional order
12720
12726
  *
12727
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `POST /papi/v1/um/algo/order` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
12728
+ *
12721
12729
  * Weight(IP): 1
12722
12730
  *
12723
12731
  * Security Type: TRADE
@@ -12737,9 +12745,10 @@ interface TradeApiInterface {
12737
12745
  * - `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
12738
12746
  * - In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
12739
12747
  *
12740
- * @summary New UM Conditional Order (TRADE)
12748
+ * @summary New UM Conditional Order - Deprecated (TRADE)
12741
12749
  * @param {NewUmConditionalOrderRequest} requestParameters Request parameters.
12742
12750
  *
12751
+ * @deprecated
12743
12752
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12744
12753
  * @memberof TradeApiInterface
12745
12754
  */
@@ -12865,6 +12874,8 @@ interface TradeApiInterface {
12865
12874
  /**
12866
12875
  * Get all open conditional orders on a symbol.
12867
12876
  *
12877
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/openAlgoOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
12878
+ *
12868
12879
  * Weight: - 1 for a single `symbol`
12869
12880
  * - 40 when `symbol` is omitted
12870
12881
  *
@@ -12873,9 +12884,10 @@ interface TradeApiInterface {
12873
12884
  * Notes:
12874
12885
  * - If `symbol` is not provided, conditional open orders for all symbols are returned.
12875
12886
  *
12876
- * @summary Query All Current UM Open Conditional Orders (USER_DATA)
12887
+ * @summary Query All Current UM Open Conditional Orders - Deprecated (USER_DATA)
12877
12888
  * @param {QueryAllCurrentUmOpenConditionalOrdersRequest} requestParameters Request parameters.
12878
12889
  *
12890
+ * @deprecated
12879
12891
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12880
12892
  * @memberof TradeApiInterface
12881
12893
  */
@@ -12919,6 +12931,8 @@ interface TradeApiInterface {
12919
12931
  /**
12920
12932
  * Query All UM Conditional Orders
12921
12933
  *
12934
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/allAlgoOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
12935
+ *
12922
12936
  * Weight: - 1 for a single `symbol`
12923
12937
  * - 40 when `symbol` is omitted
12924
12938
  *
@@ -12930,9 +12944,10 @@ interface TradeApiInterface {
12930
12944
  * - order has NO filled trade, **AND**
12931
12945
  * - created time + 7 days * The query time period must be less than 7 days( default as the recent 7 days).
12932
12946
  *
12933
- * @summary Query All UM Conditional Orders (USER_DATA)
12947
+ * @summary Query All UM Conditional Orders - Deprecated (USER_DATA)
12934
12948
  * @param {QueryAllUmConditionalOrdersRequest} requestParameters Request parameters.
12935
12949
  *
12950
+ * @deprecated
12936
12951
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12937
12952
  * @memberof TradeApiInterface
12938
12953
  */
@@ -13089,6 +13104,8 @@ interface TradeApiInterface {
13089
13104
  /**
13090
13105
  * Query Current UM Open Conditional Order
13091
13106
  *
13107
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/algoOrder` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
13108
+ *
13092
13109
  * Weight(IP): 1
13093
13110
  *
13094
13111
  * Security Type: USER_DATA
@@ -13097,9 +13114,10 @@ interface TradeApiInterface {
13097
13114
  * - Either `strategyId` or `newClientStrategyId` must be sent.
13098
13115
  * - If the queried order has been `CANCELED`, `TRIGGERED` or `EXPIRED`, the error message "Order does not exist" will be returned.
13099
13116
  *
13100
- * @summary Query Current UM Open Conditional Order (USER_DATA)
13117
+ * @summary Query Current UM Open Conditional Order - Deprecated (USER_DATA)
13101
13118
  * @param {QueryCurrentUmOpenConditionalOrderRequest} requestParameters Request parameters.
13102
13119
  *
13120
+ * @deprecated
13103
13121
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
13104
13122
  * @memberof TradeApiInterface
13105
13123
  */
@@ -13203,6 +13221,8 @@ interface TradeApiInterface {
13203
13221
  /**
13204
13222
  * Query UM Conditional Order History
13205
13223
  *
13224
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/allAlgoOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
13225
+ *
13206
13226
  * Weight(IP): 1
13207
13227
  *
13208
13228
  * Security Type: USER_DATA
@@ -13215,9 +13235,10 @@ interface TradeApiInterface {
13215
13235
  * - order has NO filled trade, **AND**
13216
13236
  * - created time + 7 days < current time
13217
13237
  *
13218
- * @summary Query UM Conditional Order History (USER_DATA)
13238
+ * @summary Query UM Conditional Order History - Deprecated (USER_DATA)
13219
13239
  * @param {QueryUmConditionalOrderHistoryRequest} requestParameters Request parameters.
13220
13240
  *
13241
+ * @deprecated
13221
13242
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
13222
13243
  * @memberof TradeApiInterface
13223
13244
  */
@@ -15826,11 +15847,13 @@ declare class TradeApi implements TradeApiInterface {
15826
15847
  /**
15827
15848
  * Cancel All UM Open Conditional Orders
15828
15849
  *
15850
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `DELETE /papi/v1/um/algo/allOpenOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
15851
+ *
15829
15852
  * Weight(IP): 1
15830
15853
  *
15831
15854
  * Security Type: TRADE
15832
15855
  *
15833
- * @summary Cancel All UM Open Conditional Orders (TRADE)
15856
+ * @summary Cancel All UM Open Conditional Orders - Deprecated (TRADE)
15834
15857
  * @param {CancelAllUmOpenConditionalOrdersRequest} requestParameters Request parameters.
15835
15858
  * @returns {Promise<RestApiResponse<CancelAllUmOpenConditionalOrdersResponse>>}
15836
15859
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -15961,6 +15984,8 @@ declare class TradeApi implements TradeApiInterface {
15961
15984
  /**
15962
15985
  * Cancel UM Conditional Order
15963
15986
  *
15987
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `DELETE /papi/v1/um/algo/order` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
15988
+ *
15964
15989
  * Weight(IP): 1
15965
15990
  *
15966
15991
  * Security Type: TRADE
@@ -15968,7 +15993,7 @@ declare class TradeApi implements TradeApiInterface {
15968
15993
  * Notes:
15969
15994
  * - Either `strategyId` or `newClientStrategyId` must be sent.
15970
15995
  *
15971
- * @summary Cancel UM Conditional Order (TRADE)
15996
+ * @summary Cancel UM Conditional Order - Deprecated (TRADE)
15972
15997
  * @param {CancelUmConditionalOrderRequest} requestParameters Request parameters.
15973
15998
  * @returns {Promise<RestApiResponse<CancelUmConditionalOrderResponse>>}
15974
15999
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16304,6 +16329,8 @@ declare class TradeApi implements TradeApiInterface {
16304
16329
  /**
16305
16330
  * Place new UM conditional order
16306
16331
  *
16332
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `POST /papi/v1/um/algo/order` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
16333
+ *
16307
16334
  * Weight(IP): 1
16308
16335
  *
16309
16336
  * Security Type: TRADE
@@ -16323,7 +16350,7 @@ declare class TradeApi implements TradeApiInterface {
16323
16350
  * - `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
16324
16351
  * - In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
16325
16352
  *
16326
- * @summary New UM Conditional Order (TRADE)
16353
+ * @summary New UM Conditional Order - Deprecated (TRADE)
16327
16354
  * @param {NewUmConditionalOrderRequest} requestParameters Request parameters.
16328
16355
  * @returns {Promise<RestApiResponse<NewUmConditionalOrderResponse>>}
16329
16356
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16458,6 +16485,8 @@ declare class TradeApi implements TradeApiInterface {
16458
16485
  /**
16459
16486
  * Get all open conditional orders on a symbol.
16460
16487
  *
16488
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/openAlgoOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
16489
+ *
16461
16490
  * Weight: - 1 for a single `symbol`
16462
16491
  * - 40 when `symbol` is omitted
16463
16492
  *
@@ -16466,7 +16495,7 @@ declare class TradeApi implements TradeApiInterface {
16466
16495
  * Notes:
16467
16496
  * - If `symbol` is not provided, conditional open orders for all symbols are returned.
16468
16497
  *
16469
- * @summary Query All Current UM Open Conditional Orders (USER_DATA)
16498
+ * @summary Query All Current UM Open Conditional Orders - Deprecated (USER_DATA)
16470
16499
  * @param {QueryAllCurrentUmOpenConditionalOrdersRequest} requestParameters Request parameters.
16471
16500
  * @returns {Promise<RestApiResponse<QueryAllCurrentUmOpenConditionalOrdersResponse>>}
16472
16501
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16515,6 +16544,8 @@ declare class TradeApi implements TradeApiInterface {
16515
16544
  /**
16516
16545
  * Query All UM Conditional Orders
16517
16546
  *
16547
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/allAlgoOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
16548
+ *
16518
16549
  * Weight: - 1 for a single `symbol`
16519
16550
  * - 40 when `symbol` is omitted
16520
16551
  *
@@ -16526,7 +16557,7 @@ declare class TradeApi implements TradeApiInterface {
16526
16557
  * - order has NO filled trade, **AND**
16527
16558
  * - created time + 7 days * The query time period must be less than 7 days( default as the recent 7 days).
16528
16559
  *
16529
- * @summary Query All UM Conditional Orders (USER_DATA)
16560
+ * @summary Query All UM Conditional Orders - Deprecated (USER_DATA)
16530
16561
  * @param {QueryAllUmConditionalOrdersRequest} requestParameters Request parameters.
16531
16562
  * @returns {Promise<RestApiResponse<QueryAllUmConditionalOrdersResponse>>}
16532
16563
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16694,6 +16725,8 @@ declare class TradeApi implements TradeApiInterface {
16694
16725
  /**
16695
16726
  * Query Current UM Open Conditional Order
16696
16727
  *
16728
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/algoOrder` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
16729
+ *
16697
16730
  * Weight(IP): 1
16698
16731
  *
16699
16732
  * Security Type: USER_DATA
@@ -16702,7 +16735,7 @@ declare class TradeApi implements TradeApiInterface {
16702
16735
  * - Either `strategyId` or `newClientStrategyId` must be sent.
16703
16736
  * - If the queried order has been `CANCELED`, `TRIGGERED` or `EXPIRED`, the error message "Order does not exist" will be returned.
16704
16737
  *
16705
- * @summary Query Current UM Open Conditional Order (USER_DATA)
16738
+ * @summary Query Current UM Open Conditional Order - Deprecated (USER_DATA)
16706
16739
  * @param {QueryCurrentUmOpenConditionalOrderRequest} requestParameters Request parameters.
16707
16740
  * @returns {Promise<RestApiResponse<QueryCurrentUmOpenConditionalOrderResponse>>}
16708
16741
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16815,6 +16848,8 @@ declare class TradeApi implements TradeApiInterface {
16815
16848
  /**
16816
16849
  * Query UM Conditional Order History
16817
16850
  *
16851
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/allAlgoOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
16852
+ *
16818
16853
  * Weight(IP): 1
16819
16854
  *
16820
16855
  * Security Type: USER_DATA
@@ -16827,7 +16862,7 @@ declare class TradeApi implements TradeApiInterface {
16827
16862
  * - order has NO filled trade, **AND**
16828
16863
  * - created time + 7 days < current time
16829
16864
  *
16830
- * @summary Query UM Conditional Order History (USER_DATA)
16865
+ * @summary Query UM Conditional Order History - Deprecated (USER_DATA)
16831
16866
  * @param {QueryUmConditionalOrderHistoryRequest} requestParameters Request parameters.
16832
16867
  * @returns {Promise<RestApiResponse<QueryUmConditionalOrderHistoryResponse>>}
16833
16868
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -18218,13 +18253,15 @@ declare class RestAPI {
18218
18253
  /**
18219
18254
  * Cancel All UM Open Conditional Orders
18220
18255
  *
18256
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `DELETE /papi/v1/um/algo/allOpenOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
18257
+ *
18221
18258
  * Weight(IP): 1
18222
18259
  *
18223
18260
  * Security Type: TRADE
18224
18261
  *
18225
- * @summary Cancel All UM Open Conditional Orders (TRADE)
18262
+ * @summary Cancel All UM Open Conditional Orders - Deprecated (TRADE)
18226
18263
  * @param {CancelAllUmOpenConditionalOrdersRequest} requestParameters Request parameters.
18227
- *
18264
+ * @deprecated
18228
18265
  * @returns {Promise<RestApiResponse<CancelAllUmOpenConditionalOrdersResponse>>}
18229
18266
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18230
18267
  * @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin/api/rest-api/trade#cancel-all-um-open-conditional-orders Binance API Documentation}
@@ -18353,6 +18390,8 @@ declare class RestAPI {
18353
18390
  /**
18354
18391
  * Cancel UM Conditional Order
18355
18392
  *
18393
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `DELETE /papi/v1/um/algo/order` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
18394
+ *
18356
18395
  * Weight(IP): 1
18357
18396
  *
18358
18397
  * Security Type: TRADE
@@ -18360,9 +18399,9 @@ declare class RestAPI {
18360
18399
  * Notes:
18361
18400
  * - Either `strategyId` or `newClientStrategyId` must be sent.
18362
18401
  *
18363
- * @summary Cancel UM Conditional Order (TRADE)
18402
+ * @summary Cancel UM Conditional Order - Deprecated (TRADE)
18364
18403
  * @param {CancelUmConditionalOrderRequest} requestParameters Request parameters.
18365
- *
18404
+ * @deprecated
18366
18405
  * @returns {Promise<RestApiResponse<CancelUmConditionalOrderResponse>>}
18367
18406
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18368
18407
  * @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin/api/rest-api/trade#cancel-um-conditional-order Binance API Documentation}
@@ -18696,6 +18735,8 @@ declare class RestAPI {
18696
18735
  /**
18697
18736
  * Place new UM conditional order
18698
18737
  *
18738
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `POST /papi/v1/um/algo/order` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
18739
+ *
18699
18740
  * Weight(IP): 1
18700
18741
  *
18701
18742
  * Security Type: TRADE
@@ -18715,9 +18756,9 @@ declare class RestAPI {
18715
18756
  * - `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
18716
18757
  * - In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
18717
18758
  *
18718
- * @summary New UM Conditional Order (TRADE)
18759
+ * @summary New UM Conditional Order - Deprecated (TRADE)
18719
18760
  * @param {NewUmConditionalOrderRequest} requestParameters Request parameters.
18720
- *
18761
+ * @deprecated
18721
18762
  * @returns {Promise<RestApiResponse<NewUmConditionalOrderResponse>>}
18722
18763
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18723
18764
  * @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin/api/rest-api/trade#new-um-conditional-order Binance API Documentation}
@@ -18850,6 +18891,8 @@ declare class RestAPI {
18850
18891
  /**
18851
18892
  * Get all open conditional orders on a symbol.
18852
18893
  *
18894
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/openAlgoOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
18895
+ *
18853
18896
  * Weight: - 1 for a single `symbol`
18854
18897
  * - 40 when `symbol` is omitted
18855
18898
  *
@@ -18858,9 +18901,9 @@ declare class RestAPI {
18858
18901
  * Notes:
18859
18902
  * - If `symbol` is not provided, conditional open orders for all symbols are returned.
18860
18903
  *
18861
- * @summary Query All Current UM Open Conditional Orders (USER_DATA)
18904
+ * @summary Query All Current UM Open Conditional Orders - Deprecated (USER_DATA)
18862
18905
  * @param {QueryAllCurrentUmOpenConditionalOrdersRequest} requestParameters Request parameters.
18863
- *
18906
+ * @deprecated
18864
18907
  * @returns {Promise<RestApiResponse<QueryAllCurrentUmOpenConditionalOrdersResponse>>}
18865
18908
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18866
18909
  * @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin/api/rest-api/trade#query-all-current-um-open-conditional-orders Binance API Documentation}
@@ -18907,6 +18950,8 @@ declare class RestAPI {
18907
18950
  /**
18908
18951
  * Query All UM Conditional Orders
18909
18952
  *
18953
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/allAlgoOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
18954
+ *
18910
18955
  * Weight: - 1 for a single `symbol`
18911
18956
  * - 40 when `symbol` is omitted
18912
18957
  *
@@ -18918,9 +18963,9 @@ declare class RestAPI {
18918
18963
  * - order has NO filled trade, **AND**
18919
18964
  * - created time + 7 days * The query time period must be less than 7 days( default as the recent 7 days).
18920
18965
  *
18921
- * @summary Query All UM Conditional Orders (USER_DATA)
18966
+ * @summary Query All UM Conditional Orders - Deprecated (USER_DATA)
18922
18967
  * @param {QueryAllUmConditionalOrdersRequest} requestParameters Request parameters.
18923
- *
18968
+ * @deprecated
18924
18969
  * @returns {Promise<RestApiResponse<QueryAllUmConditionalOrdersResponse>>}
18925
18970
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18926
18971
  * @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin/api/rest-api/trade#query-all-um-conditional-orders Binance API Documentation}
@@ -19086,6 +19131,8 @@ declare class RestAPI {
19086
19131
  /**
19087
19132
  * Query Current UM Open Conditional Order
19088
19133
  *
19134
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/algoOrder` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
19135
+ *
19089
19136
  * Weight(IP): 1
19090
19137
  *
19091
19138
  * Security Type: USER_DATA
@@ -19094,9 +19141,9 @@ declare class RestAPI {
19094
19141
  * - Either `strategyId` or `newClientStrategyId` must be sent.
19095
19142
  * - If the queried order has been `CANCELED`, `TRIGGERED` or `EXPIRED`, the error message "Order does not exist" will be returned.
19096
19143
  *
19097
- * @summary Query Current UM Open Conditional Order (USER_DATA)
19144
+ * @summary Query Current UM Open Conditional Order - Deprecated (USER_DATA)
19098
19145
  * @param {QueryCurrentUmOpenConditionalOrderRequest} requestParameters Request parameters.
19099
- *
19146
+ * @deprecated
19100
19147
  * @returns {Promise<RestApiResponse<QueryCurrentUmOpenConditionalOrderResponse>>}
19101
19148
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
19102
19149
  * @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin/api/rest-api/trade#query-current-um-open-conditional-order Binance API Documentation}
@@ -19207,6 +19254,8 @@ declare class RestAPI {
19207
19254
  /**
19208
19255
  * Query UM Conditional Order History
19209
19256
  *
19257
+ * > **Deprecated:** This endpoint has returned HTTP 404 since 2026-04-28 and is no longer available. Use `GET /papi/v1/um/algo/allAlgoOrders` instead. Field changes: `strategyId` -> `algoId`, `newClientStrategyId` -> `clientAlgoId`, `strategyStatus` -> `algoStatus`, `stopPrice` -> `triggerPrice`, `activationPrice` -> `activatePrice` (TRAILING_STOP_MARKET orders). `algoType` is a new fixed-value field (`CONDITIONAL`), not a rename of `strategyType` -- the order type now lives in `type` (request) / `orderType` (response).
19258
+ *
19210
19259
  * Weight(IP): 1
19211
19260
  *
19212
19261
  * Security Type: USER_DATA
@@ -19219,9 +19268,9 @@ declare class RestAPI {
19219
19268
  * - order has NO filled trade, **AND**
19220
19269
  * - created time + 7 days < current time
19221
19270
  *
19222
- * @summary Query UM Conditional Order History (USER_DATA)
19271
+ * @summary Query UM Conditional Order History - Deprecated (USER_DATA)
19223
19272
  * @param {QueryUmConditionalOrderHistoryRequest} requestParameters Request parameters.
19224
- *
19273
+ * @deprecated
19225
19274
  * @returns {Promise<RestApiResponse<QueryUmConditionalOrderHistoryResponse>>}
19226
19275
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
19227
19276
  * @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin/api/rest-api/trade#query-um-conditional-order-history Binance API Documentation}
@@ -19630,6 +19679,12 @@ interface AccountUpdateA {
19630
19679
  * @memberof AccountUpdateA
19631
19680
  */
19632
19681
  P?: Array<AccountUpdateAPInner>;
19682
+ /**
19683
+ * Symbol associated with FUNDING_FEE event
19684
+ * @type {string}
19685
+ * @memberof AccountUpdateA
19686
+ */
19687
+ S?: string;
19633
19688
  }
19634
19689
  //#endregion
19635
19690
  //#region src/websocket-streams/types/account-update.d.ts
@@ -19840,6 +19895,12 @@ interface AlgoOrderUpdateAo {
19840
19895
  * @memberof AlgoOrderUpdateAo
19841
19896
  */
19842
19897
  rm?: string;
19898
+ /**
19899
+ * Is activated or not, only meaningful for trailing order
19900
+ * @type {boolean}
19901
+ * @memberof AlgoOrderUpdateAo
19902
+ */
19903
+ ia?: boolean;
19843
19904
  }
19844
19905
  //#endregion
19845
19906
  //#region src/websocket-streams/types/algo-order-update.d.ts