@binance/derivatives-trading-portfolio-margin 13.0.0 → 14.0.0

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
@@ -1343,28 +1343,10 @@ interface CancelMarginAccountOrderResponse {
1343
1343
  interface CancelUmAlgoOrderResponse {
1344
1344
  /**
1345
1345
  *
1346
- * @type {number | bigint}
1347
- * @memberof CancelUmAlgoOrderResponse
1348
- */
1349
- algoId?: number | bigint;
1350
- /**
1351
- *
1352
- * @type {string}
1353
- * @memberof CancelUmAlgoOrderResponse
1354
- */
1355
- clientAlgoId?: string;
1356
- /**
1357
- *
1358
- * @type {string}
1359
- * @memberof CancelUmAlgoOrderResponse
1360
- */
1361
- code?: string;
1362
- /**
1363
- *
1364
- * @type {string}
1346
+ * @type {boolean}
1365
1347
  * @memberof CancelUmAlgoOrderResponse
1366
1348
  */
1367
- msg?: string;
1349
+ complete?: boolean;
1368
1350
  }
1369
1351
  //#endregion
1370
1352
  //#region src/rest-api/types/cancel-um-conditional-order-response.d.ts
@@ -4617,12 +4599,6 @@ interface NewUmAlgoOrderResponse {
4617
4599
  * @memberof NewUmAlgoOrderResponse
4618
4600
  */
4619
4601
  priceMatch?: string;
4620
- /**
4621
- *
4622
- * @type {boolean}
4623
- * @memberof NewUmAlgoOrderResponse
4624
- */
4625
- closePosition?: boolean;
4626
4602
  /**
4627
4603
  *
4628
4604
  * @type {boolean}
@@ -10291,7 +10267,7 @@ interface AccountApiInterface {
10291
10267
  /**
10292
10268
  * Get UM futures order download link by Id
10293
10269
  *
10294
- * Download link expiration: 24h
10270
+ * Download link expiration: 7 days
10295
10271
  *
10296
10272
  * Weight: 10
10297
10273
  *
@@ -10305,7 +10281,7 @@ interface AccountApiInterface {
10305
10281
  /**
10306
10282
  * Get UM futures trade download link by Id
10307
10283
  *
10308
- * Download link expiration: 24h
10284
+ * Download link expiration: 7 days
10309
10285
  *
10310
10286
  * Weight: 10
10311
10287
  *
@@ -10319,7 +10295,7 @@ interface AccountApiInterface {
10319
10295
  /**
10320
10296
  * Get UM futures Transaction download link by Id
10321
10297
  *
10322
- * Download link expiration: 24h
10298
+ * Download link expiration: 7 days
10323
10299
  *
10324
10300
  * Weight: 10
10325
10301
  *
@@ -11821,7 +11797,7 @@ declare class AccountApi implements AccountApiInterface {
11821
11797
  /**
11822
11798
  * Get UM futures order download link by Id
11823
11799
  *
11824
- * Download link expiration: 24h
11800
+ * Download link expiration: 7 days
11825
11801
  *
11826
11802
  * Weight: 10
11827
11803
  *
@@ -11836,7 +11812,7 @@ declare class AccountApi implements AccountApiInterface {
11836
11812
  /**
11837
11813
  * Get UM futures trade download link by Id
11838
11814
  *
11839
- * Download link expiration: 24h
11815
+ * Download link expiration: 7 days
11840
11816
  *
11841
11817
  * Weight: 10
11842
11818
  *
@@ -11851,7 +11827,7 @@ declare class AccountApi implements AccountApiInterface {
11851
11827
  /**
11852
11828
  * Get UM futures Transaction download link by Id
11853
11829
  *
11854
- * Download link expiration: 24h
11830
+ * Download link expiration: 7 days
11855
11831
  *
11856
11832
  * Weight: 10
11857
11833
  *
@@ -12607,12 +12583,6 @@ interface TradeApiInterface {
12607
12583
  * BUY: `activatePrice` should be smaller than latest price.
12608
12584
  * SELL: `activatePrice` should be larger than latest price.
12609
12585
  *
12610
- * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
12611
- * Follow the same rules for condition orders.
12612
- * If triggered, **close all** current long position( if `SELL`) or current short position( if `BUY`).
12613
- * Cannot be used with `quantity` paremeter
12614
- * Cannot be used with `reduceOnly` parameter
12615
- * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
12616
12586
  * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
12617
12587
  *
12618
12588
  * Weight: 1
@@ -14004,7 +13974,7 @@ interface NewCmConditionalOrderRequest {
14004
13974
  */
14005
13975
  readonly workingType?: NewCmConditionalOrderWorkingTypeEnum;
14006
13976
  /**
14007
- * "TRUE" or "FALSE", default "FALSE". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders
13977
+ * "true" or "false", default "false". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders
14008
13978
  * @type {string}
14009
13979
  * @memberof TradeApiNewCmConditionalOrder
14010
13980
  */
@@ -14243,6 +14213,12 @@ interface NewUmAlgoOrderRequest {
14243
14213
  * @memberof TradeApiNewUmAlgoOrder
14244
14214
  */
14245
14215
  readonly type: NewUmAlgoOrderTypeEnum;
14216
+ /**
14217
+ * Order quantity
14218
+ * @type {number}
14219
+ * @memberof TradeApiNewUmAlgoOrder
14220
+ */
14221
+ readonly quantity: number;
14246
14222
  /**
14247
14223
  * Default `BOTH` for One-way Mode ; `LONG` or `SHORT` for Hedge Mode. It must be sent in Hedge Mode.
14248
14224
  * @type {'BOTH' | 'LONG' | 'SHORT'}
@@ -14255,12 +14231,6 @@ interface NewUmAlgoOrderRequest {
14255
14231
  * @memberof TradeApiNewUmAlgoOrder
14256
14232
  */
14257
14233
  readonly timeInForce?: NewUmAlgoOrderTimeInForceEnum;
14258
- /**
14259
- *
14260
- * @type {number}
14261
- * @memberof TradeApiNewUmAlgoOrder
14262
- */
14263
- readonly quantity?: number;
14264
14234
  /**
14265
14235
  *
14266
14236
  * @type {number}
@@ -14286,13 +14256,7 @@ interface NewUmAlgoOrderRequest {
14286
14256
  */
14287
14257
  readonly priceMatch?: NewUmAlgoOrderPriceMatchEnum;
14288
14258
  /**
14289
- * true, false; Close-All, used with `STOP_MARKET` or `TAKE_PROFIT_MARKET`.
14290
- * @type {string}
14291
- * @memberof TradeApiNewUmAlgoOrder
14292
- */
14293
- readonly closePosition?: string;
14294
- /**
14295
- * "TRUE" or "FALSE", default "FALSE". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders
14259
+ * "true" or "false", default "false". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders
14296
14260
  * @type {string}
14297
14261
  * @memberof TradeApiNewUmAlgoOrder
14298
14262
  */
@@ -14406,7 +14370,7 @@ interface NewUmConditionalOrderRequest {
14406
14370
  */
14407
14371
  readonly workingType?: NewUmConditionalOrderWorkingTypeEnum;
14408
14372
  /**
14409
- * "TRUE" or "FALSE", default "FALSE". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders
14373
+ * "true" or "false", default "false". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders
14410
14374
  * @type {string}
14411
14375
  * @memberof TradeApiNewUmConditionalOrder
14412
14376
  */
@@ -16066,12 +16030,6 @@ declare class TradeApi implements TradeApiInterface {
16066
16030
  * BUY: `activatePrice` should be smaller than latest price.
16067
16031
  * SELL: `activatePrice` should be larger than latest price.
16068
16032
  *
16069
- * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
16070
- * Follow the same rules for condition orders.
16071
- * If triggered, **close all** current long position( if `SELL`) or current short position( if `BUY`).
16072
- * Cannot be used with `quantity` paremeter
16073
- * Cannot be used with `reduceOnly` parameter
16074
- * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
16075
16033
  * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
16076
16034
  *
16077
16035
  * Weight: 1
@@ -17400,7 +17358,7 @@ declare class RestAPI {
17400
17358
  /**
17401
17359
  * Get UM futures order download link by Id
17402
17360
  *
17403
- * Download link expiration: 24h
17361
+ * Download link expiration: 7 days
17404
17362
  *
17405
17363
  * Weight: 10
17406
17364
  *
@@ -17415,7 +17373,7 @@ declare class RestAPI {
17415
17373
  /**
17416
17374
  * Get UM futures trade download link by Id
17417
17375
  *
17418
- * Download link expiration: 24h
17376
+ * Download link expiration: 7 days
17419
17377
  *
17420
17378
  * Weight: 10
17421
17379
  *
@@ -17430,7 +17388,7 @@ declare class RestAPI {
17430
17388
  /**
17431
17389
  * Get UM futures Transaction download link by Id
17432
17390
  *
17433
- * Download link expiration: 24h
17391
+ * Download link expiration: 7 days
17434
17392
  *
17435
17393
  * Weight: 10
17436
17394
  *
@@ -18175,12 +18133,6 @@ declare class RestAPI {
18175
18133
  * BUY: `activatePrice` should be smaller than latest price.
18176
18134
  * SELL: `activatePrice` should be larger than latest price.
18177
18135
  *
18178
- * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
18179
- * Follow the same rules for condition orders.
18180
- * If triggered, **close all** current long position( if `SELL`) or current short position( if `BUY`).
18181
- * Cannot be used with `quantity` paremeter
18182
- * Cannot be used with `reduceOnly` parameter
18183
- * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
18184
18136
  * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
18185
18137
  *
18186
18138
  * Weight: 1
@@ -19079,7 +19031,7 @@ interface AccountUpdate {
19079
19031
  a?: AccountUpdateA;
19080
19032
  }
19081
19033
  //#endregion
19082
- //#region src/websocket-streams/types/algo-update-o.d.ts
19034
+ //#region src/websocket-streams/types/algo-update-ao.d.ts
19083
19035
  /**
19084
19036
  * Binance Derivatives Trading Portfolio Margin WebSocket Market Streams
19085
19037
  *
@@ -19095,157 +19047,157 @@ interface AccountUpdate {
19095
19047
  /**
19096
19048
  *
19097
19049
  * @export
19098
- * @interface AlgoUpdateO
19050
+ * @interface AlgoUpdateAo
19099
19051
  */
19100
- interface AlgoUpdateO {
19052
+ interface AlgoUpdateAo {
19101
19053
  /**
19102
19054
  *
19103
19055
  * @type {string}
19104
- * @memberof AlgoUpdateO
19056
+ * @memberof AlgoUpdateAo
19105
19057
  */
19106
19058
  caid?: string;
19107
19059
  /**
19108
19060
  *
19109
19061
  * @type {number | bigint}
19110
- * @memberof AlgoUpdateO
19062
+ * @memberof AlgoUpdateAo
19111
19063
  */
19112
19064
  aid?: number | bigint;
19113
19065
  /**
19114
19066
  *
19115
19067
  * @type {string}
19116
- * @memberof AlgoUpdateO
19068
+ * @memberof AlgoUpdateAo
19117
19069
  */
19118
19070
  at?: string;
19119
19071
  /**
19120
19072
  *
19121
19073
  * @type {string}
19122
- * @memberof AlgoUpdateO
19074
+ * @memberof AlgoUpdateAo
19123
19075
  */
19124
19076
  o?: string;
19125
19077
  /**
19126
19078
  *
19127
19079
  * @type {string}
19128
- * @memberof AlgoUpdateO
19080
+ * @memberof AlgoUpdateAo
19129
19081
  */
19130
19082
  s?: string;
19131
19083
  /**
19132
19084
  *
19133
19085
  * @type {string}
19134
- * @memberof AlgoUpdateO
19086
+ * @memberof AlgoUpdateAo
19135
19087
  */
19136
19088
  S?: string;
19137
19089
  /**
19138
19090
  *
19139
19091
  * @type {string}
19140
- * @memberof AlgoUpdateO
19092
+ * @memberof AlgoUpdateAo
19141
19093
  */
19142
19094
  ps?: string;
19143
19095
  /**
19144
19096
  *
19145
19097
  * @type {string}
19146
- * @memberof AlgoUpdateO
19098
+ * @memberof AlgoUpdateAo
19147
19099
  */
19148
19100
  f?: string;
19149
19101
  /**
19150
19102
  *
19151
19103
  * @type {string}
19152
- * @memberof AlgoUpdateO
19104
+ * @memberof AlgoUpdateAo
19153
19105
  */
19154
19106
  q?: string;
19155
19107
  /**
19156
19108
  *
19157
19109
  * @type {string}
19158
- * @memberof AlgoUpdateO
19110
+ * @memberof AlgoUpdateAo
19159
19111
  */
19160
19112
  X?: string;
19161
19113
  /**
19162
19114
  *
19163
19115
  * @type {string}
19164
- * @memberof AlgoUpdateO
19116
+ * @memberof AlgoUpdateAo
19165
19117
  */
19166
19118
  ai?: string;
19167
19119
  /**
19168
19120
  *
19169
19121
  * @type {string}
19170
- * @memberof AlgoUpdateO
19122
+ * @memberof AlgoUpdateAo
19171
19123
  */
19172
19124
  ap?: string;
19173
19125
  /**
19174
19126
  *
19175
19127
  * @type {string}
19176
- * @memberof AlgoUpdateO
19128
+ * @memberof AlgoUpdateAo
19177
19129
  */
19178
19130
  aq?: string;
19179
19131
  /**
19180
19132
  *
19181
19133
  * @type {string}
19182
- * @memberof AlgoUpdateO
19134
+ * @memberof AlgoUpdateAo
19183
19135
  */
19184
19136
  act?: string;
19185
19137
  /**
19186
19138
  *
19187
19139
  * @type {string}
19188
- * @memberof AlgoUpdateO
19140
+ * @memberof AlgoUpdateAo
19189
19141
  */
19190
19142
  tp?: string;
19191
19143
  /**
19192
19144
  *
19193
19145
  * @type {string}
19194
- * @memberof AlgoUpdateO
19146
+ * @memberof AlgoUpdateAo
19195
19147
  */
19196
19148
  p?: string;
19197
19149
  /**
19198
19150
  *
19199
19151
  * @type {string}
19200
- * @memberof AlgoUpdateO
19152
+ * @memberof AlgoUpdateAo
19201
19153
  */
19202
19154
  V?: string;
19203
19155
  /**
19204
19156
  *
19205
19157
  * @type {string}
19206
- * @memberof AlgoUpdateO
19158
+ * @memberof AlgoUpdateAo
19207
19159
  */
19208
19160
  wt?: string;
19209
19161
  /**
19210
19162
  *
19211
19163
  * @type {string}
19212
- * @memberof AlgoUpdateO
19164
+ * @memberof AlgoUpdateAo
19213
19165
  */
19214
19166
  pm?: string;
19215
19167
  /**
19216
19168
  *
19217
19169
  * @type {boolean}
19218
- * @memberof AlgoUpdateO
19170
+ * @memberof AlgoUpdateAo
19219
19171
  */
19220
19172
  cp?: boolean;
19221
19173
  /**
19222
19174
  *
19223
19175
  * @type {boolean}
19224
- * @memberof AlgoUpdateO
19176
+ * @memberof AlgoUpdateAo
19225
19177
  */
19226
19178
  pP?: boolean;
19227
19179
  /**
19228
19180
  *
19229
19181
  * @type {boolean}
19230
- * @memberof AlgoUpdateO
19182
+ * @memberof AlgoUpdateAo
19231
19183
  */
19232
19184
  R?: boolean;
19233
19185
  /**
19234
19186
  *
19235
19187
  * @type {number | bigint}
19236
- * @memberof AlgoUpdateO
19188
+ * @memberof AlgoUpdateAo
19237
19189
  */
19238
19190
  tt?: number | bigint;
19239
19191
  /**
19240
19192
  *
19241
19193
  * @type {number | bigint}
19242
- * @memberof AlgoUpdateO
19194
+ * @memberof AlgoUpdateAo
19243
19195
  */
19244
19196
  gtd?: number | bigint;
19245
19197
  /**
19246
19198
  *
19247
19199
  * @type {string}
19248
- * @memberof AlgoUpdateO
19200
+ * @memberof AlgoUpdateAo
19249
19201
  */
19250
19202
  rm?: string;
19251
19203
  }
@@ -19271,10 +19223,16 @@ interface AlgoUpdate {
19271
19223
  E?: number | bigint;
19272
19224
  /**
19273
19225
  *
19274
- * @type {AlgoUpdateO}
19226
+ * @type {string}
19227
+ * @memberof AlgoUpdate
19228
+ */
19229
+ fs?: string;
19230
+ /**
19231
+ *
19232
+ * @type {AlgoUpdateAo}
19275
19233
  * @memberof AlgoUpdate
19276
19234
  */
19277
- o?: AlgoUpdateO;
19235
+ ao?: AlgoUpdateAo;
19278
19236
  }
19279
19237
  //#endregion
19280
19238
  //#region src/websocket-streams/types/balanceupdate.d.ts
@@ -20435,7 +20393,7 @@ declare class WebsocketStreams {
20435
20393
  }): Promise<WebsocketStreamsConnection>;
20436
20394
  }
20437
20395
  declare namespace index_d_exports$1 {
20438
- export { AccountConfigUpdate, AccountConfigUpdateAc, AccountUpdate, AccountUpdateA, AccountUpdateABInner, AccountUpdateAPInner, AlgoUpdate, AlgoUpdateO, Balanceupdate, ConditionalOrderTradeUpdate, ConditionalOrderTradeUpdateSo, Executionreport, Liabilitychange, Listenkeyexpired, Openorderloss, OpenorderlossOInner, OrderTradeUpdate, OrderTradeUpdateO, Outboundaccountposition, OutboundaccountpositionBInner, Risklevelchange, UserDataStreamEventsResponse, WebsocketStreams, WebsocketStreamsConnection };
20396
+ export { AccountConfigUpdate, AccountConfigUpdateAc, AccountUpdate, AccountUpdateA, AccountUpdateABInner, AccountUpdateAPInner, AlgoUpdate, AlgoUpdateAo, Balanceupdate, ConditionalOrderTradeUpdate, ConditionalOrderTradeUpdateSo, Executionreport, Liabilitychange, Listenkeyexpired, Openorderloss, OpenorderlossOInner, OrderTradeUpdate, OrderTradeUpdateO, Outboundaccountposition, OutboundaccountpositionBInner, Risklevelchange, UserDataStreamEventsResponse, WebsocketStreams, WebsocketStreamsConnection };
20439
20397
  }
20440
20398
  //#endregion
20441
20399
  //#region src/derivatives-trading-portfolio-margin.d.ts
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ let __binance_common = require("@binance/common");
14
14
 
15
15
  //#region package.json
16
16
  var name = "@binance/derivatives-trading-portfolio-margin";
17
- var version = "13.0.0";
17
+ var version = "14.0.0";
18
18
 
19
19
  //#endregion
20
20
  //#region src/rest-api/modules/account-api.ts
@@ -1120,7 +1120,7 @@ var AccountApi = class {
1120
1120
  /**
1121
1121
  * Get UM futures order download link by Id
1122
1122
  *
1123
- * Download link expiration: 24h
1123
+ * Download link expiration: 7 days
1124
1124
  *
1125
1125
  * Weight: 10
1126
1126
  *
@@ -1138,7 +1138,7 @@ var AccountApi = class {
1138
1138
  /**
1139
1139
  * Get UM futures trade download link by Id
1140
1140
  *
1141
- * Download link expiration: 24h
1141
+ * Download link expiration: 7 days
1142
1142
  *
1143
1143
  * Weight: 10
1144
1144
  *
@@ -1156,7 +1156,7 @@ var AccountApi = class {
1156
1156
  /**
1157
1157
  * Get UM futures Transaction download link by Id
1158
1158
  *
1159
- * Download link expiration: 24h
1159
+ * Download link expiration: 7 days
1160
1160
  *
1161
1161
  * Weight: 10
1162
1162
  *
@@ -2091,11 +2091,12 @@ const TradeApiAxiosParamCreator = function(configuration) {
2091
2091
  timeUnit: _timeUnit
2092
2092
  };
2093
2093
  },
2094
- newUmAlgoOrder: async (algoType, symbol, side, type, positionSide, timeInForce, quantity, price, triggerPrice, workingType, priceMatch, closePosition, priceProtect, reduceOnly, activatePrice, callbackRate, clientAlgoId, newOrderRespType, selfTradePreventionMode, goodTillDate, recvWindow) => {
2094
+ newUmAlgoOrder: async (algoType, symbol, side, type, quantity, positionSide, timeInForce, price, triggerPrice, workingType, priceMatch, priceProtect, reduceOnly, activatePrice, callbackRate, clientAlgoId, newOrderRespType, selfTradePreventionMode, goodTillDate, recvWindow) => {
2095
2095
  (0, __binance_common.assertParamExists)("newUmAlgoOrder", "algoType", algoType);
2096
2096
  (0, __binance_common.assertParamExists)("newUmAlgoOrder", "symbol", symbol);
2097
2097
  (0, __binance_common.assertParamExists)("newUmAlgoOrder", "side", side);
2098
2098
  (0, __binance_common.assertParamExists)("newUmAlgoOrder", "type", type);
2099
+ (0, __binance_common.assertParamExists)("newUmAlgoOrder", "quantity", quantity);
2099
2100
  const localVarQueryParameter = {};
2100
2101
  const localVarBodyParameter = {};
2101
2102
  if (algoType !== void 0 && algoType !== null) localVarQueryParameter["algoType"] = algoType;
@@ -2109,7 +2110,6 @@ const TradeApiAxiosParamCreator = function(configuration) {
2109
2110
  if (triggerPrice !== void 0 && triggerPrice !== null) localVarQueryParameter["triggerPrice"] = triggerPrice;
2110
2111
  if (workingType !== void 0 && workingType !== null) localVarQueryParameter["workingType"] = workingType;
2111
2112
  if (priceMatch !== void 0 && priceMatch !== null) localVarQueryParameter["priceMatch"] = priceMatch;
2112
- if (closePosition !== void 0 && closePosition !== null) localVarQueryParameter["closePosition"] = closePosition;
2113
2113
  if (priceProtect !== void 0 && priceProtect !== null) localVarQueryParameter["priceProtect"] = priceProtect;
2114
2114
  if (reduceOnly !== void 0 && reduceOnly !== null) localVarQueryParameter["reduceOnly"] = reduceOnly;
2115
2115
  if (activatePrice !== void 0 && activatePrice !== null) localVarQueryParameter["activatePrice"] = activatePrice;
@@ -3337,12 +3337,6 @@ var TradeApi = class {
3337
3337
  * BUY: `activatePrice` should be smaller than latest price.
3338
3338
  * SELL: `activatePrice` should be larger than latest price.
3339
3339
  *
3340
- * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
3341
- * Follow the same rules for condition orders.
3342
- * If triggered, **close all** current long position( if `SELL`) or current short position( if `BUY`).
3343
- * Cannot be used with `quantity` paremeter
3344
- * Cannot be used with `reduceOnly` parameter
3345
- * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
3346
3340
  * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
3347
3341
  *
3348
3342
  * Weight: 1
@@ -3355,7 +3349,7 @@ var TradeApi = class {
3355
3349
  * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/New-UM-Algo-Order Binance API Documentation}
3356
3350
  */
3357
3351
  async newUmAlgoOrder(requestParameters) {
3358
- const localVarAxiosArgs = await this.localVarAxiosParamCreator.newUmAlgoOrder(requestParameters?.algoType, requestParameters?.symbol, requestParameters?.side, requestParameters?.type, requestParameters?.positionSide, requestParameters?.timeInForce, requestParameters?.quantity, requestParameters?.price, requestParameters?.triggerPrice, requestParameters?.workingType, requestParameters?.priceMatch, requestParameters?.closePosition, requestParameters?.priceProtect, requestParameters?.reduceOnly, requestParameters?.activatePrice, requestParameters?.callbackRate, requestParameters?.clientAlgoId, requestParameters?.newOrderRespType, requestParameters?.selfTradePreventionMode, requestParameters?.goodTillDate, requestParameters?.recvWindow);
3352
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.newUmAlgoOrder(requestParameters?.algoType, requestParameters?.symbol, requestParameters?.side, requestParameters?.type, requestParameters?.quantity, requestParameters?.positionSide, requestParameters?.timeInForce, requestParameters?.price, requestParameters?.triggerPrice, requestParameters?.workingType, requestParameters?.priceMatch, requestParameters?.priceProtect, requestParameters?.reduceOnly, requestParameters?.activatePrice, requestParameters?.callbackRate, requestParameters?.clientAlgoId, requestParameters?.newOrderRespType, requestParameters?.selfTradePreventionMode, requestParameters?.goodTillDate, requestParameters?.recvWindow);
3359
3353
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
3360
3354
  }
3361
3355
  /**
@@ -4920,7 +4914,7 @@ var RestAPI = class {
4920
4914
  /**
4921
4915
  * Get UM futures order download link by Id
4922
4916
  *
4923
- * Download link expiration: 24h
4917
+ * Download link expiration: 7 days
4924
4918
  *
4925
4919
  * Weight: 10
4926
4920
  *
@@ -4937,7 +4931,7 @@ var RestAPI = class {
4937
4931
  /**
4938
4932
  * Get UM futures trade download link by Id
4939
4933
  *
4940
- * Download link expiration: 24h
4934
+ * Download link expiration: 7 days
4941
4935
  *
4942
4936
  * Weight: 10
4943
4937
  *
@@ -4954,7 +4948,7 @@ var RestAPI = class {
4954
4948
  /**
4955
4949
  * Get UM futures Transaction download link by Id
4956
4950
  *
4957
- * Download link expiration: 24h
4951
+ * Download link expiration: 7 days
4958
4952
  *
4959
4953
  * Weight: 10
4960
4954
  *
@@ -5791,12 +5785,6 @@ var RestAPI = class {
5791
5785
  * BUY: `activatePrice` should be smaller than latest price.
5792
5786
  * SELL: `activatePrice` should be larger than latest price.
5793
5787
  *
5794
- * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
5795
- * Follow the same rules for condition orders.
5796
- * If triggered, **close all** current long position( if `SELL`) or current short position( if `BUY`).
5797
- * Cannot be used with `quantity` paremeter
5798
- * Cannot be used with `reduceOnly` parameter
5799
- * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
5800
5788
  * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
5801
5789
  *
5802
5790
  * Weight: 1