@binance/derivatives-trading-portfolio-margin 1.0.0 → 2.0.0
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 +364 -722
- package/dist/index.d.ts +364 -722
- package/dist/index.js +106 -208
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +103 -205
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -3
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
|
|
14
14
|
// package.json
|
|
15
15
|
var name = "@binance/derivatives-trading-portfolio-margin";
|
|
16
|
-
var version = "
|
|
16
|
+
var version = "2.0.0";
|
|
17
17
|
|
|
18
18
|
// src/rest-api/index.ts
|
|
19
19
|
var rest_api_exports = {};
|
|
@@ -93,8 +93,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
93
93
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
94
94
|
}
|
|
95
95
|
let _timeUnit;
|
|
96
|
-
if ("timeUnit" in configuration)
|
|
97
|
-
_timeUnit = configuration.timeUnit;
|
|
96
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
98
97
|
return {
|
|
99
98
|
endpoint: "/papi/v1/balance",
|
|
100
99
|
method: "GET",
|
|
@@ -118,8 +117,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
118
117
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
119
118
|
}
|
|
120
119
|
let _timeUnit;
|
|
121
|
-
if ("timeUnit" in configuration)
|
|
122
|
-
_timeUnit = configuration.timeUnit;
|
|
120
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
123
121
|
return {
|
|
124
122
|
endpoint: "/papi/v1/account",
|
|
125
123
|
method: "GET",
|
|
@@ -155,8 +153,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
155
153
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
156
154
|
}
|
|
157
155
|
let _timeUnit;
|
|
158
|
-
if ("timeUnit" in configuration)
|
|
159
|
-
_timeUnit = configuration.timeUnit;
|
|
156
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
160
157
|
return {
|
|
161
158
|
endpoint: "/papi/v1/bnb-transfer",
|
|
162
159
|
method: "POST",
|
|
@@ -185,8 +182,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
185
182
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
186
183
|
}
|
|
187
184
|
let _timeUnit;
|
|
188
|
-
if ("timeUnit" in configuration)
|
|
189
|
-
_timeUnit = configuration.timeUnit;
|
|
185
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
190
186
|
return {
|
|
191
187
|
endpoint: "/papi/v1/repay-futures-switch",
|
|
192
188
|
method: "POST",
|
|
@@ -220,8 +216,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
220
216
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
221
217
|
}
|
|
222
218
|
let _timeUnit;
|
|
223
|
-
if ("timeUnit" in configuration)
|
|
224
|
-
_timeUnit = configuration.timeUnit;
|
|
219
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
225
220
|
return {
|
|
226
221
|
endpoint: "/papi/v1/cm/leverage",
|
|
227
222
|
method: "POST",
|
|
@@ -250,8 +245,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
250
245
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
251
246
|
}
|
|
252
247
|
let _timeUnit;
|
|
253
|
-
if ("timeUnit" in configuration)
|
|
254
|
-
_timeUnit = configuration.timeUnit;
|
|
248
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
255
249
|
return {
|
|
256
250
|
endpoint: "/papi/v1/cm/positionSide/dual",
|
|
257
251
|
method: "POST",
|
|
@@ -285,8 +279,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
285
279
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
286
280
|
}
|
|
287
281
|
let _timeUnit;
|
|
288
|
-
if ("timeUnit" in configuration)
|
|
289
|
-
_timeUnit = configuration.timeUnit;
|
|
282
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
290
283
|
return {
|
|
291
284
|
endpoint: "/papi/v1/um/leverage",
|
|
292
285
|
method: "POST",
|
|
@@ -315,8 +308,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
315
308
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
316
309
|
}
|
|
317
310
|
let _timeUnit;
|
|
318
|
-
if ("timeUnit" in configuration)
|
|
319
|
-
_timeUnit = configuration.timeUnit;
|
|
311
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
320
312
|
return {
|
|
321
313
|
endpoint: "/papi/v1/um/positionSide/dual",
|
|
322
314
|
method: "POST",
|
|
@@ -344,8 +336,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
344
336
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
345
337
|
}
|
|
346
338
|
let _timeUnit;
|
|
347
|
-
if ("timeUnit" in configuration)
|
|
348
|
-
_timeUnit = configuration.timeUnit;
|
|
339
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
349
340
|
return {
|
|
350
341
|
endpoint: "/papi/v1/cm/leverageBracket",
|
|
351
342
|
method: "GET",
|
|
@@ -372,8 +363,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
372
363
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
373
364
|
}
|
|
374
365
|
let _timeUnit;
|
|
375
|
-
if ("timeUnit" in configuration)
|
|
376
|
-
_timeUnit = configuration.timeUnit;
|
|
366
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
377
367
|
return {
|
|
378
368
|
endpoint: "/papi/v1/auto-collection",
|
|
379
369
|
method: "POST",
|
|
@@ -404,8 +394,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
404
394
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
405
395
|
}
|
|
406
396
|
let _timeUnit;
|
|
407
|
-
if ("timeUnit" in configuration)
|
|
408
|
-
_timeUnit = configuration.timeUnit;
|
|
397
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
409
398
|
return {
|
|
410
399
|
endpoint: "/papi/v1/asset-collection",
|
|
411
400
|
method: "POST",
|
|
@@ -429,8 +418,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
429
418
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
430
419
|
}
|
|
431
420
|
let _timeUnit;
|
|
432
|
-
if ("timeUnit" in configuration)
|
|
433
|
-
_timeUnit = configuration.timeUnit;
|
|
421
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
434
422
|
return {
|
|
435
423
|
endpoint: "/papi/v1/repay-futures-switch",
|
|
436
424
|
method: "GET",
|
|
@@ -454,8 +442,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
454
442
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
455
443
|
}
|
|
456
444
|
let _timeUnit;
|
|
457
|
-
if ("timeUnit" in configuration)
|
|
458
|
-
_timeUnit = configuration.timeUnit;
|
|
445
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
459
446
|
return {
|
|
460
447
|
endpoint: "/papi/v1/cm/account",
|
|
461
448
|
method: "GET",
|
|
@@ -479,8 +466,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
479
466
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
480
467
|
}
|
|
481
468
|
let _timeUnit;
|
|
482
|
-
if ("timeUnit" in configuration)
|
|
483
|
-
_timeUnit = configuration.timeUnit;
|
|
469
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
484
470
|
return {
|
|
485
471
|
endpoint: "/papi/v1/cm/positionSide/dual",
|
|
486
472
|
method: "GET",
|
|
@@ -534,8 +520,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
534
520
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
535
521
|
}
|
|
536
522
|
let _timeUnit;
|
|
537
|
-
if ("timeUnit" in configuration)
|
|
538
|
-
_timeUnit = configuration.timeUnit;
|
|
523
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
539
524
|
return {
|
|
540
525
|
endpoint: "/papi/v1/cm/income",
|
|
541
526
|
method: "GET",
|
|
@@ -572,8 +557,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
572
557
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
573
558
|
}
|
|
574
559
|
let _timeUnit;
|
|
575
|
-
if ("timeUnit" in configuration)
|
|
576
|
-
_timeUnit = configuration.timeUnit;
|
|
560
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
577
561
|
return {
|
|
578
562
|
endpoint: "/papi/v1/um/order/asyn",
|
|
579
563
|
method: "GET",
|
|
@@ -610,8 +594,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
610
594
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
611
595
|
}
|
|
612
596
|
let _timeUnit;
|
|
613
|
-
if ("timeUnit" in configuration)
|
|
614
|
-
_timeUnit = configuration.timeUnit;
|
|
597
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
615
598
|
return {
|
|
616
599
|
endpoint: "/papi/v1/um/trade/asyn",
|
|
617
600
|
method: "GET",
|
|
@@ -652,8 +635,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
652
635
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
653
636
|
}
|
|
654
637
|
let _timeUnit;
|
|
655
|
-
if ("timeUnit" in configuration)
|
|
656
|
-
_timeUnit = configuration.timeUnit;
|
|
638
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
657
639
|
return {
|
|
658
640
|
endpoint: "/papi/v1/um/income/asyn",
|
|
659
641
|
method: "GET",
|
|
@@ -714,8 +696,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
714
696
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
715
697
|
}
|
|
716
698
|
let _timeUnit;
|
|
717
|
-
if ("timeUnit" in configuration)
|
|
718
|
-
_timeUnit = configuration.timeUnit;
|
|
699
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
719
700
|
return {
|
|
720
701
|
endpoint: "/papi/v1/margin/marginInterestHistory",
|
|
721
702
|
method: "GET",
|
|
@@ -739,8 +720,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
739
720
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
740
721
|
}
|
|
741
722
|
let _timeUnit;
|
|
742
|
-
if ("timeUnit" in configuration)
|
|
743
|
-
_timeUnit = configuration.timeUnit;
|
|
723
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
744
724
|
return {
|
|
745
725
|
endpoint: "/papi/v1/um/account",
|
|
746
726
|
method: "GET",
|
|
@@ -764,8 +744,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
764
744
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
765
745
|
}
|
|
766
746
|
let _timeUnit;
|
|
767
|
-
if ("timeUnit" in configuration)
|
|
768
|
-
_timeUnit = configuration.timeUnit;
|
|
747
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
769
748
|
return {
|
|
770
749
|
endpoint: "/papi/v2/um/account",
|
|
771
750
|
method: "GET",
|
|
@@ -789,8 +768,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
789
768
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
790
769
|
}
|
|
791
770
|
let _timeUnit;
|
|
792
|
-
if ("timeUnit" in configuration)
|
|
793
|
-
_timeUnit = configuration.timeUnit;
|
|
771
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
794
772
|
return {
|
|
795
773
|
endpoint: "/papi/v1/um/positionSide/dual",
|
|
796
774
|
method: "GET",
|
|
@@ -821,8 +799,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
821
799
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
822
800
|
}
|
|
823
801
|
let _timeUnit;
|
|
824
|
-
if ("timeUnit" in configuration)
|
|
825
|
-
_timeUnit = configuration.timeUnit;
|
|
802
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
826
803
|
return {
|
|
827
804
|
endpoint: "/papi/v1/um/order/asyn/id",
|
|
828
805
|
method: "GET",
|
|
@@ -853,8 +830,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
853
830
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
854
831
|
}
|
|
855
832
|
let _timeUnit;
|
|
856
|
-
if ("timeUnit" in configuration)
|
|
857
|
-
_timeUnit = configuration.timeUnit;
|
|
833
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
858
834
|
return {
|
|
859
835
|
endpoint: "/papi/v1/um/trade/asyn/id",
|
|
860
836
|
method: "GET",
|
|
@@ -885,8 +861,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
885
861
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
886
862
|
}
|
|
887
863
|
let _timeUnit;
|
|
888
|
-
if ("timeUnit" in configuration)
|
|
889
|
-
_timeUnit = configuration.timeUnit;
|
|
864
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
890
865
|
return {
|
|
891
866
|
endpoint: "/papi/v1/um/income/asyn/id",
|
|
892
867
|
method: "GET",
|
|
@@ -939,8 +914,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
939
914
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
940
915
|
}
|
|
941
916
|
let _timeUnit;
|
|
942
|
-
if ("timeUnit" in configuration)
|
|
943
|
-
_timeUnit = configuration.timeUnit;
|
|
917
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
944
918
|
return {
|
|
945
919
|
endpoint: "/papi/v1/um/income",
|
|
946
920
|
method: "GET",
|
|
@@ -969,8 +943,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
969
943
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
970
944
|
}
|
|
971
945
|
let _timeUnit;
|
|
972
|
-
if ("timeUnit" in configuration)
|
|
973
|
-
_timeUnit = configuration.timeUnit;
|
|
946
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
974
947
|
return {
|
|
975
948
|
endpoint: "/papi/v1/cm/commissionRate",
|
|
976
949
|
method: "GET",
|
|
@@ -999,8 +972,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
999
972
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1000
973
|
}
|
|
1001
974
|
let _timeUnit;
|
|
1002
|
-
if ("timeUnit" in configuration)
|
|
1003
|
-
_timeUnit = configuration.timeUnit;
|
|
975
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1004
976
|
return {
|
|
1005
977
|
endpoint: "/papi/v1/um/commissionRate",
|
|
1006
978
|
method: "GET",
|
|
@@ -1029,8 +1001,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1029
1001
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1030
1002
|
}
|
|
1031
1003
|
let _timeUnit;
|
|
1032
|
-
if ("timeUnit" in configuration)
|
|
1033
|
-
_timeUnit = configuration.timeUnit;
|
|
1004
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1034
1005
|
return {
|
|
1035
1006
|
endpoint: "/papi/v1/margin/maxBorrowable",
|
|
1036
1007
|
method: "GET",
|
|
@@ -1059,8 +1030,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1059
1030
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1060
1031
|
}
|
|
1061
1032
|
let _timeUnit;
|
|
1062
|
-
if ("timeUnit" in configuration)
|
|
1063
|
-
_timeUnit = configuration.timeUnit;
|
|
1033
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1064
1034
|
return {
|
|
1065
1035
|
endpoint: "/papi/v1/um/apiTradingStatus",
|
|
1066
1036
|
method: "GET",
|
|
@@ -1097,8 +1067,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1097
1067
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1098
1068
|
}
|
|
1099
1069
|
let _timeUnit;
|
|
1100
|
-
if ("timeUnit" in configuration)
|
|
1101
|
-
_timeUnit = configuration.timeUnit;
|
|
1070
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1102
1071
|
return {
|
|
1103
1072
|
endpoint: "/papi/v1/cm/positionRisk",
|
|
1104
1073
|
method: "GET",
|
|
@@ -1157,8 +1126,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1157
1126
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1158
1127
|
}
|
|
1159
1128
|
let _timeUnit;
|
|
1160
|
-
if ("timeUnit" in configuration)
|
|
1161
|
-
_timeUnit = configuration.timeUnit;
|
|
1129
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1162
1130
|
return {
|
|
1163
1131
|
endpoint: "/papi/v1/margin/marginLoan",
|
|
1164
1132
|
method: "GET",
|
|
@@ -1187,8 +1155,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1187
1155
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1188
1156
|
}
|
|
1189
1157
|
let _timeUnit;
|
|
1190
|
-
if ("timeUnit" in configuration)
|
|
1191
|
-
_timeUnit = configuration.timeUnit;
|
|
1158
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1192
1159
|
return {
|
|
1193
1160
|
endpoint: "/papi/v1/margin/maxWithdraw",
|
|
1194
1161
|
method: "GET",
|
|
@@ -1247,8 +1214,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1247
1214
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1248
1215
|
}
|
|
1249
1216
|
let _timeUnit;
|
|
1250
|
-
if ("timeUnit" in configuration)
|
|
1251
|
-
_timeUnit = configuration.timeUnit;
|
|
1217
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1252
1218
|
return {
|
|
1253
1219
|
endpoint: "/papi/v1/margin/repayLoan",
|
|
1254
1220
|
method: "GET",
|
|
@@ -1294,8 +1260,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1294
1260
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1295
1261
|
}
|
|
1296
1262
|
let _timeUnit;
|
|
1297
|
-
if ("timeUnit" in configuration)
|
|
1298
|
-
_timeUnit = configuration.timeUnit;
|
|
1263
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1299
1264
|
return {
|
|
1300
1265
|
endpoint: "/papi/v1/portfolio/interest-history",
|
|
1301
1266
|
method: "GET",
|
|
@@ -1327,8 +1292,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1327
1292
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1328
1293
|
}
|
|
1329
1294
|
let _timeUnit;
|
|
1330
|
-
if ("timeUnit" in configuration)
|
|
1331
|
-
_timeUnit = configuration.timeUnit;
|
|
1295
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1332
1296
|
return {
|
|
1333
1297
|
endpoint: "/papi/v1/um/positionRisk",
|
|
1334
1298
|
method: "GET",
|
|
@@ -1365,8 +1329,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1365
1329
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1366
1330
|
}
|
|
1367
1331
|
let _timeUnit;
|
|
1368
|
-
if ("timeUnit" in configuration)
|
|
1369
|
-
_timeUnit = configuration.timeUnit;
|
|
1332
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1370
1333
|
return {
|
|
1371
1334
|
endpoint: "/papi/v1/portfolio/negative-balance-exchange-record",
|
|
1372
1335
|
method: "GET",
|
|
@@ -1390,8 +1353,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1390
1353
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1391
1354
|
}
|
|
1392
1355
|
let _timeUnit;
|
|
1393
|
-
if ("timeUnit" in configuration)
|
|
1394
|
-
_timeUnit = configuration.timeUnit;
|
|
1356
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1395
1357
|
return {
|
|
1396
1358
|
endpoint: "/papi/v1/rateLimit/order",
|
|
1397
1359
|
method: "GET",
|
|
@@ -1415,8 +1377,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1415
1377
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1416
1378
|
}
|
|
1417
1379
|
let _timeUnit;
|
|
1418
|
-
if ("timeUnit" in configuration)
|
|
1419
|
-
_timeUnit = configuration.timeUnit;
|
|
1380
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1420
1381
|
return {
|
|
1421
1382
|
endpoint: "/papi/v1/repay-futures-negative-balance",
|
|
1422
1383
|
method: "POST",
|
|
@@ -1440,8 +1401,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1440
1401
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1441
1402
|
}
|
|
1442
1403
|
let _timeUnit;
|
|
1443
|
-
if ("timeUnit" in configuration)
|
|
1444
|
-
_timeUnit = configuration.timeUnit;
|
|
1404
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1445
1405
|
return {
|
|
1446
1406
|
endpoint: "/papi/v1/um/accountConfig",
|
|
1447
1407
|
method: "GET",
|
|
@@ -1469,8 +1429,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1469
1429
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1470
1430
|
}
|
|
1471
1431
|
let _timeUnit;
|
|
1472
|
-
if ("timeUnit" in configuration)
|
|
1473
|
-
_timeUnit = configuration.timeUnit;
|
|
1432
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1474
1433
|
return {
|
|
1475
1434
|
endpoint: "/papi/v1/um/symbolConfig",
|
|
1476
1435
|
method: "GET",
|
|
@@ -1498,8 +1457,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
1498
1457
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1499
1458
|
}
|
|
1500
1459
|
let _timeUnit;
|
|
1501
|
-
if ("timeUnit" in configuration)
|
|
1502
|
-
_timeUnit = configuration.timeUnit;
|
|
1460
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1503
1461
|
return {
|
|
1504
1462
|
endpoint: "/papi/v1/um/leverageBracket",
|
|
1505
1463
|
method: "GET",
|
|
@@ -2730,8 +2688,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
|
|
|
2730
2688
|
testConnectivity: async () => {
|
|
2731
2689
|
const localVarQueryParameter = {};
|
|
2732
2690
|
let _timeUnit;
|
|
2733
|
-
if ("timeUnit" in configuration)
|
|
2734
|
-
_timeUnit = configuration.timeUnit;
|
|
2691
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2735
2692
|
return {
|
|
2736
2693
|
endpoint: "/papi/v1/ping",
|
|
2737
2694
|
method: "GET",
|
|
@@ -2798,8 +2755,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2798
2755
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2799
2756
|
}
|
|
2800
2757
|
let _timeUnit;
|
|
2801
|
-
if ("timeUnit" in configuration)
|
|
2802
|
-
_timeUnit = configuration.timeUnit;
|
|
2758
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2803
2759
|
return {
|
|
2804
2760
|
endpoint: "/papi/v1/cm/conditional/allOpenOrders",
|
|
2805
2761
|
method: "DELETE",
|
|
@@ -2828,8 +2784,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2828
2784
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2829
2785
|
}
|
|
2830
2786
|
let _timeUnit;
|
|
2831
|
-
if ("timeUnit" in configuration)
|
|
2832
|
-
_timeUnit = configuration.timeUnit;
|
|
2787
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2833
2788
|
return {
|
|
2834
2789
|
endpoint: "/papi/v1/cm/allOpenOrders",
|
|
2835
2790
|
method: "DELETE",
|
|
@@ -2858,8 +2813,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2858
2813
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2859
2814
|
}
|
|
2860
2815
|
let _timeUnit;
|
|
2861
|
-
if ("timeUnit" in configuration)
|
|
2862
|
-
_timeUnit = configuration.timeUnit;
|
|
2816
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2863
2817
|
return {
|
|
2864
2818
|
endpoint: "/papi/v1/um/conditional/allOpenOrders",
|
|
2865
2819
|
method: "DELETE",
|
|
@@ -2888,8 +2842,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2888
2842
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2889
2843
|
}
|
|
2890
2844
|
let _timeUnit;
|
|
2891
|
-
if ("timeUnit" in configuration)
|
|
2892
|
-
_timeUnit = configuration.timeUnit;
|
|
2845
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2893
2846
|
return {
|
|
2894
2847
|
endpoint: "/papi/v1/um/allOpenOrders",
|
|
2895
2848
|
method: "DELETE",
|
|
@@ -2928,8 +2881,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2928
2881
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2929
2882
|
}
|
|
2930
2883
|
let _timeUnit;
|
|
2931
|
-
if ("timeUnit" in configuration)
|
|
2932
|
-
_timeUnit = configuration.timeUnit;
|
|
2884
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2933
2885
|
return {
|
|
2934
2886
|
endpoint: "/papi/v1/cm/conditional/order",
|
|
2935
2887
|
method: "DELETE",
|
|
@@ -2968,8 +2920,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2968
2920
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2969
2921
|
}
|
|
2970
2922
|
let _timeUnit;
|
|
2971
|
-
if ("timeUnit" in configuration)
|
|
2972
|
-
_timeUnit = configuration.timeUnit;
|
|
2923
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2973
2924
|
return {
|
|
2974
2925
|
endpoint: "/papi/v1/cm/order",
|
|
2975
2926
|
method: "DELETE",
|
|
@@ -2998,8 +2949,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
2998
2949
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2999
2950
|
}
|
|
3000
2951
|
let _timeUnit;
|
|
3001
|
-
if ("timeUnit" in configuration)
|
|
3002
|
-
_timeUnit = configuration.timeUnit;
|
|
2952
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3003
2953
|
return {
|
|
3004
2954
|
endpoint: "/papi/v1/margin/allOpenOrders",
|
|
3005
2955
|
method: "DELETE",
|
|
@@ -3042,8 +2992,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3042
2992
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3043
2993
|
}
|
|
3044
2994
|
let _timeUnit;
|
|
3045
|
-
if ("timeUnit" in configuration)
|
|
3046
|
-
_timeUnit = configuration.timeUnit;
|
|
2995
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3047
2996
|
return {
|
|
3048
2997
|
endpoint: "/papi/v1/margin/orderList",
|
|
3049
2998
|
method: "DELETE",
|
|
@@ -3086,8 +3035,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3086
3035
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3087
3036
|
}
|
|
3088
3037
|
let _timeUnit;
|
|
3089
|
-
if ("timeUnit" in configuration)
|
|
3090
|
-
_timeUnit = configuration.timeUnit;
|
|
3038
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3091
3039
|
return {
|
|
3092
3040
|
endpoint: "/papi/v1/margin/order",
|
|
3093
3041
|
method: "DELETE",
|
|
@@ -3126,8 +3074,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3126
3074
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3127
3075
|
}
|
|
3128
3076
|
let _timeUnit;
|
|
3129
|
-
if ("timeUnit" in configuration)
|
|
3130
|
-
_timeUnit = configuration.timeUnit;
|
|
3077
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3131
3078
|
return {
|
|
3132
3079
|
endpoint: "/papi/v1/um/conditional/order",
|
|
3133
3080
|
method: "DELETE",
|
|
@@ -3166,8 +3113,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3166
3113
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3167
3114
|
}
|
|
3168
3115
|
let _timeUnit;
|
|
3169
|
-
if ("timeUnit" in configuration)
|
|
3170
|
-
_timeUnit = configuration.timeUnit;
|
|
3116
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3171
3117
|
return {
|
|
3172
3118
|
endpoint: "/papi/v1/um/order",
|
|
3173
3119
|
method: "DELETE",
|
|
@@ -3222,8 +3168,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3222
3168
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3223
3169
|
}
|
|
3224
3170
|
let _timeUnit;
|
|
3225
|
-
if ("timeUnit" in configuration)
|
|
3226
|
-
_timeUnit = configuration.timeUnit;
|
|
3171
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3227
3172
|
return {
|
|
3228
3173
|
endpoint: "/papi/v1/cm/userTrades",
|
|
3229
3174
|
method: "GET",
|
|
@@ -3257,8 +3202,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3257
3202
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3258
3203
|
}
|
|
3259
3204
|
let _timeUnit;
|
|
3260
|
-
if ("timeUnit" in configuration)
|
|
3261
|
-
_timeUnit = configuration.timeUnit;
|
|
3205
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3262
3206
|
return {
|
|
3263
3207
|
endpoint: "/papi/v1/cm/adlQuantile",
|
|
3264
3208
|
method: "GET",
|
|
@@ -3282,8 +3226,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3282
3226
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3283
3227
|
}
|
|
3284
3228
|
let _timeUnit;
|
|
3285
|
-
if ("timeUnit" in configuration)
|
|
3286
|
-
_timeUnit = configuration.timeUnit;
|
|
3229
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3287
3230
|
return {
|
|
3288
3231
|
endpoint: "/papi/v1/um/feeBurn",
|
|
3289
3232
|
method: "GET",
|
|
@@ -3317,8 +3260,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3317
3260
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3318
3261
|
}
|
|
3319
3262
|
let _timeUnit;
|
|
3320
|
-
if ("timeUnit" in configuration)
|
|
3321
|
-
_timeUnit = configuration.timeUnit;
|
|
3263
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3322
3264
|
return {
|
|
3323
3265
|
endpoint: "/papi/v1/marginLoan",
|
|
3324
3266
|
method: "POST",
|
|
@@ -3412,8 +3354,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3412
3354
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3413
3355
|
}
|
|
3414
3356
|
let _timeUnit;
|
|
3415
|
-
if ("timeUnit" in configuration)
|
|
3416
|
-
_timeUnit = configuration.timeUnit;
|
|
3357
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3417
3358
|
return {
|
|
3418
3359
|
endpoint: "/papi/v1/margin/order/oco",
|
|
3419
3360
|
method: "POST",
|
|
@@ -3447,8 +3388,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3447
3388
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3448
3389
|
}
|
|
3449
3390
|
let _timeUnit;
|
|
3450
|
-
if ("timeUnit" in configuration)
|
|
3451
|
-
_timeUnit = configuration.timeUnit;
|
|
3391
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3452
3392
|
return {
|
|
3453
3393
|
endpoint: "/papi/v1/repayLoan",
|
|
3454
3394
|
method: "POST",
|
|
@@ -3490,8 +3430,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3490
3430
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3491
3431
|
}
|
|
3492
3432
|
let _timeUnit;
|
|
3493
|
-
if ("timeUnit" in configuration)
|
|
3494
|
-
_timeUnit = configuration.timeUnit;
|
|
3433
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3495
3434
|
return {
|
|
3496
3435
|
endpoint: "/papi/v1/margin/repay-debt",
|
|
3497
3436
|
method: "POST",
|
|
@@ -3540,8 +3479,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3540
3479
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3541
3480
|
}
|
|
3542
3481
|
let _timeUnit;
|
|
3543
|
-
if ("timeUnit" in configuration)
|
|
3544
|
-
_timeUnit = configuration.timeUnit;
|
|
3482
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3545
3483
|
return {
|
|
3546
3484
|
endpoint: "/papi/v1/margin/myTrades",
|
|
3547
3485
|
method: "GET",
|
|
@@ -3604,8 +3542,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3604
3542
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3605
3543
|
}
|
|
3606
3544
|
let _timeUnit;
|
|
3607
|
-
if ("timeUnit" in configuration)
|
|
3608
|
-
_timeUnit = configuration.timeUnit;
|
|
3545
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3609
3546
|
return {
|
|
3610
3547
|
endpoint: "/papi/v1/cm/order",
|
|
3611
3548
|
method: "PUT",
|
|
@@ -3668,8 +3605,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3668
3605
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3669
3606
|
}
|
|
3670
3607
|
let _timeUnit;
|
|
3671
|
-
if ("timeUnit" in configuration)
|
|
3672
|
-
_timeUnit = configuration.timeUnit;
|
|
3608
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3673
3609
|
return {
|
|
3674
3610
|
endpoint: "/papi/v1/um/order",
|
|
3675
3611
|
method: "PUT",
|
|
@@ -3777,8 +3713,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3777
3713
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3778
3714
|
}
|
|
3779
3715
|
let _timeUnit;
|
|
3780
|
-
if ("timeUnit" in configuration)
|
|
3781
|
-
_timeUnit = configuration.timeUnit;
|
|
3716
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3782
3717
|
return {
|
|
3783
3718
|
endpoint: "/papi/v1/cm/conditional/order",
|
|
3784
3719
|
method: "POST",
|
|
@@ -3853,8 +3788,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3853
3788
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3854
3789
|
}
|
|
3855
3790
|
let _timeUnit;
|
|
3856
|
-
if ("timeUnit" in configuration)
|
|
3857
|
-
_timeUnit = configuration.timeUnit;
|
|
3791
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3858
3792
|
return {
|
|
3859
3793
|
endpoint: "/papi/v1/cm/order",
|
|
3860
3794
|
method: "POST",
|
|
@@ -3937,8 +3871,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
3937
3871
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
3938
3872
|
}
|
|
3939
3873
|
let _timeUnit;
|
|
3940
|
-
if ("timeUnit" in configuration)
|
|
3941
|
-
_timeUnit = configuration.timeUnit;
|
|
3874
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
3942
3875
|
return {
|
|
3943
3876
|
endpoint: "/papi/v1/margin/order",
|
|
3944
3877
|
method: "POST",
|
|
@@ -4060,8 +3993,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4060
3993
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4061
3994
|
}
|
|
4062
3995
|
let _timeUnit;
|
|
4063
|
-
if ("timeUnit" in configuration)
|
|
4064
|
-
_timeUnit = configuration.timeUnit;
|
|
3996
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4065
3997
|
return {
|
|
4066
3998
|
endpoint: "/papi/v1/um/conditional/order",
|
|
4067
3999
|
method: "POST",
|
|
@@ -4146,8 +4078,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4146
4078
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4147
4079
|
}
|
|
4148
4080
|
let _timeUnit;
|
|
4149
|
-
if ("timeUnit" in configuration)
|
|
4150
|
-
_timeUnit = configuration.timeUnit;
|
|
4081
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4151
4082
|
return {
|
|
4152
4083
|
endpoint: "/papi/v1/um/order",
|
|
4153
4084
|
method: "POST",
|
|
@@ -4197,8 +4128,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4197
4128
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4198
4129
|
}
|
|
4199
4130
|
let _timeUnit;
|
|
4200
|
-
if ("timeUnit" in configuration)
|
|
4201
|
-
_timeUnit = configuration.timeUnit;
|
|
4131
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4202
4132
|
return {
|
|
4203
4133
|
endpoint: "/papi/v1/cm/conditional/allOrders",
|
|
4204
4134
|
method: "GET",
|
|
@@ -4254,8 +4184,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4254
4184
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4255
4185
|
}
|
|
4256
4186
|
let _timeUnit;
|
|
4257
|
-
if ("timeUnit" in configuration)
|
|
4258
|
-
_timeUnit = configuration.timeUnit;
|
|
4187
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4259
4188
|
return {
|
|
4260
4189
|
endpoint: "/papi/v1/cm/allOrders",
|
|
4261
4190
|
method: "GET",
|
|
@@ -4285,8 +4214,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4285
4214
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4286
4215
|
}
|
|
4287
4216
|
let _timeUnit;
|
|
4288
|
-
if ("timeUnit" in configuration)
|
|
4289
|
-
_timeUnit = configuration.timeUnit;
|
|
4217
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4290
4218
|
return {
|
|
4291
4219
|
endpoint: "/papi/v1/cm/conditional/openOrders",
|
|
4292
4220
|
method: "GET",
|
|
@@ -4321,8 +4249,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4321
4249
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4322
4250
|
}
|
|
4323
4251
|
let _timeUnit;
|
|
4324
|
-
if ("timeUnit" in configuration)
|
|
4325
|
-
_timeUnit = configuration.timeUnit;
|
|
4252
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4326
4253
|
return {
|
|
4327
4254
|
endpoint: "/papi/v1/cm/openOrders",
|
|
4328
4255
|
method: "GET",
|
|
@@ -4353,8 +4280,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4353
4280
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4354
4281
|
}
|
|
4355
4282
|
let _timeUnit;
|
|
4356
|
-
if ("timeUnit" in configuration)
|
|
4357
|
-
_timeUnit = configuration.timeUnit;
|
|
4283
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4358
4284
|
return {
|
|
4359
4285
|
endpoint: "/papi/v1/um/conditional/openOrders",
|
|
4360
4286
|
method: "GET",
|
|
@@ -4385,8 +4311,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4385
4311
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4386
4312
|
}
|
|
4387
4313
|
let _timeUnit;
|
|
4388
|
-
if ("timeUnit" in configuration)
|
|
4389
|
-
_timeUnit = configuration.timeUnit;
|
|
4314
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4390
4315
|
return {
|
|
4391
4316
|
endpoint: "/papi/v1/um/openOrders",
|
|
4392
4317
|
method: "GET",
|
|
@@ -4431,8 +4356,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4431
4356
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4432
4357
|
}
|
|
4433
4358
|
let _timeUnit;
|
|
4434
|
-
if ("timeUnit" in configuration)
|
|
4435
|
-
_timeUnit = configuration.timeUnit;
|
|
4359
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4436
4360
|
return {
|
|
4437
4361
|
endpoint: "/papi/v1/margin/allOrders",
|
|
4438
4362
|
method: "GET",
|
|
@@ -4482,8 +4406,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4482
4406
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4483
4407
|
}
|
|
4484
4408
|
let _timeUnit;
|
|
4485
|
-
if ("timeUnit" in configuration)
|
|
4486
|
-
_timeUnit = configuration.timeUnit;
|
|
4409
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4487
4410
|
return {
|
|
4488
4411
|
endpoint: "/papi/v1/um/conditional/allOrders",
|
|
4489
4412
|
method: "GET",
|
|
@@ -4535,8 +4458,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4535
4458
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4536
4459
|
}
|
|
4537
4460
|
let _timeUnit;
|
|
4538
|
-
if ("timeUnit" in configuration)
|
|
4539
|
-
_timeUnit = configuration.timeUnit;
|
|
4461
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4540
4462
|
return {
|
|
4541
4463
|
endpoint: "/papi/v1/um/allOrders",
|
|
4542
4464
|
method: "GET",
|
|
@@ -4581,8 +4503,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4581
4503
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4582
4504
|
}
|
|
4583
4505
|
let _timeUnit;
|
|
4584
|
-
if ("timeUnit" in configuration)
|
|
4585
|
-
_timeUnit = configuration.timeUnit;
|
|
4506
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4586
4507
|
return {
|
|
4587
4508
|
endpoint: "/papi/v1/cm/conditional/orderHistory",
|
|
4588
4509
|
method: "GET",
|
|
@@ -4633,8 +4554,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4633
4554
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4634
4555
|
}
|
|
4635
4556
|
let _timeUnit;
|
|
4636
|
-
if ("timeUnit" in configuration)
|
|
4637
|
-
_timeUnit = configuration.timeUnit;
|
|
4557
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4638
4558
|
return {
|
|
4639
4559
|
endpoint: "/papi/v1/cm/orderAmendment",
|
|
4640
4560
|
method: "GET",
|
|
@@ -4677,8 +4597,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4677
4597
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4678
4598
|
}
|
|
4679
4599
|
let _timeUnit;
|
|
4680
|
-
if ("timeUnit" in configuration)
|
|
4681
|
-
_timeUnit = configuration.timeUnit;
|
|
4600
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4682
4601
|
return {
|
|
4683
4602
|
endpoint: "/papi/v1/cm/order",
|
|
4684
4603
|
method: "GET",
|
|
@@ -4718,8 +4637,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4718
4637
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4719
4638
|
}
|
|
4720
4639
|
let _timeUnit;
|
|
4721
|
-
if ("timeUnit" in configuration)
|
|
4722
|
-
_timeUnit = configuration.timeUnit;
|
|
4640
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4723
4641
|
return {
|
|
4724
4642
|
endpoint: "/papi/v1/cm/conditional/openOrder",
|
|
4725
4643
|
method: "GET",
|
|
@@ -4759,8 +4677,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4759
4677
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4760
4678
|
}
|
|
4761
4679
|
let _timeUnit;
|
|
4762
|
-
if ("timeUnit" in configuration)
|
|
4763
|
-
_timeUnit = configuration.timeUnit;
|
|
4680
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4764
4681
|
return {
|
|
4765
4682
|
endpoint: "/papi/v1/cm/openOrder",
|
|
4766
4683
|
method: "GET",
|
|
@@ -4789,8 +4706,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4789
4706
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4790
4707
|
}
|
|
4791
4708
|
let _timeUnit;
|
|
4792
|
-
if ("timeUnit" in configuration)
|
|
4793
|
-
_timeUnit = configuration.timeUnit;
|
|
4709
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4794
4710
|
return {
|
|
4795
4711
|
endpoint: "/papi/v1/margin/openOrders",
|
|
4796
4712
|
method: "GET",
|
|
@@ -4830,8 +4746,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4830
4746
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4831
4747
|
}
|
|
4832
4748
|
let _timeUnit;
|
|
4833
|
-
if ("timeUnit" in configuration)
|
|
4834
|
-
_timeUnit = configuration.timeUnit;
|
|
4749
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4835
4750
|
return {
|
|
4836
4751
|
endpoint: "/papi/v1/um/conditional/openOrder",
|
|
4837
4752
|
method: "GET",
|
|
@@ -4872,8 +4787,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4872
4787
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4873
4788
|
}
|
|
4874
4789
|
let _timeUnit;
|
|
4875
|
-
if ("timeUnit" in configuration)
|
|
4876
|
-
_timeUnit = configuration.timeUnit;
|
|
4790
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4877
4791
|
return {
|
|
4878
4792
|
endpoint: "/papi/v1/um/openOrder",
|
|
4879
4793
|
method: "GET",
|
|
@@ -4910,8 +4824,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4910
4824
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4911
4825
|
}
|
|
4912
4826
|
let _timeUnit;
|
|
4913
|
-
if ("timeUnit" in configuration)
|
|
4914
|
-
_timeUnit = configuration.timeUnit;
|
|
4827
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4915
4828
|
return {
|
|
4916
4829
|
endpoint: "/papi/v1/margin/order",
|
|
4917
4830
|
method: "GET",
|
|
@@ -4951,8 +4864,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4951
4864
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4952
4865
|
}
|
|
4953
4866
|
let _timeUnit;
|
|
4954
|
-
if ("timeUnit" in configuration)
|
|
4955
|
-
_timeUnit = configuration.timeUnit;
|
|
4867
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4956
4868
|
return {
|
|
4957
4869
|
endpoint: "/papi/v1/margin/allOrderList",
|
|
4958
4870
|
method: "GET",
|
|
@@ -4984,8 +4896,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
4984
4896
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
4985
4897
|
}
|
|
4986
4898
|
let _timeUnit;
|
|
4987
|
-
if ("timeUnit" in configuration)
|
|
4988
|
-
_timeUnit = configuration.timeUnit;
|
|
4899
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
4989
4900
|
return {
|
|
4990
4901
|
endpoint: "/papi/v1/margin/orderList",
|
|
4991
4902
|
method: "GET",
|
|
@@ -5009,8 +4920,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5009
4920
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5010
4921
|
}
|
|
5011
4922
|
let _timeUnit;
|
|
5012
|
-
if ("timeUnit" in configuration)
|
|
5013
|
-
_timeUnit = configuration.timeUnit;
|
|
4923
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5014
4924
|
return {
|
|
5015
4925
|
endpoint: "/papi/v1/margin/openOrderList",
|
|
5016
4926
|
method: "GET",
|
|
@@ -5054,8 +4964,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5054
4964
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5055
4965
|
}
|
|
5056
4966
|
let _timeUnit;
|
|
5057
|
-
if ("timeUnit" in configuration)
|
|
5058
|
-
_timeUnit = configuration.timeUnit;
|
|
4967
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5059
4968
|
return {
|
|
5060
4969
|
endpoint: "/papi/v1/um/conditional/orderHistory",
|
|
5061
4970
|
method: "GET",
|
|
@@ -5106,8 +5015,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5106
5015
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5107
5016
|
}
|
|
5108
5017
|
let _timeUnit;
|
|
5109
|
-
if ("timeUnit" in configuration)
|
|
5110
|
-
_timeUnit = configuration.timeUnit;
|
|
5018
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5111
5019
|
return {
|
|
5112
5020
|
endpoint: "/papi/v1/um/orderAmendment",
|
|
5113
5021
|
method: "GET",
|
|
@@ -5150,8 +5058,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5150
5058
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5151
5059
|
}
|
|
5152
5060
|
let _timeUnit;
|
|
5153
|
-
if ("timeUnit" in configuration)
|
|
5154
|
-
_timeUnit = configuration.timeUnit;
|
|
5061
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5155
5062
|
return {
|
|
5156
5063
|
endpoint: "/papi/v1/um/order",
|
|
5157
5064
|
method: "GET",
|
|
@@ -5198,8 +5105,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5198
5105
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5199
5106
|
}
|
|
5200
5107
|
let _timeUnit;
|
|
5201
|
-
if ("timeUnit" in configuration)
|
|
5202
|
-
_timeUnit = configuration.timeUnit;
|
|
5108
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5203
5109
|
return {
|
|
5204
5110
|
endpoint: "/papi/v1/cm/forceOrders",
|
|
5205
5111
|
method: "GET",
|
|
@@ -5239,8 +5145,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5239
5145
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5240
5146
|
}
|
|
5241
5147
|
let _timeUnit;
|
|
5242
|
-
if ("timeUnit" in configuration)
|
|
5243
|
-
_timeUnit = configuration.timeUnit;
|
|
5148
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5244
5149
|
return {
|
|
5245
5150
|
endpoint: "/papi/v1/margin/forceOrders",
|
|
5246
5151
|
method: "GET",
|
|
@@ -5287,8 +5192,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5287
5192
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5288
5193
|
}
|
|
5289
5194
|
let _timeUnit;
|
|
5290
|
-
if ("timeUnit" in configuration)
|
|
5291
|
-
_timeUnit = configuration.timeUnit;
|
|
5195
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5292
5196
|
return {
|
|
5293
5197
|
endpoint: "/papi/v1/um/forceOrders",
|
|
5294
5198
|
method: "GET",
|
|
@@ -5320,8 +5224,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5320
5224
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5321
5225
|
}
|
|
5322
5226
|
let _timeUnit;
|
|
5323
|
-
if ("timeUnit" in configuration)
|
|
5324
|
-
_timeUnit = configuration.timeUnit;
|
|
5227
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5325
5228
|
return {
|
|
5326
5229
|
endpoint: "/papi/v1/um/feeBurn",
|
|
5327
5230
|
method: "POST",
|
|
@@ -5371,8 +5274,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5371
5274
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5372
5275
|
}
|
|
5373
5276
|
let _timeUnit;
|
|
5374
|
-
if ("timeUnit" in configuration)
|
|
5375
|
-
_timeUnit = configuration.timeUnit;
|
|
5277
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5376
5278
|
return {
|
|
5377
5279
|
endpoint: "/papi/v1/um/userTrades",
|
|
5378
5280
|
method: "GET",
|
|
@@ -5407,8 +5309,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
|
|
|
5407
5309
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
5408
5310
|
}
|
|
5409
5311
|
let _timeUnit;
|
|
5410
|
-
if ("timeUnit" in configuration)
|
|
5411
|
-
_timeUnit = configuration.timeUnit;
|
|
5312
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
5412
5313
|
return {
|
|
5413
5314
|
endpoint: "/papi/v1/um/adlQuantile",
|
|
5414
5315
|
method: "GET",
|
|
@@ -7526,8 +7427,7 @@ var UserDataStreamsApiAxiosParamCreator = function(configuration) {
|
|
|
7526
7427
|
closeUserDataStream: async () => {
|
|
7527
7428
|
const localVarQueryParameter = {};
|
|
7528
7429
|
let _timeUnit;
|
|
7529
|
-
if ("timeUnit" in configuration)
|
|
7530
|
-
_timeUnit = configuration.timeUnit;
|
|
7430
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
7531
7431
|
return {
|
|
7532
7432
|
endpoint: "/papi/v1/listenKey",
|
|
7533
7433
|
method: "DELETE",
|
|
@@ -7547,8 +7447,7 @@ var UserDataStreamsApiAxiosParamCreator = function(configuration) {
|
|
|
7547
7447
|
keepaliveUserDataStream: async () => {
|
|
7548
7448
|
const localVarQueryParameter = {};
|
|
7549
7449
|
let _timeUnit;
|
|
7550
|
-
if ("timeUnit" in configuration)
|
|
7551
|
-
_timeUnit = configuration.timeUnit;
|
|
7450
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
7552
7451
|
return {
|
|
7553
7452
|
endpoint: "/papi/v1/listenKey",
|
|
7554
7453
|
method: "PUT",
|
|
@@ -7568,8 +7467,7 @@ var UserDataStreamsApiAxiosParamCreator = function(configuration) {
|
|
|
7568
7467
|
startUserDataStream: async () => {
|
|
7569
7468
|
const localVarQueryParameter = {};
|
|
7570
7469
|
let _timeUnit;
|
|
7571
|
-
if ("timeUnit" in configuration)
|
|
7572
|
-
_timeUnit = configuration.timeUnit;
|
|
7470
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
7573
7471
|
return {
|
|
7574
7472
|
endpoint: "/papi/v1/listenKey",
|
|
7575
7473
|
method: "POST",
|