@binance/derivatives-trading-portfolio-margin 18.0.1 → 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 +77 -28
- package/dist/index.d.ts +77 -28
- package/dist/index.js +50 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -22
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -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}
|