@binance/derivatives-trading-options 6.0.3 → 7.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.mts CHANGED
@@ -5860,7 +5860,7 @@ interface TradeApiInterface {
5860
5860
  /**
5861
5861
  * Cancel all active order on a symbol.
5862
5862
  *
5863
- * Weight: 1
5863
+ * Weight: 5
5864
5864
  *
5865
5865
  * @summary Cancel all Option orders on specific symbol (TRADE)
5866
5866
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
@@ -6233,7 +6233,7 @@ interface OptionPositionInformationRequest {
6233
6233
  */
6234
6234
  interface PlaceMultipleOrdersRequest {
6235
6235
  /**
6236
- * order list. Max 5 orders
6236
+ * order list. Max 10 orders
6237
6237
  * @type {Array<PlaceMultipleOrdersOrdersParameterInner>}
6238
6238
  * @memberof TradeApiPlaceMultipleOrders
6239
6239
  */
@@ -6274,12 +6274,6 @@ interface QueryCurrentOpenOptionOrdersRequest {
6274
6274
  * @memberof TradeApiQueryCurrentOpenOptionOrders
6275
6275
  */
6276
6276
  readonly endTime?: number;
6277
- /**
6278
- * Number of result sets returned Default:100 Max:1000
6279
- * @type {number}
6280
- * @memberof TradeApiQueryCurrentOpenOptionOrders
6281
- */
6282
- readonly limit?: number;
6283
6277
  /**
6284
6278
  *
6285
6279
  * @type {number}
@@ -6432,7 +6426,7 @@ declare class TradeApi implements TradeApiInterface {
6432
6426
  /**
6433
6427
  * Cancel all active order on a symbol.
6434
6428
  *
6435
- * Weight: 1
6429
+ * Weight: 5
6436
6430
  *
6437
6431
  * @summary Cancel all Option orders on specific symbol (TRADE)
6438
6432
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
@@ -7152,7 +7146,7 @@ declare class RestAPI {
7152
7146
  /**
7153
7147
  * Cancel all active order on a symbol.
7154
7148
  *
7155
- * Weight: 1
7149
+ * Weight: 5
7156
7150
  *
7157
7151
  * @summary Cancel all Option orders on specific symbol (TRADE)
7158
7152
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
package/dist/index.d.ts CHANGED
@@ -5860,7 +5860,7 @@ interface TradeApiInterface {
5860
5860
  /**
5861
5861
  * Cancel all active order on a symbol.
5862
5862
  *
5863
- * Weight: 1
5863
+ * Weight: 5
5864
5864
  *
5865
5865
  * @summary Cancel all Option orders on specific symbol (TRADE)
5866
5866
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
@@ -6233,7 +6233,7 @@ interface OptionPositionInformationRequest {
6233
6233
  */
6234
6234
  interface PlaceMultipleOrdersRequest {
6235
6235
  /**
6236
- * order list. Max 5 orders
6236
+ * order list. Max 10 orders
6237
6237
  * @type {Array<PlaceMultipleOrdersOrdersParameterInner>}
6238
6238
  * @memberof TradeApiPlaceMultipleOrders
6239
6239
  */
@@ -6274,12 +6274,6 @@ interface QueryCurrentOpenOptionOrdersRequest {
6274
6274
  * @memberof TradeApiQueryCurrentOpenOptionOrders
6275
6275
  */
6276
6276
  readonly endTime?: number;
6277
- /**
6278
- * Number of result sets returned Default:100 Max:1000
6279
- * @type {number}
6280
- * @memberof TradeApiQueryCurrentOpenOptionOrders
6281
- */
6282
- readonly limit?: number;
6283
6277
  /**
6284
6278
  *
6285
6279
  * @type {number}
@@ -6432,7 +6426,7 @@ declare class TradeApi implements TradeApiInterface {
6432
6426
  /**
6433
6427
  * Cancel all active order on a symbol.
6434
6428
  *
6435
- * Weight: 1
6429
+ * Weight: 5
6436
6430
  *
6437
6431
  * @summary Cancel all Option orders on specific symbol (TRADE)
6438
6432
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
@@ -7152,7 +7146,7 @@ declare class RestAPI {
7152
7146
  /**
7153
7147
  * Cancel all active order on a symbol.
7154
7148
  *
7155
- * Weight: 1
7149
+ * Weight: 5
7156
7150
  *
7157
7151
  * @summary Cancel all Option orders on specific symbol (TRADE)
7158
7152
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ var import_common11 = require("@binance/common");
43
43
 
44
44
  // package.json
45
45
  var name = "@binance/derivatives-trading-options";
46
- var version = "6.0.3";
46
+ var version = "7.0.0";
47
47
 
48
48
  // src/rest-api/index.ts
49
49
  var rest_api_exports = {};
@@ -2061,7 +2061,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2061
2061
  /**
2062
2062
  * Cancel all active order on a symbol.
2063
2063
  *
2064
- * Weight: 1
2064
+ * Weight: 5
2065
2065
  *
2066
2066
  * @summary Cancel all Option orders on specific symbol (TRADE)
2067
2067
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
@@ -2274,7 +2274,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2274
2274
  * Weight: 5
2275
2275
  *
2276
2276
  * @summary Place Multiple Orders(TRADE)
2277
- * @param {Array<PlaceMultipleOrdersOrdersParameterInner>} orders order list. Max 5 orders
2277
+ * @param {Array<PlaceMultipleOrdersOrdersParameterInner>} orders order list. Max 10 orders
2278
2278
  * @param {number} [recvWindow]
2279
2279
  *
2280
2280
  * @throws {RequiredError}
@@ -2307,12 +2307,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
2307
2307
  * @param {number} [orderId] Order ID, e.g 4611875134427365377
2308
2308
  * @param {number} [startTime] Start Time, e.g 1593511200000
2309
2309
  * @param {number} [endTime] End Time, e.g 1593512200000
2310
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
2311
2310
  * @param {number} [recvWindow]
2312
2311
  *
2313
2312
  * @throws {RequiredError}
2314
2313
  */
2315
- queryCurrentOpenOptionOrders: async (symbol, orderId, startTime, endTime, limit, recvWindow) => {
2314
+ queryCurrentOpenOptionOrders: async (symbol, orderId, startTime, endTime, recvWindow) => {
2316
2315
  const localVarQueryParameter = {};
2317
2316
  if (symbol !== void 0 && symbol !== null) {
2318
2317
  localVarQueryParameter["symbol"] = symbol;
@@ -2326,9 +2325,6 @@ var TradeApiAxiosParamCreator = function(configuration) {
2326
2325
  if (endTime !== void 0 && endTime !== null) {
2327
2326
  localVarQueryParameter["endTime"] = endTime;
2328
2327
  }
2329
- if (limit !== void 0 && limit !== null) {
2330
- localVarQueryParameter["limit"] = limit;
2331
- }
2332
2328
  if (recvWindow !== void 0 && recvWindow !== null) {
2333
2329
  localVarQueryParameter["recvWindow"] = recvWindow;
2334
2330
  }
@@ -2537,7 +2533,7 @@ var TradeApi = class {
2537
2533
  /**
2538
2534
  * Cancel all active order on a symbol.
2539
2535
  *
2540
- * Weight: 1
2536
+ * Weight: 5
2541
2537
  *
2542
2538
  * @summary Cancel all Option orders on specific symbol (TRADE)
2543
2539
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
@@ -2729,7 +2725,6 @@ var TradeApi = class {
2729
2725
  requestParameters?.orderId,
2730
2726
  requestParameters?.startTime,
2731
2727
  requestParameters?.endTime,
2732
- requestParameters?.limit,
2733
2728
  requestParameters?.recvWindow
2734
2729
  );
2735
2730
  return (0, import_common5.sendRequest)(
@@ -3521,7 +3516,7 @@ var RestAPI = class {
3521
3516
  /**
3522
3517
  * Cancel all active order on a symbol.
3523
3518
  *
3524
- * Weight: 1
3519
+ * Weight: 5
3525
3520
  *
3526
3521
  * @summary Cancel all Option orders on specific symbol (TRADE)
3527
3522
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.