@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.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 = "8.0.1";
46
+ var version = "9.0.1";
47
47
 
48
48
  // src/rest-api/index.ts
49
49
  var rest_api_exports = {};
@@ -94,11 +94,11 @@ var AccountApiAxiosParamCreator = function(configuration) {
94
94
  *
95
95
  * @summary Account Funding Flow (USER_DATA)
96
96
  * @param {string} currency Asset type, only support USDT as of now
97
- * @param {number} [recordId] Return the recordId and subsequent data, the latest data is returned by default, e.g 100000
98
- * @param {number} [startTime] Start Time, e.g 1593511200000
99
- * @param {number} [endTime] End Time, e.g 1593512200000
100
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
101
- * @param {number} [recvWindow]
97
+ * @param {number | bigint} [recordId] Return the recordId and subsequent data, the latest data is returned by default, e.g 100000
98
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
99
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
100
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
101
+ * @param {number | bigint} [recvWindow]
102
102
  *
103
103
  * @throws {RequiredError}
104
104
  */
@@ -141,9 +141,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
141
141
  * Weight: 5
142
142
  *
143
143
  * @summary Get Download Id For Option Transaction History (USER_DATA)
144
- * @param {number} startTime Timestamp in ms
145
- * @param {number} endTime Timestamp in ms
146
- * @param {number} [recvWindow]
144
+ * @param {number | bigint} startTime Timestamp in ms
145
+ * @param {number | bigint} endTime Timestamp in ms
146
+ * @param {number | bigint} [recvWindow]
147
147
  *
148
148
  * @throws {RequiredError}
149
149
  */
@@ -178,7 +178,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
178
178
  *
179
179
  * @summary Get Option Transaction History Download Link by Id (USER_DATA)
180
180
  * @param {string} downloadId get by download id api
181
- * @param {number} [recvWindow]
181
+ * @param {number | bigint} [recvWindow]
182
182
  *
183
183
  * @throws {RequiredError}
184
184
  */
@@ -210,7 +210,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
210
210
  * Weight: 3
211
211
  *
212
212
  * @summary Option Account Information(TRADE)
213
- * @param {number} [recvWindow]
213
+ * @param {number | bigint} [recvWindow]
214
214
  *
215
215
  * @throws {RequiredError}
216
216
  */
@@ -234,7 +234,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
234
234
  * Weight: 3
235
235
  *
236
236
  * @summary Option Margin Account Information (USER_DATA)
237
- * @param {number} [recvWindow]
237
+ * @param {number | bigint} [recvWindow]
238
238
  *
239
239
  * @throws {RequiredError}
240
240
  */
@@ -452,9 +452,9 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
452
452
  *
453
453
  * @summary Historical Exercise Records
454
454
  * @param {string} [underlying] underlying, e.g BTCUSDT
455
- * @param {number} [startTime] Start Time, e.g 1593511200000
456
- * @param {number} [endTime] End Time, e.g 1593512200000
457
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
455
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
456
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
457
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
458
458
  *
459
459
  * @throws {RequiredError}
460
460
  */
@@ -492,9 +492,9 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
492
492
  * @summary Kline/Candlestick Data
493
493
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
494
494
  * @param {string} interval Time interval
495
- * @param {number} [startTime] Start Time, e.g 1593511200000
496
- * @param {number} [endTime] End Time, e.g 1593512200000
497
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
495
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
496
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
497
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
498
498
  *
499
499
  * @throws {RequiredError}
500
500
  */
@@ -533,8 +533,8 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
533
533
  *
534
534
  * @summary Old Trades Lookup (MARKET_DATA)
535
535
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
536
- * @param {number} [fromId] The UniqueId ID from which to return. The latest deal record is returned by default
537
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
536
+ * @param {number | bigint} [fromId] The UniqueId ID from which to return. The latest deal record is returned by default
537
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
538
538
  *
539
539
  * @throws {RequiredError}
540
540
  */
@@ -625,7 +625,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
625
625
  *
626
626
  * @summary Order Book
627
627
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
628
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
628
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
629
629
  *
630
630
  * @throws {RequiredError}
631
631
  */
@@ -654,7 +654,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
654
654
  *
655
655
  * @summary Recent Block Trades List
656
656
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
657
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
657
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
658
658
  *
659
659
  * @throws {RequiredError}
660
660
  */
@@ -682,7 +682,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
682
682
  *
683
683
  * @summary Recent Trades List
684
684
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
685
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
685
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
686
686
  *
687
687
  * @throws {RequiredError}
688
688
  */
@@ -1132,7 +1132,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1132
1132
  *
1133
1133
  * @summary Accept Block Trade Order (TRADE)
1134
1134
  * @param {string} blockOrderMatchingKey
1135
- * @param {number} [recvWindow]
1135
+ * @param {number | bigint} [recvWindow]
1136
1136
  *
1137
1137
  * @throws {RequiredError}
1138
1138
  */
@@ -1164,10 +1164,10 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1164
1164
  * Weight: 5
1165
1165
  *
1166
1166
  * @summary Account Block Trade List (USER_DATA)
1167
- * @param {number} [endTime] End Time, e.g 1593512200000
1168
- * @param {number} [startTime] Start Time, e.g 1593511200000
1167
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
1168
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
1169
1169
  * @param {string} [underlying] underlying, e.g BTCUSDT
1170
- * @param {number} [recvWindow]
1170
+ * @param {number | bigint} [recvWindow]
1171
1171
  *
1172
1172
  * @throws {RequiredError}
1173
1173
  */
@@ -1201,7 +1201,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1201
1201
  *
1202
1202
  * @summary Cancel Block Trade Order (TRADE)
1203
1203
  * @param {string} blockOrderMatchingKey
1204
- * @param {number} [recvWindow]
1204
+ * @param {number | bigint} [recvWindow]
1205
1205
  *
1206
1206
  * @throws {RequiredError}
1207
1207
  */
@@ -1234,7 +1234,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1234
1234
  *
1235
1235
  * @summary Extend Block Trade Order (TRADE)
1236
1236
  * @param {string} blockOrderMatchingKey
1237
- * @param {number} [recvWindow]
1237
+ * @param {number | bigint} [recvWindow]
1238
1238
  *
1239
1239
  * @throws {RequiredError}
1240
1240
  */
@@ -1268,7 +1268,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1268
1268
  * @summary New Block Trade Order (TRADE)
1269
1269
  * @param {string} liquidity Taker or Maker
1270
1270
  * @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"}]
1271
- * @param {number} [recvWindow]
1271
+ * @param {number | bigint} [recvWindow]
1272
1272
  *
1273
1273
  * @throws {RequiredError}
1274
1274
  */
@@ -1301,7 +1301,7 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1301
1301
  *
1302
1302
  * @summary Query Block Trade Details (USER_DATA)
1303
1303
  * @param {string} blockOrderMatchingKey
1304
- * @param {number} [recvWindow]
1304
+ * @param {number | bigint} [recvWindow]
1305
1305
  *
1306
1306
  * @throws {RequiredError}
1307
1307
  */
@@ -1334,10 +1334,10 @@ var MarketMakerBlockTradeApiAxiosParamCreator = function(configuration) {
1334
1334
  *
1335
1335
  * @summary Query Block Trade Order (TRADE)
1336
1336
  * @param {string} [blockOrderMatchingKey] If specified, returns the specific block trade associated with the blockOrderMatchingKey
1337
- * @param {number} [endTime] End Time, e.g 1593512200000
1338
- * @param {number} [startTime] Start Time, e.g 1593511200000
1337
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
1338
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
1339
1339
  * @param {string} [underlying] underlying, e.g BTCUSDT
1340
- * @param {number} [recvWindow]
1340
+ * @param {number | bigint} [recvWindow]
1341
1341
  *
1342
1342
  * @throws {RequiredError}
1343
1343
  */
@@ -1577,7 +1577,7 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1577
1577
  *
1578
1578
  * @summary Auto-Cancel All Open Orders (Kill-Switch) Heartbeat (TRADE)
1579
1579
  * @param {string} underlyings Option Underlying Symbols, e.g BTCUSDT,ETHUSDT
1580
- * @param {number} [recvWindow]
1580
+ * @param {number | bigint} [recvWindow]
1581
1581
  *
1582
1582
  * @throws {RequiredError}
1583
1583
  */
@@ -1608,7 +1608,7 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1608
1608
  *
1609
1609
  * @summary Get Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
1610
1610
  * @param {string} [underlying] underlying, e.g BTCUSDT
1611
- * @param {number} [recvWindow]
1611
+ * @param {number | bigint} [recvWindow]
1612
1612
  *
1613
1613
  * @throws {RequiredError}
1614
1614
  */
@@ -1636,7 +1636,7 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1636
1636
  *
1637
1637
  * @summary Get Market Maker Protection Config (TRADE)
1638
1638
  * @param {string} [underlying] underlying, e.g BTCUSDT
1639
- * @param {number} [recvWindow]
1639
+ * @param {number | bigint} [recvWindow]
1640
1640
  *
1641
1641
  * @throws {RequiredError}
1642
1642
  */
@@ -1664,7 +1664,7 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1664
1664
  *
1665
1665
  * @summary Reset Market Maker Protection Config (TRADE)
1666
1666
  * @param {string} [underlying] underlying, e.g BTCUSDT
1667
- * @param {number} [recvWindow]
1667
+ * @param {number | bigint} [recvWindow]
1668
1668
  *
1669
1669
  * @throws {RequiredError}
1670
1670
  */
@@ -1698,8 +1698,8 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1698
1698
  *
1699
1699
  * @summary Set Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
1700
1700
  * @param {string} underlying Option underlying, e.g BTCUSDT
1701
- * @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
1702
- * @param {number} [recvWindow]
1701
+ * @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
1702
+ * @param {number | bigint} [recvWindow]
1703
1703
  *
1704
1704
  * @throws {RequiredError}
1705
1705
  */
@@ -1733,11 +1733,11 @@ var MarketMakerEndpointsApiAxiosParamCreator = function(configuration) {
1733
1733
  *
1734
1734
  * @summary Set Market Maker Protection Config (TRADE)
1735
1735
  * @param {string} [underlying] underlying, e.g BTCUSDT
1736
- * @param {number} [windowTimeInMilliseconds] MMP Interval in milliseconds; Range (0,5000]
1737
- * @param {number} [frozenTimeInMilliseconds] MMP frozen time in milliseconds, if set to 0 manual reset is required
1736
+ * @param {number | bigint} [windowTimeInMilliseconds] MMP Interval in milliseconds; Range (0,5000]
1737
+ * @param {number | bigint} [frozenTimeInMilliseconds] MMP frozen time in milliseconds, if set to 0 manual reset is required
1738
1738
  * @param {number} [qtyLimit] quantity limit
1739
1739
  * @param {number} [deltaLimit] net delta limit
1740
- * @param {number} [recvWindow]
1740
+ * @param {number | bigint} [recvWindow]
1741
1741
  *
1742
1742
  * @throws {RequiredError}
1743
1743
  */
@@ -1962,11 +1962,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
1962
1962
  *
1963
1963
  * @summary Account Trade List (USER_DATA)
1964
1964
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
1965
- * @param {number} [fromId] The UniqueId ID from which to return. The latest deal record is returned by default
1966
- * @param {number} [startTime] Start Time, e.g 1593511200000
1967
- * @param {number} [endTime] End Time, e.g 1593512200000
1968
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
1969
- * @param {number} [recvWindow]
1965
+ * @param {number | bigint} [fromId] The UniqueId ID from which to return. The latest deal record is returned by default
1966
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
1967
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
1968
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
1969
+ * @param {number | bigint} [recvWindow]
1970
1970
  *
1971
1971
  * @throws {RequiredError}
1972
1972
  */
@@ -2006,7 +2006,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2006
2006
  *
2007
2007
  * @summary Cancel All Option Orders By Underlying (TRADE)
2008
2008
  * @param {string} underlying Option underlying, e.g BTCUSDT
2009
- * @param {number} [recvWindow]
2009
+ * @param {number | bigint} [recvWindow]
2010
2010
  *
2011
2011
  * @throws {RequiredError}
2012
2012
  */
@@ -2035,7 +2035,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2035
2035
  *
2036
2036
  * @summary Cancel all Option orders on specific symbol (TRADE)
2037
2037
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2038
- * @param {number} [recvWindow]
2038
+ * @param {number | bigint} [recvWindow]
2039
2039
  *
2040
2040
  * @throws {RequiredError}
2041
2041
  */
@@ -2068,7 +2068,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2068
2068
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2069
2069
  * @param {Array<number>} [orderIds] Order ID, e.g [4611875134427365377,4611875134427365378]
2070
2070
  * @param {Array<string>} [clientOrderIds] User-defined order ID, e.g ["my_id_1","my_id_2"]
2071
- * @param {number} [recvWindow]
2071
+ * @param {number | bigint} [recvWindow]
2072
2072
  *
2073
2073
  * @throws {RequiredError}
2074
2074
  */
@@ -2105,9 +2105,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
2105
2105
  *
2106
2106
  * @summary Cancel Option Order (TRADE)
2107
2107
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2108
- * @param {number} [orderId] Order ID, e.g 4611875134427365377
2108
+ * @param {number | bigint} [orderId] Order ID, e.g 4611875134427365377
2109
2109
  * @param {string} [clientOrderId] User-defined order ID, e.g 10000
2110
- * @param {number} [recvWindow]
2110
+ * @param {number | bigint} [recvWindow]
2111
2111
  *
2112
2112
  * @throws {RequiredError}
2113
2113
  */
@@ -2152,7 +2152,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2152
2152
  * @param {NewOrderNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", Default "ACK"
2153
2153
  * @param {string} [clientOrderId] User-defined order ID, e.g 10000
2154
2154
  * @param {boolean} [isMmp] is market maker protection order, true/false
2155
- * @param {number} [recvWindow]
2155
+ * @param {number | bigint} [recvWindow]
2156
2156
  *
2157
2157
  * @throws {RequiredError}
2158
2158
  */
@@ -2214,7 +2214,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2214
2214
  *
2215
2215
  * @summary Option Position Information (USER_DATA)
2216
2216
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
2217
- * @param {number} [recvWindow]
2217
+ * @param {number | bigint} [recvWindow]
2218
2218
  *
2219
2219
  * @throws {RequiredError}
2220
2220
  */
@@ -2245,7 +2245,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2245
2245
  *
2246
2246
  * @summary Place Multiple Orders(TRADE)
2247
2247
  * @param {Array<PlaceMultipleOrdersOrdersParameterInner>} orders order list. Max 10 orders
2248
- * @param {number} [recvWindow]
2248
+ * @param {number | bigint} [recvWindow]
2249
2249
  *
2250
2250
  * @throws {RequiredError}
2251
2251
  */
@@ -2274,10 +2274,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
2274
2274
  *
2275
2275
  * @summary Query Current Open Option Orders (USER_DATA)
2276
2276
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
2277
- * @param {number} [orderId] Order ID, e.g 4611875134427365377
2278
- * @param {number} [startTime] Start Time, e.g 1593511200000
2279
- * @param {number} [endTime] End Time, e.g 1593512200000
2280
- * @param {number} [recvWindow]
2277
+ * @param {number | bigint} [orderId] Order ID, e.g 4611875134427365377
2278
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
2279
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
2280
+ * @param {number | bigint} [recvWindow]
2281
2281
  *
2282
2282
  * @throws {RequiredError}
2283
2283
  */
@@ -2314,11 +2314,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
2314
2314
  *
2315
2315
  * @summary Query Option Order History (TRADE)
2316
2316
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2317
- * @param {number} [orderId] Order ID, e.g 4611875134427365377
2318
- * @param {number} [startTime] Start Time, e.g 1593511200000
2319
- * @param {number} [endTime] End Time, e.g 1593512200000
2320
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
2321
- * @param {number} [recvWindow]
2317
+ * @param {number | bigint} [orderId] Order ID, e.g 4611875134427365377
2318
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
2319
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
2320
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
2321
+ * @param {number | bigint} [recvWindow]
2322
2322
  *
2323
2323
  * @throws {RequiredError}
2324
2324
  */
@@ -2367,9 +2367,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
2367
2367
  *
2368
2368
  * @summary Query Single Order (TRADE)
2369
2369
  * @param {string} symbol Option trading pair, e.g BTC-200730-9000-C
2370
- * @param {number} [orderId] Order ID, e.g 4611875134427365377
2370
+ * @param {number | bigint} [orderId] Order ID, e.g 4611875134427365377
2371
2371
  * @param {string} [clientOrderId] User-defined order ID, e.g 10000
2372
- * @param {number} [recvWindow]
2372
+ * @param {number | bigint} [recvWindow]
2373
2373
  *
2374
2374
  * @throws {RequiredError}
2375
2375
  */
@@ -2404,10 +2404,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
2404
2404
  *
2405
2405
  * @summary User Exercise Record (USER_DATA)
2406
2406
  * @param {string} [symbol] Option trading pair, e.g BTC-200730-9000-C
2407
- * @param {number} [startTime] Start Time, e.g 1593511200000
2408
- * @param {number} [endTime] End Time, e.g 1593512200000
2409
- * @param {number} [limit] Number of result sets returned Default:100 Max:1000
2410
- * @param {number} [recvWindow]
2407
+ * @param {number | bigint} [startTime] Start Time, e.g 1593511200000
2408
+ * @param {number | bigint} [endTime] End Time, e.g 1593512200000
2409
+ * @param {number | bigint} [limit] Number of result sets returned Default:100 Max:1000
2410
+ * @param {number | bigint} [recvWindow]
2411
2411
  *
2412
2412
  * @throws {RequiredError}
2413
2413
  */
@@ -3005,6 +3005,7 @@ var RestAPI = class {
3005
3005
  *
3006
3006
  * @summary Account Funding Flow (USER_DATA)
3007
3007
  * @param {AccountFundingFlowRequest} requestParameters Request parameters.
3008
+ *
3008
3009
  * @returns {Promise<RestApiResponse<AccountFundingFlowResponse>>}
3009
3010
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3010
3011
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Account-Funding-Flow Binance API Documentation}
@@ -3022,6 +3023,7 @@ var RestAPI = class {
3022
3023
  *
3023
3024
  * @summary Get Download Id For Option Transaction History (USER_DATA)
3024
3025
  * @param {GetDownloadIdForOptionTransactionHistoryRequest} requestParameters Request parameters.
3026
+ *
3025
3027
  * @returns {Promise<RestApiResponse<GetDownloadIdForOptionTransactionHistoryResponse>>}
3026
3028
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3027
3029
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Get-Download-Id-For-Option-Transaction-History Binance API Documentation}
@@ -3038,6 +3040,7 @@ var RestAPI = class {
3038
3040
  *
3039
3041
  * @summary Get Option Transaction History Download Link by Id (USER_DATA)
3040
3042
  * @param {GetOptionTransactionHistoryDownloadLinkByIdRequest} requestParameters Request parameters.
3043
+ *
3041
3044
  * @returns {Promise<RestApiResponse<GetOptionTransactionHistoryDownloadLinkByIdResponse>>}
3042
3045
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3043
3046
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Get-Option-Transaction-History-Download-Link-by-Id Binance API Documentation}
@@ -3052,6 +3055,7 @@ var RestAPI = class {
3052
3055
  *
3053
3056
  * @summary Option Account Information(TRADE)
3054
3057
  * @param {OptionAccountInformationRequest} requestParameters Request parameters.
3058
+ *
3055
3059
  * @returns {Promise<RestApiResponse<OptionAccountInformationResponse>>}
3056
3060
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3057
3061
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Option-Account-Information Binance API Documentation}
@@ -3066,6 +3070,7 @@ var RestAPI = class {
3066
3070
  *
3067
3071
  * @summary Option Margin Account Information (USER_DATA)
3068
3072
  * @param {OptionMarginAccountInformationRequest} requestParameters Request parameters.
3073
+ *
3069
3074
  * @returns {Promise<RestApiResponse<OptionMarginAccountInformationResponse>>}
3070
3075
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3071
3076
  * @see {@link https://developers.binance.com/docs/derivatives/option/account/Option-Margin-Account-Information Binance API Documentation}
@@ -3079,6 +3084,7 @@ var RestAPI = class {
3079
3084
  * Weight: 1
3080
3085
  *
3081
3086
  * @summary Check Server Time
3087
+ *
3082
3088
  * @returns {Promise<RestApiResponse<CheckServerTimeResponse>>}
3083
3089
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3084
3090
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Check-Server-Time Binance API Documentation}
@@ -3092,6 +3098,7 @@ var RestAPI = class {
3092
3098
  * Weight: 1
3093
3099
  *
3094
3100
  * @summary Exchange Information
3101
+ *
3095
3102
  * @returns {Promise<RestApiResponse<ExchangeInformationResponse>>}
3096
3103
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3097
3104
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Exchange-Information Binance API Documentation}
@@ -3108,6 +3115,7 @@ var RestAPI = class {
3108
3115
  *
3109
3116
  * @summary Historical Exercise Records
3110
3117
  * @param {HistoricalExerciseRecordsRequest} requestParameters Request parameters.
3118
+ *
3111
3119
  * @returns {Promise<RestApiResponse<HistoricalExerciseRecordsResponse>>}
3112
3120
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3113
3121
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Historical-Exercise-Records Binance API Documentation}
@@ -3125,6 +3133,7 @@ var RestAPI = class {
3125
3133
  *
3126
3134
  * @summary Kline/Candlestick Data
3127
3135
  * @param {KlineCandlestickDataRequest} requestParameters Request parameters.
3136
+ *
3128
3137
  * @returns {Promise<RestApiResponse<KlineCandlestickDataResponse>>}
3129
3138
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3130
3139
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Kline-Candlestick-Data Binance API Documentation}
@@ -3139,6 +3148,7 @@ var RestAPI = class {
3139
3148
  *
3140
3149
  * @summary Old Trades Lookup (MARKET_DATA)
3141
3150
  * @param {OldTradesLookupRequest} requestParameters Request parameters.
3151
+ *
3142
3152
  * @returns {Promise<RestApiResponse<OldTradesLookupResponse>>}
3143
3153
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3144
3154
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Old-Trades-Lookup Binance API Documentation}
@@ -3153,6 +3163,7 @@ var RestAPI = class {
3153
3163
  *
3154
3164
  * @summary Open Interest
3155
3165
  * @param {OpenInterestRequest} requestParameters Request parameters.
3166
+ *
3156
3167
  * @returns {Promise<RestApiResponse<OpenInterestResponse>>}
3157
3168
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3158
3169
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Open-Interest Binance API Documentation}
@@ -3167,6 +3178,7 @@ var RestAPI = class {
3167
3178
  *
3168
3179
  * @summary Option Mark Price
3169
3180
  * @param {OptionMarkPriceRequest} requestParameters Request parameters.
3181
+ *
3170
3182
  * @returns {Promise<RestApiResponse<OptionMarkPriceResponse>>}
3171
3183
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3172
3184
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Option-Mark-Price Binance API Documentation}
@@ -3186,6 +3198,7 @@ var RestAPI = class {
3186
3198
  *
3187
3199
  * @summary Order Book
3188
3200
  * @param {OrderBookRequest} requestParameters Request parameters.
3201
+ *
3189
3202
  * @returns {Promise<RestApiResponse<OrderBookResponse>>}
3190
3203
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3191
3204
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Order-Book Binance API Documentation}
@@ -3200,6 +3213,7 @@ var RestAPI = class {
3200
3213
  *
3201
3214
  * @summary Recent Block Trades List
3202
3215
  * @param {RecentBlockTradesListRequest} requestParameters Request parameters.
3216
+ *
3203
3217
  * @returns {Promise<RestApiResponse<RecentBlockTradesListResponse>>}
3204
3218
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3205
3219
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Recent-Block-Trade-List Binance API Documentation}
@@ -3214,6 +3228,7 @@ var RestAPI = class {
3214
3228
  *
3215
3229
  * @summary Recent Trades List
3216
3230
  * @param {RecentTradesListRequest} requestParameters Request parameters.
3231
+ *
3217
3232
  * @returns {Promise<RestApiResponse<RecentTradesListResponse>>}
3218
3233
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3219
3234
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Recent-Trades-List Binance API Documentation}
@@ -3228,6 +3243,7 @@ var RestAPI = class {
3228
3243
  *
3229
3244
  * @summary Symbol Price Ticker
3230
3245
  * @param {SymbolPriceTickerRequest} requestParameters Request parameters.
3246
+ *
3231
3247
  * @returns {Promise<RestApiResponse<SymbolPriceTickerResponse>>}
3232
3248
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3233
3249
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Symbol-Price-Ticker Binance API Documentation}
@@ -3241,6 +3257,7 @@ var RestAPI = class {
3241
3257
  * Weight: 1
3242
3258
  *
3243
3259
  * @summary Test Connectivity
3260
+ *
3244
3261
  * @returns {Promise<RestApiResponse<void>>}
3245
3262
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3246
3263
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Test-Connectivity Binance API Documentation}
@@ -3255,6 +3272,7 @@ var RestAPI = class {
3255
3272
  *
3256
3273
  * @summary 24hr Ticker Price Change Statistics
3257
3274
  * @param {Ticker24hrPriceChangeStatisticsRequest} requestParameters Request parameters.
3275
+ *
3258
3276
  * @returns {Promise<RestApiResponse<Ticker24hrPriceChangeStatisticsResponse>>}
3259
3277
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3260
3278
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-data/24hr-Ticker-Price-Change-Statistics Binance API Documentation}
@@ -3269,6 +3287,7 @@ var RestAPI = class {
3269
3287
  *
3270
3288
  * @summary Accept Block Trade Order (TRADE)
3271
3289
  * @param {AcceptBlockTradeOrderRequest} requestParameters Request parameters.
3290
+ *
3272
3291
  * @returns {Promise<RestApiResponse<AcceptBlockTradeOrderResponse>>}
3273
3292
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3274
3293
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Accept-Block-Trade-Order Binance API Documentation}
@@ -3283,6 +3302,7 @@ var RestAPI = class {
3283
3302
  *
3284
3303
  * @summary Account Block Trade List (USER_DATA)
3285
3304
  * @param {AccountBlockTradeListRequest} requestParameters Request parameters.
3305
+ *
3286
3306
  * @returns {Promise<RestApiResponse<AccountBlockTradeListResponse>>}
3287
3307
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3288
3308
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Account-Block-Trade-List Binance API Documentation}
@@ -3297,6 +3317,7 @@ var RestAPI = class {
3297
3317
  *
3298
3318
  * @summary Cancel Block Trade Order (TRADE)
3299
3319
  * @param {CancelBlockTradeOrderRequest} requestParameters Request parameters.
3320
+ *
3300
3321
  * @returns {Promise<RestApiResponse<void>>}
3301
3322
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3302
3323
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Cancel-Block-Trade-Order Binance API Documentation}
@@ -3311,6 +3332,7 @@ var RestAPI = class {
3311
3332
  *
3312
3333
  * @summary Extend Block Trade Order (TRADE)
3313
3334
  * @param {ExtendBlockTradeOrderRequest} requestParameters Request parameters.
3335
+ *
3314
3336
  * @returns {Promise<RestApiResponse<ExtendBlockTradeOrderResponse>>}
3315
3337
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3316
3338
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Extend-Block-Trade-Order Binance API Documentation}
@@ -3325,6 +3347,7 @@ var RestAPI = class {
3325
3347
  *
3326
3348
  * @summary New Block Trade Order (TRADE)
3327
3349
  * @param {NewBlockTradeOrderRequest} requestParameters Request parameters.
3350
+ *
3328
3351
  * @returns {Promise<RestApiResponse<NewBlockTradeOrderResponse>>}
3329
3352
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3330
3353
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/New-Block-Trade-Order Binance API Documentation}
@@ -3339,6 +3362,7 @@ var RestAPI = class {
3339
3362
  *
3340
3363
  * @summary Query Block Trade Details (USER_DATA)
3341
3364
  * @param {QueryBlockTradeDetailsRequest} requestParameters Request parameters.
3365
+ *
3342
3366
  * @returns {Promise<RestApiResponse<QueryBlockTradeDetailsResponse>>}
3343
3367
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3344
3368
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Query-Block-Trade-Detail Binance API Documentation}
@@ -3353,6 +3377,7 @@ var RestAPI = class {
3353
3377
  *
3354
3378
  * @summary Query Block Trade Order (TRADE)
3355
3379
  * @param {QueryBlockTradeOrderRequest} requestParameters Request parameters.
3380
+ *
3356
3381
  * @returns {Promise<RestApiResponse<QueryBlockTradeOrderResponse>>}
3357
3382
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3358
3383
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Query-Block-Trade-Order Binance API Documentation}
@@ -3369,6 +3394,7 @@ var RestAPI = class {
3369
3394
  *
3370
3395
  * @summary Auto-Cancel All Open Orders (Kill-Switch) Heartbeat (TRADE)
3371
3396
  * @param {AutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
3397
+ *
3372
3398
  * @returns {Promise<RestApiResponse<AutoCancelAllOpenOrdersResponse>>}
3373
3399
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3374
3400
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Auto-Cancel-All-Open-Orders-Heartbeat Binance API Documentation}
@@ -3385,6 +3411,7 @@ var RestAPI = class {
3385
3411
  *
3386
3412
  * @summary Get Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
3387
3413
  * @param {GetAutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
3414
+ *
3388
3415
  * @returns {Promise<RestApiResponse<GetAutoCancelAllOpenOrdersResponse>>}
3389
3416
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3390
3417
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Get-Auto-Cancel-All-Open-Orders-Config Binance API Documentation}
@@ -3399,6 +3426,7 @@ var RestAPI = class {
3399
3426
  *
3400
3427
  * @summary Get Market Maker Protection Config (TRADE)
3401
3428
  * @param {GetMarketMakerProtectionConfigRequest} requestParameters Request parameters.
3429
+ *
3402
3430
  * @returns {Promise<RestApiResponse<GetMarketMakerProtectionConfigResponse>>}
3403
3431
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3404
3432
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Get-Market-Maker-Protection-Config Binance API Documentation}
@@ -3413,6 +3441,7 @@ var RestAPI = class {
3413
3441
  *
3414
3442
  * @summary Reset Market Maker Protection Config (TRADE)
3415
3443
  * @param {ResetMarketMakerProtectionConfigRequest} requestParameters Request parameters.
3444
+ *
3416
3445
  * @returns {Promise<RestApiResponse<ResetMarketMakerProtectionConfigResponse>>}
3417
3446
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3418
3447
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Reset-Market-Maker-Protection-Config Binance API Documentation}
@@ -3433,6 +3462,7 @@ var RestAPI = class {
3433
3462
  *
3434
3463
  * @summary Set Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
3435
3464
  * @param {SetAutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
3465
+ *
3436
3466
  * @returns {Promise<RestApiResponse<SetAutoCancelAllOpenOrdersResponse>>}
3437
3467
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3438
3468
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Set-Auto-Cancel-All-Open-Orders-Config Binance API Documentation}
@@ -3448,6 +3478,7 @@ var RestAPI = class {
3448
3478
  *
3449
3479
  * @summary Set Market Maker Protection Config (TRADE)
3450
3480
  * @param {SetMarketMakerProtectionConfigRequest} requestParameters Request parameters.
3481
+ *
3451
3482
  * @returns {Promise<RestApiResponse<SetMarketMakerProtectionConfigResponse>>}
3452
3483
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3453
3484
  * @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Set-Market-Maker-Protection-Config Binance API Documentation}
@@ -3462,6 +3493,7 @@ var RestAPI = class {
3462
3493
  *
3463
3494
  * @summary Account Trade List (USER_DATA)
3464
3495
  * @param {AccountTradeListRequest} requestParameters Request parameters.
3496
+ *
3465
3497
  * @returns {Promise<RestApiResponse<AccountTradeListResponse>>}
3466
3498
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3467
3499
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Account-Trade-List Binance API Documentation}
@@ -3476,6 +3508,7 @@ var RestAPI = class {
3476
3508
  *
3477
3509
  * @summary Cancel All Option Orders By Underlying (TRADE)
3478
3510
  * @param {CancelAllOptionOrdersByUnderlyingRequest} requestParameters Request parameters.
3511
+ *
3479
3512
  * @returns {Promise<RestApiResponse<CancelAllOptionOrdersByUnderlyingResponse>>}
3480
3513
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3481
3514
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-All-Option-Orders-By-Underlying Binance API Documentation}
@@ -3490,6 +3523,7 @@ var RestAPI = class {
3490
3523
  *
3491
3524
  * @summary Cancel all Option orders on specific symbol (TRADE)
3492
3525
  * @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
3526
+ *
3493
3527
  * @returns {Promise<RestApiResponse<CancelAllOptionOrdersOnSpecificSymbolResponse>>}
3494
3528
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3495
3529
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-all-Option-orders-on-specific-symbol Binance API Documentation}
@@ -3506,6 +3540,7 @@ var RestAPI = class {
3506
3540
  *
3507
3541
  * @summary Cancel Multiple Option Orders (TRADE)
3508
3542
  * @param {CancelMultipleOptionOrdersRequest} requestParameters Request parameters.
3543
+ *
3509
3544
  * @returns {Promise<RestApiResponse<CancelMultipleOptionOrdersResponse>>}
3510
3545
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3511
3546
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-Multiple-Option-Orders Binance API Documentation}
@@ -3522,6 +3557,7 @@ var RestAPI = class {
3522
3557
  *
3523
3558
  * @summary Cancel Option Order (TRADE)
3524
3559
  * @param {CancelOptionOrderRequest} requestParameters Request parameters.
3560
+ *
3525
3561
  * @returns {Promise<RestApiResponse<CancelOptionOrderResponse>>}
3526
3562
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3527
3563
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-Option-Order Binance API Documentation}
@@ -3536,6 +3572,7 @@ var RestAPI = class {
3536
3572
  *
3537
3573
  * @summary New Order (TRADE)
3538
3574
  * @param {NewOrderRequest} requestParameters Request parameters.
3575
+ *
3539
3576
  * @returns {Promise<RestApiResponse<NewOrderResponse>>}
3540
3577
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3541
3578
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/New-Order Binance API Documentation}
@@ -3550,6 +3587,7 @@ var RestAPI = class {
3550
3587
  *
3551
3588
  * @summary Option Position Information (USER_DATA)
3552
3589
  * @param {OptionPositionInformationRequest} requestParameters Request parameters.
3590
+ *
3553
3591
  * @returns {Promise<RestApiResponse<OptionPositionInformationResponse>>}
3554
3592
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3555
3593
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Option-Position-Information Binance API Documentation}
@@ -3567,6 +3605,7 @@ var RestAPI = class {
3567
3605
  *
3568
3606
  * @summary Place Multiple Orders(TRADE)
3569
3607
  * @param {PlaceMultipleOrdersRequest} requestParameters Request parameters.
3608
+ *
3570
3609
  * @returns {Promise<RestApiResponse<PlaceMultipleOrdersResponse>>}
3571
3610
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3572
3611
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Place-Multiple-Orders Binance API Documentation}
@@ -3581,6 +3620,7 @@ var RestAPI = class {
3581
3620
  *
3582
3621
  * @summary Query Current Open Option Orders (USER_DATA)
3583
3622
  * @param {QueryCurrentOpenOptionOrdersRequest} requestParameters Request parameters.
3623
+ *
3584
3624
  * @returns {Promise<RestApiResponse<QueryCurrentOpenOptionOrdersResponse>>}
3585
3625
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3586
3626
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Query-Current-Open-Option-Orders Binance API Documentation}
@@ -3595,6 +3635,7 @@ var RestAPI = class {
3595
3635
  *
3596
3636
  * @summary Query Option Order History (TRADE)
3597
3637
  * @param {QueryOptionOrderHistoryRequest} requestParameters Request parameters.
3638
+ *
3598
3639
  * @returns {Promise<RestApiResponse<QueryOptionOrderHistoryResponse>>}
3599
3640
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3600
3641
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Query-Option-Order-History Binance API Documentation}
@@ -3617,6 +3658,7 @@ var RestAPI = class {
3617
3658
  *
3618
3659
  * @summary Query Single Order (TRADE)
3619
3660
  * @param {QuerySingleOrderRequest} requestParameters Request parameters.
3661
+ *
3620
3662
  * @returns {Promise<RestApiResponse<QuerySingleOrderResponse>>}
3621
3663
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3622
3664
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/Query-Single-Order Binance API Documentation}
@@ -3631,6 +3673,7 @@ var RestAPI = class {
3631
3673
  *
3632
3674
  * @summary User Exercise Record (USER_DATA)
3633
3675
  * @param {UserExerciseRecordRequest} requestParameters Request parameters.
3676
+ *
3634
3677
  * @returns {Promise<RestApiResponse<UserExerciseRecordResponse>>}
3635
3678
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3636
3679
  * @see {@link https://developers.binance.com/docs/derivatives/option/trade/User-Exercise-Record Binance API Documentation}
@@ -3644,6 +3687,7 @@ var RestAPI = class {
3644
3687
  * Weight: 1
3645
3688
  *
3646
3689
  * @summary Close User Data Stream (USER_STREAM)
3690
+ *
3647
3691
  * @returns {Promise<RestApiResponse<void>>}
3648
3692
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3649
3693
  * @see {@link https://developers.binance.com/docs/derivatives/option/user-data-streams/Close-User-Data-Stream Binance API Documentation}
@@ -3657,6 +3701,7 @@ var RestAPI = class {
3657
3701
  * Weight: 1
3658
3702
  *
3659
3703
  * @summary Keepalive User Data Stream (USER_STREAM)
3704
+ *
3660
3705
  * @returns {Promise<RestApiResponse<void>>}
3661
3706
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3662
3707
  * @see {@link https://developers.binance.com/docs/derivatives/option/user-data-streams/Keepalive-User-Data-Stream Binance API Documentation}
@@ -3670,6 +3715,7 @@ var RestAPI = class {
3670
3715
  * Weight: 1
3671
3716
  *
3672
3717
  * @summary Start User Data Stream (USER_STREAM)
3718
+ *
3673
3719
  * @returns {Promise<RestApiResponse<StartUserDataStreamResponse>>}
3674
3720
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3675
3721
  * @see {@link https://developers.binance.com/docs/derivatives/option/user-data-streams/Start-User-Data-Stream Binance API Documentation}
@@ -3785,7 +3831,7 @@ var WebsocketMarketStreamsApiParamCreator = function() {
3785
3831
  *
3786
3832
  * @summary Partial Book Depth Streams
3787
3833
  * @param {string} symbol The symbol parameter
3788
- * @param {number} levels The levels parameter
3834
+ * @param {number | bigint} levels The levels parameter
3789
3835
  * @param {string} [id] Unique WebSocket request ID.
3790
3836
  * @param {string} [updateSpeed] WebSocket stream update speed
3791
3837
  *
@@ -4172,6 +4218,7 @@ var WebsocketStreamsConnection = class {
4172
4218
  *
4173
4219
  * @summary Index Price Streams
4174
4220
  * @param {IndexPriceStreamsRequest} requestParameters Request parameters.
4221
+ *
4175
4222
  * @returns {WebsocketStream<IndexPriceStreamsResponse>}
4176
4223
  * @throws {RequiredError}
4177
4224
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Index-Price-Streams Binance API Documentation}
@@ -4186,6 +4233,7 @@ var WebsocketStreamsConnection = class {
4186
4233
  *
4187
4234
  * @summary Kline/Candlestick Streams
4188
4235
  * @param {KlineCandlestickStreamsRequest} requestParameters Request parameters.
4236
+ *
4189
4237
  * @returns {WebsocketStream<KlineCandlestickStreamsResponse>}
4190
4238
  * @throws {RequiredError}
4191
4239
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Kline-Candlestick-Streams Binance API Documentation}
@@ -4200,6 +4248,7 @@ var WebsocketStreamsConnection = class {
4200
4248
  *
4201
4249
  * @summary Mark Price
4202
4250
  * @param {MarkPriceRequest} requestParameters Request parameters.
4251
+ *
4203
4252
  * @returns {WebsocketStream<MarkPriceResponse>}
4204
4253
  * @throws {RequiredError}
4205
4254
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Mark-Price Binance API Documentation}
@@ -4214,6 +4263,7 @@ var WebsocketStreamsConnection = class {
4214
4263
  *
4215
4264
  * @summary New Symbol Info
4216
4265
  * @param {NewSymbolInfoRequest} requestParameters Request parameters.
4266
+ *
4217
4267
  * @returns {WebsocketStream<NewSymbolInfoResponse>}
4218
4268
  * @throws {RequiredError}
4219
4269
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/New-Symbol-Info Binance API Documentation}
@@ -4228,6 +4278,7 @@ var WebsocketStreamsConnection = class {
4228
4278
  *
4229
4279
  * @summary Open Interest
4230
4280
  * @param {OpenInterestRequest} requestParameters Request parameters.
4281
+ *
4231
4282
  * @returns {WebsocketStream<OpenInterestResponse>}
4232
4283
  * @throws {RequiredError}
4233
4284
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Open-Interest Binance API Documentation}
@@ -4242,6 +4293,7 @@ var WebsocketStreamsConnection = class {
4242
4293
  *
4243
4294
  * @summary Partial Book Depth Streams
4244
4295
  * @param {PartialBookDepthStreamsRequest} requestParameters Request parameters.
4296
+ *
4245
4297
  * @returns {WebsocketStream<PartialBookDepthStreamsResponse>}
4246
4298
  * @throws {RequiredError}
4247
4299
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Partial-Book-Depth-Streams Binance API Documentation}
@@ -4256,6 +4308,7 @@ var WebsocketStreamsConnection = class {
4256
4308
  *
4257
4309
  * @summary 24-hour TICKER
4258
4310
  * @param {Ticker24HourRequest} requestParameters Request parameters.
4311
+ *
4259
4312
  * @returns {WebsocketStream<Ticker24HourResponse>}
4260
4313
  * @throws {RequiredError}
4261
4314
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/24-hour-TICKER Binance API Documentation}
@@ -4270,6 +4323,7 @@ var WebsocketStreamsConnection = class {
4270
4323
  *
4271
4324
  * @summary 24-hour TICKER by underlying asset and expiration data
4272
4325
  * @param {Ticker24HourByUnderlyingAssetAndExpirationDataRequest} requestParameters Request parameters.
4326
+ *
4273
4327
  * @returns {WebsocketStream<Ticker24HourByUnderlyingAssetAndExpirationDataResponse>}
4274
4328
  * @throws {RequiredError}
4275
4329
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/24-hour-TICKER-by-underlying-asset-and-expiration-data Binance API Documentation}
@@ -4286,6 +4340,7 @@ var WebsocketStreamsConnection = class {
4286
4340
  *
4287
4341
  * @summary Trade Streams
4288
4342
  * @param {TradeStreamsRequest} requestParameters Request parameters.
4343
+ *
4289
4344
  * @returns {WebsocketStream<TradeStreamsResponse>}
4290
4345
  * @throws {RequiredError}
4291
4346
  * @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Trade-Streams Binance API Documentation}