@binance/derivatives-trading-options 6.0.2 → 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 +4 -10
- package/dist/index.d.ts +4 -10
- package/dist/index.js +6 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
|
|
16
16
|
// package.json
|
|
17
17
|
var name = "@binance/derivatives-trading-options";
|
|
18
|
-
var version = "
|
|
18
|
+
var version = "7.0.0";
|
|
19
19
|
|
|
20
20
|
// src/rest-api/index.ts
|
|
21
21
|
var rest_api_exports = {};
|
|
@@ -2048,7 +2048,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2048
2048
|
/**
|
|
2049
2049
|
* Cancel all active order on a symbol.
|
|
2050
2050
|
*
|
|
2051
|
-
* Weight:
|
|
2051
|
+
* Weight: 5
|
|
2052
2052
|
*
|
|
2053
2053
|
* @summary Cancel all Option orders on specific symbol (TRADE)
|
|
2054
2054
|
* @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
|
|
@@ -2261,7 +2261,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2261
2261
|
* Weight: 5
|
|
2262
2262
|
*
|
|
2263
2263
|
* @summary Place Multiple Orders(TRADE)
|
|
2264
|
-
* @param {Array<PlaceMultipleOrdersOrdersParameterInner>} orders order list. Max
|
|
2264
|
+
* @param {Array<PlaceMultipleOrdersOrdersParameterInner>} orders order list. Max 10 orders
|
|
2265
2265
|
* @param {number} [recvWindow]
|
|
2266
2266
|
*
|
|
2267
2267
|
* @throws {RequiredError}
|
|
@@ -2294,12 +2294,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2294
2294
|
* @param {number} [orderId] Order ID, e.g 4611875134427365377
|
|
2295
2295
|
* @param {number} [startTime] Start Time, e.g 1593511200000
|
|
2296
2296
|
* @param {number} [endTime] End Time, e.g 1593512200000
|
|
2297
|
-
* @param {number} [limit] Number of result sets returned Default:100 Max:1000
|
|
2298
2297
|
* @param {number} [recvWindow]
|
|
2299
2298
|
*
|
|
2300
2299
|
* @throws {RequiredError}
|
|
2301
2300
|
*/
|
|
2302
|
-
queryCurrentOpenOptionOrders: async (symbol, orderId, startTime, endTime,
|
|
2301
|
+
queryCurrentOpenOptionOrders: async (symbol, orderId, startTime, endTime, recvWindow) => {
|
|
2303
2302
|
const localVarQueryParameter = {};
|
|
2304
2303
|
if (symbol !== void 0 && symbol !== null) {
|
|
2305
2304
|
localVarQueryParameter["symbol"] = symbol;
|
|
@@ -2313,9 +2312,6 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2313
2312
|
if (endTime !== void 0 && endTime !== null) {
|
|
2314
2313
|
localVarQueryParameter["endTime"] = endTime;
|
|
2315
2314
|
}
|
|
2316
|
-
if (limit !== void 0 && limit !== null) {
|
|
2317
|
-
localVarQueryParameter["limit"] = limit;
|
|
2318
|
-
}
|
|
2319
2315
|
if (recvWindow !== void 0 && recvWindow !== null) {
|
|
2320
2316
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2321
2317
|
}
|
|
@@ -2524,7 +2520,7 @@ var TradeApi = class {
|
|
|
2524
2520
|
/**
|
|
2525
2521
|
* Cancel all active order on a symbol.
|
|
2526
2522
|
*
|
|
2527
|
-
* Weight:
|
|
2523
|
+
* Weight: 5
|
|
2528
2524
|
*
|
|
2529
2525
|
* @summary Cancel all Option orders on specific symbol (TRADE)
|
|
2530
2526
|
* @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
|
|
@@ -2716,7 +2712,6 @@ var TradeApi = class {
|
|
|
2716
2712
|
requestParameters?.orderId,
|
|
2717
2713
|
requestParameters?.startTime,
|
|
2718
2714
|
requestParameters?.endTime,
|
|
2719
|
-
requestParameters?.limit,
|
|
2720
2715
|
requestParameters?.recvWindow
|
|
2721
2716
|
);
|
|
2722
2717
|
return sendRequest5(
|
|
@@ -3510,7 +3505,7 @@ var RestAPI = class {
|
|
|
3510
3505
|
/**
|
|
3511
3506
|
* Cancel all active order on a symbol.
|
|
3512
3507
|
*
|
|
3513
|
-
* Weight:
|
|
3508
|
+
* Weight: 5
|
|
3514
3509
|
*
|
|
3515
3510
|
* @summary Cancel all Option orders on specific symbol (TRADE)
|
|
3516
3511
|
* @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
|