@binance/derivatives-trading-portfolio-margin 7.0.0 → 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 +416 -416
- package/dist/index.d.ts +416 -416
- package/dist/index.js +209 -209
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +209 -209
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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 = "7.0.
|
|
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
|
*/
|