@binance/derivatives-trading-portfolio-margin 6.0.1 → 7.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.d.mts +1046 -944
- package/dist/index.d.ts +1046 -944
- package/dist/index.js +311 -209
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +311 -209
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var import_common8 = require("@binance/common");
|
|
|
45
45
|
|
|
46
46
|
// package.json
|
|
47
47
|
var name = "@binance/derivatives-trading-portfolio-margin";
|
|
48
|
-
var version = "
|
|
48
|
+
var version = "7.0.1";
|
|
49
49
|
|
|
50
50
|
// src/rest-api/index.ts
|
|
51
51
|
var rest_api_exports = {};
|
|
@@ -109,7 +109,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
109
109
|
*
|
|
110
110
|
* @summary Account Balance(USER_DATA)
|
|
111
111
|
* @param {string} [asset]
|
|
112
|
-
* @param {number} [recvWindow]
|
|
112
|
+
* @param {number | bigint} [recvWindow]
|
|
113
113
|
*
|
|
114
114
|
* @throws {RequiredError}
|
|
115
115
|
*/
|
|
@@ -136,7 +136,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
136
136
|
* Weight: 20
|
|
137
137
|
*
|
|
138
138
|
* @summary Account Information(USER_DATA)
|
|
139
|
-
* @param {number} [recvWindow]
|
|
139
|
+
* @param {number | bigint} [recvWindow]
|
|
140
140
|
*
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
*/
|
|
@@ -164,7 +164,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
164
164
|
* @summary BNB transfer (TRADE)
|
|
165
165
|
* @param {number} amount
|
|
166
166
|
* @param {string} transferSide "TO_UM","FROM_UM"
|
|
167
|
-
* @param {number} [recvWindow]
|
|
167
|
+
* @param {number | bigint} [recvWindow]
|
|
168
168
|
*
|
|
169
169
|
* @throws {RequiredError}
|
|
170
170
|
*/
|
|
@@ -197,7 +197,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
197
197
|
*
|
|
198
198
|
* @summary Change Auto-repay-futures Status(TRADE)
|
|
199
199
|
* @param {string} autoRepay Default: `true`; `false` for turn off the auto-repay futures negative balance function
|
|
200
|
-
* @param {number} [recvWindow]
|
|
200
|
+
* @param {number | bigint} [recvWindow]
|
|
201
201
|
*
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
*/
|
|
@@ -226,8 +226,8 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
226
226
|
*
|
|
227
227
|
* @summary Change CM Initial Leverage (TRADE)
|
|
228
228
|
* @param {string} symbol
|
|
229
|
-
* @param {number} leverage target initial leverage: int from 1 to 125
|
|
230
|
-
* @param {number} [recvWindow]
|
|
229
|
+
* @param {number | bigint} leverage target initial leverage: int from 1 to 125
|
|
230
|
+
* @param {number | bigint} [recvWindow]
|
|
231
231
|
*
|
|
232
232
|
* @throws {RequiredError}
|
|
233
233
|
*/
|
|
@@ -260,7 +260,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
260
260
|
*
|
|
261
261
|
* @summary Change CM Position Mode(TRADE)
|
|
262
262
|
* @param {string} dualSidePosition "true": Hedge Mode; "false": One-way Mode
|
|
263
|
-
* @param {number} [recvWindow]
|
|
263
|
+
* @param {number | bigint} [recvWindow]
|
|
264
264
|
*
|
|
265
265
|
* @throws {RequiredError}
|
|
266
266
|
*/
|
|
@@ -289,8 +289,8 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
289
289
|
*
|
|
290
290
|
* @summary Change UM Initial Leverage(TRADE)
|
|
291
291
|
* @param {string} symbol
|
|
292
|
-
* @param {number} leverage target initial leverage: int from 1 to 125
|
|
293
|
-
* @param {number} [recvWindow]
|
|
292
|
+
* @param {number | bigint} leverage target initial leverage: int from 1 to 125
|
|
293
|
+
* @param {number | bigint} [recvWindow]
|
|
294
294
|
*
|
|
295
295
|
* @throws {RequiredError}
|
|
296
296
|
*/
|
|
@@ -323,7 +323,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
323
323
|
*
|
|
324
324
|
* @summary Change UM Position Mode(TRADE)
|
|
325
325
|
* @param {string} dualSidePosition "true": Hedge Mode; "false": One-way Mode
|
|
326
|
-
* @param {number} [recvWindow]
|
|
326
|
+
* @param {number | bigint} [recvWindow]
|
|
327
327
|
*
|
|
328
328
|
* @throws {RequiredError}
|
|
329
329
|
*/
|
|
@@ -352,7 +352,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
352
352
|
*
|
|
353
353
|
* @summary CM Notional and Leverage Brackets(USER_DATA)
|
|
354
354
|
* @param {string} [symbol]
|
|
355
|
-
* @param {number} [recvWindow]
|
|
355
|
+
* @param {number | bigint} [recvWindow]
|
|
356
356
|
*
|
|
357
357
|
* @throws {RequiredError}
|
|
358
358
|
*/
|
|
@@ -382,7 +382,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
382
382
|
* Weight: 750
|
|
383
383
|
*
|
|
384
384
|
* @summary Fund Auto-collection(TRADE)
|
|
385
|
-
* @param {number} [recvWindow]
|
|
385
|
+
* @param {number | bigint} [recvWindow]
|
|
386
386
|
*
|
|
387
387
|
* @throws {RequiredError}
|
|
388
388
|
*/
|
|
@@ -409,7 +409,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
409
409
|
*
|
|
410
410
|
* @summary Fund Collection by Asset(TRADE)
|
|
411
411
|
* @param {string} asset
|
|
412
|
-
* @param {number} [recvWindow]
|
|
412
|
+
* @param {number | bigint} [recvWindow]
|
|
413
413
|
*
|
|
414
414
|
* @throws {RequiredError}
|
|
415
415
|
*/
|
|
@@ -437,7 +437,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
437
437
|
* Weight: 30
|
|
438
438
|
*
|
|
439
439
|
* @summary Get Auto-repay-futures Status(USER_DATA)
|
|
440
|
-
* @param {number} [recvWindow]
|
|
440
|
+
* @param {number | bigint} [recvWindow]
|
|
441
441
|
*
|
|
442
442
|
* @throws {RequiredError}
|
|
443
443
|
*/
|
|
@@ -461,7 +461,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
461
461
|
* Weight: 5
|
|
462
462
|
*
|
|
463
463
|
* @summary Get CM Account Detail(USER_DATA)
|
|
464
|
-
* @param {number} [recvWindow]
|
|
464
|
+
* @param {number | bigint} [recvWindow]
|
|
465
465
|
*
|
|
466
466
|
* @throws {RequiredError}
|
|
467
467
|
*/
|
|
@@ -485,7 +485,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
485
485
|
* Weight: 30
|
|
486
486
|
*
|
|
487
487
|
* @summary Get CM Current Position Mode(USER_DATA)
|
|
488
|
-
* @param {number} [recvWindow]
|
|
488
|
+
* @param {number | bigint} [recvWindow]
|
|
489
489
|
*
|
|
490
490
|
* @throws {RequiredError}
|
|
491
491
|
*/
|
|
@@ -517,11 +517,11 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
517
517
|
* @summary Get CM Income History(USER_DATA)
|
|
518
518
|
* @param {string} [symbol]
|
|
519
519
|
* @param {string} [incomeType] TRANSFER, WELCOME_BONUS, REALIZED_PNL, FUNDING_FEE, COMMISSION, INSURANCE_CLEAR, REFERRAL_KICKBACK, COMMISSION_REBATE, API_REBATE, CONTEST_REWARD, CROSS_COLLATERAL_TRANSFER, OPTIONS_PREMIUM_FEE, OPTIONS_SETTLE_PROFIT, INTERNAL_TRANSFER, AUTO_EXCHANGE, DELIVERED_SETTELMENT, COIN_SWAP_DEPOSIT, COIN_SWAP_WITHDRAW, POSITION_LIMIT_INCREASE_FEE
|
|
520
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
521
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
522
|
-
* @param {number} [page]
|
|
523
|
-
* @param {number} [limit] Default 100; max 1000
|
|
524
|
-
* @param {number} [recvWindow]
|
|
520
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
521
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
522
|
+
* @param {number | bigint} [page]
|
|
523
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
524
|
+
* @param {number | bigint} [recvWindow]
|
|
525
525
|
*
|
|
526
526
|
* @throws {RequiredError}
|
|
527
527
|
*/
|
|
@@ -566,9 +566,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
566
566
|
* Weight: 1500
|
|
567
567
|
*
|
|
568
568
|
* @summary Get Download Id For UM Futures Order History (USER_DATA)
|
|
569
|
-
* @param {number} startTime
|
|
570
|
-
* @param {number} endTime
|
|
571
|
-
* @param {number} [recvWindow]
|
|
569
|
+
* @param {number | bigint} startTime
|
|
570
|
+
* @param {number | bigint} endTime
|
|
571
|
+
* @param {number | bigint} [recvWindow]
|
|
572
572
|
*
|
|
573
573
|
* @throws {RequiredError}
|
|
574
574
|
*/
|
|
@@ -603,9 +603,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
603
603
|
* Weight: 1500
|
|
604
604
|
*
|
|
605
605
|
* @summary Get Download Id For UM Futures Trade History (USER_DATA)
|
|
606
|
-
* @param {number} startTime
|
|
607
|
-
* @param {number} endTime
|
|
608
|
-
* @param {number} [recvWindow]
|
|
606
|
+
* @param {number | bigint} startTime
|
|
607
|
+
* @param {number | bigint} endTime
|
|
608
|
+
* @param {number | bigint} [recvWindow]
|
|
609
609
|
*
|
|
610
610
|
* @throws {RequiredError}
|
|
611
611
|
*/
|
|
@@ -640,9 +640,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
640
640
|
* Weight: 1500
|
|
641
641
|
*
|
|
642
642
|
* @summary Get Download Id For UM Futures Transaction History (USER_DATA)
|
|
643
|
-
* @param {number} startTime
|
|
644
|
-
* @param {number} endTime
|
|
645
|
-
* @param {number} [recvWindow]
|
|
643
|
+
* @param {number | bigint} startTime
|
|
644
|
+
* @param {number | bigint} endTime
|
|
645
|
+
* @param {number | bigint} [recvWindow]
|
|
646
646
|
*
|
|
647
647
|
* @throws {RequiredError}
|
|
648
648
|
*/
|
|
@@ -692,12 +692,12 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
692
692
|
*
|
|
693
693
|
* @summary Get Margin Borrow/Loan Interest History(USER_DATA)
|
|
694
694
|
* @param {string} [asset]
|
|
695
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
696
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
697
|
-
* @param {number} [current] Currently querying page. Start from 1. Default:1
|
|
698
|
-
* @param {number} [size] Default:10 Max:100
|
|
695
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
696
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
697
|
+
* @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
|
|
698
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
699
699
|
* @param {string} [archived] Default: `false`. Set to `true` for archived data from 6 months ago
|
|
700
|
-
* @param {number} [recvWindow]
|
|
700
|
+
* @param {number | bigint} [recvWindow]
|
|
701
701
|
*
|
|
702
702
|
* @throws {RequiredError}
|
|
703
703
|
*/
|
|
@@ -739,7 +739,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
739
739
|
* Weight: 5
|
|
740
740
|
*
|
|
741
741
|
* @summary Get UM Account Detail(USER_DATA)
|
|
742
|
-
* @param {number} [recvWindow]
|
|
742
|
+
* @param {number | bigint} [recvWindow]
|
|
743
743
|
*
|
|
744
744
|
* @throws {RequiredError}
|
|
745
745
|
*/
|
|
@@ -763,7 +763,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
763
763
|
* Weight: 5
|
|
764
764
|
*
|
|
765
765
|
* @summary Get UM Account Detail V2(USER_DATA)
|
|
766
|
-
* @param {number} [recvWindow]
|
|
766
|
+
* @param {number | bigint} [recvWindow]
|
|
767
767
|
*
|
|
768
768
|
* @throws {RequiredError}
|
|
769
769
|
*/
|
|
@@ -787,7 +787,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
787
787
|
* Weight: 30
|
|
788
788
|
*
|
|
789
789
|
* @summary Get UM Current Position Mode(USER_DATA)
|
|
790
|
-
* @param {number} [recvWindow]
|
|
790
|
+
* @param {number | bigint} [recvWindow]
|
|
791
791
|
*
|
|
792
792
|
* @throws {RequiredError}
|
|
793
793
|
*/
|
|
@@ -814,7 +814,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
814
814
|
*
|
|
815
815
|
* @summary Get UM Futures Order Download Link by Id(USER_DATA)
|
|
816
816
|
* @param {string} downloadId get by download id api
|
|
817
|
-
* @param {number} [recvWindow]
|
|
817
|
+
* @param {number | bigint} [recvWindow]
|
|
818
818
|
*
|
|
819
819
|
* @throws {RequiredError}
|
|
820
820
|
*/
|
|
@@ -845,7 +845,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
845
845
|
*
|
|
846
846
|
* @summary Get UM Futures Trade Download Link by Id(USER_DATA)
|
|
847
847
|
* @param {string} downloadId get by download id api
|
|
848
|
-
* @param {number} [recvWindow]
|
|
848
|
+
* @param {number | bigint} [recvWindow]
|
|
849
849
|
*
|
|
850
850
|
* @throws {RequiredError}
|
|
851
851
|
*/
|
|
@@ -876,7 +876,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
876
876
|
*
|
|
877
877
|
* @summary Get UM Futures Transaction Download Link by Id(USER_DATA)
|
|
878
878
|
* @param {string} downloadId get by download id api
|
|
879
|
-
* @param {number} [recvWindow]
|
|
879
|
+
* @param {number | bigint} [recvWindow]
|
|
880
880
|
*
|
|
881
881
|
* @throws {RequiredError}
|
|
882
882
|
*/
|
|
@@ -911,11 +911,11 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
911
911
|
* @summary Get UM Income History(USER_DATA)
|
|
912
912
|
* @param {string} [symbol]
|
|
913
913
|
* @param {string} [incomeType] TRANSFER, WELCOME_BONUS, REALIZED_PNL, FUNDING_FEE, COMMISSION, INSURANCE_CLEAR, REFERRAL_KICKBACK, COMMISSION_REBATE, API_REBATE, CONTEST_REWARD, CROSS_COLLATERAL_TRANSFER, OPTIONS_PREMIUM_FEE, OPTIONS_SETTLE_PROFIT, INTERNAL_TRANSFER, AUTO_EXCHANGE, DELIVERED_SETTELMENT, COIN_SWAP_DEPOSIT, COIN_SWAP_WITHDRAW, POSITION_LIMIT_INCREASE_FEE
|
|
914
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
915
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
916
|
-
* @param {number} [page]
|
|
917
|
-
* @param {number} [limit] Default 100; max 1000
|
|
918
|
-
* @param {number} [recvWindow]
|
|
914
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
915
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
916
|
+
* @param {number | bigint} [page]
|
|
917
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
918
|
+
* @param {number | bigint} [recvWindow]
|
|
919
919
|
*
|
|
920
920
|
* @throws {RequiredError}
|
|
921
921
|
*/
|
|
@@ -958,7 +958,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
958
958
|
*
|
|
959
959
|
* @summary Get User Commission Rate for CM(USER_DATA)
|
|
960
960
|
* @param {string} symbol
|
|
961
|
-
* @param {number} [recvWindow]
|
|
961
|
+
* @param {number | bigint} [recvWindow]
|
|
962
962
|
*
|
|
963
963
|
* @throws {RequiredError}
|
|
964
964
|
*/
|
|
@@ -987,7 +987,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
987
987
|
*
|
|
988
988
|
* @summary Get User Commission Rate for UM(USER_DATA)
|
|
989
989
|
* @param {string} symbol
|
|
990
|
-
* @param {number} [recvWindow]
|
|
990
|
+
* @param {number | bigint} [recvWindow]
|
|
991
991
|
*
|
|
992
992
|
* @throws {RequiredError}
|
|
993
993
|
*/
|
|
@@ -1016,7 +1016,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1016
1016
|
*
|
|
1017
1017
|
* @summary Margin Max Borrow(USER_DATA)
|
|
1018
1018
|
* @param {string} asset
|
|
1019
|
-
* @param {number} [recvWindow]
|
|
1019
|
+
* @param {number | bigint} [recvWindow]
|
|
1020
1020
|
*
|
|
1021
1021
|
* @throws {RequiredError}
|
|
1022
1022
|
*/
|
|
@@ -1046,7 +1046,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1046
1046
|
*
|
|
1047
1047
|
* @summary Portfolio Margin UM Trading Quantitative Rules Indicators(USER_DATA)
|
|
1048
1048
|
* @param {string} [symbol]
|
|
1049
|
-
* @param {number} [recvWindow]
|
|
1049
|
+
* @param {number | bigint} [recvWindow]
|
|
1050
1050
|
*
|
|
1051
1051
|
* @throws {RequiredError}
|
|
1052
1052
|
*/
|
|
@@ -1080,7 +1080,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1080
1080
|
* @summary Query CM Position Information(USER_DATA)
|
|
1081
1081
|
* @param {string} [marginAsset]
|
|
1082
1082
|
* @param {string} [pair]
|
|
1083
|
-
* @param {number} [recvWindow]
|
|
1083
|
+
* @param {number | bigint} [recvWindow]
|
|
1084
1084
|
*
|
|
1085
1085
|
* @throws {RequiredError}
|
|
1086
1086
|
*/
|
|
@@ -1117,13 +1117,13 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1117
1117
|
*
|
|
1118
1118
|
* @summary Query Margin Loan Record(USER_DATA)
|
|
1119
1119
|
* @param {string} asset
|
|
1120
|
-
* @param {number} [txId] the `tranId` in `POST/papi/v1/marginLoan`
|
|
1121
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1122
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1123
|
-
* @param {number} [current] Currently querying page. Start from 1. Default:1
|
|
1124
|
-
* @param {number} [size] Default:10 Max:100
|
|
1120
|
+
* @param {number | bigint} [txId] the `tranId` in `POST/papi/v1/marginLoan`
|
|
1121
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1122
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1123
|
+
* @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
|
|
1124
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
1125
1125
|
* @param {string} [archived] Default: `false`. Set to `true` for archived data from 6 months ago
|
|
1126
|
-
* @param {number} [recvWindow]
|
|
1126
|
+
* @param {number | bigint} [recvWindow]
|
|
1127
1127
|
*
|
|
1128
1128
|
* @throws {RequiredError}
|
|
1129
1129
|
*/
|
|
@@ -1170,7 +1170,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1170
1170
|
*
|
|
1171
1171
|
* @summary Query Margin Max Withdraw(USER_DATA)
|
|
1172
1172
|
* @param {string} asset
|
|
1173
|
-
* @param {number} [recvWindow]
|
|
1173
|
+
* @param {number | bigint} [recvWindow]
|
|
1174
1174
|
*
|
|
1175
1175
|
* @throws {RequiredError}
|
|
1176
1176
|
*/
|
|
@@ -1205,13 +1205,13 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1205
1205
|
*
|
|
1206
1206
|
* @summary Query Margin repay Record(USER_DATA)
|
|
1207
1207
|
* @param {string} asset
|
|
1208
|
-
* @param {number} [txId] the `tranId` in `POST/papi/v1/marginLoan`
|
|
1209
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1210
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1211
|
-
* @param {number} [current] Currently querying page. Start from 1. Default:1
|
|
1212
|
-
* @param {number} [size] Default:10 Max:100
|
|
1208
|
+
* @param {number | bigint} [txId] the `tranId` in `POST/papi/v1/marginLoan`
|
|
1209
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1210
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1211
|
+
* @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
|
|
1212
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
1213
1213
|
* @param {string} [archived] Default: `false`. Set to `true` for archived data from 6 months ago
|
|
1214
|
-
* @param {number} [recvWindow]
|
|
1214
|
+
* @param {number | bigint} [recvWindow]
|
|
1215
1215
|
*
|
|
1216
1216
|
* @throws {RequiredError}
|
|
1217
1217
|
*/
|
|
@@ -1264,10 +1264,10 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1264
1264
|
*
|
|
1265
1265
|
* @summary Query Portfolio Margin Negative Balance Interest History(USER_DATA)
|
|
1266
1266
|
* @param {string} [asset]
|
|
1267
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1268
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1269
|
-
* @param {number} [size] Default:10 Max:100
|
|
1270
|
-
* @param {number} [recvWindow]
|
|
1267
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1268
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1269
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
1270
|
+
* @param {number | bigint} [recvWindow]
|
|
1271
1271
|
*
|
|
1272
1272
|
* @throws {RequiredError}
|
|
1273
1273
|
*/
|
|
@@ -1308,7 +1308,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1308
1308
|
*
|
|
1309
1309
|
* @summary Query UM Position Information(USER_DATA)
|
|
1310
1310
|
* @param {string} [symbol]
|
|
1311
|
-
* @param {number} [recvWindow]
|
|
1311
|
+
* @param {number | bigint} [recvWindow]
|
|
1312
1312
|
*
|
|
1313
1313
|
* @throws {RequiredError}
|
|
1314
1314
|
*/
|
|
@@ -1338,9 +1338,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1338
1338
|
* Weight: 100
|
|
1339
1339
|
*
|
|
1340
1340
|
* @summary Query User Negative Balance Auto Exchange Record (USER_DATA)
|
|
1341
|
-
* @param {number} startTime
|
|
1342
|
-
* @param {number} endTime
|
|
1343
|
-
* @param {number} [recvWindow]
|
|
1341
|
+
* @param {number | bigint} startTime
|
|
1342
|
+
* @param {number | bigint} endTime
|
|
1343
|
+
* @param {number | bigint} [recvWindow]
|
|
1344
1344
|
*
|
|
1345
1345
|
* @throws {RequiredError}
|
|
1346
1346
|
*/
|
|
@@ -1372,7 +1372,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1372
1372
|
* Weight: 1
|
|
1373
1373
|
*
|
|
1374
1374
|
* @summary Query User Rate Limit (USER_DATA)
|
|
1375
|
-
* @param {number} [recvWindow]
|
|
1375
|
+
* @param {number | bigint} [recvWindow]
|
|
1376
1376
|
*
|
|
1377
1377
|
* @throws {RequiredError}
|
|
1378
1378
|
*/
|
|
@@ -1396,7 +1396,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1396
1396
|
* Weight: 750
|
|
1397
1397
|
*
|
|
1398
1398
|
* @summary Repay futures Negative Balance(USER_DATA)
|
|
1399
|
-
* @param {number} [recvWindow]
|
|
1399
|
+
* @param {number | bigint} [recvWindow]
|
|
1400
1400
|
*
|
|
1401
1401
|
* @throws {RequiredError}
|
|
1402
1402
|
*/
|
|
@@ -1420,7 +1420,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1420
1420
|
* Weight: 5
|
|
1421
1421
|
*
|
|
1422
1422
|
* @summary UM Futures Account Configuration(USER_DATA)
|
|
1423
|
-
* @param {number} [recvWindow]
|
|
1423
|
+
* @param {number | bigint} [recvWindow]
|
|
1424
1424
|
*
|
|
1425
1425
|
* @throws {RequiredError}
|
|
1426
1426
|
*/
|
|
@@ -1445,7 +1445,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1445
1445
|
*
|
|
1446
1446
|
* @summary UM Futures Symbol Configuration(USER_DATA)
|
|
1447
1447
|
* @param {string} [symbol]
|
|
1448
|
-
* @param {number} [recvWindow]
|
|
1448
|
+
* @param {number | bigint} [recvWindow]
|
|
1449
1449
|
*
|
|
1450
1450
|
* @throws {RequiredError}
|
|
1451
1451
|
*/
|
|
@@ -1473,7 +1473,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1473
1473
|
*
|
|
1474
1474
|
* @summary UM Notional and Leverage Brackets (USER_DATA)
|
|
1475
1475
|
* @param {string} [symbol]
|
|
1476
|
-
* @param {number} [recvWindow]
|
|
1476
|
+
* @param {number | bigint} [recvWindow]
|
|
1477
1477
|
*
|
|
1478
1478
|
* @throws {RequiredError}
|
|
1479
1479
|
*/
|
|
@@ -2765,7 +2765,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2765
2765
|
*
|
|
2766
2766
|
* @summary Cancel All CM Open Conditional Orders(TRADE)
|
|
2767
2767
|
* @param {string} symbol
|
|
2768
|
-
* @param {number} [recvWindow]
|
|
2768
|
+
* @param {number | bigint} [recvWindow]
|
|
2769
2769
|
*
|
|
2770
2770
|
* @throws {RequiredError}
|
|
2771
2771
|
*/
|
|
@@ -2794,7 +2794,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2794
2794
|
*
|
|
2795
2795
|
* @summary Cancel All CM Open Orders(TRADE)
|
|
2796
2796
|
* @param {string} symbol
|
|
2797
|
-
* @param {number} [recvWindow]
|
|
2797
|
+
* @param {number | bigint} [recvWindow]
|
|
2798
2798
|
*
|
|
2799
2799
|
* @throws {RequiredError}
|
|
2800
2800
|
*/
|
|
@@ -2823,7 +2823,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2823
2823
|
*
|
|
2824
2824
|
* @summary Cancel All UM Open Conditional Orders (TRADE)
|
|
2825
2825
|
* @param {string} symbol
|
|
2826
|
-
* @param {number} [recvWindow]
|
|
2826
|
+
* @param {number | bigint} [recvWindow]
|
|
2827
2827
|
*
|
|
2828
2828
|
* @throws {RequiredError}
|
|
2829
2829
|
*/
|
|
@@ -2852,7 +2852,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2852
2852
|
*
|
|
2853
2853
|
* @summary Cancel All UM Open Orders(TRADE)
|
|
2854
2854
|
* @param {string} symbol
|
|
2855
|
-
* @param {number} [recvWindow]
|
|
2855
|
+
* @param {number | bigint} [recvWindow]
|
|
2856
2856
|
*
|
|
2857
2857
|
* @throws {RequiredError}
|
|
2858
2858
|
*/
|
|
@@ -2883,9 +2883,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2883
2883
|
*
|
|
2884
2884
|
* @summary Cancel CM Conditional Order(TRADE)
|
|
2885
2885
|
* @param {string} symbol
|
|
2886
|
-
* @param {number} [strategyId]
|
|
2886
|
+
* @param {number | bigint} [strategyId]
|
|
2887
2887
|
* @param {string} [newClientStrategyId]
|
|
2888
|
-
* @param {number} [recvWindow]
|
|
2888
|
+
* @param {number | bigint} [recvWindow]
|
|
2889
2889
|
*
|
|
2890
2890
|
* @throws {RequiredError}
|
|
2891
2891
|
*/
|
|
@@ -2922,9 +2922,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2922
2922
|
*
|
|
2923
2923
|
* @summary Cancel CM Order(TRADE)
|
|
2924
2924
|
* @param {string} symbol
|
|
2925
|
-
* @param {number} [orderId]
|
|
2925
|
+
* @param {number | bigint} [orderId]
|
|
2926
2926
|
* @param {string} [origClientOrderId]
|
|
2927
|
-
* @param {number} [recvWindow]
|
|
2927
|
+
* @param {number | bigint} [recvWindow]
|
|
2928
2928
|
*
|
|
2929
2929
|
* @throws {RequiredError}
|
|
2930
2930
|
*/
|
|
@@ -2959,7 +2959,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2959
2959
|
*
|
|
2960
2960
|
* @summary Cancel Margin Account All Open Orders on a Symbol(TRADE)
|
|
2961
2961
|
* @param {string} symbol
|
|
2962
|
-
* @param {number} [recvWindow]
|
|
2962
|
+
* @param {number | bigint} [recvWindow]
|
|
2963
2963
|
*
|
|
2964
2964
|
* @throws {RequiredError}
|
|
2965
2965
|
*/
|
|
@@ -2990,10 +2990,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2990
2990
|
*
|
|
2991
2991
|
* @summary Cancel Margin Account OCO Orders(TRADE)
|
|
2992
2992
|
* @param {string} symbol
|
|
2993
|
-
* @param {number} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
|
|
2993
|
+
* @param {number | bigint} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
|
|
2994
2994
|
* @param {string} [listClientOrderId] Either `orderListId` or `listClientOrderId` must be provided
|
|
2995
2995
|
* @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
|
|
2996
|
-
* @param {number} [recvWindow]
|
|
2996
|
+
* @param {number | bigint} [recvWindow]
|
|
2997
2997
|
*
|
|
2998
2998
|
* @throws {RequiredError}
|
|
2999
2999
|
*/
|
|
@@ -3033,10 +3033,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3033
3033
|
*
|
|
3034
3034
|
* @summary Cancel Margin Account Order(TRADE)
|
|
3035
3035
|
* @param {string} symbol
|
|
3036
|
-
* @param {number} [orderId]
|
|
3036
|
+
* @param {number | bigint} [orderId]
|
|
3037
3037
|
* @param {string} [origClientOrderId]
|
|
3038
3038
|
* @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
|
|
3039
|
-
* @param {number} [recvWindow]
|
|
3039
|
+
* @param {number | bigint} [recvWindow]
|
|
3040
3040
|
*
|
|
3041
3041
|
* @throws {RequiredError}
|
|
3042
3042
|
*/
|
|
@@ -3076,9 +3076,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3076
3076
|
*
|
|
3077
3077
|
* @summary Cancel UM Conditional Order(TRADE)
|
|
3078
3078
|
* @param {string} symbol
|
|
3079
|
-
* @param {number} [strategyId]
|
|
3079
|
+
* @param {number | bigint} [strategyId]
|
|
3080
3080
|
* @param {string} [newClientStrategyId]
|
|
3081
|
-
* @param {number} [recvWindow]
|
|
3081
|
+
* @param {number | bigint} [recvWindow]
|
|
3082
3082
|
*
|
|
3083
3083
|
* @throws {RequiredError}
|
|
3084
3084
|
*/
|
|
@@ -3115,9 +3115,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3115
3115
|
*
|
|
3116
3116
|
* @summary Cancel UM Order(TRADE)
|
|
3117
3117
|
* @param {string} symbol
|
|
3118
|
-
* @param {number} [orderId]
|
|
3118
|
+
* @param {number | bigint} [orderId]
|
|
3119
3119
|
* @param {string} [origClientOrderId]
|
|
3120
|
-
* @param {number} [recvWindow]
|
|
3120
|
+
* @param {number | bigint} [recvWindow]
|
|
3121
3121
|
*
|
|
3122
3122
|
* @throws {RequiredError}
|
|
3123
3123
|
*/
|
|
@@ -3162,11 +3162,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3162
3162
|
* @summary CM Account Trade List(USER_DATA)
|
|
3163
3163
|
* @param {string} [symbol]
|
|
3164
3164
|
* @param {string} [pair]
|
|
3165
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
3166
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
3167
|
-
* @param {number} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
3168
|
-
* @param {number} [limit] Default 100; max 1000
|
|
3169
|
-
* @param {number} [recvWindow]
|
|
3165
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
3166
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
3167
|
+
* @param {number | bigint} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
3168
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
3169
|
+
* @param {number | bigint} [recvWindow]
|
|
3170
3170
|
*
|
|
3171
3171
|
* @throws {RequiredError}
|
|
3172
3172
|
*/
|
|
@@ -3215,7 +3215,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3215
3215
|
*
|
|
3216
3216
|
* @summary CM Position ADL Quantile Estimation(USER_DATA)
|
|
3217
3217
|
* @param {string} [symbol]
|
|
3218
|
-
* @param {number} [recvWindow]
|
|
3218
|
+
* @param {number | bigint} [recvWindow]
|
|
3219
3219
|
*
|
|
3220
3220
|
* @throws {RequiredError}
|
|
3221
3221
|
*/
|
|
@@ -3242,7 +3242,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3242
3242
|
* Weight: 30
|
|
3243
3243
|
*
|
|
3244
3244
|
* @summary Get UM Futures BNB Burn Status (USER_DATA)
|
|
3245
|
-
* @param {number} [recvWindow]
|
|
3245
|
+
* @param {number | bigint} [recvWindow]
|
|
3246
3246
|
*
|
|
3247
3247
|
* @throws {RequiredError}
|
|
3248
3248
|
*/
|
|
@@ -3268,7 +3268,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3268
3268
|
* @summary Margin Account Borrow(MARGIN)
|
|
3269
3269
|
* @param {string} asset
|
|
3270
3270
|
* @param {number} amount
|
|
3271
|
-
* @param {number} [recvWindow]
|
|
3271
|
+
* @param {number | bigint} [recvWindow]
|
|
3272
3272
|
*
|
|
3273
3273
|
* @throws {RequiredError}
|
|
3274
3274
|
*/
|
|
@@ -3323,7 +3323,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3323
3323
|
* @param {MarginAccountNewOcoStopLimitTimeInForceEnum} [stopLimitTimeInForce] Valid values are `GTC/FOK/IOC`
|
|
3324
3324
|
* @param {MarginAccountNewOcoNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", default "ACK"
|
|
3325
3325
|
* @param {MarginAccountNewOcoSideEffectTypeEnum} [sideEffectType] NO_SIDE_EFFECT, MARGIN_BUY, AUTO_REPAY; default NO_SIDE_EFFECT.
|
|
3326
|
-
* @param {number} [recvWindow]
|
|
3326
|
+
* @param {number | bigint} [recvWindow]
|
|
3327
3327
|
*
|
|
3328
3328
|
* @throws {RequiredError}
|
|
3329
3329
|
*/
|
|
@@ -3396,7 +3396,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3396
3396
|
* @summary Margin Account Repay(MARGIN)
|
|
3397
3397
|
* @param {string} asset
|
|
3398
3398
|
* @param {number} amount
|
|
3399
|
-
* @param {number} [recvWindow]
|
|
3399
|
+
* @param {number | bigint} [recvWindow]
|
|
3400
3400
|
*
|
|
3401
3401
|
* @throws {RequiredError}
|
|
3402
3402
|
*/
|
|
@@ -3436,7 +3436,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3436
3436
|
* @param {string} asset
|
|
3437
3437
|
* @param {string} [amount]
|
|
3438
3438
|
* @param {string} [specifyRepayAssets] Specific asset list to repay debt; Can be added in batch, separated by commas
|
|
3439
|
-
* @param {number} [recvWindow]
|
|
3439
|
+
* @param {number | bigint} [recvWindow]
|
|
3440
3440
|
*
|
|
3441
3441
|
* @throws {RequiredError}
|
|
3442
3442
|
*/
|
|
@@ -3471,12 +3471,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3471
3471
|
*
|
|
3472
3472
|
* @summary Margin Account Trade List (USER_DATA)
|
|
3473
3473
|
* @param {string} symbol
|
|
3474
|
-
* @param {number} [orderId]
|
|
3475
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
3476
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
3477
|
-
* @param {number} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
3478
|
-
* @param {number} [limit] Default 100; max 1000
|
|
3479
|
-
* @param {number} [recvWindow]
|
|
3474
|
+
* @param {number | bigint} [orderId]
|
|
3475
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
3476
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
3477
|
+
* @param {number | bigint} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
3478
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
3479
|
+
* @param {number | bigint} [recvWindow]
|
|
3480
3480
|
*
|
|
3481
3481
|
* @throws {RequiredError}
|
|
3482
3482
|
*/
|
|
@@ -3530,10 +3530,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3530
3530
|
* @param {ModifyCmOrderSideEnum} side
|
|
3531
3531
|
* @param {number} quantity Order quantity
|
|
3532
3532
|
* @param {number} price
|
|
3533
|
-
* @param {number} [orderId]
|
|
3533
|
+
* @param {number | bigint} [orderId]
|
|
3534
3534
|
* @param {string} [origClientOrderId]
|
|
3535
3535
|
* @param {ModifyCmOrderPriceMatchEnum} [priceMatch] only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
|
|
3536
|
-
* @param {number} [recvWindow]
|
|
3536
|
+
* @param {number | bigint} [recvWindow]
|
|
3537
3537
|
*
|
|
3538
3538
|
* @throws {RequiredError}
|
|
3539
3539
|
*/
|
|
@@ -3593,10 +3593,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3593
3593
|
* @param {ModifyUmOrderSideEnum} side
|
|
3594
3594
|
* @param {number} quantity Order quantity
|
|
3595
3595
|
* @param {number} price
|
|
3596
|
-
* @param {number} [orderId]
|
|
3596
|
+
* @param {number | bigint} [orderId]
|
|
3597
3597
|
* @param {string} [origClientOrderId]
|
|
3598
3598
|
* @param {ModifyUmOrderPriceMatchEnum} [priceMatch] only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
|
|
3599
|
-
* @param {number} [recvWindow]
|
|
3599
|
+
* @param {number | bigint} [recvWindow]
|
|
3600
3600
|
*
|
|
3601
3601
|
* @throws {RequiredError}
|
|
3602
3602
|
*/
|
|
@@ -3684,7 +3684,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3684
3684
|
* @param {number} [stopPrice] Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders.
|
|
3685
3685
|
* @param {number} [activationPrice] Used with `TRAILING_STOP_MARKET` orders, default as the mark price
|
|
3686
3686
|
* @param {number} [callbackRate] Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1%
|
|
3687
|
-
* @param {number} [recvWindow]
|
|
3687
|
+
* @param {number | bigint} [recvWindow]
|
|
3688
3688
|
*
|
|
3689
3689
|
* @throws {RequiredError}
|
|
3690
3690
|
*/
|
|
@@ -3768,7 +3768,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3768
3768
|
* @param {NewCmOrderPriceMatchEnum} [priceMatch] only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
|
|
3769
3769
|
* @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
|
|
3770
3770
|
* @param {NewCmOrderNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", default "ACK"
|
|
3771
|
-
* @param {number} [recvWindow]
|
|
3771
|
+
* @param {number | bigint} [recvWindow]
|
|
3772
3772
|
*
|
|
3773
3773
|
* @throws {RequiredError}
|
|
3774
3774
|
*/
|
|
@@ -3842,7 +3842,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3842
3842
|
* @param {NewMarginOrderTimeInForceEnum} [timeInForce]
|
|
3843
3843
|
* @param {NewMarginOrderSelfTradePreventionModeEnum} [selfTradePreventionMode] `NONE`:No STP / `EXPIRE_TAKER`:expire taker order when STP triggers/ `EXPIRE_MAKER`:expire taker order when STP triggers/ `EXPIRE_BOTH`:expire both orders when STP triggers
|
|
3844
3844
|
* @param {boolean} [autoRepayAtCancel] 只有在自动借款单或者自动借还单生效,true表示的是撤单后需要把订单产生的借款归还,默认为true
|
|
3845
|
-
* @param {number} [recvWindow]
|
|
3845
|
+
* @param {number | bigint} [recvWindow]
|
|
3846
3846
|
*
|
|
3847
3847
|
* @throws {RequiredError}
|
|
3848
3848
|
*/
|
|
@@ -3954,8 +3954,8 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3954
3954
|
* @param {number} [callbackRate] Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1%
|
|
3955
3955
|
* @param {NewUmConditionalOrderPriceMatchEnum} [priceMatch] only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
|
|
3956
3956
|
* @param {NewUmConditionalOrderSelfTradePreventionModeEnum} [selfTradePreventionMode] `NONE`:No STP / `EXPIRE_TAKER`:expire taker order when STP triggers/ `EXPIRE_MAKER`:expire taker order when STP triggers/ `EXPIRE_BOTH`:expire both orders when STP triggers
|
|
3957
|
-
* @param {number} [goodTillDate] order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000Mode. It must be sent in Hedge Mode.
|
|
3958
|
-
* @param {number} [recvWindow]
|
|
3957
|
+
* @param {number | bigint} [goodTillDate] order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000Mode. It must be sent in Hedge Mode.
|
|
3958
|
+
* @param {number | bigint} [recvWindow]
|
|
3959
3959
|
*
|
|
3960
3960
|
* @throws {RequiredError}
|
|
3961
3961
|
*/
|
|
@@ -4051,8 +4051,8 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4051
4051
|
* @param {NewUmOrderNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", default "ACK"
|
|
4052
4052
|
* @param {NewUmOrderPriceMatchEnum} [priceMatch] only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
|
|
4053
4053
|
* @param {NewUmOrderSelfTradePreventionModeEnum} [selfTradePreventionMode] `NONE`:No STP / `EXPIRE_TAKER`:expire taker order when STP triggers/ `EXPIRE_MAKER`:expire taker order when STP triggers/ `EXPIRE_BOTH`:expire both orders when STP triggers
|
|
4054
|
-
* @param {number} [goodTillDate] order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000Mode. It must be sent in Hedge Mode.
|
|
4055
|
-
* @param {number} [recvWindow]
|
|
4054
|
+
* @param {number | bigint} [goodTillDate] order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000Mode. It must be sent in Hedge Mode.
|
|
4055
|
+
* @param {number | bigint} [recvWindow]
|
|
4056
4056
|
*
|
|
4057
4057
|
* @throws {RequiredError}
|
|
4058
4058
|
*/
|
|
@@ -4125,11 +4125,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4125
4125
|
*
|
|
4126
4126
|
* @summary Query All CM Conditional Orders(USER_DATA)
|
|
4127
4127
|
* @param {string} [symbol]
|
|
4128
|
-
* @param {number} [strategyId]
|
|
4129
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4130
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4131
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4132
|
-
* @param {number} [recvWindow]
|
|
4128
|
+
* @param {number | bigint} [strategyId]
|
|
4129
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4130
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4131
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4132
|
+
* @param {number | bigint} [recvWindow]
|
|
4133
4133
|
*
|
|
4134
4134
|
* @throws {RequiredError}
|
|
4135
4135
|
*/
|
|
@@ -4177,11 +4177,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4177
4177
|
* @summary Query All CM Orders (USER_DATA)
|
|
4178
4178
|
* @param {string} symbol
|
|
4179
4179
|
* @param {string} [pair]
|
|
4180
|
-
* @param {number} [orderId]
|
|
4181
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4182
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4183
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4184
|
-
* @param {number} [recvWindow]
|
|
4180
|
+
* @param {number | bigint} [orderId]
|
|
4181
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4182
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4183
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4184
|
+
* @param {number | bigint} [recvWindow]
|
|
4185
4185
|
*
|
|
4186
4186
|
* @throws {RequiredError}
|
|
4187
4187
|
*/
|
|
@@ -4227,7 +4227,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4227
4227
|
*
|
|
4228
4228
|
* @summary Query All Current CM Open Conditional Orders (USER_DATA)
|
|
4229
4229
|
* @param {string} [symbol]
|
|
4230
|
-
* @param {number} [recvWindow]
|
|
4230
|
+
* @param {number | bigint} [recvWindow]
|
|
4231
4231
|
*
|
|
4232
4232
|
* @throws {RequiredError}
|
|
4233
4233
|
*/
|
|
@@ -4259,7 +4259,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4259
4259
|
* @summary Query All Current CM Open Orders(USER_DATA)
|
|
4260
4260
|
* @param {string} [symbol]
|
|
4261
4261
|
* @param {string} [pair]
|
|
4262
|
-
* @param {number} [recvWindow]
|
|
4262
|
+
* @param {number | bigint} [recvWindow]
|
|
4263
4263
|
*
|
|
4264
4264
|
* @throws {RequiredError}
|
|
4265
4265
|
*/
|
|
@@ -4293,7 +4293,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4293
4293
|
*
|
|
4294
4294
|
* @summary Query All Current UM Open Conditional Orders(USER_DATA)
|
|
4295
4295
|
* @param {string} [symbol]
|
|
4296
|
-
* @param {number} [recvWindow]
|
|
4296
|
+
* @param {number | bigint} [recvWindow]
|
|
4297
4297
|
*
|
|
4298
4298
|
* @throws {RequiredError}
|
|
4299
4299
|
*/
|
|
@@ -4324,7 +4324,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4324
4324
|
*
|
|
4325
4325
|
* @summary Query All Current UM Open Orders(USER_DATA)
|
|
4326
4326
|
* @param {string} [symbol]
|
|
4327
|
-
* @param {number} [recvWindow]
|
|
4327
|
+
* @param {number | bigint} [recvWindow]
|
|
4328
4328
|
*
|
|
4329
4329
|
* @throws {RequiredError}
|
|
4330
4330
|
*/
|
|
@@ -4352,11 +4352,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4352
4352
|
*
|
|
4353
4353
|
* @summary Query All Margin Account Orders (USER_DATA)
|
|
4354
4354
|
* @param {string} symbol
|
|
4355
|
-
* @param {number} [orderId]
|
|
4356
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4357
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4358
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4359
|
-
* @param {number} [recvWindow]
|
|
4355
|
+
* @param {number | bigint} [orderId]
|
|
4356
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4357
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4358
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4359
|
+
* @param {number | bigint} [recvWindow]
|
|
4360
4360
|
*
|
|
4361
4361
|
* @throws {RequiredError}
|
|
4362
4362
|
*/
|
|
@@ -4403,11 +4403,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4403
4403
|
*
|
|
4404
4404
|
* @summary Query All UM Conditional Orders(USER_DATA)
|
|
4405
4405
|
* @param {string} [symbol]
|
|
4406
|
-
* @param {number} [strategyId]
|
|
4407
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4408
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4409
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4410
|
-
* @param {number} [recvWindow]
|
|
4406
|
+
* @param {number | bigint} [strategyId]
|
|
4407
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4408
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4409
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4410
|
+
* @param {number | bigint} [recvWindow]
|
|
4411
4411
|
*
|
|
4412
4412
|
* @throws {RequiredError}
|
|
4413
4413
|
*/
|
|
@@ -4454,11 +4454,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4454
4454
|
*
|
|
4455
4455
|
* @summary Query All UM Orders(USER_DATA)
|
|
4456
4456
|
* @param {string} symbol
|
|
4457
|
-
* @param {number} [orderId]
|
|
4458
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4459
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4460
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4461
|
-
* @param {number} [recvWindow]
|
|
4457
|
+
* @param {number | bigint} [orderId]
|
|
4458
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4459
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4460
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4461
|
+
* @param {number | bigint} [recvWindow]
|
|
4462
4462
|
*
|
|
4463
4463
|
* @throws {RequiredError}
|
|
4464
4464
|
*/
|
|
@@ -4507,9 +4507,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4507
4507
|
*
|
|
4508
4508
|
* @summary Query CM Conditional Order History(USER_DATA)
|
|
4509
4509
|
* @param {string} symbol
|
|
4510
|
-
* @param {number} [strategyId]
|
|
4510
|
+
* @param {number | bigint} [strategyId]
|
|
4511
4511
|
* @param {string} [newClientStrategyId]
|
|
4512
|
-
* @param {number} [recvWindow]
|
|
4512
|
+
* @param {number | bigint} [recvWindow]
|
|
4513
4513
|
*
|
|
4514
4514
|
* @throws {RequiredError}
|
|
4515
4515
|
*/
|
|
@@ -4546,12 +4546,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4546
4546
|
*
|
|
4547
4547
|
* @summary Query CM Modify Order History(TRADE)
|
|
4548
4548
|
* @param {string} symbol
|
|
4549
|
-
* @param {number} [orderId]
|
|
4549
|
+
* @param {number | bigint} [orderId]
|
|
4550
4550
|
* @param {string} [origClientOrderId]
|
|
4551
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4552
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4553
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4554
|
-
* @param {number} [recvWindow]
|
|
4551
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4552
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4553
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4554
|
+
* @param {number | bigint} [recvWindow]
|
|
4555
4555
|
*
|
|
4556
4556
|
* @throws {RequiredError}
|
|
4557
4557
|
*/
|
|
@@ -4601,9 +4601,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4601
4601
|
*
|
|
4602
4602
|
* @summary Query CM Order(USER_DATA)
|
|
4603
4603
|
* @param {string} symbol
|
|
4604
|
-
* @param {number} [orderId]
|
|
4604
|
+
* @param {number | bigint} [orderId]
|
|
4605
4605
|
* @param {string} [origClientOrderId]
|
|
4606
|
-
* @param {number} [recvWindow]
|
|
4606
|
+
* @param {number | bigint} [recvWindow]
|
|
4607
4607
|
*
|
|
4608
4608
|
* @throws {RequiredError}
|
|
4609
4609
|
*/
|
|
@@ -4641,9 +4641,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4641
4641
|
*
|
|
4642
4642
|
* @summary Query Current CM Open Conditional Order(USER_DATA)
|
|
4643
4643
|
* @param {string} symbol
|
|
4644
|
-
* @param {number} [strategyId]
|
|
4644
|
+
* @param {number | bigint} [strategyId]
|
|
4645
4645
|
* @param {string} [newClientStrategyId]
|
|
4646
|
-
* @param {number} [recvWindow]
|
|
4646
|
+
* @param {number | bigint} [recvWindow]
|
|
4647
4647
|
*
|
|
4648
4648
|
* @throws {RequiredError}
|
|
4649
4649
|
*/
|
|
@@ -4681,9 +4681,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4681
4681
|
*
|
|
4682
4682
|
* @summary Query Current CM Open Order (USER_DATA)
|
|
4683
4683
|
* @param {string} symbol
|
|
4684
|
-
* @param {number} [orderId]
|
|
4684
|
+
* @param {number | bigint} [orderId]
|
|
4685
4685
|
* @param {string} [origClientOrderId]
|
|
4686
|
-
* @param {number} [recvWindow]
|
|
4686
|
+
* @param {number | bigint} [recvWindow]
|
|
4687
4687
|
*
|
|
4688
4688
|
* @throws {RequiredError}
|
|
4689
4689
|
*/
|
|
@@ -4718,7 +4718,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4718
4718
|
*
|
|
4719
4719
|
* @summary Query Current Margin Open Order (USER_DATA)
|
|
4720
4720
|
* @param {string} symbol
|
|
4721
|
-
* @param {number} [recvWindow]
|
|
4721
|
+
* @param {number | bigint} [recvWindow]
|
|
4722
4722
|
*
|
|
4723
4723
|
* @throws {RequiredError}
|
|
4724
4724
|
*/
|
|
@@ -4750,9 +4750,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4750
4750
|
*
|
|
4751
4751
|
* @summary Query Current UM Open Conditional Order(USER_DATA)
|
|
4752
4752
|
* @param {string} symbol
|
|
4753
|
-
* @param {number} [strategyId]
|
|
4753
|
+
* @param {number | bigint} [strategyId]
|
|
4754
4754
|
* @param {string} [newClientStrategyId]
|
|
4755
|
-
* @param {number} [recvWindow]
|
|
4755
|
+
* @param {number | bigint} [recvWindow]
|
|
4756
4756
|
*
|
|
4757
4757
|
* @throws {RequiredError}
|
|
4758
4758
|
*/
|
|
@@ -4791,9 +4791,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4791
4791
|
*
|
|
4792
4792
|
* @summary Query Current UM Open Order(USER_DATA)
|
|
4793
4793
|
* @param {string} symbol
|
|
4794
|
-
* @param {number} [orderId]
|
|
4794
|
+
* @param {number | bigint} [orderId]
|
|
4795
4795
|
* @param {string} [origClientOrderId]
|
|
4796
|
-
* @param {number} [recvWindow]
|
|
4796
|
+
* @param {number | bigint} [recvWindow]
|
|
4797
4797
|
*
|
|
4798
4798
|
* @throws {RequiredError}
|
|
4799
4799
|
*/
|
|
@@ -4828,9 +4828,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4828
4828
|
*
|
|
4829
4829
|
* @summary Query Margin Account Order (USER_DATA)
|
|
4830
4830
|
* @param {string} symbol
|
|
4831
|
-
* @param {number} [orderId]
|
|
4831
|
+
* @param {number | bigint} [orderId]
|
|
4832
4832
|
* @param {string} [origClientOrderId]
|
|
4833
|
-
* @param {number} [recvWindow]
|
|
4833
|
+
* @param {number | bigint} [recvWindow]
|
|
4834
4834
|
*
|
|
4835
4835
|
* @throws {RequiredError}
|
|
4836
4836
|
*/
|
|
@@ -4864,11 +4864,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4864
4864
|
* Weight: 100
|
|
4865
4865
|
*
|
|
4866
4866
|
* @summary Query Margin Account\'s all OCO (USER_DATA)
|
|
4867
|
-
* @param {number} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
4868
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4869
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4870
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4871
|
-
* @param {number} [recvWindow]
|
|
4867
|
+
* @param {number | bigint} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
4868
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4869
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4870
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4871
|
+
* @param {number | bigint} [recvWindow]
|
|
4872
4872
|
*
|
|
4873
4873
|
* @throws {RequiredError}
|
|
4874
4874
|
*/
|
|
@@ -4904,9 +4904,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4904
4904
|
* Weight: 5
|
|
4905
4905
|
*
|
|
4906
4906
|
* @summary Query Margin Account\'s OCO (USER_DATA)
|
|
4907
|
-
* @param {number} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
|
|
4907
|
+
* @param {number | bigint} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
|
|
4908
4908
|
* @param {string} [origClientOrderId]
|
|
4909
|
-
* @param {number} [recvWindow]
|
|
4909
|
+
* @param {number | bigint} [recvWindow]
|
|
4910
4910
|
*
|
|
4911
4911
|
* @throws {RequiredError}
|
|
4912
4912
|
*/
|
|
@@ -4936,7 +4936,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4936
4936
|
* Weight: 5
|
|
4937
4937
|
*
|
|
4938
4938
|
* @summary Query Margin Account\'s Open OCO (USER_DATA)
|
|
4939
|
-
* @param {number} [recvWindow]
|
|
4939
|
+
* @param {number | bigint} [recvWindow]
|
|
4940
4940
|
*
|
|
4941
4941
|
* @throws {RequiredError}
|
|
4942
4942
|
*/
|
|
@@ -4968,9 +4968,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4968
4968
|
*
|
|
4969
4969
|
* @summary Query UM Conditional Order History(USER_DATA)
|
|
4970
4970
|
* @param {string} symbol
|
|
4971
|
-
* @param {number} [strategyId]
|
|
4971
|
+
* @param {number | bigint} [strategyId]
|
|
4972
4972
|
* @param {string} [newClientStrategyId]
|
|
4973
|
-
* @param {number} [recvWindow]
|
|
4973
|
+
* @param {number | bigint} [recvWindow]
|
|
4974
4974
|
*
|
|
4975
4975
|
* @throws {RequiredError}
|
|
4976
4976
|
*/
|
|
@@ -5007,12 +5007,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5007
5007
|
*
|
|
5008
5008
|
* @summary Query UM Modify Order History(TRADE)
|
|
5009
5009
|
* @param {string} symbol
|
|
5010
|
-
* @param {number} [orderId]
|
|
5010
|
+
* @param {number | bigint} [orderId]
|
|
5011
5011
|
* @param {string} [origClientOrderId]
|
|
5012
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5013
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5014
|
-
* @param {number} [limit] Default 100; max 1000
|
|
5015
|
-
* @param {number} [recvWindow]
|
|
5012
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5013
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5014
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
5015
|
+
* @param {number | bigint} [recvWindow]
|
|
5016
5016
|
*
|
|
5017
5017
|
* @throws {RequiredError}
|
|
5018
5018
|
*/
|
|
@@ -5062,9 +5062,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5062
5062
|
*
|
|
5063
5063
|
* @summary Query UM Order (USER_DATA)
|
|
5064
5064
|
* @param {string} symbol
|
|
5065
|
-
* @param {number} [orderId]
|
|
5065
|
+
* @param {number | bigint} [orderId]
|
|
5066
5066
|
* @param {string} [origClientOrderId]
|
|
5067
|
-
* @param {number} [recvWindow]
|
|
5067
|
+
* @param {number | bigint} [recvWindow]
|
|
5068
5068
|
*
|
|
5069
5069
|
* @throws {RequiredError}
|
|
5070
5070
|
*/
|
|
@@ -5103,10 +5103,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5103
5103
|
* @summary Query User\'s CM Force Orders(USER_DATA)
|
|
5104
5104
|
* @param {string} [symbol]
|
|
5105
5105
|
* @param {QueryUsersCmForceOrdersAutoCloseTypeEnum} [autoCloseType] `LIQUIDATION` for liquidation orders, `ADL` for ADL orders.
|
|
5106
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5107
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5108
|
-
* @param {number} [limit] Default 100; max 1000
|
|
5109
|
-
* @param {number} [recvWindow]
|
|
5106
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5107
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5108
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
5109
|
+
* @param {number | bigint} [recvWindow]
|
|
5110
5110
|
*
|
|
5111
5111
|
* @throws {RequiredError}
|
|
5112
5112
|
*/
|
|
@@ -5145,11 +5145,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5145
5145
|
* Weight: 1
|
|
5146
5146
|
*
|
|
5147
5147
|
* @summary Query User\'s Margin Force Orders(USER_DATA)
|
|
5148
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5149
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5150
|
-
* @param {number} [current] Currently querying page. Start from 1. Default:1
|
|
5151
|
-
* @param {number} [size] Default:10 Max:100
|
|
5152
|
-
* @param {number} [recvWindow]
|
|
5148
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5149
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5150
|
+
* @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
|
|
5151
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
5152
|
+
* @param {number | bigint} [recvWindow]
|
|
5153
5153
|
*
|
|
5154
5154
|
* @throws {RequiredError}
|
|
5155
5155
|
*/
|
|
@@ -5190,10 +5190,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5190
5190
|
* @summary Query User\'s UM Force Orders (USER_DATA)
|
|
5191
5191
|
* @param {string} [symbol]
|
|
5192
5192
|
* @param {QueryUsersUmForceOrdersAutoCloseTypeEnum} [autoCloseType] `LIQUIDATION` for liquidation orders, `ADL` for ADL orders.
|
|
5193
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5194
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5195
|
-
* @param {number} [limit] Default 100; max 1000
|
|
5196
|
-
* @param {number} [recvWindow]
|
|
5193
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5194
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5195
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
5196
|
+
* @param {number | bigint} [recvWindow]
|
|
5197
5197
|
*
|
|
5198
5198
|
* @throws {RequiredError}
|
|
5199
5199
|
*/
|
|
@@ -5236,7 +5236,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5236
5236
|
*
|
|
5237
5237
|
* @summary Toggle BNB Burn On UM Futures Trade (TRADE)
|
|
5238
5238
|
* @param {string} feeBurn "true": Fee Discount On; "false": Fee Discount Off
|
|
5239
|
-
* @param {number} [recvWindow]
|
|
5239
|
+
* @param {number | bigint} [recvWindow]
|
|
5240
5240
|
*
|
|
5241
5241
|
* @throws {RequiredError}
|
|
5242
5242
|
*/
|
|
@@ -5270,11 +5270,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5270
5270
|
*
|
|
5271
5271
|
* @summary UM Account Trade List(USER_DATA)
|
|
5272
5272
|
* @param {string} symbol
|
|
5273
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5274
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5275
|
-
* @param {number} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
5276
|
-
* @param {number} [limit] Default 100; max 1000
|
|
5277
|
-
* @param {number} [recvWindow]
|
|
5273
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5274
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5275
|
+
* @param {number | bigint} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
5276
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
5277
|
+
* @param {number | bigint} [recvWindow]
|
|
5278
5278
|
*
|
|
5279
5279
|
* @throws {RequiredError}
|
|
5280
5280
|
*/
|
|
@@ -5322,7 +5322,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5322
5322
|
*
|
|
5323
5323
|
* @summary UM Position ADL Quantile Estimation(USER_DATA)
|
|
5324
5324
|
* @param {string} [symbol]
|
|
5325
|
-
* @param {number} [recvWindow]
|
|
5325
|
+
* @param {number | bigint} [recvWindow]
|
|
5326
5326
|
*
|
|
5327
5327
|
* @throws {RequiredError}
|
|
5328
5328
|
*/
|
|
@@ -7658,6 +7658,7 @@ var RestAPI = class {
|
|
|
7658
7658
|
*
|
|
7659
7659
|
* @summary Account Balance(USER_DATA)
|
|
7660
7660
|
* @param {AccountBalanceRequest} requestParameters Request parameters.
|
|
7661
|
+
*
|
|
7661
7662
|
* @returns {Promise<RestApiResponse<AccountBalanceResponse>>}
|
|
7662
7663
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7663
7664
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Account-Balance Binance API Documentation}
|
|
@@ -7672,6 +7673,7 @@ var RestAPI = class {
|
|
|
7672
7673
|
*
|
|
7673
7674
|
* @summary Account Information(USER_DATA)
|
|
7674
7675
|
* @param {AccountInformationRequest} requestParameters Request parameters.
|
|
7676
|
+
*
|
|
7675
7677
|
* @returns {Promise<RestApiResponse<AccountInformationResponse>>}
|
|
7676
7678
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7677
7679
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Account-Information Binance API Documentation}
|
|
@@ -7688,6 +7690,7 @@ var RestAPI = class {
|
|
|
7688
7690
|
*
|
|
7689
7691
|
* @summary BNB transfer (TRADE)
|
|
7690
7692
|
* @param {BnbTransferRequest} requestParameters Request parameters.
|
|
7693
|
+
*
|
|
7691
7694
|
* @returns {Promise<RestApiResponse<BnbTransferResponse>>}
|
|
7692
7695
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7693
7696
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/BNB-transfer Binance API Documentation}
|
|
@@ -7702,6 +7705,7 @@ var RestAPI = class {
|
|
|
7702
7705
|
*
|
|
7703
7706
|
* @summary Change Auto-repay-futures Status(TRADE)
|
|
7704
7707
|
* @param {ChangeAutoRepayFuturesStatusRequest} requestParameters Request parameters.
|
|
7708
|
+
*
|
|
7705
7709
|
* @returns {Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>}
|
|
7706
7710
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7707
7711
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Change-Auto-repay-futures-Status Binance API Documentation}
|
|
@@ -7716,6 +7720,7 @@ var RestAPI = class {
|
|
|
7716
7720
|
*
|
|
7717
7721
|
* @summary Change CM Initial Leverage (TRADE)
|
|
7718
7722
|
* @param {ChangeCmInitialLeverageRequest} requestParameters Request parameters.
|
|
7723
|
+
*
|
|
7719
7724
|
* @returns {Promise<RestApiResponse<ChangeCmInitialLeverageResponse>>}
|
|
7720
7725
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7721
7726
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Change-CM-Initial-Leverage Binance API Documentation}
|
|
@@ -7730,6 +7735,7 @@ var RestAPI = class {
|
|
|
7730
7735
|
*
|
|
7731
7736
|
* @summary Change CM Position Mode(TRADE)
|
|
7732
7737
|
* @param {ChangeCmPositionModeRequest} requestParameters Request parameters.
|
|
7738
|
+
*
|
|
7733
7739
|
* @returns {Promise<RestApiResponse<ChangeCmPositionModeResponse>>}
|
|
7734
7740
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7735
7741
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Change-CM-Position-Mode Binance API Documentation}
|
|
@@ -7744,6 +7750,7 @@ var RestAPI = class {
|
|
|
7744
7750
|
*
|
|
7745
7751
|
* @summary Change UM Initial Leverage(TRADE)
|
|
7746
7752
|
* @param {ChangeUmInitialLeverageRequest} requestParameters Request parameters.
|
|
7753
|
+
*
|
|
7747
7754
|
* @returns {Promise<RestApiResponse<ChangeUmInitialLeverageResponse>>}
|
|
7748
7755
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7749
7756
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Change-UM-Initial-Leverage Binance API Documentation}
|
|
@@ -7758,6 +7765,7 @@ var RestAPI = class {
|
|
|
7758
7765
|
*
|
|
7759
7766
|
* @summary Change UM Position Mode(TRADE)
|
|
7760
7767
|
* @param {ChangeUmPositionModeRequest} requestParameters Request parameters.
|
|
7768
|
+
*
|
|
7761
7769
|
* @returns {Promise<RestApiResponse<ChangeUmPositionModeResponse>>}
|
|
7762
7770
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7763
7771
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Change-UM-Position-Mode Binance API Documentation}
|
|
@@ -7772,6 +7780,7 @@ var RestAPI = class {
|
|
|
7772
7780
|
*
|
|
7773
7781
|
* @summary CM Notional and Leverage Brackets(USER_DATA)
|
|
7774
7782
|
* @param {CmNotionalAndLeverageBracketsRequest} requestParameters Request parameters.
|
|
7783
|
+
*
|
|
7775
7784
|
* @returns {Promise<RestApiResponse<CmNotionalAndLeverageBracketsResponse>>}
|
|
7776
7785
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7777
7786
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/CM-Notional-and-Leverage-Brackets Binance API Documentation}
|
|
@@ -7789,6 +7798,7 @@ var RestAPI = class {
|
|
|
7789
7798
|
*
|
|
7790
7799
|
* @summary Fund Auto-collection(TRADE)
|
|
7791
7800
|
* @param {FundAutoCollectionRequest} requestParameters Request parameters.
|
|
7801
|
+
*
|
|
7792
7802
|
* @returns {Promise<RestApiResponse<FundAutoCollectionResponse>>}
|
|
7793
7803
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7794
7804
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Fund-Auto-collection Binance API Documentation}
|
|
@@ -7805,6 +7815,7 @@ var RestAPI = class {
|
|
|
7805
7815
|
*
|
|
7806
7816
|
* @summary Fund Collection by Asset(TRADE)
|
|
7807
7817
|
* @param {FundCollectionByAssetRequest} requestParameters Request parameters.
|
|
7818
|
+
*
|
|
7808
7819
|
* @returns {Promise<RestApiResponse<FundCollectionByAssetResponse>>}
|
|
7809
7820
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7810
7821
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Fund-Collection-by-Asset Binance API Documentation}
|
|
@@ -7819,6 +7830,7 @@ var RestAPI = class {
|
|
|
7819
7830
|
*
|
|
7820
7831
|
* @summary Get Auto-repay-futures Status(USER_DATA)
|
|
7821
7832
|
* @param {GetAutoRepayFuturesStatusRequest} requestParameters Request parameters.
|
|
7833
|
+
*
|
|
7822
7834
|
* @returns {Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>}
|
|
7823
7835
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7824
7836
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-Auto-repay-futures-Status Binance API Documentation}
|
|
@@ -7833,6 +7845,7 @@ var RestAPI = class {
|
|
|
7833
7845
|
*
|
|
7834
7846
|
* @summary Get CM Account Detail(USER_DATA)
|
|
7835
7847
|
* @param {GetCmAccountDetailRequest} requestParameters Request parameters.
|
|
7848
|
+
*
|
|
7836
7849
|
* @returns {Promise<RestApiResponse<GetCmAccountDetailResponse>>}
|
|
7837
7850
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7838
7851
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-CM-Account-Detail Binance API Documentation}
|
|
@@ -7847,6 +7860,7 @@ var RestAPI = class {
|
|
|
7847
7860
|
*
|
|
7848
7861
|
* @summary Get CM Current Position Mode(USER_DATA)
|
|
7849
7862
|
* @param {GetCmCurrentPositionModeRequest} requestParameters Request parameters.
|
|
7863
|
+
*
|
|
7850
7864
|
* @returns {Promise<RestApiResponse<GetCmCurrentPositionModeResponse>>}
|
|
7851
7865
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7852
7866
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-CM-Current-Position-Mode Binance API Documentation}
|
|
@@ -7867,6 +7881,7 @@ var RestAPI = class {
|
|
|
7867
7881
|
*
|
|
7868
7882
|
* @summary Get CM Income History(USER_DATA)
|
|
7869
7883
|
* @param {GetCmIncomeHistoryRequest} requestParameters Request parameters.
|
|
7884
|
+
*
|
|
7870
7885
|
* @returns {Promise<RestApiResponse<GetCmIncomeHistoryResponse>>}
|
|
7871
7886
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7872
7887
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-CM-Income-History Binance API Documentation}
|
|
@@ -7884,6 +7899,7 @@ var RestAPI = class {
|
|
|
7884
7899
|
*
|
|
7885
7900
|
* @summary Get Download Id For UM Futures Order History (USER_DATA)
|
|
7886
7901
|
* @param {GetDownloadIdForUmFuturesOrderHistoryRequest} requestParameters Request parameters.
|
|
7902
|
+
*
|
|
7887
7903
|
* @returns {Promise<RestApiResponse<GetDownloadIdForUmFuturesOrderHistoryResponse>>}
|
|
7888
7904
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7889
7905
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-Download-Id-For-UM-Futures-Order-History Binance API Documentation}
|
|
@@ -7901,6 +7917,7 @@ var RestAPI = class {
|
|
|
7901
7917
|
*
|
|
7902
7918
|
* @summary Get Download Id For UM Futures Trade History (USER_DATA)
|
|
7903
7919
|
* @param {GetDownloadIdForUmFuturesTradeHistoryRequest} requestParameters Request parameters.
|
|
7920
|
+
*
|
|
7904
7921
|
* @returns {Promise<RestApiResponse<GetDownloadIdForUmFuturesTradeHistoryResponse>>}
|
|
7905
7922
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7906
7923
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-Download-Id-For-UM-Futures-Trade-History Binance API Documentation}
|
|
@@ -7918,6 +7935,7 @@ var RestAPI = class {
|
|
|
7918
7935
|
*
|
|
7919
7936
|
* @summary Get Download Id For UM Futures Transaction History (USER_DATA)
|
|
7920
7937
|
* @param {GetDownloadIdForUmFuturesTransactionHistoryRequest} requestParameters Request parameters.
|
|
7938
|
+
*
|
|
7921
7939
|
* @returns {Promise<RestApiResponse<GetDownloadIdForUmFuturesTransactionHistoryResponse>>}
|
|
7922
7940
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7923
7941
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-Download-Id-For-UM-Futures-Transaction-History Binance API Documentation}
|
|
@@ -7945,6 +7963,7 @@ var RestAPI = class {
|
|
|
7945
7963
|
*
|
|
7946
7964
|
* @summary Get Margin Borrow/Loan Interest History(USER_DATA)
|
|
7947
7965
|
* @param {GetMarginBorrowLoanInterestHistoryRequest} requestParameters Request parameters.
|
|
7966
|
+
*
|
|
7948
7967
|
* @returns {Promise<RestApiResponse<GetMarginBorrowLoanInterestHistoryResponse>>}
|
|
7949
7968
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7950
7969
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-Margin-BorrowLoan-Interest-History Binance API Documentation}
|
|
@@ -7959,6 +7978,7 @@ var RestAPI = class {
|
|
|
7959
7978
|
*
|
|
7960
7979
|
* @summary Get UM Account Detail(USER_DATA)
|
|
7961
7980
|
* @param {GetUmAccountDetailRequest} requestParameters Request parameters.
|
|
7981
|
+
*
|
|
7962
7982
|
* @returns {Promise<RestApiResponse<GetUmAccountDetailResponse>>}
|
|
7963
7983
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7964
7984
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-UM-Account-Detail Binance API Documentation}
|
|
@@ -7973,6 +7993,7 @@ var RestAPI = class {
|
|
|
7973
7993
|
*
|
|
7974
7994
|
* @summary Get UM Account Detail V2(USER_DATA)
|
|
7975
7995
|
* @param {GetUmAccountDetailV2Request} requestParameters Request parameters.
|
|
7996
|
+
*
|
|
7976
7997
|
* @returns {Promise<RestApiResponse<GetUmAccountDetailV2Response>>}
|
|
7977
7998
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7978
7999
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-UM-Account-Detail-V2 Binance API Documentation}
|
|
@@ -7987,6 +8008,7 @@ var RestAPI = class {
|
|
|
7987
8008
|
*
|
|
7988
8009
|
* @summary Get UM Current Position Mode(USER_DATA)
|
|
7989
8010
|
* @param {GetUmCurrentPositionModeRequest} requestParameters Request parameters.
|
|
8011
|
+
*
|
|
7990
8012
|
* @returns {Promise<RestApiResponse<GetUmCurrentPositionModeResponse>>}
|
|
7991
8013
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7992
8014
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-UM-Current-Position-Mode Binance API Documentation}
|
|
@@ -8003,6 +8025,7 @@ var RestAPI = class {
|
|
|
8003
8025
|
*
|
|
8004
8026
|
* @summary Get UM Futures Order Download Link by Id(USER_DATA)
|
|
8005
8027
|
* @param {GetUmFuturesOrderDownloadLinkByIdRequest} requestParameters Request parameters.
|
|
8028
|
+
*
|
|
8006
8029
|
* @returns {Promise<RestApiResponse<GetUmFuturesOrderDownloadLinkByIdResponse>>}
|
|
8007
8030
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8008
8031
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-UM-Futures-Order-Download-Link-by-Id Binance API Documentation}
|
|
@@ -8019,6 +8042,7 @@ var RestAPI = class {
|
|
|
8019
8042
|
*
|
|
8020
8043
|
* @summary Get UM Futures Trade Download Link by Id(USER_DATA)
|
|
8021
8044
|
* @param {GetUmFuturesTradeDownloadLinkByIdRequest} requestParameters Request parameters.
|
|
8045
|
+
*
|
|
8022
8046
|
* @returns {Promise<RestApiResponse<GetUmFuturesTradeDownloadLinkByIdResponse>>}
|
|
8023
8047
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8024
8048
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-UM-Futures-Trade-Download-Link-by-Id Binance API Documentation}
|
|
@@ -8035,6 +8059,7 @@ var RestAPI = class {
|
|
|
8035
8059
|
*
|
|
8036
8060
|
* @summary Get UM Futures Transaction Download Link by Id(USER_DATA)
|
|
8037
8061
|
* @param {GetUmFuturesTransactionDownloadLinkByIdRequest} requestParameters Request parameters.
|
|
8062
|
+
*
|
|
8038
8063
|
* @returns {Promise<RestApiResponse<GetUmFuturesTransactionDownloadLinkByIdResponse>>}
|
|
8039
8064
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8040
8065
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-UM-Futures-Transaction-Download-Link-by-Id Binance API Documentation}
|
|
@@ -8054,6 +8079,7 @@ var RestAPI = class {
|
|
|
8054
8079
|
*
|
|
8055
8080
|
* @summary Get UM Income History(USER_DATA)
|
|
8056
8081
|
* @param {GetUmIncomeHistoryRequest} requestParameters Request parameters.
|
|
8082
|
+
*
|
|
8057
8083
|
* @returns {Promise<RestApiResponse<GetUmIncomeHistoryResponse>>}
|
|
8058
8084
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8059
8085
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-UM-Income-History Binance API Documentation}
|
|
@@ -8068,6 +8094,7 @@ var RestAPI = class {
|
|
|
8068
8094
|
*
|
|
8069
8095
|
* @summary Get User Commission Rate for CM(USER_DATA)
|
|
8070
8096
|
* @param {GetUserCommissionRateForCmRequest} requestParameters Request parameters.
|
|
8097
|
+
*
|
|
8071
8098
|
* @returns {Promise<RestApiResponse<GetUserCommissionRateForCmResponse>>}
|
|
8072
8099
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8073
8100
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-User-Commission-Rate-for-CM Binance API Documentation}
|
|
@@ -8082,6 +8109,7 @@ var RestAPI = class {
|
|
|
8082
8109
|
*
|
|
8083
8110
|
* @summary Get User Commission Rate for UM(USER_DATA)
|
|
8084
8111
|
* @param {GetUserCommissionRateForUmRequest} requestParameters Request parameters.
|
|
8112
|
+
*
|
|
8085
8113
|
* @returns {Promise<RestApiResponse<GetUserCommissionRateForUmResponse>>}
|
|
8086
8114
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8087
8115
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-User-Commission-Rate-for-UM Binance API Documentation}
|
|
@@ -8096,6 +8124,7 @@ var RestAPI = class {
|
|
|
8096
8124
|
*
|
|
8097
8125
|
* @summary Margin Max Borrow(USER_DATA)
|
|
8098
8126
|
* @param {MarginMaxBorrowRequest} requestParameters Request parameters.
|
|
8127
|
+
*
|
|
8099
8128
|
* @returns {Promise<RestApiResponse<MarginMaxBorrowResponse>>}
|
|
8100
8129
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8101
8130
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Margin-Max-Borrow Binance API Documentation}
|
|
@@ -8111,6 +8140,7 @@ var RestAPI = class {
|
|
|
8111
8140
|
*
|
|
8112
8141
|
* @summary Portfolio Margin UM Trading Quantitative Rules Indicators(USER_DATA)
|
|
8113
8142
|
* @param {PortfolioMarginUmTradingQuantitativeRulesIndicatorsRequest} requestParameters Request parameters.
|
|
8143
|
+
*
|
|
8114
8144
|
* @returns {Promise<RestApiResponse<PortfolioMarginUmTradingQuantitativeRulesIndicatorsResponse>>}
|
|
8115
8145
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8116
8146
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Portfolio-Margin-UM-Trading-Quantitative-Rules-Indicators Binance API Documentation}
|
|
@@ -8132,6 +8162,7 @@ var RestAPI = class {
|
|
|
8132
8162
|
*
|
|
8133
8163
|
* @summary Query CM Position Information(USER_DATA)
|
|
8134
8164
|
* @param {QueryCmPositionInformationRequest} requestParameters Request parameters.
|
|
8165
|
+
*
|
|
8135
8166
|
* @returns {Promise<RestApiResponse<QueryCmPositionInformationResponse>>}
|
|
8136
8167
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8137
8168
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Query-CM-Position-Information Binance API Documentation}
|
|
@@ -8152,6 +8183,7 @@ var RestAPI = class {
|
|
|
8152
8183
|
*
|
|
8153
8184
|
* @summary Query Margin Loan Record(USER_DATA)
|
|
8154
8185
|
* @param {QueryMarginLoanRecordRequest} requestParameters Request parameters.
|
|
8186
|
+
*
|
|
8155
8187
|
* @returns {Promise<RestApiResponse<QueryMarginLoanRecordResponse>>}
|
|
8156
8188
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8157
8189
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Query-Margin-Loan-Record Binance API Documentation}
|
|
@@ -8166,6 +8198,7 @@ var RestAPI = class {
|
|
|
8166
8198
|
*
|
|
8167
8199
|
* @summary Query Margin Max Withdraw(USER_DATA)
|
|
8168
8200
|
* @param {QueryMarginMaxWithdrawRequest} requestParameters Request parameters.
|
|
8201
|
+
*
|
|
8169
8202
|
* @returns {Promise<RestApiResponse<QueryMarginMaxWithdrawResponse>>}
|
|
8170
8203
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8171
8204
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Query-Margin-Max-Withdraw Binance API Documentation}
|
|
@@ -8186,6 +8219,7 @@ var RestAPI = class {
|
|
|
8186
8219
|
*
|
|
8187
8220
|
* @summary Query Margin repay Record(USER_DATA)
|
|
8188
8221
|
* @param {QueryMarginRepayRecordRequest} requestParameters Request parameters.
|
|
8222
|
+
*
|
|
8189
8223
|
* @returns {Promise<RestApiResponse<QueryMarginRepayRecordResponse>>}
|
|
8190
8224
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8191
8225
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Query-Margin-repay-Record Binance API Documentation}
|
|
@@ -8206,6 +8240,7 @@ var RestAPI = class {
|
|
|
8206
8240
|
*
|
|
8207
8241
|
* @summary Query Portfolio Margin Negative Balance Interest History(USER_DATA)
|
|
8208
8242
|
* @param {QueryPortfolioMarginNegativeBalanceInterestHistoryRequest} requestParameters Request parameters.
|
|
8243
|
+
*
|
|
8209
8244
|
* @returns {Promise<RestApiResponse<QueryPortfolioMarginNegativeBalanceInterestHistoryResponse>>}
|
|
8210
8245
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8211
8246
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Query-Portfolio-Margin-Negative-Balance-Interest-History Binance API Documentation}
|
|
@@ -8226,6 +8261,7 @@ var RestAPI = class {
|
|
|
8226
8261
|
*
|
|
8227
8262
|
* @summary Query UM Position Information(USER_DATA)
|
|
8228
8263
|
* @param {QueryUmPositionInformationRequest} requestParameters Request parameters.
|
|
8264
|
+
*
|
|
8229
8265
|
* @returns {Promise<RestApiResponse<QueryUmPositionInformationResponse>>}
|
|
8230
8266
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8231
8267
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Query-UM-Position-Information Binance API Documentation}
|
|
@@ -8243,6 +8279,7 @@ var RestAPI = class {
|
|
|
8243
8279
|
*
|
|
8244
8280
|
* @summary Query User Negative Balance Auto Exchange Record (USER_DATA)
|
|
8245
8281
|
* @param {QueryUserNegativeBalanceAutoExchangeRecordRequest} requestParameters Request parameters.
|
|
8282
|
+
*
|
|
8246
8283
|
* @returns {Promise<RestApiResponse<QueryUserNegativeBalanceAutoExchangeRecordResponse>>}
|
|
8247
8284
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8248
8285
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Query-User-Negative-Balance-Auto-Exchange-Record Binance API Documentation}
|
|
@@ -8257,6 +8294,7 @@ var RestAPI = class {
|
|
|
8257
8294
|
*
|
|
8258
8295
|
* @summary Query User Rate Limit (USER_DATA)
|
|
8259
8296
|
* @param {QueryUserRateLimitRequest} requestParameters Request parameters.
|
|
8297
|
+
*
|
|
8260
8298
|
* @returns {Promise<RestApiResponse<QueryUserRateLimitResponse>>}
|
|
8261
8299
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8262
8300
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Query-User-Rate-Limit Binance API Documentation}
|
|
@@ -8271,6 +8309,7 @@ var RestAPI = class {
|
|
|
8271
8309
|
*
|
|
8272
8310
|
* @summary Repay futures Negative Balance(USER_DATA)
|
|
8273
8311
|
* @param {RepayFuturesNegativeBalanceRequest} requestParameters Request parameters.
|
|
8312
|
+
*
|
|
8274
8313
|
* @returns {Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>}
|
|
8275
8314
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8276
8315
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Repay-futures-Negative-Balance Binance API Documentation}
|
|
@@ -8285,6 +8324,7 @@ var RestAPI = class {
|
|
|
8285
8324
|
*
|
|
8286
8325
|
* @summary UM Futures Account Configuration(USER_DATA)
|
|
8287
8326
|
* @param {UmFuturesAccountConfigurationRequest} requestParameters Request parameters.
|
|
8327
|
+
*
|
|
8288
8328
|
* @returns {Promise<RestApiResponse<UmFuturesAccountConfigurationResponse>>}
|
|
8289
8329
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8290
8330
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-UM-Futures-Account-Config Binance API Documentation}
|
|
@@ -8299,6 +8339,7 @@ var RestAPI = class {
|
|
|
8299
8339
|
*
|
|
8300
8340
|
* @summary UM Futures Symbol Configuration(USER_DATA)
|
|
8301
8341
|
* @param {UmFuturesSymbolConfigurationRequest} requestParameters Request parameters.
|
|
8342
|
+
*
|
|
8302
8343
|
* @returns {Promise<RestApiResponse<UmFuturesSymbolConfigurationResponse>>}
|
|
8303
8344
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8304
8345
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/Get-UM-Futures-Symbol-Config Binance API Documentation}
|
|
@@ -8313,6 +8354,7 @@ var RestAPI = class {
|
|
|
8313
8354
|
*
|
|
8314
8355
|
* @summary UM Notional and Leverage Brackets (USER_DATA)
|
|
8315
8356
|
* @param {UmNotionalAndLeverageBracketsRequest} requestParameters Request parameters.
|
|
8357
|
+
*
|
|
8316
8358
|
* @returns {Promise<RestApiResponse<UmNotionalAndLeverageBracketsResponse>>}
|
|
8317
8359
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8318
8360
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/account/UM-Notional-and-Leverage-Brackets Binance API Documentation}
|
|
@@ -8326,6 +8368,7 @@ var RestAPI = class {
|
|
|
8326
8368
|
* Weight: 1
|
|
8327
8369
|
*
|
|
8328
8370
|
* @summary Test Connectivity
|
|
8371
|
+
*
|
|
8329
8372
|
* @returns {Promise<RestApiResponse<void>>}
|
|
8330
8373
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8331
8374
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/market-data/Test-Connectivity Binance API Documentation}
|
|
@@ -8340,6 +8383,7 @@ var RestAPI = class {
|
|
|
8340
8383
|
*
|
|
8341
8384
|
* @summary Cancel All CM Open Conditional Orders(TRADE)
|
|
8342
8385
|
* @param {CancelAllCmOpenConditionalOrdersRequest} requestParameters Request parameters.
|
|
8386
|
+
*
|
|
8343
8387
|
* @returns {Promise<RestApiResponse<CancelAllCmOpenConditionalOrdersResponse>>}
|
|
8344
8388
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8345
8389
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-All-CM-Open-Conditional-Orders Binance API Documentation}
|
|
@@ -8354,6 +8398,7 @@ var RestAPI = class {
|
|
|
8354
8398
|
*
|
|
8355
8399
|
* @summary Cancel All CM Open Orders(TRADE)
|
|
8356
8400
|
* @param {CancelAllCmOpenOrdersRequest} requestParameters Request parameters.
|
|
8401
|
+
*
|
|
8357
8402
|
* @returns {Promise<RestApiResponse<CancelAllCmOpenOrdersResponse>>}
|
|
8358
8403
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8359
8404
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-All-CM-Open-Orders Binance API Documentation}
|
|
@@ -8368,6 +8413,7 @@ var RestAPI = class {
|
|
|
8368
8413
|
*
|
|
8369
8414
|
* @summary Cancel All UM Open Conditional Orders (TRADE)
|
|
8370
8415
|
* @param {CancelAllUmOpenConditionalOrdersRequest} requestParameters Request parameters.
|
|
8416
|
+
*
|
|
8371
8417
|
* @returns {Promise<RestApiResponse<CancelAllUmOpenConditionalOrdersResponse>>}
|
|
8372
8418
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8373
8419
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-All-UM-Open-Conditional-Orders Binance API Documentation}
|
|
@@ -8382,6 +8428,7 @@ var RestAPI = class {
|
|
|
8382
8428
|
*
|
|
8383
8429
|
* @summary Cancel All UM Open Orders(TRADE)
|
|
8384
8430
|
* @param {CancelAllUmOpenOrdersRequest} requestParameters Request parameters.
|
|
8431
|
+
*
|
|
8385
8432
|
* @returns {Promise<RestApiResponse<CancelAllUmOpenOrdersResponse>>}
|
|
8386
8433
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8387
8434
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-All-UM-Open-Orders Binance API Documentation}
|
|
@@ -8398,6 +8445,7 @@ var RestAPI = class {
|
|
|
8398
8445
|
*
|
|
8399
8446
|
* @summary Cancel CM Conditional Order(TRADE)
|
|
8400
8447
|
* @param {CancelCmConditionalOrderRequest} requestParameters Request parameters.
|
|
8448
|
+
*
|
|
8401
8449
|
* @returns {Promise<RestApiResponse<CancelCmConditionalOrderResponse>>}
|
|
8402
8450
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8403
8451
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-CM-Conditional-Order Binance API Documentation}
|
|
@@ -8414,6 +8462,7 @@ var RestAPI = class {
|
|
|
8414
8462
|
*
|
|
8415
8463
|
* @summary Cancel CM Order(TRADE)
|
|
8416
8464
|
* @param {CancelCmOrderRequest} requestParameters Request parameters.
|
|
8465
|
+
*
|
|
8417
8466
|
* @returns {Promise<RestApiResponse<CancelCmOrderResponse>>}
|
|
8418
8467
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8419
8468
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-CM-Order Binance API Documentation}
|
|
@@ -8428,6 +8477,7 @@ var RestAPI = class {
|
|
|
8428
8477
|
*
|
|
8429
8478
|
* @summary Cancel Margin Account All Open Orders on a Symbol(TRADE)
|
|
8430
8479
|
* @param {CancelMarginAccountAllOpenOrdersOnASymbolRequest} requestParameters Request parameters.
|
|
8480
|
+
*
|
|
8431
8481
|
* @returns {Promise<RestApiResponse<CancelMarginAccountAllOpenOrdersOnASymbolResponse>>}
|
|
8432
8482
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8433
8483
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-Margin-Account-All-Open-Orders-on-a-Symbol Binance API Documentation}
|
|
@@ -8444,6 +8494,7 @@ var RestAPI = class {
|
|
|
8444
8494
|
*
|
|
8445
8495
|
* @summary Cancel Margin Account OCO Orders(TRADE)
|
|
8446
8496
|
* @param {CancelMarginAccountOcoOrdersRequest} requestParameters Request parameters.
|
|
8497
|
+
*
|
|
8447
8498
|
* @returns {Promise<RestApiResponse<CancelMarginAccountOcoOrdersResponse>>}
|
|
8448
8499
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8449
8500
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-Margin-Account-OCO-Orders Binance API Documentation}
|
|
@@ -8460,6 +8511,7 @@ var RestAPI = class {
|
|
|
8460
8511
|
*
|
|
8461
8512
|
* @summary Cancel Margin Account Order(TRADE)
|
|
8462
8513
|
* @param {CancelMarginAccountOrderRequest} requestParameters Request parameters.
|
|
8514
|
+
*
|
|
8463
8515
|
* @returns {Promise<RestApiResponse<CancelMarginAccountOrderResponse>>}
|
|
8464
8516
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8465
8517
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-Margin-Account-Order Binance API Documentation}
|
|
@@ -8476,6 +8528,7 @@ var RestAPI = class {
|
|
|
8476
8528
|
*
|
|
8477
8529
|
* @summary Cancel UM Conditional Order(TRADE)
|
|
8478
8530
|
* @param {CancelUmConditionalOrderRequest} requestParameters Request parameters.
|
|
8531
|
+
*
|
|
8479
8532
|
* @returns {Promise<RestApiResponse<CancelUmConditionalOrderResponse>>}
|
|
8480
8533
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8481
8534
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-UM-Conditional-Order Binance API Documentation}
|
|
@@ -8492,6 +8545,7 @@ var RestAPI = class {
|
|
|
8492
8545
|
*
|
|
8493
8546
|
* @summary Cancel UM Order(TRADE)
|
|
8494
8547
|
* @param {CancelUmOrderRequest} requestParameters Request parameters.
|
|
8548
|
+
*
|
|
8495
8549
|
* @returns {Promise<RestApiResponse<CancelUmOrderResponse>>}
|
|
8496
8550
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8497
8551
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Cancel-UM-Order Binance API Documentation}
|
|
@@ -8515,6 +8569,7 @@ var RestAPI = class {
|
|
|
8515
8569
|
*
|
|
8516
8570
|
* @summary CM Account Trade List(USER_DATA)
|
|
8517
8571
|
* @param {CmAccountTradeListRequest} requestParameters Request parameters.
|
|
8572
|
+
*
|
|
8518
8573
|
* @returns {Promise<RestApiResponse<CmAccountTradeListResponse>>}
|
|
8519
8574
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8520
8575
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/CM-Account-Trade-List Binance API Documentation}
|
|
@@ -8535,6 +8590,7 @@ var RestAPI = class {
|
|
|
8535
8590
|
*
|
|
8536
8591
|
* @summary CM Position ADL Quantile Estimation(USER_DATA)
|
|
8537
8592
|
* @param {CmPositionAdlQuantileEstimationRequest} requestParameters Request parameters.
|
|
8593
|
+
*
|
|
8538
8594
|
* @returns {Promise<RestApiResponse<CmPositionAdlQuantileEstimationResponse>>}
|
|
8539
8595
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8540
8596
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/CM-Position-ADL-Quantile-Estimation Binance API Documentation}
|
|
@@ -8549,6 +8605,7 @@ var RestAPI = class {
|
|
|
8549
8605
|
*
|
|
8550
8606
|
* @summary Get UM Futures BNB Burn Status (USER_DATA)
|
|
8551
8607
|
* @param {GetUmFuturesBnbBurnStatusRequest} requestParameters Request parameters.
|
|
8608
|
+
*
|
|
8552
8609
|
* @returns {Promise<RestApiResponse<GetUmFuturesBnbBurnStatusResponse>>}
|
|
8553
8610
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8554
8611
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Get-UM-Futures-BNB-Burn-Status Binance API Documentation}
|
|
@@ -8563,6 +8620,7 @@ var RestAPI = class {
|
|
|
8563
8620
|
*
|
|
8564
8621
|
* @summary Margin Account Borrow(MARGIN)
|
|
8565
8622
|
* @param {MarginAccountBorrowRequest} requestParameters Request parameters.
|
|
8623
|
+
*
|
|
8566
8624
|
* @returns {Promise<RestApiResponse<MarginAccountBorrowResponse>>}
|
|
8567
8625
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8568
8626
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Margin-Account-Borrow Binance API Documentation}
|
|
@@ -8586,6 +8644,7 @@ var RestAPI = class {
|
|
|
8586
8644
|
*
|
|
8587
8645
|
* @summary Margin Account New OCO(TRADE)
|
|
8588
8646
|
* @param {MarginAccountNewOcoRequest} requestParameters Request parameters.
|
|
8647
|
+
*
|
|
8589
8648
|
* @returns {Promise<RestApiResponse<MarginAccountNewOcoResponse>>}
|
|
8590
8649
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8591
8650
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Margin-Account-New-OCO Binance API Documentation}
|
|
@@ -8600,6 +8659,7 @@ var RestAPI = class {
|
|
|
8600
8659
|
*
|
|
8601
8660
|
* @summary Margin Account Repay(MARGIN)
|
|
8602
8661
|
* @param {MarginAccountRepayRequest} requestParameters Request parameters.
|
|
8662
|
+
*
|
|
8603
8663
|
* @returns {Promise<RestApiResponse<MarginAccountRepayResponse>>}
|
|
8604
8664
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8605
8665
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Margin-Account-Repay Binance API Documentation}
|
|
@@ -8619,6 +8679,7 @@ var RestAPI = class {
|
|
|
8619
8679
|
*
|
|
8620
8680
|
* @summary Margin Account Repay Debt(TRADE)
|
|
8621
8681
|
* @param {MarginAccountRepayDebtRequest} requestParameters Request parameters.
|
|
8682
|
+
*
|
|
8622
8683
|
* @returns {Promise<RestApiResponse<MarginAccountRepayDebtResponse>>}
|
|
8623
8684
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8624
8685
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Margin-Account-Repay-Debt Binance API Documentation}
|
|
@@ -8633,6 +8694,7 @@ var RestAPI = class {
|
|
|
8633
8694
|
*
|
|
8634
8695
|
* @summary Margin Account Trade List (USER_DATA)
|
|
8635
8696
|
* @param {MarginAccountTradeListRequest} requestParameters Request parameters.
|
|
8697
|
+
*
|
|
8636
8698
|
* @returns {Promise<RestApiResponse<MarginAccountTradeListResponse>>}
|
|
8637
8699
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8638
8700
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Margin-Account-Trade-List Binance API Documentation}
|
|
@@ -8654,6 +8716,7 @@ var RestAPI = class {
|
|
|
8654
8716
|
*
|
|
8655
8717
|
* @summary Modify CM Order(TRADE)
|
|
8656
8718
|
* @param {ModifyCmOrderRequest} requestParameters Request parameters.
|
|
8719
|
+
*
|
|
8657
8720
|
* @returns {Promise<RestApiResponse<ModifyCmOrderResponse>>}
|
|
8658
8721
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8659
8722
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Modify-CM-Order Binance API Documentation}
|
|
@@ -8675,6 +8738,7 @@ var RestAPI = class {
|
|
|
8675
8738
|
*
|
|
8676
8739
|
* @summary Modify UM Order(TRADE)
|
|
8677
8740
|
* @param {ModifyUmOrderRequest} requestParameters Request parameters.
|
|
8741
|
+
*
|
|
8678
8742
|
* @returns {Promise<RestApiResponse<ModifyUmOrderResponse>>}
|
|
8679
8743
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8680
8744
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Modify-UM-Order Binance API Documentation}
|
|
@@ -8714,6 +8778,7 @@ var RestAPI = class {
|
|
|
8714
8778
|
*
|
|
8715
8779
|
* @summary New CM Conditional Order(TRADE)
|
|
8716
8780
|
* @param {NewCmConditionalOrderRequest} requestParameters Request parameters.
|
|
8781
|
+
*
|
|
8717
8782
|
* @returns {Promise<RestApiResponse<NewCmConditionalOrderResponse>>}
|
|
8718
8783
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8719
8784
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/New-CM-Conditional-Order Binance API Documentation}
|
|
@@ -8732,6 +8797,7 @@ var RestAPI = class {
|
|
|
8732
8797
|
*
|
|
8733
8798
|
* @summary New CM Order(TRADE)
|
|
8734
8799
|
* @param {NewCmOrderRequest} requestParameters Request parameters.
|
|
8800
|
+
*
|
|
8735
8801
|
* @returns {Promise<RestApiResponse<NewCmOrderResponse>>}
|
|
8736
8802
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8737
8803
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/New-CM-Order Binance API Documentation}
|
|
@@ -8746,6 +8812,7 @@ var RestAPI = class {
|
|
|
8746
8812
|
*
|
|
8747
8813
|
* @summary New Margin Order(TRADE)
|
|
8748
8814
|
* @param {NewMarginOrderRequest} requestParameters Request parameters.
|
|
8815
|
+
*
|
|
8749
8816
|
* @returns {Promise<RestApiResponse<NewMarginOrderResponse>>}
|
|
8750
8817
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8751
8818
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/New-Margin-Order Binance API Documentation}
|
|
@@ -8787,6 +8854,7 @@ var RestAPI = class {
|
|
|
8787
8854
|
*
|
|
8788
8855
|
* @summary New UM Conditional Order (TRADE)
|
|
8789
8856
|
* @param {NewUmConditionalOrderRequest} requestParameters Request parameters.
|
|
8857
|
+
*
|
|
8790
8858
|
* @returns {Promise<RestApiResponse<NewUmConditionalOrderResponse>>}
|
|
8791
8859
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8792
8860
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/New-UM-Conditional-Order Binance API Documentation}
|
|
@@ -8807,6 +8875,7 @@ var RestAPI = class {
|
|
|
8807
8875
|
*
|
|
8808
8876
|
* @summary New UM Order (TRADE)
|
|
8809
8877
|
* @param {NewUmOrderRequest} requestParameters Request parameters.
|
|
8878
|
+
*
|
|
8810
8879
|
* @returns {Promise<RestApiResponse<NewUmOrderResponse>>}
|
|
8811
8880
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8812
8881
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/New-UM-Order Binance API Documentation}
|
|
@@ -8827,6 +8896,7 @@ var RestAPI = class {
|
|
|
8827
8896
|
*
|
|
8828
8897
|
* @summary Query All CM Conditional Orders(USER_DATA)
|
|
8829
8898
|
* @param {QueryAllCmConditionalOrdersRequest} requestParameters Request parameters.
|
|
8899
|
+
*
|
|
8830
8900
|
* @returns {Promise<RestApiResponse<QueryAllCmConditionalOrdersResponse>>}
|
|
8831
8901
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8832
8902
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-All-CM-Conditional-Orders Binance API Documentation}
|
|
@@ -8848,6 +8918,7 @@ var RestAPI = class {
|
|
|
8848
8918
|
*
|
|
8849
8919
|
* @summary Query All CM Orders (USER_DATA)
|
|
8850
8920
|
* @param {QueryAllCmOrdersRequest} requestParameters Request parameters.
|
|
8921
|
+
*
|
|
8851
8922
|
* @returns {Promise<RestApiResponse<QueryAllCmOrdersResponse>>}
|
|
8852
8923
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8853
8924
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-All-CM-Orders Binance API Documentation}
|
|
@@ -8864,6 +8935,7 @@ var RestAPI = class {
|
|
|
8864
8935
|
*
|
|
8865
8936
|
* @summary Query All Current CM Open Conditional Orders (USER_DATA)
|
|
8866
8937
|
* @param {QueryAllCurrentCmOpenConditionalOrdersRequest} requestParameters Request parameters.
|
|
8938
|
+
*
|
|
8867
8939
|
* @returns {Promise<RestApiResponse<QueryAllCurrentCmOpenConditionalOrdersResponse>>}
|
|
8868
8940
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8869
8941
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-All-Current-CM-Open-Conditional-Orders Binance API Documentation}
|
|
@@ -8881,6 +8953,7 @@ var RestAPI = class {
|
|
|
8881
8953
|
*
|
|
8882
8954
|
* @summary Query All Current CM Open Orders(USER_DATA)
|
|
8883
8955
|
* @param {QueryAllCurrentCmOpenOrdersRequest} requestParameters Request parameters.
|
|
8956
|
+
*
|
|
8884
8957
|
* @returns {Promise<RestApiResponse<QueryAllCurrentCmOpenOrdersResponse>>}
|
|
8885
8958
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8886
8959
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-All-Current-CM-Open-Orders Binance API Documentation}
|
|
@@ -8898,6 +8971,7 @@ var RestAPI = class {
|
|
|
8898
8971
|
*
|
|
8899
8972
|
* @summary Query All Current UM Open Conditional Orders(USER_DATA)
|
|
8900
8973
|
* @param {QueryAllCurrentUmOpenConditionalOrdersRequest} requestParameters Request parameters.
|
|
8974
|
+
*
|
|
8901
8975
|
* @returns {Promise<RestApiResponse<QueryAllCurrentUmOpenConditionalOrdersResponse>>}
|
|
8902
8976
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8903
8977
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-All-Current-UM-Open-Conditional-Orders Binance API Documentation}
|
|
@@ -8915,6 +8989,7 @@ var RestAPI = class {
|
|
|
8915
8989
|
*
|
|
8916
8990
|
* @summary Query All Current UM Open Orders(USER_DATA)
|
|
8917
8991
|
* @param {QueryAllCurrentUmOpenOrdersRequest} requestParameters Request parameters.
|
|
8992
|
+
*
|
|
8918
8993
|
* @returns {Promise<RestApiResponse<QueryAllCurrentUmOpenOrdersResponse>>}
|
|
8919
8994
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8920
8995
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-All-Current-UM-Open-Orders Binance API Documentation}
|
|
@@ -8929,6 +9004,7 @@ var RestAPI = class {
|
|
|
8929
9004
|
*
|
|
8930
9005
|
* @summary Query All Margin Account Orders (USER_DATA)
|
|
8931
9006
|
* @param {QueryAllMarginAccountOrdersRequest} requestParameters Request parameters.
|
|
9007
|
+
*
|
|
8932
9008
|
* @returns {Promise<RestApiResponse<QueryAllMarginAccountOrdersResponse>>}
|
|
8933
9009
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8934
9010
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-All-Margin-Account-Orders Binance API Documentation}
|
|
@@ -8949,6 +9025,7 @@ var RestAPI = class {
|
|
|
8949
9025
|
*
|
|
8950
9026
|
* @summary Query All UM Conditional Orders(USER_DATA)
|
|
8951
9027
|
* @param {QueryAllUmConditionalOrdersRequest} requestParameters Request parameters.
|
|
9028
|
+
*
|
|
8952
9029
|
* @returns {Promise<RestApiResponse<QueryAllUmConditionalOrdersResponse>>}
|
|
8953
9030
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8954
9031
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-All-UM-Conditional-Orders Binance API Documentation}
|
|
@@ -8970,6 +9047,7 @@ var RestAPI = class {
|
|
|
8970
9047
|
*
|
|
8971
9048
|
* @summary Query All UM Orders(USER_DATA)
|
|
8972
9049
|
* @param {QueryAllUmOrdersRequest} requestParameters Request parameters.
|
|
9050
|
+
*
|
|
8973
9051
|
* @returns {Promise<RestApiResponse<QueryAllUmOrdersResponse>>}
|
|
8974
9052
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8975
9053
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-All-UM-Orders Binance API Documentation}
|
|
@@ -8992,6 +9070,7 @@ var RestAPI = class {
|
|
|
8992
9070
|
*
|
|
8993
9071
|
* @summary Query CM Conditional Order History(USER_DATA)
|
|
8994
9072
|
* @param {QueryCmConditionalOrderHistoryRequest} requestParameters Request parameters.
|
|
9073
|
+
*
|
|
8995
9074
|
* @returns {Promise<RestApiResponse<QueryCmConditionalOrderHistoryResponse>>}
|
|
8996
9075
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8997
9076
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-CM-Conditional-Order-History Binance API Documentation}
|
|
@@ -9008,6 +9087,7 @@ var RestAPI = class {
|
|
|
9008
9087
|
*
|
|
9009
9088
|
* @summary Query CM Modify Order History(TRADE)
|
|
9010
9089
|
* @param {QueryCmModifyOrderHistoryRequest} requestParameters Request parameters.
|
|
9090
|
+
*
|
|
9011
9091
|
* @returns {Promise<RestApiResponse<QueryCmModifyOrderHistoryResponse>>}
|
|
9012
9092
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9013
9093
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-CM-Modify-Order-History Binance API Documentation}
|
|
@@ -9028,6 +9108,7 @@ var RestAPI = class {
|
|
|
9028
9108
|
*
|
|
9029
9109
|
* @summary Query CM Order(USER_DATA)
|
|
9030
9110
|
* @param {QueryCmOrderRequest} requestParameters Request parameters.
|
|
9111
|
+
*
|
|
9031
9112
|
* @returns {Promise<RestApiResponse<QueryCmOrderResponse>>}
|
|
9032
9113
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9033
9114
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-CM-Order Binance API Documentation}
|
|
@@ -9045,6 +9126,7 @@ var RestAPI = class {
|
|
|
9045
9126
|
*
|
|
9046
9127
|
* @summary Query Current CM Open Conditional Order(USER_DATA)
|
|
9047
9128
|
* @param {QueryCurrentCmOpenConditionalOrderRequest} requestParameters Request parameters.
|
|
9129
|
+
*
|
|
9048
9130
|
* @returns {Promise<RestApiResponse<QueryCurrentCmOpenConditionalOrderResponse>>}
|
|
9049
9131
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9050
9132
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Current-CM-Open-Conditional-Order Binance API Documentation}
|
|
@@ -9062,6 +9144,7 @@ var RestAPI = class {
|
|
|
9062
9144
|
*
|
|
9063
9145
|
* @summary Query Current CM Open Order (USER_DATA)
|
|
9064
9146
|
* @param {QueryCurrentCmOpenOrderRequest} requestParameters Request parameters.
|
|
9147
|
+
*
|
|
9065
9148
|
* @returns {Promise<RestApiResponse<QueryCurrentCmOpenOrderResponse>>}
|
|
9066
9149
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9067
9150
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Current-CM-Open-Order Binance API Documentation}
|
|
@@ -9076,6 +9159,7 @@ var RestAPI = class {
|
|
|
9076
9159
|
*
|
|
9077
9160
|
* @summary Query Current Margin Open Order (USER_DATA)
|
|
9078
9161
|
* @param {QueryCurrentMarginOpenOrderRequest} requestParameters Request parameters.
|
|
9162
|
+
*
|
|
9079
9163
|
* @returns {Promise<RestApiResponse<QueryCurrentMarginOpenOrderResponse>>}
|
|
9080
9164
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9081
9165
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Current-Margin-Open-Order Binance API Documentation}
|
|
@@ -9093,6 +9177,7 @@ var RestAPI = class {
|
|
|
9093
9177
|
*
|
|
9094
9178
|
* @summary Query Current UM Open Conditional Order(USER_DATA)
|
|
9095
9179
|
* @param {QueryCurrentUmOpenConditionalOrderRequest} requestParameters Request parameters.
|
|
9180
|
+
*
|
|
9096
9181
|
* @returns {Promise<RestApiResponse<QueryCurrentUmOpenConditionalOrderResponse>>}
|
|
9097
9182
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9098
9183
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Current-UM-Open-Conditional-Order Binance API Documentation}
|
|
@@ -9111,6 +9196,7 @@ var RestAPI = class {
|
|
|
9111
9196
|
*
|
|
9112
9197
|
* @summary Query Current UM Open Order(USER_DATA)
|
|
9113
9198
|
* @param {QueryCurrentUmOpenOrderRequest} requestParameters Request parameters.
|
|
9199
|
+
*
|
|
9114
9200
|
* @returns {Promise<RestApiResponse<QueryCurrentUmOpenOrderResponse>>}
|
|
9115
9201
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9116
9202
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Current-UM-Open-Order Binance API Documentation}
|
|
@@ -9125,6 +9211,7 @@ var RestAPI = class {
|
|
|
9125
9211
|
*
|
|
9126
9212
|
* @summary Query Margin Account Order (USER_DATA)
|
|
9127
9213
|
* @param {QueryMarginAccountOrderRequest} requestParameters Request parameters.
|
|
9214
|
+
*
|
|
9128
9215
|
* @returns {Promise<RestApiResponse<QueryMarginAccountOrderResponse>>}
|
|
9129
9216
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9130
9217
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Margin-Account-Order Binance API Documentation}
|
|
@@ -9139,6 +9226,7 @@ var RestAPI = class {
|
|
|
9139
9226
|
*
|
|
9140
9227
|
* @summary Query Margin Account\'s all OCO (USER_DATA)
|
|
9141
9228
|
* @param {QueryMarginAccountsAllOcoRequest} requestParameters Request parameters.
|
|
9229
|
+
*
|
|
9142
9230
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsAllOcoResponse>>}
|
|
9143
9231
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9144
9232
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Margin-Account-all-OCO Binance API Documentation}
|
|
@@ -9153,6 +9241,7 @@ var RestAPI = class {
|
|
|
9153
9241
|
*
|
|
9154
9242
|
* @summary Query Margin Account\'s OCO (USER_DATA)
|
|
9155
9243
|
* @param {QueryMarginAccountsOcoRequest} requestParameters Request parameters.
|
|
9244
|
+
*
|
|
9156
9245
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsOcoResponse>>}
|
|
9157
9246
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9158
9247
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Margin-Account-OCO Binance API Documentation}
|
|
@@ -9167,6 +9256,7 @@ var RestAPI = class {
|
|
|
9167
9256
|
*
|
|
9168
9257
|
* @summary Query Margin Account\'s Open OCO (USER_DATA)
|
|
9169
9258
|
* @param {QueryMarginAccountsOpenOcoRequest} requestParameters Request parameters.
|
|
9259
|
+
*
|
|
9170
9260
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsOpenOcoResponse>>}
|
|
9171
9261
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9172
9262
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Margin-Account-Open-OCO Binance API Documentation}
|
|
@@ -9188,6 +9278,7 @@ var RestAPI = class {
|
|
|
9188
9278
|
*
|
|
9189
9279
|
* @summary Query UM Conditional Order History(USER_DATA)
|
|
9190
9280
|
* @param {QueryUmConditionalOrderHistoryRequest} requestParameters Request parameters.
|
|
9281
|
+
*
|
|
9191
9282
|
* @returns {Promise<RestApiResponse<QueryUmConditionalOrderHistoryResponse>>}
|
|
9192
9283
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9193
9284
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-UM-Conditional-Order-History Binance API Documentation}
|
|
@@ -9204,6 +9295,7 @@ var RestAPI = class {
|
|
|
9204
9295
|
*
|
|
9205
9296
|
* @summary Query UM Modify Order History(TRADE)
|
|
9206
9297
|
* @param {QueryUmModifyOrderHistoryRequest} requestParameters Request parameters.
|
|
9298
|
+
*
|
|
9207
9299
|
* @returns {Promise<RestApiResponse<QueryUmModifyOrderHistoryResponse>>}
|
|
9208
9300
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9209
9301
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-UM-Modify-Order-History Binance API Documentation}
|
|
@@ -9224,6 +9316,7 @@ var RestAPI = class {
|
|
|
9224
9316
|
*
|
|
9225
9317
|
* @summary Query UM Order (USER_DATA)
|
|
9226
9318
|
* @param {QueryUmOrderRequest} requestParameters Request parameters.
|
|
9319
|
+
*
|
|
9227
9320
|
* @returns {Promise<RestApiResponse<QueryUmOrderResponse>>}
|
|
9228
9321
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9229
9322
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-UM-Order Binance API Documentation}
|
|
@@ -9241,6 +9334,7 @@ var RestAPI = class {
|
|
|
9241
9334
|
*
|
|
9242
9335
|
* @summary Query User\'s CM Force Orders(USER_DATA)
|
|
9243
9336
|
* @param {QueryUsersCmForceOrdersRequest} requestParameters Request parameters.
|
|
9337
|
+
*
|
|
9244
9338
|
* @returns {Promise<RestApiResponse<QueryUsersCmForceOrdersResponse>>}
|
|
9245
9339
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9246
9340
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Users-CM-Force-Orders Binance API Documentation}
|
|
@@ -9255,6 +9349,7 @@ var RestAPI = class {
|
|
|
9255
9349
|
*
|
|
9256
9350
|
* @summary Query User\'s Margin Force Orders(USER_DATA)
|
|
9257
9351
|
* @param {QueryUsersMarginForceOrdersRequest} requestParameters Request parameters.
|
|
9352
|
+
*
|
|
9258
9353
|
* @returns {Promise<RestApiResponse<QueryUsersMarginForceOrdersResponse>>}
|
|
9259
9354
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9260
9355
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Users-Margin-Force-Orders Binance API Documentation}
|
|
@@ -9272,6 +9367,7 @@ var RestAPI = class {
|
|
|
9272
9367
|
*
|
|
9273
9368
|
* @summary Query User\'s UM Force Orders (USER_DATA)
|
|
9274
9369
|
* @param {QueryUsersUmForceOrdersRequest} requestParameters Request parameters.
|
|
9370
|
+
*
|
|
9275
9371
|
* @returns {Promise<RestApiResponse<QueryUsersUmForceOrdersResponse>>}
|
|
9276
9372
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9277
9373
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Query-Users-UM-Force-Orders Binance API Documentation}
|
|
@@ -9289,6 +9385,7 @@ var RestAPI = class {
|
|
|
9289
9385
|
*
|
|
9290
9386
|
* @summary Toggle BNB Burn On UM Futures Trade (TRADE)
|
|
9291
9387
|
* @param {ToggleBnbBurnOnUmFuturesTradeRequest} requestParameters Request parameters.
|
|
9388
|
+
*
|
|
9292
9389
|
* @returns {Promise<RestApiResponse<ToggleBnbBurnOnUmFuturesTradeResponse>>}
|
|
9293
9390
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9294
9391
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/Toggle-BNB-Burn-On-UM-Futures-Trade Binance API Documentation}
|
|
@@ -9308,6 +9405,7 @@ var RestAPI = class {
|
|
|
9308
9405
|
*
|
|
9309
9406
|
* @summary UM Account Trade List(USER_DATA)
|
|
9310
9407
|
* @param {UmAccountTradeListRequest} requestParameters Request parameters.
|
|
9408
|
+
*
|
|
9311
9409
|
* @returns {Promise<RestApiResponse<UmAccountTradeListResponse>>}
|
|
9312
9410
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9313
9411
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/UM-Account-Trade-List Binance API Documentation}
|
|
@@ -9329,6 +9427,7 @@ var RestAPI = class {
|
|
|
9329
9427
|
*
|
|
9330
9428
|
* @summary UM Position ADL Quantile Estimation(USER_DATA)
|
|
9331
9429
|
* @param {UmPositionAdlQuantileEstimationRequest} requestParameters Request parameters.
|
|
9430
|
+
*
|
|
9332
9431
|
* @returns {Promise<RestApiResponse<UmPositionAdlQuantileEstimationResponse>>}
|
|
9333
9432
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9334
9433
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/trade/UM-Position-ADL-Quantile-Estimation Binance API Documentation}
|
|
@@ -9342,6 +9441,7 @@ var RestAPI = class {
|
|
|
9342
9441
|
* Weight: 1
|
|
9343
9442
|
*
|
|
9344
9443
|
* @summary Close User Data Stream(USER_STREAM)
|
|
9444
|
+
*
|
|
9345
9445
|
* @returns {Promise<RestApiResponse<void>>}
|
|
9346
9446
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9347
9447
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/user-data-streams/Close-User-Data-Stream Binance API Documentation}
|
|
@@ -9355,6 +9455,7 @@ var RestAPI = class {
|
|
|
9355
9455
|
* Weight: 1
|
|
9356
9456
|
*
|
|
9357
9457
|
* @summary Keepalive User Data Stream (USER_STREAM)
|
|
9458
|
+
*
|
|
9358
9459
|
* @returns {Promise<RestApiResponse<void>>}
|
|
9359
9460
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9360
9461
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/user-data-streams/Keepalive-User-Data-Stream Binance API Documentation}
|
|
@@ -9368,6 +9469,7 @@ var RestAPI = class {
|
|
|
9368
9469
|
* Weight: 1
|
|
9369
9470
|
*
|
|
9370
9471
|
* @summary Start User Data Stream(USER_STREAM)
|
|
9472
|
+
*
|
|
9371
9473
|
* @returns {Promise<RestApiResponse<StartUserDataStreamResponse>>}
|
|
9372
9474
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9373
9475
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin/user-data-streams/Start-User-Data-Stream Binance API Documentation}
|