@binance/derivatives-trading-options 8.0.1 → 9.0.1

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.mjs CHANGED
@@ -15,7 +15,7 @@ import {
15
15
 
16
16
  // package.json
17
17
  var name = "@binance/derivatives-trading-options";
18
- var version = "8.0.1";
18
+ var version = "9.0.1";
19
19
 
20
20
  // src/rest-api/index.ts
21
21
  var rest_api_exports = {};
@@ -69,11 +69,11 @@ var AccountApiAxiosParamCreator = function(configuration) {
69
69
  *
70
70
  * @summary Account Funding Flow (USER_DATA)
71
71
  * @param {string} currency Asset type, only support USDT as of now
72
- * @param {number} [recordId] Return the recordId and subsequent data, the latest data is returned by default, e.g 100000
73
- * @param {number} [startTime] Start Time, e.g 1593511200000
74
- * @param {number} [endTime] End Time, e.g 1593512200000
75
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
76
- * @param {number} [recvWindow]
72
+ * @param {number | bigint} [recordId] Return the recordId and subsequent data, the latest data is returned by default, e.g 100000
73
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
74
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
75
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
76
+ * @param {number | bigint} [recvWindow]
77
77
  *
78
78
  * @throws {RequiredError}
79
79
  */
@@ -116,9 +116,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
116
116
  * Weight: 5
117
117
  *
118
118
  * @summary Get Download Id For Option Transaction History (USER_DATA)
119
- * @param {number} startTime Timestamp in ms
120
- * @param {number} endTime Timestamp in ms
121
- * @param {number} [recvWindow]
119
+ * @param {number | bigint} startTime Timestamp in ms
120
+ * @param {number | bigint} endTime Timestamp in ms
121
+ * @param {number | bigint} [recvWindow]
122
122
  *
123
123
  * @throws {RequiredError}
124
124
  */
@@ -153,7 +153,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
153
153
  *
154
154
  * @summary Get Option Transaction History Download Link by Id (USER_DATA)
155
155
  * @param {string} downloadId get by download id api
156
- * @param {number} [recvWindow]
156
+ * @param {number | bigint} [recvWindow]
157
157
  *
158
158
  * @throws {RequiredError}
159
159
  */
@@ -185,7 +185,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
185
185
  * Weight: 3
186
186
  *
187
187
  * @summary Option Account Information(TRADE)
188
- * @param {number} [recvWindow]
188
+ * @param {number | bigint} [recvWindow]
189
189
  *
190
190
  * @throws {RequiredError}
191
191
  */
@@ -209,7 +209,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
209
209
  * Weight: 3
210
210
  *
211
211
  * @summary Option Margin Account Information (USER_DATA)
212
- * @param {number} [recvWindow]
212
+ * @param {number | bigint} [recvWindow]
213
213
  *
214
214
  * @throws {RequiredError}
215
215
  */
@@ -430,9 +430,9 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
430
430
  *
431
431
  * @summary Historical Exercise Records
432
432
  * @param {string} [underlying] underlying, e.g BTCUSDT
433
- * @param {number} [startTime] Start Time, e.g 1593511200000
434
- * @param {number} [endTime] End Time, e.g 1593512200000
435
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
433
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
434
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
435
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
436
436
  *
437
437
  * @throws {RequiredError}
438
438
  */
@@ -470,9 +470,9 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
470
470
  * @summary Kline/Candlestick Data
471
471
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
472
472
  * @param {string} interval Time interval
473
- * @param {number} [startTime] Start Time, e.g 1593511200000
474
- * @param {number} [endTime] End Time, e.g 1593512200000
475
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
473
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
474
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
475
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
476
476
  *
477
477
  * @throws {RequiredError}
478
478
  */
@@ -511,8 +511,8 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
511
511
  *
512
512
  * @summary Old Trades Lookup (MARKET_DATA)
513
513
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
514
- * @param {number} [fromId] The UniqueId ID from which to return. The latest deal record is returned by default
515
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
514
+ * @param {number | bigint} [fromId] The UniqueId ID from which to return. The latest deal record is returned by default
515
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
516
516
  *
517
517
  * @throws {RequiredError}
518
518
  */
@@ -603,7 +603,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
603
603
  *
604
604
  * @summary Order Book
605
605
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
606
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
606
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
607
607
  *
608
608
  * @throws {RequiredError}
609
609
  */
@@ -632,7 +632,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
632
632
  *
633
633
  * @summary Recent Block Trades List
634
634
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
635
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
635
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
636
636
  *
637
637
  * @throws {RequiredError}
638
638
  */
@@ -660,7 +660,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
660
660
  *
661
661
  * @summary Recent Trades List
662
662
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
663
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
663
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
664
664
  *
665
665
  * @throws {RequiredError}
666
666
  */
@@ -1113,7 +1113,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1113
1113
  *
1114
1114
  * @summary Accept Block Trade Order (TRADE)
1115
1115
  * @param {string} blockOrderMatchingKey
1116
- * @param {number} [recvWindow]
1116
+ * @param {number | bigint} [recvWindow]
1117
1117
  *
1118
1118
  * @throws {RequiredError}
1119
1119
  */
@@ -1145,10 +1145,10 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1145
1145
  * Weight: 5
1146
1146
  *
1147
1147
  * @summary Account Block Trade List (USER_DATA)
1148
- * @param {number} [endTime] End Time, e.g 1593512200000
1149
- * @param {number} [startTime] Start Time, e.g 1593511200000
1148
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
1149
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
1150
1150
  * @param {string} [underlying] underlying, e.g BTCUSDT
1151
- * @param {number} [recvWindow]
1151
+ * @param {number | bigint} [recvWindow]
1152
1152
  *
1153
1153
  * @throws {RequiredError}
1154
1154
  */
@@ -1182,7 +1182,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1182
1182
  *
1183
1183
  * @summary Cancel Block Trade Order (TRADE)
1184
1184
  * @param {string} blockOrderMatchingKey
1185
- * @param {number} [recvWindow]
1185
+ * @param {number | bigint} [recvWindow]
1186
1186
  *
1187
1187
  * @throws {RequiredError}
1188
1188
  */
@@ -1215,7 +1215,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1215
1215
  *
1216
1216
  * @summary Extend Block Trade Order (TRADE)
1217
1217
  * @param {string} blockOrderMatchingKey
1218
- * @param {number} [recvWindow]
1218
+ * @param {number | bigint} [recvWindow]
1219
1219
  *
1220
1220
  * @throws {RequiredError}
1221
1221
  */
@@ -1249,7 +1249,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1249
1249
  * @summary New Block Trade Order (TRADE)
1250
1250
  * @param {string} liquidity Taker or Maker
1251
1251
  * @param {Array<object>} legs Max 1 (only single leg supported), list of legs parameters in JSON; example: eapi/v1/block/order/create?orders=[{"symbol":"BTC-210115-35000-C", "price":"100","quantity":"0.0002","side":"BUY","type":"LIMIT"}]
1252
- * @param {number} [recvWindow]
1252
+ * @param {number | bigint} [recvWindow]
1253
1253
  *
1254
1254
  * @throws {RequiredError}
1255
1255
  */
@@ -1282,7 +1282,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1282
1282
  *
1283
1283
  * @summary Query Block Trade Details (USER_DATA)
1284
1284
  * @param {string} blockOrderMatchingKey
1285
- * @param {number} [recvWindow]
1285
+ * @param {number | bigint} [recvWindow]
1286
1286
  *
1287
1287
  * @throws {RequiredError}
1288
1288
  */
@@ -1315,10 +1315,10 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1315
1315
  *
1316
1316
  * @summary Query Block Trade Order (TRADE)
1317
1317
  * @param {string} [blockOrderMatchingKey] If specified, returns the specific block trade associated with the blockOrderMatchingKey
1318
- * @param {number} [endTime] End Time, e.g 1593512200000
1319
- * @param {number} [startTime] Start Time, e.g 1593511200000
1318
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
1319
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
1320
1320
  * @param {string} [underlying] underlying, e.g BTCUSDT
1321
- * @param {number} [recvWindow]
1321
+ * @param {number | bigint} [recvWindow]
1322
1322
  *
1323
1323
  * @throws {RequiredError}
1324
1324
  */
@@ -1561,7 +1561,7 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1561
1561
  *
1562
1562
  * @summary Auto-Cancel All Open Orders (Kill-Switch) Heartbeat (TRADE)
1563
1563
  * @param {string} underlyings Option Underlying Symbols, e.g BTCUSDT,ETHUSDT
1564
- * @param {number} [recvWindow]
1564
+ * @param {number | bigint} [recvWindow]
1565
1565
  *
1566
1566
  * @throws {RequiredError}
1567
1567
  */
@@ -1592,7 +1592,7 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1592
1592
  *
1593
1593
  * @summary Get Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
1594
1594
  * @param {string} [underlying] underlying, e.g BTCUSDT
1595
- * @param {number} [recvWindow]
1595
+ * @param {number | bigint} [recvWindow]
1596
1596
  *
1597
1597
  * @throws {RequiredError}
1598
1598
  */
@@ -1620,7 +1620,7 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1620
1620
  *
1621
1621
  * @summary Get Market Maker Protection Config (TRADE)
1622
1622
  * @param {string} [underlying] underlying, e.g BTCUSDT
1623
- * @param {number} [recvWindow]
1623
+ * @param {number | bigint} [recvWindow]
1624
1624
  *
1625
1625
  * @throws {RequiredError}
1626
1626
  */
@@ -1648,7 +1648,7 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1648
1648
  *
1649
1649
  * @summary Reset Market Maker Protection Config (TRADE)
1650
1650
  * @param {string} [underlying] underlying, e.g BTCUSDT
1651
- * @param {number} [recvWindow]
1651
+ * @param {number | bigint} [recvWindow]
1652
1652
  *
1653
1653
  * @throws {RequiredError}
1654
1654
  */
@@ -1682,8 +1682,8 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1682
1682
  *
1683
1683
  * @summary Set Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
1684
1684
  * @param {string} underlying Option underlying, e.g BTCUSDT
1685
- * @param {number} countdownTime Countdown time in milliseconds (ex. 1,000 for 1 second). 0 to disable the timer. Negative values (ex. -10000) are not accepted. Minimum acceptable value is 5,000
1686
- * @param {number} [recvWindow]
1685
+ * @param {number | bigint} countdownTime Countdown time in milliseconds (ex. 1,000 for 1 second). 0 to disable the timer. Negative values (ex. -10000) are not accepted. Minimum acceptable value is 5,000
1686
+ * @param {number | bigint} [recvWindow]
1687
1687
  *
1688
1688
  * @throws {RequiredError}
1689
1689
  */
@@ -1717,11 +1717,11 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1717
1717
  *
1718
1718
  * @summary Set Market Maker Protection Config (TRADE)
1719
1719
  * @param {string} [underlying] underlying, e.g BTCUSDT
1720
- * @param {number} [windowTimeInMilliseconds] MMP Interval in milliseconds; Range (0,5000]
1721
- * @param {number} [frozenTimeInMilliseconds] MMP frozen time in milliseconds, if set to 0 manual reset is required
1720
+ * @param {number | bigint} [windowTimeInMilliseconds] MMP Interval in milliseconds; Range (0,5000]
1721
+ * @param {number | bigint} [frozenTimeInMilliseconds] MMP frozen time in milliseconds, if set to 0 manual reset is required
1722
1722
  * @param {number} [qtyLimit] quantity limit
1723
1723
  * @param {number} [deltaLimit] net delta limit
1724
- * @param {number} [recvWindow]
1724
+ * @param {number | bigint} [recvWindow]
1725
1725
  *
1726
1726
  * @throws {RequiredError}
1727
1727
  */
@@ -1949,11 +1949,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
1949
1949
  *
1950
1950
  * @summary Account Trade List (USER_DATA)
1951
1951
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
1952
- * @param {number} [fromId] The UniqueId ID from which to return. The latest deal record is returned by default
1953
- * @param {number} [startTime] Start Time, e.g 1593511200000
1954
- * @param {number} [endTime] End Time, e.g 1593512200000
1955
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
1956
- * @param {number} [recvWindow]
1952
+ * @param {number | bigint} [fromId] The UniqueId ID from which to return. The latest deal record is returned by default
1953
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
1954
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
1955
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
1956
+ * @param {number | bigint} [recvWindow]
1957
1957
  *
1958
1958
  * @throws {RequiredError}
1959
1959
  */
@@ -1993,7 +1993,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
1993
1993
  *
1994
1994
  * @summary Cancel All Option Orders By Underlying (TRADE)
1995
1995
  * @param {string} underlying Option underlying, e.g BTCUSDT
1996
- * @param {number} [recvWindow]
1996
+ * @param {number | bigint} [recvWindow]
1997
1997
  *
1998
1998
  * @throws {RequiredError}
1999
1999
  */
@@ -2022,7 +2022,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2022
2022
  *
2023
2023
  * @summary Cancel all Option orders on specific symbol (TRADE)
2024
2024
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2025
- * @param {number} [recvWindow]
2025
+ * @param {number | bigint} [recvWindow]
2026
2026
  *
2027
2027
  * @throws {RequiredError}
2028
2028
  */
@@ -2055,7 +2055,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2055
2055
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2056
2056
  * @param {Array<number>} [orderIds] Order ID, e.g [4611875134427365377,4611875134427365378]
2057
2057
  * @param {Array<string>} [clientOrderIds] User-defined order ID, e.g ["my_id_1","my_id_2"]
2058
- * @param {number} [recvWindow]
2058
+ * @param {number | bigint} [recvWindow]
2059
2059
  *
2060
2060
  * @throws {RequiredError}
2061
2061
  */
@@ -2092,9 +2092,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
2092
2092
  *
2093
2093
  * @summary Cancel Option Order (TRADE)
2094
2094
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2095
- * @param {number} [orderId] Order ID, e.g 4611875134427365377
2095
+ * @param {number | bigint} [orderId] Order ID, e.g 4611875134427365377
2096
2096
  * @param {string} [clientOrderId] User-defined order ID, e.g 10000
2097
- * @param {number} [recvWindow]
2097
+ * @param {number | bigint} [recvWindow]
2098
2098
  *
2099
2099
  * @throws {RequiredError}
2100
2100
  */
@@ -2139,7 +2139,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2139
2139
  * @param {NewOrderNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", Default "ACK"
2140
2140
  * @param {string} [clientOrderId] User-defined order ID, e.g 10000
2141
2141
  * @param {boolean} [isMmp] is market maker protection order, true/false
2142
- * @param {number} [recvWindow]
2142
+ * @param {number | bigint} [recvWindow]
2143
2143
  *
2144
2144
  * @throws {RequiredError}
2145
2145
  */
@@ -2201,7 +2201,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2201
2201
  *
2202
2202
  * @summary Option Position Information (USER_DATA)
2203
2203
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
2204
- * @param {number} [recvWindow]
2204
+ * @param {number | bigint} [recvWindow]
2205
2205
  *
2206
2206
  * @throws {RequiredError}
2207
2207
  */
@@ -2232,7 +2232,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2232
2232
  *
2233
2233
  * @summary Place Multiple Orders(TRADE)
2234
2234
  * @param {Array<PlaceMultipleOrdersOrdersParameterInner>} orders order list. Max 10 orders
2235
- * @param {number} [recvWindow]
2235
+ * @param {number | bigint} [recvWindow]
2236
2236
  *
2237
2237
  * @throws {RequiredError}
2238
2238
  */
@@ -2261,10 +2261,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
2261
2261
  *
2262
2262
  * @summary Query Current Open Option Orders (USER_DATA)
2263
2263
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
2264
- * @param {number} [orderId] Order ID, e.g 4611875134427365377
2265
- * @param {number} [startTime] Start Time, e.g 1593511200000
2266
- * @param {number} [endTime] End Time, e.g 1593512200000
2267
- * @param {number} [recvWindow]
2264
+ * @param {number | bigint} [orderId] Order ID, e.g 4611875134427365377
2265
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
2266
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
2267
+ * @param {number | bigint} [recvWindow]
2268
2268
  *
2269
2269
  * @throws {RequiredError}
2270
2270
  */
@@ -2301,11 +2301,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
2301
2301
  *
2302
2302
  * @summary Query Option Order History (TRADE)
2303
2303
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2304
- * @param {number} [orderId] Order ID, e.g 4611875134427365377
2305
- * @param {number} [startTime] Start Time, e.g 1593511200000
2306
- * @param {number} [endTime] End Time, e.g 1593512200000
2307
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
2308
- * @param {number} [recvWindow]
2304
+ * @param {number | bigint} [orderId] Order ID, e.g 4611875134427365377
2305
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
2306
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
2307
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
2308
+ * @param {number | bigint} [recvWindow]
2309
2309
  *
2310
2310
  * @throws {RequiredError}
2311
2311
  */
@@ -2354,9 +2354,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
2354
2354
  *
2355
2355
  * @summary Query Single Order (TRADE)
2356
2356
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2357
- * @param {number} [orderId] Order ID, e.g 4611875134427365377
2357
+ * @param {number | bigint} [orderId] Order ID, e.g 4611875134427365377
2358
2358
  * @param {string} [clientOrderId] User-defined order ID, e.g 10000
2359
- * @param {number} [recvWindow]
2359
+ * @param {number | bigint} [recvWindow]
2360
2360
  *
2361
2361
  * @throws {RequiredError}
2362
2362
  */
@@ -2391,10 +2391,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
2391
2391
  *
2392
2392
  * @summary User Exercise Record (USER_DATA)
2393
2393
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
2394
- * @param {number} [startTime] Start Time, e.g 1593511200000
2395
- * @param {number} [endTime] End Time, e.g 1593512200000
2396
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
2397
- * @param {number} [recvWindow]
2394
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
2395
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
2396
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
2397
+ * @param {number | bigint} [recvWindow]
2398
2398
  *
2399
2399
  * @throws {RequiredError}
2400
2400
  */
@@ -2994,6 +2994,7 @@ var RestAPI = class {
2994
2994
  *
2995
2995
  * @summary Account Funding Flow (USER_DATA)
2996
2996
  * @param {AccountFundingFlowRequest} requestParameters Request parameters.
2997
+ *
2997
2998
  * @returns {Promise<RestApiResponse<AccountFundingFlowResponse>>}
2998
2999
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2999
3000
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Account-Funding-Flow Binance API Documentation}
@@ -3011,6 +3012,7 @@ var RestAPI = class {
3011
3012
  *
3012
3013
  * @summary Get Download Id For Option Transaction History (USER_DATA)
3013
3014
  * @param {GetDownloadIdForOptionTransactionHistoryRequest} requestParameters Request parameters.
3015
+ *
3014
3016
  * @returns {Promise<RestApiResponse<GetDownloadIdForOptionTransactionHistoryResponse>>}
3015
3017
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3016
3018
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Get-Download-Id-For-Option-Transaction-History Binance API Documentation}
@@ -3027,6 +3029,7 @@ var RestAPI = class {
3027
3029
  *
3028
3030
  * @summary Get Option Transaction History Download Link by Id (USER_DATA)
3029
3031
  * @param {GetOptionTransactionHistoryDownloadLinkByIdRequest} requestParameters Request parameters.
3032
+ *
3030
3033
  * @returns {Promise<RestApiResponse<GetOptionTransactionHistoryDownloadLinkByIdResponse>>}
3031
3034
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3032
3035
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Get-Option-Transaction-History-Download-Link-by-Id Binance API Documentation}
@@ -3041,6 +3044,7 @@ var RestAPI = class {
3041
3044
  *
3042
3045
  * @summary Option Account Information(TRADE)
3043
3046
  * @param {OptionAccountInformationRequest} requestParameters Request parameters.
3047
+ *
3044
3048
  * @returns {Promise<RestApiResponse<OptionAccountInformationResponse>>}
3045
3049
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3046
3050
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Option-Account-Information Binance API Documentation}
@@ -3055,6 +3059,7 @@ var RestAPI = class {
3055
3059
  *
3056
3060
  * @summary Option Margin Account Information (USER_DATA)
3057
3061
  * @param {OptionMarginAccountInformationRequest} requestParameters Request parameters.
3062
+ *
3058
3063
  * @returns {Promise<RestApiResponse<OptionMarginAccountInformationResponse>>}
3059
3064
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3060
3065
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Option-Margin-Account-Information Binance API Documentation}
@@ -3068,6 +3073,7 @@ var RestAPI = class {
3068
3073
  * Weight: 1
3069
3074
  *
3070
3075
  * @summary Check Server Time
3076
+ *
3071
3077
  * @returns {Promise<RestApiResponse<CheckServerTimeResponse>>}
3072
3078
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3073
3079
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Check-Server-Time Binance API Documentation}
@@ -3081,6 +3087,7 @@ var RestAPI = class {
3081
3087
  * Weight: 1
3082
3088
  *
3083
3089
  * @summary Exchange Information
3090
+ *
3084
3091
  * @returns {Promise<RestApiResponse<ExchangeInformationResponse>>}
3085
3092
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3086
3093
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Exchange-Information Binance API Documentation}
@@ -3097,6 +3104,7 @@ var RestAPI = class {
3097
3104
  *
3098
3105
  * @summary Historical Exercise Records
3099
3106
  * @param {HistoricalExerciseRecordsRequest} requestParameters Request parameters.
3107
+ *
3100
3108
  * @returns {Promise<RestApiResponse<HistoricalExerciseRecordsResponse>>}
3101
3109
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3102
3110
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Historical-Exercise-Records Binance API Documentation}
@@ -3114,6 +3122,7 @@ var RestAPI = class {
3114
3122
  *
3115
3123
  * @summary Kline/Candlestick Data
3116
3124
  * @param {KlineCandlestickDataRequest} requestParameters Request parameters.
3125
+ *
3117
3126
  * @returns {Promise<RestApiResponse<KlineCandlestickDataResponse>>}
3118
3127
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3119
3128
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Kline-Candlestick-Data Binance API Documentation}
@@ -3128,6 +3137,7 @@ var RestAPI = class {
3128
3137
  *
3129
3138
  * @summary Old Trades Lookup (MARKET_DATA)
3130
3139
  * @param {OldTradesLookupRequest} requestParameters Request parameters.
3140
+ *
3131
3141
  * @returns {Promise<RestApiResponse<OldTradesLookupResponse>>}
3132
3142
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3133
3143
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Old-Trades-Lookup Binance API Documentation}
@@ -3142,6 +3152,7 @@ var RestAPI = class {
3142
3152
  *
3143
3153
  * @summary Open Interest
3144
3154
  * @param {OpenInterestRequest} requestParameters Request parameters.
3155
+ *
3145
3156
  * @returns {Promise<RestApiResponse<OpenInterestResponse>>}
3146
3157
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3147
3158
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Open-Interest Binance API Documentation}
@@ -3156,6 +3167,7 @@ var RestAPI = class {
3156
3167
  *
3157
3168
  * @summary Option Mark Price
3158
3169
  * @param {OptionMarkPriceRequest} requestParameters Request parameters.
3170
+ *
3159
3171
  * @returns {Promise<RestApiResponse<OptionMarkPriceResponse>>}
3160
3172
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3161
3173
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Option-Mark-Price Binance API Documentation}
@@ -3175,6 +3187,7 @@ var RestAPI = class {
3175
3187
  *
3176
3188
  * @summary Order Book
3177
3189
  * @param {OrderBookRequest} requestParameters Request parameters.
3190
+ *
3178
3191
  * @returns {Promise<RestApiResponse<OrderBookResponse>>}
3179
3192
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3180
3193
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Order-Book Binance API Documentation}
@@ -3189,6 +3202,7 @@ var RestAPI = class {
3189
3202
  *
3190
3203
  * @summary Recent Block Trades List
3191
3204
  * @param {RecentBlockTradesListRequest} requestParameters Request parameters.
3205
+ *
3192
3206
  * @returns {Promise<RestApiResponse<RecentBlockTradesListResponse>>}
3193
3207
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3194
3208
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Recent-Block-Trade-List Binance API Documentation}
@@ -3203,6 +3217,7 @@ var RestAPI = class {
3203
3217
  *
3204
3218
  * @summary Recent Trades List
3205
3219
  * @param {RecentTradesListRequest} requestParameters Request parameters.
3220
+ *
3206
3221
  * @returns {Promise<RestApiResponse<RecentTradesListResponse>>}
3207
3222
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3208
3223
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Recent-Trades-List Binance API Documentation}
@@ -3217,6 +3232,7 @@ var RestAPI = class {
3217
3232
  *
3218
3233
  * @summary Symbol Price Ticker
3219
3234
  * @param {SymbolPriceTickerRequest} requestParameters Request parameters.
3235
+ *
3220
3236
  * @returns {Promise<RestApiResponse<SymbolPriceTickerResponse>>}
3221
3237
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3222
3238
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Symbol-Price-Ticker Binance API Documentation}
@@ -3230,6 +3246,7 @@ var RestAPI = class {
3230
3246
  * Weight: 1
3231
3247
  *
3232
3248
  * @summary Test Connectivity
3249
+ *
3233
3250
  * @returns {Promise<RestApiResponse<void>>}
3234
3251
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3235
3252
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Test-Connectivity Binance API Documentation}
@@ -3244,6 +3261,7 @@ var RestAPI = class {
3244
3261
  *
3245
3262
  * @summary 24hr Ticker Price Change Statistics
3246
3263
  * @param {Ticker24hrPriceChangeStatisticsRequest} requestParameters Request parameters.
3264
+ *
3247
3265
  * @returns {Promise<RestApiResponse<Ticker24hrPriceChangeStatisticsResponse>>}
3248
3266
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3249
3267
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/24hr-Ticker-Price-Change-Statistics Binance API Documentation}
@@ -3258,6 +3276,7 @@ var RestAPI = class {
3258
3276
  *
3259
3277
  * @summary Accept Block Trade Order (TRADE)
3260
3278
  * @param {AcceptBlockTradeOrderRequest} requestParameters Request parameters.
3279
+ *
3261
3280
  * @returns {Promise<RestApiResponse<AcceptBlockTradeOrderResponse>>}
3262
3281
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3263
3282
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Accept-Block-Trade-Order Binance API Documentation}
@@ -3272,6 +3291,7 @@ var RestAPI = class {
3272
3291
  *
3273
3292
  * @summary Account Block Trade List (USER_DATA)
3274
3293
  * @param {AccountBlockTradeListRequest} requestParameters Request parameters.
3294
+ *
3275
3295
  * @returns {Promise<RestApiResponse<AccountBlockTradeListResponse>>}
3276
3296
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3277
3297
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Account-Block-Trade-List Binance API Documentation}
@@ -3286,6 +3306,7 @@ var RestAPI = class {
3286
3306
  *
3287
3307
  * @summary Cancel Block Trade Order (TRADE)
3288
3308
  * @param {CancelBlockTradeOrderRequest} requestParameters Request parameters.
3309
+ *
3289
3310
  * @returns {Promise<RestApiResponse<void>>}
3290
3311
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3291
3312
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Cancel-Block-Trade-Order Binance API Documentation}
@@ -3300,6 +3321,7 @@ var RestAPI = class {
3300
3321
  *
3301
3322
  * @summary Extend Block Trade Order (TRADE)
3302
3323
  * @param {ExtendBlockTradeOrderRequest} requestParameters Request parameters.
3324
+ *
3303
3325
  * @returns {Promise<RestApiResponse<ExtendBlockTradeOrderResponse>>}
3304
3326
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3305
3327
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Extend-Block-Trade-Order Binance API Documentation}
@@ -3314,6 +3336,7 @@ var RestAPI = class {
3314
3336
  *
3315
3337
  * @summary New Block Trade Order (TRADE)
3316
3338
  * @param {NewBlockTradeOrderRequest} requestParameters Request parameters.
3339
+ *
3317
3340
  * @returns {Promise<RestApiResponse<NewBlockTradeOrderResponse>>}
3318
3341
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3319
3342
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/New-Block-Trade-Order Binance API Documentation}
@@ -3328,6 +3351,7 @@ var RestAPI = class {
3328
3351
  *
3329
3352
  * @summary Query Block Trade Details (USER_DATA)
3330
3353
  * @param {QueryBlockTradeDetailsRequest} requestParameters Request parameters.
3354
+ *
3331
3355
  * @returns {Promise<RestApiResponse<QueryBlockTradeDetailsResponse>>}
3332
3356
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3333
3357
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Query-Block-Trade-Detail Binance API Documentation}
@@ -3342,6 +3366,7 @@ var RestAPI = class {
3342
3366
  *
3343
3367
  * @summary Query Block Trade Order (TRADE)
3344
3368
  * @param {QueryBlockTradeOrderRequest} requestParameters Request parameters.
3369
+ *
3345
3370
  * @returns {Promise<RestApiResponse<QueryBlockTradeOrderResponse>>}
3346
3371
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3347
3372
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Query-Block-Trade-Order Binance API Documentation}
@@ -3358,6 +3383,7 @@ var RestAPI = class {
3358
3383
  *
3359
3384
  * @summary Auto-Cancel All Open Orders (Kill-Switch) Heartbeat (TRADE)
3360
3385
  * @param {AutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
3386
+ *
3361
3387
  * @returns {Promise<RestApiResponse<AutoCancelAllOpenOrdersResponse>>}
3362
3388
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3363
3389
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Auto-Cancel-All-Open-Orders-Heartbeat Binance API Documentation}
@@ -3374,6 +3400,7 @@ var RestAPI = class {
3374
3400
  *
3375
3401
  * @summary Get Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
3376
3402
  * @param {GetAutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
3403
+ *
3377
3404
  * @returns {Promise<RestApiResponse<GetAutoCancelAllOpenOrdersResponse>>}
3378
3405
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3379
3406
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Get-Auto-Cancel-All-Open-Orders-Config Binance API Documentation}
@@ -3388,6 +3415,7 @@ var RestAPI = class {
3388
3415
  *
3389
3416
  * @summary Get Market Maker Protection Config (TRADE)
3390
3417
  * @param {GetMarketMakerProtectionConfigRequest} requestParameters Request parameters.
3418
+ *
3391
3419
  * @returns {Promise<RestApiResponse<GetMarketMakerProtectionConfigResponse>>}
3392
3420
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3393
3421
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Get-Market-Maker-Protection-Config Binance API Documentation}
@@ -3402,6 +3430,7 @@ var RestAPI = class {
3402
3430
  *
3403
3431
  * @summary Reset Market Maker Protection Config (TRADE)
3404
3432
  * @param {ResetMarketMakerProtectionConfigRequest} requestParameters Request parameters.
3433
+ *
3405
3434
  * @returns {Promise<RestApiResponse<ResetMarketMakerProtectionConfigResponse>>}
3406
3435
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3407
3436
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Reset-Market-Maker-Protection-Config Binance API Documentation}
@@ -3422,6 +3451,7 @@ var RestAPI = class {
3422
3451
  *
3423
3452
  * @summary Set Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
3424
3453
  * @param {SetAutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
3454
+ *
3425
3455
  * @returns {Promise<RestApiResponse<SetAutoCancelAllOpenOrdersResponse>>}
3426
3456
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3427
3457
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Set-Auto-Cancel-All-Open-Orders-Config Binance API Documentation}
@@ -3437,6 +3467,7 @@ var RestAPI = class {
3437
3467
  *
3438
3468
  * @summary Set Market Maker Protection Config (TRADE)
3439
3469
  * @param {SetMarketMakerProtectionConfigRequest} requestParameters Request parameters.
3470
+ *
3440
3471
  * @returns {Promise<RestApiResponse<SetMarketMakerProtectionConfigResponse>>}
3441
3472
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3442
3473
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Set-Market-Maker-Protection-Config Binance API Documentation}
@@ -3451,6 +3482,7 @@ var RestAPI = class {
3451
3482
  *
3452
3483
  * @summary Account Trade List (USER_DATA)
3453
3484
  * @param {AccountTradeListRequest} requestParameters Request parameters.
3485
+ *
3454
3486
  * @returns {Promise<RestApiResponse<AccountTradeListResponse>>}
3455
3487
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3456
3488
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Account-Trade-List Binance API Documentation}
@@ -3465,6 +3497,7 @@ var RestAPI = class {
3465
3497
  *
3466
3498
  * @summary Cancel All Option Orders By Underlying (TRADE)
3467
3499
  * @param {CancelAllOptionOrdersByUnderlyingRequest} requestParameters Request parameters.
3500
+ *
3468
3501
  * @returns {Promise<RestApiResponse<CancelAllOptionOrdersByUnderlyingResponse>>}
3469
3502
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3470
3503
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-All-Option-Orders-By-Underlying Binance API Documentation}
@@ -3479,6 +3512,7 @@ var RestAPI = class {
3479
3512
  *
3480
3513
  * @summary Cancel all Option orders on specific symbol (TRADE)
3481
3514
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
3515
+ *
3482
3516
  * @returns {Promise<RestApiResponse<CancelAllOptionOrdersOnSpecificSymbolResponse>>}
3483
3517
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3484
3518
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-all-Option-orders-on-specific-symbol Binance API Documentation}
@@ -3495,6 +3529,7 @@ var RestAPI = class {
3495
3529
  *
3496
3530
  * @summary Cancel Multiple Option Orders (TRADE)
3497
3531
  * @param {CancelMultipleOptionOrdersRequest} requestParameters Request parameters.
3532
+ *
3498
3533
  * @returns {Promise<RestApiResponse<CancelMultipleOptionOrdersResponse>>}
3499
3534
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3500
3535
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-Multiple-Option-Orders Binance API Documentation}
@@ -3511,6 +3546,7 @@ var RestAPI = class {
3511
3546
  *
3512
3547
  * @summary Cancel Option Order (TRADE)
3513
3548
  * @param {CancelOptionOrderRequest} requestParameters Request parameters.
3549
+ *
3514
3550
  * @returns {Promise<RestApiResponse<CancelOptionOrderResponse>>}
3515
3551
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3516
3552
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-Option-Order Binance API Documentation}
@@ -3525,6 +3561,7 @@ var RestAPI = class {
3525
3561
  *
3526
3562
  * @summary New Order (TRADE)
3527
3563
  * @param {NewOrderRequest} requestParameters Request parameters.
3564
+ *
3528
3565
  * @returns {Promise<RestApiResponse<NewOrderResponse>>}
3529
3566
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3530
3567
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/New-Order Binance API Documentation}
@@ -3539,6 +3576,7 @@ var RestAPI = class {
3539
3576
  *
3540
3577
  * @summary Option Position Information (USER_DATA)
3541
3578
  * @param {OptionPositionInformationRequest} requestParameters Request parameters.
3579
+ *
3542
3580
  * @returns {Promise<RestApiResponse<OptionPositionInformationResponse>>}
3543
3581
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3544
3582
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Option-Position-Information Binance API Documentation}
@@ -3556,6 +3594,7 @@ var RestAPI = class {
3556
3594
  *
3557
3595
  * @summary Place Multiple Orders(TRADE)
3558
3596
  * @param {PlaceMultipleOrdersRequest} requestParameters Request parameters.
3597
+ *
3559
3598
  * @returns {Promise<RestApiResponse<PlaceMultipleOrdersResponse>>}
3560
3599
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3561
3600
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Place-Multiple-Orders Binance API Documentation}
@@ -3570,6 +3609,7 @@ var RestAPI = class {
3570
3609
  *
3571
3610
  * @summary Query Current Open Option Orders (USER_DATA)
3572
3611
  * @param {QueryCurrentOpenOptionOrdersRequest} requestParameters Request parameters.
3612
+ *
3573
3613
  * @returns {Promise<RestApiResponse<QueryCurrentOpenOptionOrdersResponse>>}
3574
3614
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3575
3615
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Query-Current-Open-Option-Orders Binance API Documentation}
@@ -3584,6 +3624,7 @@ var RestAPI = class {
3584
3624
  *
3585
3625
  * @summary Query Option Order History (TRADE)
3586
3626
  * @param {QueryOptionOrderHistoryRequest} requestParameters Request parameters.
3627
+ *
3587
3628
  * @returns {Promise<RestApiResponse<QueryOptionOrderHistoryResponse>>}
3588
3629
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3589
3630
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Query-Option-Order-History Binance API Documentation}
@@ -3606,6 +3647,7 @@ var RestAPI = class {
3606
3647
  *
3607
3648
  * @summary Query Single Order (TRADE)
3608
3649
  * @param {QuerySingleOrderRequest} requestParameters Request parameters.
3650
+ *
3609
3651
  * @returns {Promise<RestApiResponse<QuerySingleOrderResponse>>}
3610
3652
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3611
3653
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Query-Single-Order Binance API Documentation}
@@ -3620,6 +3662,7 @@ var RestAPI = class {
3620
3662
  *
3621
3663
  * @summary User Exercise Record (USER_DATA)
3622
3664
  * @param {UserExerciseRecordRequest} requestParameters Request parameters.
3665
+ *
3623
3666
  * @returns {Promise<RestApiResponse<UserExerciseRecordResponse>>}
3624
3667
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3625
3668
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/User-Exercise-Record Binance API Documentation}
@@ -3633,6 +3676,7 @@ var RestAPI = class {
3633
3676
  * Weight: 1
3634
3677
  *
3635
3678
  * @summary Close User Data Stream (USER_STREAM)
3679
+ *
3636
3680
  * @returns {Promise<RestApiResponse<void>>}
3637
3681
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3638
3682
  * @see {@link https://developers.binance.com/docs/derivatives/option/user-data-streams/Close-User-Data-Stream Binance API Documentation}
@@ -3646,6 +3690,7 @@ var RestAPI = class {
3646
3690
  * Weight: 1
3647
3691
  *
3648
3692
  * @summary Keepalive User Data Stream (USER_STREAM)
3693
+ *
3649
3694
  * @returns {Promise<RestApiResponse<void>>}
3650
3695
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3651
3696
  * @see {@link https://developers.binance.com/docs/derivatives/option/user-data-streams/Keepalive-User-Data-Stream Binance API Documentation}
@@ -3659,6 +3704,7 @@ var RestAPI = class {
3659
3704
  * Weight: 1
3660
3705
  *
3661
3706
  * @summary Start User Data Stream (USER_STREAM)
3707
+ *
3662
3708
  * @returns {Promise<RestApiResponse<StartUserDataStreamResponse>>}
3663
3709
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3664
3710
  * @see {@link https://developers.binance.com/docs/derivatives/option/user-data-streams/Start-User-Data-Stream Binance API Documentation}
@@ -3778,7 +3824,7 @@ var WebsocketMarketStreamsApiParamCreator = function() {
3778
3824
  *
3779
3825
  * @summary Partial Book Depth Streams
3780
3826
  * @param {string} symbol The symbol parameter
3781
- * @param {number} levels The levels parameter
3827
+ * @param {number | bigint} levels The levels parameter
3782
3828
  * @param {string} [id] Unique WebSocket request ID.
3783
3829
  * @param {string} [updateSpeed] WebSocket stream update speed
3784
3830
  *
@@ -4165,6 +4211,7 @@ var WebsocketStreamsConnection = class {
4165
4211
  *
4166
4212
  * @summary Index Price Streams
4167
4213
  * @param {IndexPriceStreamsRequest} requestParameters Request parameters.
4214
+ *
4168
4215
  * @returns {WebsocketStream<IndexPriceStreamsResponse>}
4169
4216
  * @throws {RequiredError}
4170
4217
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Index-Price-Streams Binance API Documentation}
@@ -4179,6 +4226,7 @@ var WebsocketStreamsConnection = class {
4179
4226
  *
4180
4227
  * @summary Kline/Candlestick Streams
4181
4228
  * @param {KlineCandlestickStreamsRequest} requestParameters Request parameters.
4229
+ *
4182
4230
  * @returns {WebsocketStream<KlineCandlestickStreamsResponse>}
4183
4231
  * @throws {RequiredError}
4184
4232
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Kline-Candlestick-Streams Binance API Documentation}
@@ -4193,6 +4241,7 @@ var WebsocketStreamsConnection = class {
4193
4241
  *
4194
4242
  * @summary Mark Price
4195
4243
  * @param {MarkPriceRequest} requestParameters Request parameters.
4244
+ *
4196
4245
  * @returns {WebsocketStream<MarkPriceResponse>}
4197
4246
  * @throws {RequiredError}
4198
4247
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Mark-Price Binance API Documentation}
@@ -4207,6 +4256,7 @@ var WebsocketStreamsConnection = class {
4207
4256
  *
4208
4257
  * @summary New Symbol Info
4209
4258
  * @param {NewSymbolInfoRequest} requestParameters Request parameters.
4259
+ *
4210
4260
  * @returns {WebsocketStream<NewSymbolInfoResponse>}
4211
4261
  * @throws {RequiredError}
4212
4262
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/New-Symbol-Info Binance API Documentation}
@@ -4221,6 +4271,7 @@ var WebsocketStreamsConnection = class {
4221
4271
  *
4222
4272
  * @summary Open Interest
4223
4273
  * @param {OpenInterestRequest} requestParameters Request parameters.
4274
+ *
4224
4275
  * @returns {WebsocketStream<OpenInterestResponse>}
4225
4276
  * @throws {RequiredError}
4226
4277
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Open-Interest Binance API Documentation}
@@ -4235,6 +4286,7 @@ var WebsocketStreamsConnection = class {
4235
4286
  *
4236
4287
  * @summary Partial Book Depth Streams
4237
4288
  * @param {PartialBookDepthStreamsRequest} requestParameters Request parameters.
4289
+ *
4238
4290
  * @returns {WebsocketStream<PartialBookDepthStreamsResponse>}
4239
4291
  * @throws {RequiredError}
4240
4292
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Partial-Book-Depth-Streams Binance API Documentation}
@@ -4249,6 +4301,7 @@ var WebsocketStreamsConnection = class {
4249
4301
  *
4250
4302
  * @summary 24-hour TICKER
4251
4303
  * @param {Ticker24HourRequest} requestParameters Request parameters.
4304
+ *
4252
4305
  * @returns {WebsocketStream<Ticker24HourResponse>}
4253
4306
  * @throws {RequiredError}
4254
4307
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/24-hour-TICKER Binance API Documentation}
@@ -4263,6 +4316,7 @@ var WebsocketStreamsConnection = class {
4263
4316
  *
4264
4317
  * @summary 24-hour TICKER by underlying asset and expiration data
4265
4318
  * @param {Ticker24HourByUnderlyingAssetAndExpirationDataRequest} requestParameters Request parameters.
4319
+ *
4266
4320
  * @returns {WebsocketStream<Ticker24HourByUnderlyingAssetAndExpirationDataResponse>}
4267
4321
  * @throws {RequiredError}
4268
4322
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/24-hour-TICKER-by-underlying-asset-and-expiration-data Binance API Documentation}
@@ -4279,6 +4333,7 @@ var WebsocketStreamsConnection = class {
4279
4333
  *
4280
4334
  * @summary Trade Streams
4281
4335
  * @param {TradeStreamsRequest} requestParameters Request parameters.
4336
+ *
4282
4337
  * @returns {WebsocketStream<TradeStreamsResponse>}
4283
4338
  * @throws {RequiredError}
4284
4339
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Trade-Streams Binance API Documentation}