@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.ts CHANGED
@@ -685,7 +685,7 @@ interface CancelCmOrderResponse {
685
685
  */
686
686
  positionSide?: string;
687
687
  /**
688
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
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
- * Enum:completed,processing
9194
+ * Status.
9195
9195
  * @type {string}
9196
9196
  * @memberof QueryUsersUmForceOrdersResponseInner
9197
9197
  */
@@ -12266,13 +12266,16 @@ interface TradeApiInterface {
12266
12266
  /**
12267
12267
  * Cancel All UM Open Conditional Orders
12268
12268
  *
12269
+ * > **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).
12270
+ *
12269
12271
  * Weight(IP): 1
12270
12272
  *
12271
12273
  * Security Type: TRADE
12272
12274
  *
12273
- * @summary Cancel All UM Open Conditional Orders (TRADE)
12275
+ * @summary Cancel All UM Open Conditional Orders - Deprecated (TRADE)
12274
12276
  * @param {CancelAllUmOpenConditionalOrdersRequest} requestParameters Request parameters.
12275
12277
  *
12278
+ * @deprecated
12276
12279
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12277
12280
  * @memberof TradeApiInterface
12278
12281
  */
@@ -12393,6 +12396,8 @@ interface TradeApiInterface {
12393
12396
  /**
12394
12397
  * Cancel UM Conditional Order
12395
12398
  *
12399
+ * > **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).
12400
+ *
12396
12401
  * Weight(IP): 1
12397
12402
  *
12398
12403
  * Security Type: TRADE
@@ -12400,9 +12405,10 @@ interface TradeApiInterface {
12400
12405
  * Notes:
12401
12406
  * - Either `strategyId` or `newClientStrategyId` must be sent.
12402
12407
  *
12403
- * @summary Cancel UM Conditional Order (TRADE)
12408
+ * @summary Cancel UM Conditional Order - Deprecated (TRADE)
12404
12409
  * @param {CancelUmConditionalOrderRequest} requestParameters Request parameters.
12405
12410
  *
12411
+ * @deprecated
12406
12412
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12407
12413
  * @memberof TradeApiInterface
12408
12414
  */
@@ -12719,6 +12725,8 @@ interface TradeApiInterface {
12719
12725
  /**
12720
12726
  * Place new UM conditional order
12721
12727
  *
12728
+ * > **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).
12729
+ *
12722
12730
  * Weight(IP): 1
12723
12731
  *
12724
12732
  * Security Type: TRADE
@@ -12738,9 +12746,10 @@ interface TradeApiInterface {
12738
12746
  * - `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
12739
12747
  * - In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
12740
12748
  *
12741
- * @summary New UM Conditional Order (TRADE)
12749
+ * @summary New UM Conditional Order - Deprecated (TRADE)
12742
12750
  * @param {NewUmConditionalOrderRequest} requestParameters Request parameters.
12743
12751
  *
12752
+ * @deprecated
12744
12753
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12745
12754
  * @memberof TradeApiInterface
12746
12755
  */
@@ -12866,6 +12875,8 @@ interface TradeApiInterface {
12866
12875
  /**
12867
12876
  * Get all open conditional orders on a symbol.
12868
12877
  *
12878
+ * > **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).
12879
+ *
12869
12880
  * Weight: - 1 for a single `symbol`
12870
12881
  * - 40 when `symbol` is omitted
12871
12882
  *
@@ -12874,9 +12885,10 @@ interface TradeApiInterface {
12874
12885
  * Notes:
12875
12886
  * - If `symbol` is not provided, conditional open orders for all symbols are returned.
12876
12887
  *
12877
- * @summary Query All Current UM Open Conditional Orders (USER_DATA)
12888
+ * @summary Query All Current UM Open Conditional Orders - Deprecated (USER_DATA)
12878
12889
  * @param {QueryAllCurrentUmOpenConditionalOrdersRequest} requestParameters Request parameters.
12879
12890
  *
12891
+ * @deprecated
12880
12892
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12881
12893
  * @memberof TradeApiInterface
12882
12894
  */
@@ -12920,6 +12932,8 @@ interface TradeApiInterface {
12920
12932
  /**
12921
12933
  * Query All UM Conditional Orders
12922
12934
  *
12935
+ * > **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).
12936
+ *
12923
12937
  * Weight: - 1 for a single `symbol`
12924
12938
  * - 40 when `symbol` is omitted
12925
12939
  *
@@ -12931,9 +12945,10 @@ interface TradeApiInterface {
12931
12945
  * - order has NO filled trade, **AND**
12932
12946
  * - created time + 7 days * The query time period must be less than 7 days( default as the recent 7 days).
12933
12947
  *
12934
- * @summary Query All UM Conditional Orders (USER_DATA)
12948
+ * @summary Query All UM Conditional Orders - Deprecated (USER_DATA)
12935
12949
  * @param {QueryAllUmConditionalOrdersRequest} requestParameters Request parameters.
12936
12950
  *
12951
+ * @deprecated
12937
12952
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
12938
12953
  * @memberof TradeApiInterface
12939
12954
  */
@@ -13090,6 +13105,8 @@ interface TradeApiInterface {
13090
13105
  /**
13091
13106
  * Query Current UM Open Conditional Order
13092
13107
  *
13108
+ * > **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).
13109
+ *
13093
13110
  * Weight(IP): 1
13094
13111
  *
13095
13112
  * Security Type: USER_DATA
@@ -13098,9 +13115,10 @@ interface TradeApiInterface {
13098
13115
  * - Either `strategyId` or `newClientStrategyId` must be sent.
13099
13116
  * - If the queried order has been `CANCELED`, `TRIGGERED` or `EXPIRED`, the error message "Order does not exist" will be returned.
13100
13117
  *
13101
- * @summary Query Current UM Open Conditional Order (USER_DATA)
13118
+ * @summary Query Current UM Open Conditional Order - Deprecated (USER_DATA)
13102
13119
  * @param {QueryCurrentUmOpenConditionalOrderRequest} requestParameters Request parameters.
13103
13120
  *
13121
+ * @deprecated
13104
13122
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
13105
13123
  * @memberof TradeApiInterface
13106
13124
  */
@@ -13204,6 +13222,8 @@ interface TradeApiInterface {
13204
13222
  /**
13205
13223
  * Query UM Conditional Order History
13206
13224
  *
13225
+ * > **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).
13226
+ *
13207
13227
  * Weight(IP): 1
13208
13228
  *
13209
13229
  * Security Type: USER_DATA
@@ -13216,9 +13236,10 @@ interface TradeApiInterface {
13216
13236
  * - order has NO filled trade, **AND**
13217
13237
  * - created time + 7 days < current time
13218
13238
  *
13219
- * @summary Query UM Conditional Order History (USER_DATA)
13239
+ * @summary Query UM Conditional Order History - Deprecated (USER_DATA)
13220
13240
  * @param {QueryUmConditionalOrderHistoryRequest} requestParameters Request parameters.
13221
13241
  *
13242
+ * @deprecated
13222
13243
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
13223
13244
  * @memberof TradeApiInterface
13224
13245
  */
@@ -15827,11 +15848,13 @@ declare class TradeApi implements TradeApiInterface {
15827
15848
  /**
15828
15849
  * Cancel All UM Open Conditional Orders
15829
15850
  *
15851
+ * > **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).
15852
+ *
15830
15853
  * Weight(IP): 1
15831
15854
  *
15832
15855
  * Security Type: TRADE
15833
15856
  *
15834
- * @summary Cancel All UM Open Conditional Orders (TRADE)
15857
+ * @summary Cancel All UM Open Conditional Orders - Deprecated (TRADE)
15835
15858
  * @param {CancelAllUmOpenConditionalOrdersRequest} requestParameters Request parameters.
15836
15859
  * @returns {Promise<RestApiResponse<CancelAllUmOpenConditionalOrdersResponse>>}
15837
15860
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -15962,6 +15985,8 @@ declare class TradeApi implements TradeApiInterface {
15962
15985
  /**
15963
15986
  * Cancel UM Conditional Order
15964
15987
  *
15988
+ * > **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).
15989
+ *
15965
15990
  * Weight(IP): 1
15966
15991
  *
15967
15992
  * Security Type: TRADE
@@ -15969,7 +15994,7 @@ declare class TradeApi implements TradeApiInterface {
15969
15994
  * Notes:
15970
15995
  * - Either `strategyId` or `newClientStrategyId` must be sent.
15971
15996
  *
15972
- * @summary Cancel UM Conditional Order (TRADE)
15997
+ * @summary Cancel UM Conditional Order - Deprecated (TRADE)
15973
15998
  * @param {CancelUmConditionalOrderRequest} requestParameters Request parameters.
15974
15999
  * @returns {Promise<RestApiResponse<CancelUmConditionalOrderResponse>>}
15975
16000
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16305,6 +16330,8 @@ declare class TradeApi implements TradeApiInterface {
16305
16330
  /**
16306
16331
  * Place new UM conditional order
16307
16332
  *
16333
+ * > **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).
16334
+ *
16308
16335
  * Weight(IP): 1
16309
16336
  *
16310
16337
  * Security Type: TRADE
@@ -16324,7 +16351,7 @@ declare class TradeApi implements TradeApiInterface {
16324
16351
  * - `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
16325
16352
  * - In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
16326
16353
  *
16327
- * @summary New UM Conditional Order (TRADE)
16354
+ * @summary New UM Conditional Order - Deprecated (TRADE)
16328
16355
  * @param {NewUmConditionalOrderRequest} requestParameters Request parameters.
16329
16356
  * @returns {Promise<RestApiResponse<NewUmConditionalOrderResponse>>}
16330
16357
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16459,6 +16486,8 @@ declare class TradeApi implements TradeApiInterface {
16459
16486
  /**
16460
16487
  * Get all open conditional orders on a symbol.
16461
16488
  *
16489
+ * > **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).
16490
+ *
16462
16491
  * Weight: - 1 for a single `symbol`
16463
16492
  * - 40 when `symbol` is omitted
16464
16493
  *
@@ -16467,7 +16496,7 @@ declare class TradeApi implements TradeApiInterface {
16467
16496
  * Notes:
16468
16497
  * - If `symbol` is not provided, conditional open orders for all symbols are returned.
16469
16498
  *
16470
- * @summary Query All Current UM Open Conditional Orders (USER_DATA)
16499
+ * @summary Query All Current UM Open Conditional Orders - Deprecated (USER_DATA)
16471
16500
  * @param {QueryAllCurrentUmOpenConditionalOrdersRequest} requestParameters Request parameters.
16472
16501
  * @returns {Promise<RestApiResponse<QueryAllCurrentUmOpenConditionalOrdersResponse>>}
16473
16502
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16516,6 +16545,8 @@ declare class TradeApi implements TradeApiInterface {
16516
16545
  /**
16517
16546
  * Query All UM Conditional Orders
16518
16547
  *
16548
+ * > **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).
16549
+ *
16519
16550
  * Weight: - 1 for a single `symbol`
16520
16551
  * - 40 when `symbol` is omitted
16521
16552
  *
@@ -16527,7 +16558,7 @@ declare class TradeApi implements TradeApiInterface {
16527
16558
  * - order has NO filled trade, **AND**
16528
16559
  * - created time + 7 days * The query time period must be less than 7 days( default as the recent 7 days).
16529
16560
  *
16530
- * @summary Query All UM Conditional Orders (USER_DATA)
16561
+ * @summary Query All UM Conditional Orders - Deprecated (USER_DATA)
16531
16562
  * @param {QueryAllUmConditionalOrdersRequest} requestParameters Request parameters.
16532
16563
  * @returns {Promise<RestApiResponse<QueryAllUmConditionalOrdersResponse>>}
16533
16564
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16695,6 +16726,8 @@ declare class TradeApi implements TradeApiInterface {
16695
16726
  /**
16696
16727
  * Query Current UM Open Conditional Order
16697
16728
  *
16729
+ * > **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).
16730
+ *
16698
16731
  * Weight(IP): 1
16699
16732
  *
16700
16733
  * Security Type: USER_DATA
@@ -16703,7 +16736,7 @@ declare class TradeApi implements TradeApiInterface {
16703
16736
  * - Either `strategyId` or `newClientStrategyId` must be sent.
16704
16737
  * - If the queried order has been `CANCELED`, `TRIGGERED` or `EXPIRED`, the error message "Order does not exist" will be returned.
16705
16738
  *
16706
- * @summary Query Current UM Open Conditional Order (USER_DATA)
16739
+ * @summary Query Current UM Open Conditional Order - Deprecated (USER_DATA)
16707
16740
  * @param {QueryCurrentUmOpenConditionalOrderRequest} requestParameters Request parameters.
16708
16741
  * @returns {Promise<RestApiResponse<QueryCurrentUmOpenConditionalOrderResponse>>}
16709
16742
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -16816,6 +16849,8 @@ declare class TradeApi implements TradeApiInterface {
16816
16849
  /**
16817
16850
  * Query UM Conditional Order History
16818
16851
  *
16852
+ * > **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).
16853
+ *
16819
16854
  * Weight(IP): 1
16820
16855
  *
16821
16856
  * Security Type: USER_DATA
@@ -16828,7 +16863,7 @@ declare class TradeApi implements TradeApiInterface {
16828
16863
  * - order has NO filled trade, **AND**
16829
16864
  * - created time + 7 days < current time
16830
16865
  *
16831
- * @summary Query UM Conditional Order History (USER_DATA)
16866
+ * @summary Query UM Conditional Order History - Deprecated (USER_DATA)
16832
16867
  * @param {QueryUmConditionalOrderHistoryRequest} requestParameters Request parameters.
16833
16868
  * @returns {Promise<RestApiResponse<QueryUmConditionalOrderHistoryResponse>>}
16834
16869
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -18219,13 +18254,15 @@ declare class RestAPI {
18219
18254
  /**
18220
18255
  * Cancel All UM Open Conditional Orders
18221
18256
  *
18257
+ * > **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).
18258
+ *
18222
18259
  * Weight(IP): 1
18223
18260
  *
18224
18261
  * Security Type: TRADE
18225
18262
  *
18226
- * @summary Cancel All UM Open Conditional Orders (TRADE)
18263
+ * @summary Cancel All UM Open Conditional Orders - Deprecated (TRADE)
18227
18264
  * @param {CancelAllUmOpenConditionalOrdersRequest} requestParameters Request parameters.
18228
- *
18265
+ * @deprecated
18229
18266
  * @returns {Promise<RestApiResponse<CancelAllUmOpenConditionalOrdersResponse>>}
18230
18267
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18231
18268
  * @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}
@@ -18354,6 +18391,8 @@ declare class RestAPI {
18354
18391
  /**
18355
18392
  * Cancel UM Conditional Order
18356
18393
  *
18394
+ * > **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).
18395
+ *
18357
18396
  * Weight(IP): 1
18358
18397
  *
18359
18398
  * Security Type: TRADE
@@ -18361,9 +18400,9 @@ declare class RestAPI {
18361
18400
  * Notes:
18362
18401
  * - Either `strategyId` or `newClientStrategyId` must be sent.
18363
18402
  *
18364
- * @summary Cancel UM Conditional Order (TRADE)
18403
+ * @summary Cancel UM Conditional Order - Deprecated (TRADE)
18365
18404
  * @param {CancelUmConditionalOrderRequest} requestParameters Request parameters.
18366
- *
18405
+ * @deprecated
18367
18406
  * @returns {Promise<RestApiResponse<CancelUmConditionalOrderResponse>>}
18368
18407
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18369
18408
  * @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}
@@ -18697,6 +18736,8 @@ declare class RestAPI {
18697
18736
  /**
18698
18737
  * Place new UM conditional order
18699
18738
  *
18739
+ * > **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).
18740
+ *
18700
18741
  * Weight(IP): 1
18701
18742
  *
18702
18743
  * Security Type: TRADE
@@ -18716,9 +18757,9 @@ declare class RestAPI {
18716
18757
  * - `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
18717
18758
  * - In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
18718
18759
  *
18719
- * @summary New UM Conditional Order (TRADE)
18760
+ * @summary New UM Conditional Order - Deprecated (TRADE)
18720
18761
  * @param {NewUmConditionalOrderRequest} requestParameters Request parameters.
18721
- *
18762
+ * @deprecated
18722
18763
  * @returns {Promise<RestApiResponse<NewUmConditionalOrderResponse>>}
18723
18764
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18724
18765
  * @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}
@@ -18851,6 +18892,8 @@ declare class RestAPI {
18851
18892
  /**
18852
18893
  * Get all open conditional orders on a symbol.
18853
18894
  *
18895
+ * > **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).
18896
+ *
18854
18897
  * Weight: - 1 for a single `symbol`
18855
18898
  * - 40 when `symbol` is omitted
18856
18899
  *
@@ -18859,9 +18902,9 @@ declare class RestAPI {
18859
18902
  * Notes:
18860
18903
  * - If `symbol` is not provided, conditional open orders for all symbols are returned.
18861
18904
  *
18862
- * @summary Query All Current UM Open Conditional Orders (USER_DATA)
18905
+ * @summary Query All Current UM Open Conditional Orders - Deprecated (USER_DATA)
18863
18906
  * @param {QueryAllCurrentUmOpenConditionalOrdersRequest} requestParameters Request parameters.
18864
- *
18907
+ * @deprecated
18865
18908
  * @returns {Promise<RestApiResponse<QueryAllCurrentUmOpenConditionalOrdersResponse>>}
18866
18909
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18867
18910
  * @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}
@@ -18908,6 +18951,8 @@ declare class RestAPI {
18908
18951
  /**
18909
18952
  * Query All UM Conditional Orders
18910
18953
  *
18954
+ * > **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).
18955
+ *
18911
18956
  * Weight: - 1 for a single `symbol`
18912
18957
  * - 40 when `symbol` is omitted
18913
18958
  *
@@ -18919,9 +18964,9 @@ declare class RestAPI {
18919
18964
  * - order has NO filled trade, **AND**
18920
18965
  * - created time + 7 days * The query time period must be less than 7 days( default as the recent 7 days).
18921
18966
  *
18922
- * @summary Query All UM Conditional Orders (USER_DATA)
18967
+ * @summary Query All UM Conditional Orders - Deprecated (USER_DATA)
18923
18968
  * @param {QueryAllUmConditionalOrdersRequest} requestParameters Request parameters.
18924
- *
18969
+ * @deprecated
18925
18970
  * @returns {Promise<RestApiResponse<QueryAllUmConditionalOrdersResponse>>}
18926
18971
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
18927
18972
  * @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}
@@ -19087,6 +19132,8 @@ declare class RestAPI {
19087
19132
  /**
19088
19133
  * Query Current UM Open Conditional Order
19089
19134
  *
19135
+ * > **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).
19136
+ *
19090
19137
  * Weight(IP): 1
19091
19138
  *
19092
19139
  * Security Type: USER_DATA
@@ -19095,9 +19142,9 @@ declare class RestAPI {
19095
19142
  * - Either `strategyId` or `newClientStrategyId` must be sent.
19096
19143
  * - If the queried order has been `CANCELED`, `TRIGGERED` or `EXPIRED`, the error message "Order does not exist" will be returned.
19097
19144
  *
19098
- * @summary Query Current UM Open Conditional Order (USER_DATA)
19145
+ * @summary Query Current UM Open Conditional Order - Deprecated (USER_DATA)
19099
19146
  * @param {QueryCurrentUmOpenConditionalOrderRequest} requestParameters Request parameters.
19100
- *
19147
+ * @deprecated
19101
19148
  * @returns {Promise<RestApiResponse<QueryCurrentUmOpenConditionalOrderResponse>>}
19102
19149
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
19103
19150
  * @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}
@@ -19208,6 +19255,8 @@ declare class RestAPI {
19208
19255
  /**
19209
19256
  * Query UM Conditional Order History
19210
19257
  *
19258
+ * > **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).
19259
+ *
19211
19260
  * Weight(IP): 1
19212
19261
  *
19213
19262
  * Security Type: USER_DATA
@@ -19220,9 +19269,9 @@ declare class RestAPI {
19220
19269
  * - order has NO filled trade, **AND**
19221
19270
  * - created time + 7 days < current time
19222
19271
  *
19223
- * @summary Query UM Conditional Order History (USER_DATA)
19272
+ * @summary Query UM Conditional Order History - Deprecated (USER_DATA)
19224
19273
  * @param {QueryUmConditionalOrderHistoryRequest} requestParameters Request parameters.
19225
- *
19274
+ * @deprecated
19226
19275
  * @returns {Promise<RestApiResponse<QueryUmConditionalOrderHistoryResponse>>}
19227
19276
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
19228
19277
  * @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}
@@ -19631,6 +19680,12 @@ interface AccountUpdateA {
19631
19680
  * @memberof AccountUpdateA
19632
19681
  */
19633
19682
  P?: Array<AccountUpdateAPInner>;
19683
+ /**
19684
+ * Symbol associated with FUNDING_FEE event
19685
+ * @type {string}
19686
+ * @memberof AccountUpdateA
19687
+ */
19688
+ S?: string;
19634
19689
  }
19635
19690
  //#endregion
19636
19691
  //#region src/websocket-streams/types/account-update.d.ts
@@ -19841,6 +19896,12 @@ interface AlgoOrderUpdateAo {
19841
19896
  * @memberof AlgoOrderUpdateAo
19842
19897
  */
19843
19898
  rm?: string;
19899
+ /**
19900
+ * Is activated or not, only meaningful for trailing order
19901
+ * @type {boolean}
19902
+ * @memberof AlgoOrderUpdateAo
19903
+ */
19904
+ ia?: boolean;
19844
19905
  }
19845
19906
  //#endregion
19846
19907
  //#region src/websocket-streams/types/algo-order-update.d.ts