@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.mjs
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
|
|
16
16
|
// package.json
|
|
17
17
|
var name = "@binance/derivatives-trading-portfolio-margin";
|
|
18
|
-
var version = "7.0.
|
|
18
|
+
var version = "7.0.1";
|
|
19
19
|
|
|
20
20
|
// src/rest-api/index.ts
|
|
21
21
|
var rest_api_exports = {};
|
|
@@ -82,7 +82,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
82
82
|
*
|
|
83
83
|
* @summary Account Balance(USER_DATA)
|
|
84
84
|
* @param {string} [asset]
|
|
85
|
-
* @param {number} [recvWindow]
|
|
85
|
+
* @param {number | bigint} [recvWindow]
|
|
86
86
|
*
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
@@ -109,7 +109,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
109
109
|
* Weight: 20
|
|
110
110
|
*
|
|
111
111
|
* @summary Account Information(USER_DATA)
|
|
112
|
-
* @param {number} [recvWindow]
|
|
112
|
+
* @param {number | bigint} [recvWindow]
|
|
113
113
|
*
|
|
114
114
|
* @throws {RequiredError}
|
|
115
115
|
*/
|
|
@@ -137,7 +137,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
137
137
|
* @summary BNB transfer (TRADE)
|
|
138
138
|
* @param {number} amount
|
|
139
139
|
* @param {string} transferSide "TO_UM","FROM_UM"
|
|
140
|
-
* @param {number} [recvWindow]
|
|
140
|
+
* @param {number | bigint} [recvWindow]
|
|
141
141
|
*
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
*/
|
|
@@ -170,7 +170,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
170
170
|
*
|
|
171
171
|
* @summary Change Auto-repay-futures Status(TRADE)
|
|
172
172
|
* @param {string} autoRepay Default: `true`; `false` for turn off the auto-repay futures negative balance function
|
|
173
|
-
* @param {number} [recvWindow]
|
|
173
|
+
* @param {number | bigint} [recvWindow]
|
|
174
174
|
*
|
|
175
175
|
* @throws {RequiredError}
|
|
176
176
|
*/
|
|
@@ -199,8 +199,8 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
199
199
|
*
|
|
200
200
|
* @summary Change CM Initial Leverage (TRADE)
|
|
201
201
|
* @param {string} symbol
|
|
202
|
-
* @param {number} leverage target initial leverage: int from 1 to 125
|
|
203
|
-
* @param {number} [recvWindow]
|
|
202
|
+
* @param {number | bigint} leverage target initial leverage: int from 1 to 125
|
|
203
|
+
* @param {number | bigint} [recvWindow]
|
|
204
204
|
*
|
|
205
205
|
* @throws {RequiredError}
|
|
206
206
|
*/
|
|
@@ -233,7 +233,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
233
233
|
*
|
|
234
234
|
* @summary Change CM Position Mode(TRADE)
|
|
235
235
|
* @param {string} dualSidePosition "true": Hedge Mode; "false": One-way Mode
|
|
236
|
-
* @param {number} [recvWindow]
|
|
236
|
+
* @param {number | bigint} [recvWindow]
|
|
237
237
|
*
|
|
238
238
|
* @throws {RequiredError}
|
|
239
239
|
*/
|
|
@@ -262,8 +262,8 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
262
262
|
*
|
|
263
263
|
* @summary Change UM Initial Leverage(TRADE)
|
|
264
264
|
* @param {string} symbol
|
|
265
|
-
* @param {number} leverage target initial leverage: int from 1 to 125
|
|
266
|
-
* @param {number} [recvWindow]
|
|
265
|
+
* @param {number | bigint} leverage target initial leverage: int from 1 to 125
|
|
266
|
+
* @param {number | bigint} [recvWindow]
|
|
267
267
|
*
|
|
268
268
|
* @throws {RequiredError}
|
|
269
269
|
*/
|
|
@@ -296,7 +296,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
296
296
|
*
|
|
297
297
|
* @summary Change UM Position Mode(TRADE)
|
|
298
298
|
* @param {string} dualSidePosition "true": Hedge Mode; "false": One-way Mode
|
|
299
|
-
* @param {number} [recvWindow]
|
|
299
|
+
* @param {number | bigint} [recvWindow]
|
|
300
300
|
*
|
|
301
301
|
* @throws {RequiredError}
|
|
302
302
|
*/
|
|
@@ -325,7 +325,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
325
325
|
*
|
|
326
326
|
* @summary CM Notional and Leverage Brackets(USER_DATA)
|
|
327
327
|
* @param {string} [symbol]
|
|
328
|
-
* @param {number} [recvWindow]
|
|
328
|
+
* @param {number | bigint} [recvWindow]
|
|
329
329
|
*
|
|
330
330
|
* @throws {RequiredError}
|
|
331
331
|
*/
|
|
@@ -355,7 +355,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
355
355
|
* Weight: 750
|
|
356
356
|
*
|
|
357
357
|
* @summary Fund Auto-collection(TRADE)
|
|
358
|
-
* @param {number} [recvWindow]
|
|
358
|
+
* @param {number | bigint} [recvWindow]
|
|
359
359
|
*
|
|
360
360
|
* @throws {RequiredError}
|
|
361
361
|
*/
|
|
@@ -382,7 +382,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
382
382
|
*
|
|
383
383
|
* @summary Fund Collection by Asset(TRADE)
|
|
384
384
|
* @param {string} asset
|
|
385
|
-
* @param {number} [recvWindow]
|
|
385
|
+
* @param {number | bigint} [recvWindow]
|
|
386
386
|
*
|
|
387
387
|
* @throws {RequiredError}
|
|
388
388
|
*/
|
|
@@ -410,7 +410,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
410
410
|
* Weight: 30
|
|
411
411
|
*
|
|
412
412
|
* @summary Get Auto-repay-futures Status(USER_DATA)
|
|
413
|
-
* @param {number} [recvWindow]
|
|
413
|
+
* @param {number | bigint} [recvWindow]
|
|
414
414
|
*
|
|
415
415
|
* @throws {RequiredError}
|
|
416
416
|
*/
|
|
@@ -434,7 +434,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
434
434
|
* Weight: 5
|
|
435
435
|
*
|
|
436
436
|
* @summary Get CM Account Detail(USER_DATA)
|
|
437
|
-
* @param {number} [recvWindow]
|
|
437
|
+
* @param {number | bigint} [recvWindow]
|
|
438
438
|
*
|
|
439
439
|
* @throws {RequiredError}
|
|
440
440
|
*/
|
|
@@ -458,7 +458,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
458
458
|
* Weight: 30
|
|
459
459
|
*
|
|
460
460
|
* @summary Get CM Current Position Mode(USER_DATA)
|
|
461
|
-
* @param {number} [recvWindow]
|
|
461
|
+
* @param {number | bigint} [recvWindow]
|
|
462
462
|
*
|
|
463
463
|
* @throws {RequiredError}
|
|
464
464
|
*/
|
|
@@ -490,11 +490,11 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
490
490
|
* @summary Get CM Income History(USER_DATA)
|
|
491
491
|
* @param {string} [symbol]
|
|
492
492
|
* @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
|
|
493
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
494
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
495
|
-
* @param {number} [page]
|
|
496
|
-
* @param {number} [limit] Default 100; max 1000
|
|
497
|
-
* @param {number} [recvWindow]
|
|
493
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
494
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
495
|
+
* @param {number | bigint} [page]
|
|
496
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
497
|
+
* @param {number | bigint} [recvWindow]
|
|
498
498
|
*
|
|
499
499
|
* @throws {RequiredError}
|
|
500
500
|
*/
|
|
@@ -539,9 +539,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
539
539
|
* Weight: 1500
|
|
540
540
|
*
|
|
541
541
|
* @summary Get Download Id For UM Futures Order History (USER_DATA)
|
|
542
|
-
* @param {number} startTime
|
|
543
|
-
* @param {number} endTime
|
|
544
|
-
* @param {number} [recvWindow]
|
|
542
|
+
* @param {number | bigint} startTime
|
|
543
|
+
* @param {number | bigint} endTime
|
|
544
|
+
* @param {number | bigint} [recvWindow]
|
|
545
545
|
*
|
|
546
546
|
* @throws {RequiredError}
|
|
547
547
|
*/
|
|
@@ -576,9 +576,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
576
576
|
* Weight: 1500
|
|
577
577
|
*
|
|
578
578
|
* @summary Get Download Id For UM Futures Trade History (USER_DATA)
|
|
579
|
-
* @param {number} startTime
|
|
580
|
-
* @param {number} endTime
|
|
581
|
-
* @param {number} [recvWindow]
|
|
579
|
+
* @param {number | bigint} startTime
|
|
580
|
+
* @param {number | bigint} endTime
|
|
581
|
+
* @param {number | bigint} [recvWindow]
|
|
582
582
|
*
|
|
583
583
|
* @throws {RequiredError}
|
|
584
584
|
*/
|
|
@@ -613,9 +613,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
613
613
|
* Weight: 1500
|
|
614
614
|
*
|
|
615
615
|
* @summary Get Download Id For UM Futures Transaction History (USER_DATA)
|
|
616
|
-
* @param {number} startTime
|
|
617
|
-
* @param {number} endTime
|
|
618
|
-
* @param {number} [recvWindow]
|
|
616
|
+
* @param {number | bigint} startTime
|
|
617
|
+
* @param {number | bigint} endTime
|
|
618
|
+
* @param {number | bigint} [recvWindow]
|
|
619
619
|
*
|
|
620
620
|
* @throws {RequiredError}
|
|
621
621
|
*/
|
|
@@ -665,12 +665,12 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
665
665
|
*
|
|
666
666
|
* @summary Get Margin Borrow/Loan Interest History(USER_DATA)
|
|
667
667
|
* @param {string} [asset]
|
|
668
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
669
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
670
|
-
* @param {number} [current] Currently querying page. Start from 1. Default:1
|
|
671
|
-
* @param {number} [size] Default:10 Max:100
|
|
668
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
669
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
670
|
+
* @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
|
|
671
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
672
672
|
* @param {string} [archived] Default: `false`. Set to `true` for archived data from 6 months ago
|
|
673
|
-
* @param {number} [recvWindow]
|
|
673
|
+
* @param {number | bigint} [recvWindow]
|
|
674
674
|
*
|
|
675
675
|
* @throws {RequiredError}
|
|
676
676
|
*/
|
|
@@ -712,7 +712,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
712
712
|
* Weight: 5
|
|
713
713
|
*
|
|
714
714
|
* @summary Get UM Account Detail(USER_DATA)
|
|
715
|
-
* @param {number} [recvWindow]
|
|
715
|
+
* @param {number | bigint} [recvWindow]
|
|
716
716
|
*
|
|
717
717
|
* @throws {RequiredError}
|
|
718
718
|
*/
|
|
@@ -736,7 +736,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
736
736
|
* Weight: 5
|
|
737
737
|
*
|
|
738
738
|
* @summary Get UM Account Detail V2(USER_DATA)
|
|
739
|
-
* @param {number} [recvWindow]
|
|
739
|
+
* @param {number | bigint} [recvWindow]
|
|
740
740
|
*
|
|
741
741
|
* @throws {RequiredError}
|
|
742
742
|
*/
|
|
@@ -760,7 +760,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
760
760
|
* Weight: 30
|
|
761
761
|
*
|
|
762
762
|
* @summary Get UM Current Position Mode(USER_DATA)
|
|
763
|
-
* @param {number} [recvWindow]
|
|
763
|
+
* @param {number | bigint} [recvWindow]
|
|
764
764
|
*
|
|
765
765
|
* @throws {RequiredError}
|
|
766
766
|
*/
|
|
@@ -787,7 +787,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
787
787
|
*
|
|
788
788
|
* @summary Get UM Futures Order Download Link by Id(USER_DATA)
|
|
789
789
|
* @param {string} downloadId get by download id api
|
|
790
|
-
* @param {number} [recvWindow]
|
|
790
|
+
* @param {number | bigint} [recvWindow]
|
|
791
791
|
*
|
|
792
792
|
* @throws {RequiredError}
|
|
793
793
|
*/
|
|
@@ -818,7 +818,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
818
818
|
*
|
|
819
819
|
* @summary Get UM Futures Trade Download Link by Id(USER_DATA)
|
|
820
820
|
* @param {string} downloadId get by download id api
|
|
821
|
-
* @param {number} [recvWindow]
|
|
821
|
+
* @param {number | bigint} [recvWindow]
|
|
822
822
|
*
|
|
823
823
|
* @throws {RequiredError}
|
|
824
824
|
*/
|
|
@@ -849,7 +849,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
849
849
|
*
|
|
850
850
|
* @summary Get UM Futures Transaction Download Link by Id(USER_DATA)
|
|
851
851
|
* @param {string} downloadId get by download id api
|
|
852
|
-
* @param {number} [recvWindow]
|
|
852
|
+
* @param {number | bigint} [recvWindow]
|
|
853
853
|
*
|
|
854
854
|
* @throws {RequiredError}
|
|
855
855
|
*/
|
|
@@ -884,11 +884,11 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
884
884
|
* @summary Get UM Income History(USER_DATA)
|
|
885
885
|
* @param {string} [symbol]
|
|
886
886
|
* @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
|
|
887
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
888
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
889
|
-
* @param {number} [page]
|
|
890
|
-
* @param {number} [limit] Default 100; max 1000
|
|
891
|
-
* @param {number} [recvWindow]
|
|
887
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
888
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
889
|
+
* @param {number | bigint} [page]
|
|
890
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
891
|
+
* @param {number | bigint} [recvWindow]
|
|
892
892
|
*
|
|
893
893
|
* @throws {RequiredError}
|
|
894
894
|
*/
|
|
@@ -931,7 +931,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
931
931
|
*
|
|
932
932
|
* @summary Get User Commission Rate for CM(USER_DATA)
|
|
933
933
|
* @param {string} symbol
|
|
934
|
-
* @param {number} [recvWindow]
|
|
934
|
+
* @param {number | bigint} [recvWindow]
|
|
935
935
|
*
|
|
936
936
|
* @throws {RequiredError}
|
|
937
937
|
*/
|
|
@@ -960,7 +960,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
960
960
|
*
|
|
961
961
|
* @summary Get User Commission Rate for UM(USER_DATA)
|
|
962
962
|
* @param {string} symbol
|
|
963
|
-
* @param {number} [recvWindow]
|
|
963
|
+
* @param {number | bigint} [recvWindow]
|
|
964
964
|
*
|
|
965
965
|
* @throws {RequiredError}
|
|
966
966
|
*/
|
|
@@ -989,7 +989,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
989
989
|
*
|
|
990
990
|
* @summary Margin Max Borrow(USER_DATA)
|
|
991
991
|
* @param {string} asset
|
|
992
|
-
* @param {number} [recvWindow]
|
|
992
|
+
* @param {number | bigint} [recvWindow]
|
|
993
993
|
*
|
|
994
994
|
* @throws {RequiredError}
|
|
995
995
|
*/
|
|
@@ -1019,7 +1019,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1019
1019
|
*
|
|
1020
1020
|
* @summary Portfolio Margin UM Trading Quantitative Rules Indicators(USER_DATA)
|
|
1021
1021
|
* @param {string} [symbol]
|
|
1022
|
-
* @param {number} [recvWindow]
|
|
1022
|
+
* @param {number | bigint} [recvWindow]
|
|
1023
1023
|
*
|
|
1024
1024
|
* @throws {RequiredError}
|
|
1025
1025
|
*/
|
|
@@ -1053,7 +1053,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1053
1053
|
* @summary Query CM Position Information(USER_DATA)
|
|
1054
1054
|
* @param {string} [marginAsset]
|
|
1055
1055
|
* @param {string} [pair]
|
|
1056
|
-
* @param {number} [recvWindow]
|
|
1056
|
+
* @param {number | bigint} [recvWindow]
|
|
1057
1057
|
*
|
|
1058
1058
|
* @throws {RequiredError}
|
|
1059
1059
|
*/
|
|
@@ -1090,13 +1090,13 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1090
1090
|
*
|
|
1091
1091
|
* @summary Query Margin Loan Record(USER_DATA)
|
|
1092
1092
|
* @param {string} asset
|
|
1093
|
-
* @param {number} [txId] the `tranId` in `POST/papi/v1/marginLoan`
|
|
1094
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1095
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1096
|
-
* @param {number} [current] Currently querying page. Start from 1. Default:1
|
|
1097
|
-
* @param {number} [size] Default:10 Max:100
|
|
1093
|
+
* @param {number | bigint} [txId] the `tranId` in `POST/papi/v1/marginLoan`
|
|
1094
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1095
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1096
|
+
* @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
|
|
1097
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
1098
1098
|
* @param {string} [archived] Default: `false`. Set to `true` for archived data from 6 months ago
|
|
1099
|
-
* @param {number} [recvWindow]
|
|
1099
|
+
* @param {number | bigint} [recvWindow]
|
|
1100
1100
|
*
|
|
1101
1101
|
* @throws {RequiredError}
|
|
1102
1102
|
*/
|
|
@@ -1143,7 +1143,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1143
1143
|
*
|
|
1144
1144
|
* @summary Query Margin Max Withdraw(USER_DATA)
|
|
1145
1145
|
* @param {string} asset
|
|
1146
|
-
* @param {number} [recvWindow]
|
|
1146
|
+
* @param {number | bigint} [recvWindow]
|
|
1147
1147
|
*
|
|
1148
1148
|
* @throws {RequiredError}
|
|
1149
1149
|
*/
|
|
@@ -1178,13 +1178,13 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1178
1178
|
*
|
|
1179
1179
|
* @summary Query Margin repay Record(USER_DATA)
|
|
1180
1180
|
* @param {string} asset
|
|
1181
|
-
* @param {number} [txId] the `tranId` in `POST/papi/v1/marginLoan`
|
|
1182
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1183
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1184
|
-
* @param {number} [current] Currently querying page. Start from 1. Default:1
|
|
1185
|
-
* @param {number} [size] Default:10 Max:100
|
|
1181
|
+
* @param {number | bigint} [txId] the `tranId` in `POST/papi/v1/marginLoan`
|
|
1182
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1183
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1184
|
+
* @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
|
|
1185
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
1186
1186
|
* @param {string} [archived] Default: `false`. Set to `true` for archived data from 6 months ago
|
|
1187
|
-
* @param {number} [recvWindow]
|
|
1187
|
+
* @param {number | bigint} [recvWindow]
|
|
1188
1188
|
*
|
|
1189
1189
|
* @throws {RequiredError}
|
|
1190
1190
|
*/
|
|
@@ -1237,10 +1237,10 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1237
1237
|
*
|
|
1238
1238
|
* @summary Query Portfolio Margin Negative Balance Interest History(USER_DATA)
|
|
1239
1239
|
* @param {string} [asset]
|
|
1240
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1241
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1242
|
-
* @param {number} [size] Default:10 Max:100
|
|
1243
|
-
* @param {number} [recvWindow]
|
|
1240
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
1241
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
1242
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
1243
|
+
* @param {number | bigint} [recvWindow]
|
|
1244
1244
|
*
|
|
1245
1245
|
* @throws {RequiredError}
|
|
1246
1246
|
*/
|
|
@@ -1281,7 +1281,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1281
1281
|
*
|
|
1282
1282
|
* @summary Query UM Position Information(USER_DATA)
|
|
1283
1283
|
* @param {string} [symbol]
|
|
1284
|
-
* @param {number} [recvWindow]
|
|
1284
|
+
* @param {number | bigint} [recvWindow]
|
|
1285
1285
|
*
|
|
1286
1286
|
* @throws {RequiredError}
|
|
1287
1287
|
*/
|
|
@@ -1311,9 +1311,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1311
1311
|
* Weight: 100
|
|
1312
1312
|
*
|
|
1313
1313
|
* @summary Query User Negative Balance Auto Exchange Record (USER_DATA)
|
|
1314
|
-
* @param {number} startTime
|
|
1315
|
-
* @param {number} endTime
|
|
1316
|
-
* @param {number} [recvWindow]
|
|
1314
|
+
* @param {number | bigint} startTime
|
|
1315
|
+
* @param {number | bigint} endTime
|
|
1316
|
+
* @param {number | bigint} [recvWindow]
|
|
1317
1317
|
*
|
|
1318
1318
|
* @throws {RequiredError}
|
|
1319
1319
|
*/
|
|
@@ -1345,7 +1345,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1345
1345
|
* Weight: 1
|
|
1346
1346
|
*
|
|
1347
1347
|
* @summary Query User Rate Limit (USER_DATA)
|
|
1348
|
-
* @param {number} [recvWindow]
|
|
1348
|
+
* @param {number | bigint} [recvWindow]
|
|
1349
1349
|
*
|
|
1350
1350
|
* @throws {RequiredError}
|
|
1351
1351
|
*/
|
|
@@ -1369,7 +1369,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1369
1369
|
* Weight: 750
|
|
1370
1370
|
*
|
|
1371
1371
|
* @summary Repay futures Negative Balance(USER_DATA)
|
|
1372
|
-
* @param {number} [recvWindow]
|
|
1372
|
+
* @param {number | bigint} [recvWindow]
|
|
1373
1373
|
*
|
|
1374
1374
|
* @throws {RequiredError}
|
|
1375
1375
|
*/
|
|
@@ -1393,7 +1393,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1393
1393
|
* Weight: 5
|
|
1394
1394
|
*
|
|
1395
1395
|
* @summary UM Futures Account Configuration(USER_DATA)
|
|
1396
|
-
* @param {number} [recvWindow]
|
|
1396
|
+
* @param {number | bigint} [recvWindow]
|
|
1397
1397
|
*
|
|
1398
1398
|
* @throws {RequiredError}
|
|
1399
1399
|
*/
|
|
@@ -1418,7 +1418,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1418
1418
|
*
|
|
1419
1419
|
* @summary UM Futures Symbol Configuration(USER_DATA)
|
|
1420
1420
|
* @param {string} [symbol]
|
|
1421
|
-
* @param {number} [recvWindow]
|
|
1421
|
+
* @param {number | bigint} [recvWindow]
|
|
1422
1422
|
*
|
|
1423
1423
|
* @throws {RequiredError}
|
|
1424
1424
|
*/
|
|
@@ -1446,7 +1446,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1446
1446
|
*
|
|
1447
1447
|
* @summary UM Notional and Leverage Brackets (USER_DATA)
|
|
1448
1448
|
* @param {string} [symbol]
|
|
1449
|
-
* @param {number} [recvWindow]
|
|
1449
|
+
* @param {number | bigint} [recvWindow]
|
|
1450
1450
|
*
|
|
1451
1451
|
* @throws {RequiredError}
|
|
1452
1452
|
*/
|
|
@@ -2743,7 +2743,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2743
2743
|
*
|
|
2744
2744
|
* @summary Cancel All CM Open Conditional Orders(TRADE)
|
|
2745
2745
|
* @param {string} symbol
|
|
2746
|
-
* @param {number} [recvWindow]
|
|
2746
|
+
* @param {number | bigint} [recvWindow]
|
|
2747
2747
|
*
|
|
2748
2748
|
* @throws {RequiredError}
|
|
2749
2749
|
*/
|
|
@@ -2772,7 +2772,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2772
2772
|
*
|
|
2773
2773
|
* @summary Cancel All CM Open Orders(TRADE)
|
|
2774
2774
|
* @param {string} symbol
|
|
2775
|
-
* @param {number} [recvWindow]
|
|
2775
|
+
* @param {number | bigint} [recvWindow]
|
|
2776
2776
|
*
|
|
2777
2777
|
* @throws {RequiredError}
|
|
2778
2778
|
*/
|
|
@@ -2801,7 +2801,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2801
2801
|
*
|
|
2802
2802
|
* @summary Cancel All UM Open Conditional Orders (TRADE)
|
|
2803
2803
|
* @param {string} symbol
|
|
2804
|
-
* @param {number} [recvWindow]
|
|
2804
|
+
* @param {number | bigint} [recvWindow]
|
|
2805
2805
|
*
|
|
2806
2806
|
* @throws {RequiredError}
|
|
2807
2807
|
*/
|
|
@@ -2830,7 +2830,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2830
2830
|
*
|
|
2831
2831
|
* @summary Cancel All UM Open Orders(TRADE)
|
|
2832
2832
|
* @param {string} symbol
|
|
2833
|
-
* @param {number} [recvWindow]
|
|
2833
|
+
* @param {number | bigint} [recvWindow]
|
|
2834
2834
|
*
|
|
2835
2835
|
* @throws {RequiredError}
|
|
2836
2836
|
*/
|
|
@@ -2861,9 +2861,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2861
2861
|
*
|
|
2862
2862
|
* @summary Cancel CM Conditional Order(TRADE)
|
|
2863
2863
|
* @param {string} symbol
|
|
2864
|
-
* @param {number} [strategyId]
|
|
2864
|
+
* @param {number | bigint} [strategyId]
|
|
2865
2865
|
* @param {string} [newClientStrategyId]
|
|
2866
|
-
* @param {number} [recvWindow]
|
|
2866
|
+
* @param {number | bigint} [recvWindow]
|
|
2867
2867
|
*
|
|
2868
2868
|
* @throws {RequiredError}
|
|
2869
2869
|
*/
|
|
@@ -2900,9 +2900,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2900
2900
|
*
|
|
2901
2901
|
* @summary Cancel CM Order(TRADE)
|
|
2902
2902
|
* @param {string} symbol
|
|
2903
|
-
* @param {number} [orderId]
|
|
2903
|
+
* @param {number | bigint} [orderId]
|
|
2904
2904
|
* @param {string} [origClientOrderId]
|
|
2905
|
-
* @param {number} [recvWindow]
|
|
2905
|
+
* @param {number | bigint} [recvWindow]
|
|
2906
2906
|
*
|
|
2907
2907
|
* @throws {RequiredError}
|
|
2908
2908
|
*/
|
|
@@ -2937,7 +2937,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2937
2937
|
*
|
|
2938
2938
|
* @summary Cancel Margin Account All Open Orders on a Symbol(TRADE)
|
|
2939
2939
|
* @param {string} symbol
|
|
2940
|
-
* @param {number} [recvWindow]
|
|
2940
|
+
* @param {number | bigint} [recvWindow]
|
|
2941
2941
|
*
|
|
2942
2942
|
* @throws {RequiredError}
|
|
2943
2943
|
*/
|
|
@@ -2968,10 +2968,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2968
2968
|
*
|
|
2969
2969
|
* @summary Cancel Margin Account OCO Orders(TRADE)
|
|
2970
2970
|
* @param {string} symbol
|
|
2971
|
-
* @param {number} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
|
|
2971
|
+
* @param {number | bigint} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
|
|
2972
2972
|
* @param {string} [listClientOrderId] Either `orderListId` or `listClientOrderId` must be provided
|
|
2973
2973
|
* @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
|
|
2974
|
-
* @param {number} [recvWindow]
|
|
2974
|
+
* @param {number | bigint} [recvWindow]
|
|
2975
2975
|
*
|
|
2976
2976
|
* @throws {RequiredError}
|
|
2977
2977
|
*/
|
|
@@ -3011,10 +3011,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3011
3011
|
*
|
|
3012
3012
|
* @summary Cancel Margin Account Order(TRADE)
|
|
3013
3013
|
* @param {string} symbol
|
|
3014
|
-
* @param {number} [orderId]
|
|
3014
|
+
* @param {number | bigint} [orderId]
|
|
3015
3015
|
* @param {string} [origClientOrderId]
|
|
3016
3016
|
* @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
|
|
3017
|
-
* @param {number} [recvWindow]
|
|
3017
|
+
* @param {number | bigint} [recvWindow]
|
|
3018
3018
|
*
|
|
3019
3019
|
* @throws {RequiredError}
|
|
3020
3020
|
*/
|
|
@@ -3054,9 +3054,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3054
3054
|
*
|
|
3055
3055
|
* @summary Cancel UM Conditional Order(TRADE)
|
|
3056
3056
|
* @param {string} symbol
|
|
3057
|
-
* @param {number} [strategyId]
|
|
3057
|
+
* @param {number | bigint} [strategyId]
|
|
3058
3058
|
* @param {string} [newClientStrategyId]
|
|
3059
|
-
* @param {number} [recvWindow]
|
|
3059
|
+
* @param {number | bigint} [recvWindow]
|
|
3060
3060
|
*
|
|
3061
3061
|
* @throws {RequiredError}
|
|
3062
3062
|
*/
|
|
@@ -3093,9 +3093,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3093
3093
|
*
|
|
3094
3094
|
* @summary Cancel UM Order(TRADE)
|
|
3095
3095
|
* @param {string} symbol
|
|
3096
|
-
* @param {number} [orderId]
|
|
3096
|
+
* @param {number | bigint} [orderId]
|
|
3097
3097
|
* @param {string} [origClientOrderId]
|
|
3098
|
-
* @param {number} [recvWindow]
|
|
3098
|
+
* @param {number | bigint} [recvWindow]
|
|
3099
3099
|
*
|
|
3100
3100
|
* @throws {RequiredError}
|
|
3101
3101
|
*/
|
|
@@ -3140,11 +3140,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3140
3140
|
* @summary CM Account Trade List(USER_DATA)
|
|
3141
3141
|
* @param {string} [symbol]
|
|
3142
3142
|
* @param {string} [pair]
|
|
3143
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
3144
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
3145
|
-
* @param {number} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
3146
|
-
* @param {number} [limit] Default 100; max 1000
|
|
3147
|
-
* @param {number} [recvWindow]
|
|
3143
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
3144
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
3145
|
+
* @param {number | bigint} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
3146
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
3147
|
+
* @param {number | bigint} [recvWindow]
|
|
3148
3148
|
*
|
|
3149
3149
|
* @throws {RequiredError}
|
|
3150
3150
|
*/
|
|
@@ -3193,7 +3193,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3193
3193
|
*
|
|
3194
3194
|
* @summary CM Position ADL Quantile Estimation(USER_DATA)
|
|
3195
3195
|
* @param {string} [symbol]
|
|
3196
|
-
* @param {number} [recvWindow]
|
|
3196
|
+
* @param {number | bigint} [recvWindow]
|
|
3197
3197
|
*
|
|
3198
3198
|
* @throws {RequiredError}
|
|
3199
3199
|
*/
|
|
@@ -3220,7 +3220,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3220
3220
|
* Weight: 30
|
|
3221
3221
|
*
|
|
3222
3222
|
* @summary Get UM Futures BNB Burn Status (USER_DATA)
|
|
3223
|
-
* @param {number} [recvWindow]
|
|
3223
|
+
* @param {number | bigint} [recvWindow]
|
|
3224
3224
|
*
|
|
3225
3225
|
* @throws {RequiredError}
|
|
3226
3226
|
*/
|
|
@@ -3246,7 +3246,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3246
3246
|
* @summary Margin Account Borrow(MARGIN)
|
|
3247
3247
|
* @param {string} asset
|
|
3248
3248
|
* @param {number} amount
|
|
3249
|
-
* @param {number} [recvWindow]
|
|
3249
|
+
* @param {number | bigint} [recvWindow]
|
|
3250
3250
|
*
|
|
3251
3251
|
* @throws {RequiredError}
|
|
3252
3252
|
*/
|
|
@@ -3301,7 +3301,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3301
3301
|
* @param {MarginAccountNewOcoStopLimitTimeInForceEnum} [stopLimitTimeInForce] Valid values are `GTC/FOK/IOC`
|
|
3302
3302
|
* @param {MarginAccountNewOcoNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", default "ACK"
|
|
3303
3303
|
* @param {MarginAccountNewOcoSideEffectTypeEnum} [sideEffectType] NO_SIDE_EFFECT, MARGIN_BUY, AUTO_REPAY; default NO_SIDE_EFFECT.
|
|
3304
|
-
* @param {number} [recvWindow]
|
|
3304
|
+
* @param {number | bigint} [recvWindow]
|
|
3305
3305
|
*
|
|
3306
3306
|
* @throws {RequiredError}
|
|
3307
3307
|
*/
|
|
@@ -3374,7 +3374,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3374
3374
|
* @summary Margin Account Repay(MARGIN)
|
|
3375
3375
|
* @param {string} asset
|
|
3376
3376
|
* @param {number} amount
|
|
3377
|
-
* @param {number} [recvWindow]
|
|
3377
|
+
* @param {number | bigint} [recvWindow]
|
|
3378
3378
|
*
|
|
3379
3379
|
* @throws {RequiredError}
|
|
3380
3380
|
*/
|
|
@@ -3414,7 +3414,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3414
3414
|
* @param {string} asset
|
|
3415
3415
|
* @param {string} [amount]
|
|
3416
3416
|
* @param {string} [specifyRepayAssets] Specific asset list to repay debt; Can be added in batch, separated by commas
|
|
3417
|
-
* @param {number} [recvWindow]
|
|
3417
|
+
* @param {number | bigint} [recvWindow]
|
|
3418
3418
|
*
|
|
3419
3419
|
* @throws {RequiredError}
|
|
3420
3420
|
*/
|
|
@@ -3449,12 +3449,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3449
3449
|
*
|
|
3450
3450
|
* @summary Margin Account Trade List (USER_DATA)
|
|
3451
3451
|
* @param {string} symbol
|
|
3452
|
-
* @param {number} [orderId]
|
|
3453
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
3454
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
3455
|
-
* @param {number} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
3456
|
-
* @param {number} [limit] Default 100; max 1000
|
|
3457
|
-
* @param {number} [recvWindow]
|
|
3452
|
+
* @param {number | bigint} [orderId]
|
|
3453
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
3454
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
3455
|
+
* @param {number | bigint} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
3456
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
3457
|
+
* @param {number | bigint} [recvWindow]
|
|
3458
3458
|
*
|
|
3459
3459
|
* @throws {RequiredError}
|
|
3460
3460
|
*/
|
|
@@ -3508,10 +3508,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3508
3508
|
* @param {ModifyCmOrderSideEnum} side
|
|
3509
3509
|
* @param {number} quantity Order quantity
|
|
3510
3510
|
* @param {number} price
|
|
3511
|
-
* @param {number} [orderId]
|
|
3511
|
+
* @param {number | bigint} [orderId]
|
|
3512
3512
|
* @param {string} [origClientOrderId]
|
|
3513
3513
|
* @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`
|
|
3514
|
-
* @param {number} [recvWindow]
|
|
3514
|
+
* @param {number | bigint} [recvWindow]
|
|
3515
3515
|
*
|
|
3516
3516
|
* @throws {RequiredError}
|
|
3517
3517
|
*/
|
|
@@ -3571,10 +3571,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3571
3571
|
* @param {ModifyUmOrderSideEnum} side
|
|
3572
3572
|
* @param {number} quantity Order quantity
|
|
3573
3573
|
* @param {number} price
|
|
3574
|
-
* @param {number} [orderId]
|
|
3574
|
+
* @param {number | bigint} [orderId]
|
|
3575
3575
|
* @param {string} [origClientOrderId]
|
|
3576
3576
|
* @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`
|
|
3577
|
-
* @param {number} [recvWindow]
|
|
3577
|
+
* @param {number | bigint} [recvWindow]
|
|
3578
3578
|
*
|
|
3579
3579
|
* @throws {RequiredError}
|
|
3580
3580
|
*/
|
|
@@ -3662,7 +3662,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3662
3662
|
* @param {number} [stopPrice] Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders.
|
|
3663
3663
|
* @param {number} [activationPrice] Used with `TRAILING_STOP_MARKET` orders, default as the mark price
|
|
3664
3664
|
* @param {number} [callbackRate] Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1%
|
|
3665
|
-
* @param {number} [recvWindow]
|
|
3665
|
+
* @param {number | bigint} [recvWindow]
|
|
3666
3666
|
*
|
|
3667
3667
|
* @throws {RequiredError}
|
|
3668
3668
|
*/
|
|
@@ -3746,7 +3746,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3746
3746
|
* @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`
|
|
3747
3747
|
* @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
|
|
3748
3748
|
* @param {NewCmOrderNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", default "ACK"
|
|
3749
|
-
* @param {number} [recvWindow]
|
|
3749
|
+
* @param {number | bigint} [recvWindow]
|
|
3750
3750
|
*
|
|
3751
3751
|
* @throws {RequiredError}
|
|
3752
3752
|
*/
|
|
@@ -3820,7 +3820,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3820
3820
|
* @param {NewMarginOrderTimeInForceEnum} [timeInForce]
|
|
3821
3821
|
* @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
|
|
3822
3822
|
* @param {boolean} [autoRepayAtCancel] 只有在自动借款单或者自动借还单生效,true表示的是撤单后需要把订单产生的借款归还,默认为true
|
|
3823
|
-
* @param {number} [recvWindow]
|
|
3823
|
+
* @param {number | bigint} [recvWindow]
|
|
3824
3824
|
*
|
|
3825
3825
|
* @throws {RequiredError}
|
|
3826
3826
|
*/
|
|
@@ -3932,8 +3932,8 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3932
3932
|
* @param {number} [callbackRate] Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1%
|
|
3933
3933
|
* @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`
|
|
3934
3934
|
* @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
|
|
3935
|
-
* @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.
|
|
3936
|
-
* @param {number} [recvWindow]
|
|
3935
|
+
* @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.
|
|
3936
|
+
* @param {number | bigint} [recvWindow]
|
|
3937
3937
|
*
|
|
3938
3938
|
* @throws {RequiredError}
|
|
3939
3939
|
*/
|
|
@@ -4029,8 +4029,8 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4029
4029
|
* @param {NewUmOrderNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", default "ACK"
|
|
4030
4030
|
* @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`
|
|
4031
4031
|
* @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
|
|
4032
|
-
* @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.
|
|
4033
|
-
* @param {number} [recvWindow]
|
|
4032
|
+
* @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.
|
|
4033
|
+
* @param {number | bigint} [recvWindow]
|
|
4034
4034
|
*
|
|
4035
4035
|
* @throws {RequiredError}
|
|
4036
4036
|
*/
|
|
@@ -4103,11 +4103,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4103
4103
|
*
|
|
4104
4104
|
* @summary Query All CM Conditional Orders(USER_DATA)
|
|
4105
4105
|
* @param {string} [symbol]
|
|
4106
|
-
* @param {number} [strategyId]
|
|
4107
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4108
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4109
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4110
|
-
* @param {number} [recvWindow]
|
|
4106
|
+
* @param {number | bigint} [strategyId]
|
|
4107
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4108
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4109
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4110
|
+
* @param {number | bigint} [recvWindow]
|
|
4111
4111
|
*
|
|
4112
4112
|
* @throws {RequiredError}
|
|
4113
4113
|
*/
|
|
@@ -4155,11 +4155,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4155
4155
|
* @summary Query All CM Orders (USER_DATA)
|
|
4156
4156
|
* @param {string} symbol
|
|
4157
4157
|
* @param {string} [pair]
|
|
4158
|
-
* @param {number} [orderId]
|
|
4159
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4160
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4161
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4162
|
-
* @param {number} [recvWindow]
|
|
4158
|
+
* @param {number | bigint} [orderId]
|
|
4159
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4160
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4161
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4162
|
+
* @param {number | bigint} [recvWindow]
|
|
4163
4163
|
*
|
|
4164
4164
|
* @throws {RequiredError}
|
|
4165
4165
|
*/
|
|
@@ -4205,7 +4205,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4205
4205
|
*
|
|
4206
4206
|
* @summary Query All Current CM Open Conditional Orders (USER_DATA)
|
|
4207
4207
|
* @param {string} [symbol]
|
|
4208
|
-
* @param {number} [recvWindow]
|
|
4208
|
+
* @param {number | bigint} [recvWindow]
|
|
4209
4209
|
*
|
|
4210
4210
|
* @throws {RequiredError}
|
|
4211
4211
|
*/
|
|
@@ -4237,7 +4237,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4237
4237
|
* @summary Query All Current CM Open Orders(USER_DATA)
|
|
4238
4238
|
* @param {string} [symbol]
|
|
4239
4239
|
* @param {string} [pair]
|
|
4240
|
-
* @param {number} [recvWindow]
|
|
4240
|
+
* @param {number | bigint} [recvWindow]
|
|
4241
4241
|
*
|
|
4242
4242
|
* @throws {RequiredError}
|
|
4243
4243
|
*/
|
|
@@ -4271,7 +4271,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4271
4271
|
*
|
|
4272
4272
|
* @summary Query All Current UM Open Conditional Orders(USER_DATA)
|
|
4273
4273
|
* @param {string} [symbol]
|
|
4274
|
-
* @param {number} [recvWindow]
|
|
4274
|
+
* @param {number | bigint} [recvWindow]
|
|
4275
4275
|
*
|
|
4276
4276
|
* @throws {RequiredError}
|
|
4277
4277
|
*/
|
|
@@ -4302,7 +4302,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4302
4302
|
*
|
|
4303
4303
|
* @summary Query All Current UM Open Orders(USER_DATA)
|
|
4304
4304
|
* @param {string} [symbol]
|
|
4305
|
-
* @param {number} [recvWindow]
|
|
4305
|
+
* @param {number | bigint} [recvWindow]
|
|
4306
4306
|
*
|
|
4307
4307
|
* @throws {RequiredError}
|
|
4308
4308
|
*/
|
|
@@ -4330,11 +4330,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4330
4330
|
*
|
|
4331
4331
|
* @summary Query All Margin Account Orders (USER_DATA)
|
|
4332
4332
|
* @param {string} symbol
|
|
4333
|
-
* @param {number} [orderId]
|
|
4334
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4335
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4336
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4337
|
-
* @param {number} [recvWindow]
|
|
4333
|
+
* @param {number | bigint} [orderId]
|
|
4334
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4335
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4336
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4337
|
+
* @param {number | bigint} [recvWindow]
|
|
4338
4338
|
*
|
|
4339
4339
|
* @throws {RequiredError}
|
|
4340
4340
|
*/
|
|
@@ -4381,11 +4381,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4381
4381
|
*
|
|
4382
4382
|
* @summary Query All UM Conditional Orders(USER_DATA)
|
|
4383
4383
|
* @param {string} [symbol]
|
|
4384
|
-
* @param {number} [strategyId]
|
|
4385
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4386
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4387
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4388
|
-
* @param {number} [recvWindow]
|
|
4384
|
+
* @param {number | bigint} [strategyId]
|
|
4385
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4386
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4387
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4388
|
+
* @param {number | bigint} [recvWindow]
|
|
4389
4389
|
*
|
|
4390
4390
|
* @throws {RequiredError}
|
|
4391
4391
|
*/
|
|
@@ -4432,11 +4432,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4432
4432
|
*
|
|
4433
4433
|
* @summary Query All UM Orders(USER_DATA)
|
|
4434
4434
|
* @param {string} symbol
|
|
4435
|
-
* @param {number} [orderId]
|
|
4436
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4437
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4438
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4439
|
-
* @param {number} [recvWindow]
|
|
4435
|
+
* @param {number | bigint} [orderId]
|
|
4436
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4437
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4438
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4439
|
+
* @param {number | bigint} [recvWindow]
|
|
4440
4440
|
*
|
|
4441
4441
|
* @throws {RequiredError}
|
|
4442
4442
|
*/
|
|
@@ -4485,9 +4485,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4485
4485
|
*
|
|
4486
4486
|
* @summary Query CM Conditional Order History(USER_DATA)
|
|
4487
4487
|
* @param {string} symbol
|
|
4488
|
-
* @param {number} [strategyId]
|
|
4488
|
+
* @param {number | bigint} [strategyId]
|
|
4489
4489
|
* @param {string} [newClientStrategyId]
|
|
4490
|
-
* @param {number} [recvWindow]
|
|
4490
|
+
* @param {number | bigint} [recvWindow]
|
|
4491
4491
|
*
|
|
4492
4492
|
* @throws {RequiredError}
|
|
4493
4493
|
*/
|
|
@@ -4524,12 +4524,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4524
4524
|
*
|
|
4525
4525
|
* @summary Query CM Modify Order History(TRADE)
|
|
4526
4526
|
* @param {string} symbol
|
|
4527
|
-
* @param {number} [orderId]
|
|
4527
|
+
* @param {number | bigint} [orderId]
|
|
4528
4528
|
* @param {string} [origClientOrderId]
|
|
4529
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4530
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4531
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4532
|
-
* @param {number} [recvWindow]
|
|
4529
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4530
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4531
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4532
|
+
* @param {number | bigint} [recvWindow]
|
|
4533
4533
|
*
|
|
4534
4534
|
* @throws {RequiredError}
|
|
4535
4535
|
*/
|
|
@@ -4579,9 +4579,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4579
4579
|
*
|
|
4580
4580
|
* @summary Query CM Order(USER_DATA)
|
|
4581
4581
|
* @param {string} symbol
|
|
4582
|
-
* @param {number} [orderId]
|
|
4582
|
+
* @param {number | bigint} [orderId]
|
|
4583
4583
|
* @param {string} [origClientOrderId]
|
|
4584
|
-
* @param {number} [recvWindow]
|
|
4584
|
+
* @param {number | bigint} [recvWindow]
|
|
4585
4585
|
*
|
|
4586
4586
|
* @throws {RequiredError}
|
|
4587
4587
|
*/
|
|
@@ -4619,9 +4619,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4619
4619
|
*
|
|
4620
4620
|
* @summary Query Current CM Open Conditional Order(USER_DATA)
|
|
4621
4621
|
* @param {string} symbol
|
|
4622
|
-
* @param {number} [strategyId]
|
|
4622
|
+
* @param {number | bigint} [strategyId]
|
|
4623
4623
|
* @param {string} [newClientStrategyId]
|
|
4624
|
-
* @param {number} [recvWindow]
|
|
4624
|
+
* @param {number | bigint} [recvWindow]
|
|
4625
4625
|
*
|
|
4626
4626
|
* @throws {RequiredError}
|
|
4627
4627
|
*/
|
|
@@ -4659,9 +4659,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4659
4659
|
*
|
|
4660
4660
|
* @summary Query Current CM Open Order (USER_DATA)
|
|
4661
4661
|
* @param {string} symbol
|
|
4662
|
-
* @param {number} [orderId]
|
|
4662
|
+
* @param {number | bigint} [orderId]
|
|
4663
4663
|
* @param {string} [origClientOrderId]
|
|
4664
|
-
* @param {number} [recvWindow]
|
|
4664
|
+
* @param {number | bigint} [recvWindow]
|
|
4665
4665
|
*
|
|
4666
4666
|
* @throws {RequiredError}
|
|
4667
4667
|
*/
|
|
@@ -4696,7 +4696,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4696
4696
|
*
|
|
4697
4697
|
* @summary Query Current Margin Open Order (USER_DATA)
|
|
4698
4698
|
* @param {string} symbol
|
|
4699
|
-
* @param {number} [recvWindow]
|
|
4699
|
+
* @param {number | bigint} [recvWindow]
|
|
4700
4700
|
*
|
|
4701
4701
|
* @throws {RequiredError}
|
|
4702
4702
|
*/
|
|
@@ -4728,9 +4728,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4728
4728
|
*
|
|
4729
4729
|
* @summary Query Current UM Open Conditional Order(USER_DATA)
|
|
4730
4730
|
* @param {string} symbol
|
|
4731
|
-
* @param {number} [strategyId]
|
|
4731
|
+
* @param {number | bigint} [strategyId]
|
|
4732
4732
|
* @param {string} [newClientStrategyId]
|
|
4733
|
-
* @param {number} [recvWindow]
|
|
4733
|
+
* @param {number | bigint} [recvWindow]
|
|
4734
4734
|
*
|
|
4735
4735
|
* @throws {RequiredError}
|
|
4736
4736
|
*/
|
|
@@ -4769,9 +4769,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4769
4769
|
*
|
|
4770
4770
|
* @summary Query Current UM Open Order(USER_DATA)
|
|
4771
4771
|
* @param {string} symbol
|
|
4772
|
-
* @param {number} [orderId]
|
|
4772
|
+
* @param {number | bigint} [orderId]
|
|
4773
4773
|
* @param {string} [origClientOrderId]
|
|
4774
|
-
* @param {number} [recvWindow]
|
|
4774
|
+
* @param {number | bigint} [recvWindow]
|
|
4775
4775
|
*
|
|
4776
4776
|
* @throws {RequiredError}
|
|
4777
4777
|
*/
|
|
@@ -4806,9 +4806,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4806
4806
|
*
|
|
4807
4807
|
* @summary Query Margin Account Order (USER_DATA)
|
|
4808
4808
|
* @param {string} symbol
|
|
4809
|
-
* @param {number} [orderId]
|
|
4809
|
+
* @param {number | bigint} [orderId]
|
|
4810
4810
|
* @param {string} [origClientOrderId]
|
|
4811
|
-
* @param {number} [recvWindow]
|
|
4811
|
+
* @param {number | bigint} [recvWindow]
|
|
4812
4812
|
*
|
|
4813
4813
|
* @throws {RequiredError}
|
|
4814
4814
|
*/
|
|
@@ -4842,11 +4842,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4842
4842
|
* Weight: 100
|
|
4843
4843
|
*
|
|
4844
4844
|
* @summary Query Margin Account\'s all OCO (USER_DATA)
|
|
4845
|
-
* @param {number} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
4846
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4847
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4848
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4849
|
-
* @param {number} [recvWindow]
|
|
4845
|
+
* @param {number | bigint} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
4846
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4847
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4848
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4849
|
+
* @param {number | bigint} [recvWindow]
|
|
4850
4850
|
*
|
|
4851
4851
|
* @throws {RequiredError}
|
|
4852
4852
|
*/
|
|
@@ -4882,9 +4882,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4882
4882
|
* Weight: 5
|
|
4883
4883
|
*
|
|
4884
4884
|
* @summary Query Margin Account\'s OCO (USER_DATA)
|
|
4885
|
-
* @param {number} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
|
|
4885
|
+
* @param {number | bigint} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
|
|
4886
4886
|
* @param {string} [origClientOrderId]
|
|
4887
|
-
* @param {number} [recvWindow]
|
|
4887
|
+
* @param {number | bigint} [recvWindow]
|
|
4888
4888
|
*
|
|
4889
4889
|
* @throws {RequiredError}
|
|
4890
4890
|
*/
|
|
@@ -4914,7 +4914,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4914
4914
|
* Weight: 5
|
|
4915
4915
|
*
|
|
4916
4916
|
* @summary Query Margin Account\'s Open OCO (USER_DATA)
|
|
4917
|
-
* @param {number} [recvWindow]
|
|
4917
|
+
* @param {number | bigint} [recvWindow]
|
|
4918
4918
|
*
|
|
4919
4919
|
* @throws {RequiredError}
|
|
4920
4920
|
*/
|
|
@@ -4946,9 +4946,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4946
4946
|
*
|
|
4947
4947
|
* @summary Query UM Conditional Order History(USER_DATA)
|
|
4948
4948
|
* @param {string} symbol
|
|
4949
|
-
* @param {number} [strategyId]
|
|
4949
|
+
* @param {number | bigint} [strategyId]
|
|
4950
4950
|
* @param {string} [newClientStrategyId]
|
|
4951
|
-
* @param {number} [recvWindow]
|
|
4951
|
+
* @param {number | bigint} [recvWindow]
|
|
4952
4952
|
*
|
|
4953
4953
|
* @throws {RequiredError}
|
|
4954
4954
|
*/
|
|
@@ -4985,12 +4985,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4985
4985
|
*
|
|
4986
4986
|
* @summary Query UM Modify Order History(TRADE)
|
|
4987
4987
|
* @param {string} symbol
|
|
4988
|
-
* @param {number} [orderId]
|
|
4988
|
+
* @param {number | bigint} [orderId]
|
|
4989
4989
|
* @param {string} [origClientOrderId]
|
|
4990
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4991
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4992
|
-
* @param {number} [limit] Default 100; max 1000
|
|
4993
|
-
* @param {number} [recvWindow]
|
|
4990
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
4991
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
4992
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
4993
|
+
* @param {number | bigint} [recvWindow]
|
|
4994
4994
|
*
|
|
4995
4995
|
* @throws {RequiredError}
|
|
4996
4996
|
*/
|
|
@@ -5040,9 +5040,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5040
5040
|
*
|
|
5041
5041
|
* @summary Query UM Order (USER_DATA)
|
|
5042
5042
|
* @param {string} symbol
|
|
5043
|
-
* @param {number} [orderId]
|
|
5043
|
+
* @param {number | bigint} [orderId]
|
|
5044
5044
|
* @param {string} [origClientOrderId]
|
|
5045
|
-
* @param {number} [recvWindow]
|
|
5045
|
+
* @param {number | bigint} [recvWindow]
|
|
5046
5046
|
*
|
|
5047
5047
|
* @throws {RequiredError}
|
|
5048
5048
|
*/
|
|
@@ -5081,10 +5081,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5081
5081
|
* @summary Query User\'s CM Force Orders(USER_DATA)
|
|
5082
5082
|
* @param {string} [symbol]
|
|
5083
5083
|
* @param {QueryUsersCmForceOrdersAutoCloseTypeEnum} [autoCloseType] `LIQUIDATION` for liquidation orders, `ADL` for ADL orders.
|
|
5084
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5085
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5086
|
-
* @param {number} [limit] Default 100; max 1000
|
|
5087
|
-
* @param {number} [recvWindow]
|
|
5084
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5085
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5086
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
5087
|
+
* @param {number | bigint} [recvWindow]
|
|
5088
5088
|
*
|
|
5089
5089
|
* @throws {RequiredError}
|
|
5090
5090
|
*/
|
|
@@ -5123,11 +5123,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5123
5123
|
* Weight: 1
|
|
5124
5124
|
*
|
|
5125
5125
|
* @summary Query User\'s Margin Force Orders(USER_DATA)
|
|
5126
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5127
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5128
|
-
* @param {number} [current] Currently querying page. Start from 1. Default:1
|
|
5129
|
-
* @param {number} [size] Default:10 Max:100
|
|
5130
|
-
* @param {number} [recvWindow]
|
|
5126
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5127
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5128
|
+
* @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
|
|
5129
|
+
* @param {number | bigint} [size] Default:10 Max:100
|
|
5130
|
+
* @param {number | bigint} [recvWindow]
|
|
5131
5131
|
*
|
|
5132
5132
|
* @throws {RequiredError}
|
|
5133
5133
|
*/
|
|
@@ -5168,10 +5168,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5168
5168
|
* @summary Query User\'s UM Force Orders (USER_DATA)
|
|
5169
5169
|
* @param {string} [symbol]
|
|
5170
5170
|
* @param {QueryUsersUmForceOrdersAutoCloseTypeEnum} [autoCloseType] `LIQUIDATION` for liquidation orders, `ADL` for ADL orders.
|
|
5171
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5172
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5173
|
-
* @param {number} [limit] Default 100; max 1000
|
|
5174
|
-
* @param {number} [recvWindow]
|
|
5171
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5172
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5173
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
5174
|
+
* @param {number | bigint} [recvWindow]
|
|
5175
5175
|
*
|
|
5176
5176
|
* @throws {RequiredError}
|
|
5177
5177
|
*/
|
|
@@ -5214,7 +5214,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5214
5214
|
*
|
|
5215
5215
|
* @summary Toggle BNB Burn On UM Futures Trade (TRADE)
|
|
5216
5216
|
* @param {string} feeBurn "true": Fee Discount On; "false": Fee Discount Off
|
|
5217
|
-
* @param {number} [recvWindow]
|
|
5217
|
+
* @param {number | bigint} [recvWindow]
|
|
5218
5218
|
*
|
|
5219
5219
|
* @throws {RequiredError}
|
|
5220
5220
|
*/
|
|
@@ -5248,11 +5248,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5248
5248
|
*
|
|
5249
5249
|
* @summary UM Account Trade List(USER_DATA)
|
|
5250
5250
|
* @param {string} symbol
|
|
5251
|
-
* @param {number} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5252
|
-
* @param {number} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5253
|
-
* @param {number} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
5254
|
-
* @param {number} [limit] Default 100; max 1000
|
|
5255
|
-
* @param {number} [recvWindow]
|
|
5251
|
+
* @param {number | bigint} [startTime] Timestamp in ms to get funding from INCLUSIVE.
|
|
5252
|
+
* @param {number | bigint} [endTime] Timestamp in ms to get funding until INCLUSIVE.
|
|
5253
|
+
* @param {number | bigint} [fromId] Trade id to fetch from. Default gets most recent trades.
|
|
5254
|
+
* @param {number | bigint} [limit] Default 100; max 1000
|
|
5255
|
+
* @param {number | bigint} [recvWindow]
|
|
5256
5256
|
*
|
|
5257
5257
|
* @throws {RequiredError}
|
|
5258
5258
|
*/
|
|
@@ -5300,7 +5300,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5300
5300
|
*
|
|
5301
5301
|
* @summary UM Position ADL Quantile Estimation(USER_DATA)
|
|
5302
5302
|
* @param {string} [symbol]
|
|
5303
|
-
* @param {number} [recvWindow]
|
|
5303
|
+
* @param {number | bigint} [recvWindow]
|
|
5304
5304
|
*
|
|
5305
5305
|
* @throws {RequiredError}
|
|
5306
5306
|
*/
|