@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.mts
CHANGED
|
@@ -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}
|