@binance/derivatives-trading-portfolio-margin-pro 1.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.
@@ -0,0 +1,2360 @@
1
+ import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
+ export { BadRequestError, ConnectorClientError, DERIVATIVES_TRADING_PORTFOLIO_MARGIN_PRO_REST_API_PROD_URL, DERIVATIVES_TRADING_PORTFOLIO_MARGIN_PRO_REST_API_TESTNET_URL, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
3
+
4
+ /**
5
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
6
+ *
7
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
8
+ *
9
+ * The version of the OpenAPI document: 1.0.0
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface BadRequest
20
+ */
21
+ interface BadRequest {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof BadRequest
26
+ */
27
+ code: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof BadRequest
32
+ */
33
+ message: string;
34
+ }
35
+
36
+ /**
37
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
38
+ *
39
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
40
+ *
41
+ * The version of the OpenAPI document: 1.0.0
42
+ *
43
+ *
44
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
45
+ * https://openapi-generator.tech
46
+ * Do not edit the class manually.
47
+ */
48
+ /**
49
+ *
50
+ * @export
51
+ * @interface BnbTransferResponse
52
+ */
53
+ interface BnbTransferResponse {
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof BnbTransferResponse
58
+ */
59
+ tranId?: number;
60
+ }
61
+
62
+ /**
63
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
64
+ *
65
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
66
+ *
67
+ * The version of the OpenAPI document: 1.0.0
68
+ *
69
+ *
70
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
71
+ * https://openapi-generator.tech
72
+ * Do not edit the class manually.
73
+ */
74
+ /**
75
+ *
76
+ * @export
77
+ * @interface ChangeAutoRepayFuturesStatusResponse
78
+ */
79
+ interface ChangeAutoRepayFuturesStatusResponse {
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof ChangeAutoRepayFuturesStatusResponse
84
+ */
85
+ msg?: string;
86
+ }
87
+
88
+ /**
89
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
90
+ *
91
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
92
+ *
93
+ * The version of the OpenAPI document: 1.0.0
94
+ *
95
+ *
96
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
97
+ * https://openapi-generator.tech
98
+ * Do not edit the class manually.
99
+ */
100
+ /**
101
+ *
102
+ * @export
103
+ * @interface FundAutoCollectionResponse
104
+ */
105
+ interface FundAutoCollectionResponse {
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof FundAutoCollectionResponse
110
+ */
111
+ msg?: string;
112
+ }
113
+
114
+ /**
115
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
116
+ *
117
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
118
+ *
119
+ * The version of the OpenAPI document: 1.0.0
120
+ *
121
+ *
122
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
123
+ * https://openapi-generator.tech
124
+ * Do not edit the class manually.
125
+ */
126
+ /**
127
+ *
128
+ * @export
129
+ * @interface FundCollectionByAssetResponse
130
+ */
131
+ interface FundCollectionByAssetResponse {
132
+ /**
133
+ *
134
+ * @type {string}
135
+ * @memberof FundCollectionByAssetResponse
136
+ */
137
+ msg?: string;
138
+ }
139
+
140
+ /**
141
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
142
+ *
143
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
144
+ *
145
+ * The version of the OpenAPI document: 1.0.0
146
+ *
147
+ *
148
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
149
+ * https://openapi-generator.tech
150
+ * Do not edit the class manually.
151
+ */
152
+ /**
153
+ *
154
+ * @export
155
+ * @interface GetAutoRepayFuturesStatusResponse
156
+ */
157
+ interface GetAutoRepayFuturesStatusResponse {
158
+ /**
159
+ *
160
+ * @type {boolean}
161
+ * @memberof GetAutoRepayFuturesStatusResponse
162
+ */
163
+ autoRepay?: boolean;
164
+ }
165
+
166
+ /**
167
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
168
+ *
169
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
170
+ *
171
+ * The version of the OpenAPI document: 1.0.0
172
+ *
173
+ *
174
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
175
+ * https://openapi-generator.tech
176
+ * Do not edit the class manually.
177
+ */
178
+ /**
179
+ *
180
+ * @export
181
+ * @interface GetPortfolioMarginAssetLeverageResponseInner
182
+ */
183
+ interface GetPortfolioMarginAssetLeverageResponseInner {
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof GetPortfolioMarginAssetLeverageResponseInner
188
+ */
189
+ asset?: string;
190
+ /**
191
+ *
192
+ * @type {number}
193
+ * @memberof GetPortfolioMarginAssetLeverageResponseInner
194
+ */
195
+ leverage?: number;
196
+ }
197
+
198
+ /**
199
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
200
+ *
201
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
202
+ *
203
+ * The version of the OpenAPI document: 1.0.0
204
+ *
205
+ *
206
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
207
+ * https://openapi-generator.tech
208
+ * Do not edit the class manually.
209
+ */
210
+
211
+ /**
212
+ *
213
+ * @export
214
+ * @interface GetPortfolioMarginAssetLeverageResponse
215
+ */
216
+ interface GetPortfolioMarginAssetLeverageResponse extends Array<GetPortfolioMarginAssetLeverageResponseInner> {
217
+ }
218
+
219
+ /**
220
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
221
+ *
222
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
223
+ *
224
+ * The version of the OpenAPI document: 1.0.0
225
+ *
226
+ *
227
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
228
+ * https://openapi-generator.tech
229
+ * Do not edit the class manually.
230
+ */
231
+ /**
232
+ *
233
+ * @export
234
+ * @interface GetPortfolioMarginProAccountBalanceResponseInner
235
+ */
236
+ interface GetPortfolioMarginProAccountBalanceResponseInner {
237
+ /**
238
+ *
239
+ * @type {string}
240
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
241
+ */
242
+ asset?: string;
243
+ /**
244
+ *
245
+ * @type {string}
246
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
247
+ */
248
+ totalWalletBalance?: string;
249
+ /**
250
+ *
251
+ * @type {string}
252
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
253
+ */
254
+ crossMarginAsset?: string;
255
+ /**
256
+ *
257
+ * @type {string}
258
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
259
+ */
260
+ crossMarginBorrowed?: string;
261
+ /**
262
+ *
263
+ * @type {string}
264
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
265
+ */
266
+ crossMarginFree?: string;
267
+ /**
268
+ *
269
+ * @type {string}
270
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
271
+ */
272
+ crossMarginInterest?: string;
273
+ /**
274
+ *
275
+ * @type {string}
276
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
277
+ */
278
+ crossMarginLocked?: string;
279
+ /**
280
+ *
281
+ * @type {string}
282
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
283
+ */
284
+ umWalletBalance?: string;
285
+ /**
286
+ *
287
+ * @type {string}
288
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
289
+ */
290
+ umUnrealizedPNL?: string;
291
+ /**
292
+ *
293
+ * @type {string}
294
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
295
+ */
296
+ cmWalletBalance?: string;
297
+ /**
298
+ *
299
+ * @type {string}
300
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
301
+ */
302
+ cmUnrealizedPNL?: string;
303
+ /**
304
+ *
305
+ * @type {number}
306
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
307
+ */
308
+ updateTime?: number;
309
+ /**
310
+ *
311
+ * @type {string}
312
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
313
+ */
314
+ negativeBalance?: string;
315
+ /**
316
+ *
317
+ * @type {string}
318
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
319
+ */
320
+ optionWalletBalance?: string;
321
+ /**
322
+ *
323
+ * @type {string}
324
+ * @memberof GetPortfolioMarginProAccountBalanceResponseInner
325
+ */
326
+ optionEquity?: string;
327
+ }
328
+
329
+ /**
330
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
331
+ *
332
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
333
+ *
334
+ * The version of the OpenAPI document: 1.0.0
335
+ *
336
+ *
337
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
338
+ * https://openapi-generator.tech
339
+ * Do not edit the class manually.
340
+ */
341
+
342
+ /**
343
+ *
344
+ * @export
345
+ * @interface GetPortfolioMarginProAccountBalanceResponse
346
+ */
347
+ interface GetPortfolioMarginProAccountBalanceResponse extends Array<GetPortfolioMarginProAccountBalanceResponseInner> {
348
+ }
349
+
350
+ /**
351
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
352
+ *
353
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
354
+ *
355
+ * The version of the OpenAPI document: 1.0.0
356
+ *
357
+ *
358
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
359
+ * https://openapi-generator.tech
360
+ * Do not edit the class manually.
361
+ */
362
+ /**
363
+ *
364
+ * @export
365
+ * @interface GetPortfolioMarginProAccountInfoResponse
366
+ */
367
+ interface GetPortfolioMarginProAccountInfoResponse {
368
+ /**
369
+ *
370
+ * @type {string}
371
+ * @memberof GetPortfolioMarginProAccountInfoResponse
372
+ */
373
+ uniMMR?: string;
374
+ /**
375
+ *
376
+ * @type {string}
377
+ * @memberof GetPortfolioMarginProAccountInfoResponse
378
+ */
379
+ accountEquity?: string;
380
+ /**
381
+ *
382
+ * @type {string}
383
+ * @memberof GetPortfolioMarginProAccountInfoResponse
384
+ */
385
+ actualEquity?: string;
386
+ /**
387
+ *
388
+ * @type {string}
389
+ * @memberof GetPortfolioMarginProAccountInfoResponse
390
+ */
391
+ accountMaintMargin?: string;
392
+ /**
393
+ *
394
+ * @type {string}
395
+ * @memberof GetPortfolioMarginProAccountInfoResponse
396
+ */
397
+ accountInitialMargin?: string;
398
+ /**
399
+ *
400
+ * @type {string}
401
+ * @memberof GetPortfolioMarginProAccountInfoResponse
402
+ */
403
+ totalAvailableBalance?: string;
404
+ /**
405
+ *
406
+ * @type {string}
407
+ * @memberof GetPortfolioMarginProAccountInfoResponse
408
+ */
409
+ accountStatus?: string;
410
+ /**
411
+ *
412
+ * @type {string}
413
+ * @memberof GetPortfolioMarginProAccountInfoResponse
414
+ */
415
+ accountType?: string;
416
+ }
417
+
418
+ /**
419
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
420
+ *
421
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
422
+ *
423
+ * The version of the OpenAPI document: 1.0.0
424
+ *
425
+ *
426
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
427
+ * https://openapi-generator.tech
428
+ * Do not edit the class manually.
429
+ */
430
+ /**
431
+ *
432
+ * @export
433
+ * @interface GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner
434
+ */
435
+ interface GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner {
436
+ /**
437
+ *
438
+ * @type {string}
439
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner
440
+ */
441
+ asset?: string;
442
+ /**
443
+ *
444
+ * @type {string}
445
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner
446
+ */
447
+ uniMaintainUsd?: string;
448
+ }
449
+
450
+ /**
451
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
452
+ *
453
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
454
+ *
455
+ * The version of the OpenAPI document: 1.0.0
456
+ *
457
+ *
458
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
459
+ * https://openapi-generator.tech
460
+ * Do not edit the class manually.
461
+ */
462
+
463
+ /**
464
+ *
465
+ * @export
466
+ * @interface GetPortfolioMarginProSpanAccountInfoResponse
467
+ */
468
+ interface GetPortfolioMarginProSpanAccountInfoResponse {
469
+ /**
470
+ *
471
+ * @type {string}
472
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponse
473
+ */
474
+ uniMMR?: string;
475
+ /**
476
+ *
477
+ * @type {string}
478
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponse
479
+ */
480
+ accountEquity?: string;
481
+ /**
482
+ *
483
+ * @type {string}
484
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponse
485
+ */
486
+ actualEquity?: string;
487
+ /**
488
+ *
489
+ * @type {string}
490
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponse
491
+ */
492
+ accountMaintMargin?: string;
493
+ /**
494
+ *
495
+ * @type {Array<GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner>}
496
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponse
497
+ */
498
+ riskUnitMMList?: Array<GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner>;
499
+ /**
500
+ *
501
+ * @type {string}
502
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponse
503
+ */
504
+ marginMM?: string;
505
+ /**
506
+ *
507
+ * @type {string}
508
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponse
509
+ */
510
+ otherMM?: string;
511
+ /**
512
+ *
513
+ * @type {string}
514
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponse
515
+ */
516
+ accountStatus?: string;
517
+ /**
518
+ *
519
+ * @type {string}
520
+ * @memberof GetPortfolioMarginProSpanAccountInfoResponse
521
+ */
522
+ accountType?: string;
523
+ }
524
+
525
+ /**
526
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
527
+ *
528
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
529
+ *
530
+ * The version of the OpenAPI document: 1.0.0
531
+ *
532
+ *
533
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
534
+ * https://openapi-generator.tech
535
+ * Do not edit the class manually.
536
+ */
537
+ /**
538
+ *
539
+ * @export
540
+ * @interface MintBfusdForPortfolioMarginResponse
541
+ */
542
+ interface MintBfusdForPortfolioMarginResponse {
543
+ /**
544
+ *
545
+ * @type {string}
546
+ * @memberof MintBfusdForPortfolioMarginResponse
547
+ */
548
+ fromAsset?: string;
549
+ /**
550
+ *
551
+ * @type {string}
552
+ * @memberof MintBfusdForPortfolioMarginResponse
553
+ */
554
+ targetAsset?: string;
555
+ /**
556
+ *
557
+ * @type {number}
558
+ * @memberof MintBfusdForPortfolioMarginResponse
559
+ */
560
+ fromAssetQty?: number;
561
+ /**
562
+ *
563
+ * @type {number}
564
+ * @memberof MintBfusdForPortfolioMarginResponse
565
+ */
566
+ targetAssetQty?: number;
567
+ /**
568
+ *
569
+ * @type {number}
570
+ * @memberof MintBfusdForPortfolioMarginResponse
571
+ */
572
+ rate?: number;
573
+ }
574
+
575
+ /**
576
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
577
+ *
578
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
579
+ *
580
+ * The version of the OpenAPI document: 1.0.0
581
+ *
582
+ *
583
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
584
+ * https://openapi-generator.tech
585
+ * Do not edit the class manually.
586
+ */
587
+ /**
588
+ *
589
+ * @export
590
+ * @interface PortfolioMarginCollateralRateResponseInner
591
+ */
592
+ interface PortfolioMarginCollateralRateResponseInner {
593
+ /**
594
+ *
595
+ * @type {string}
596
+ * @memberof PortfolioMarginCollateralRateResponseInner
597
+ */
598
+ asset?: string;
599
+ /**
600
+ *
601
+ * @type {string}
602
+ * @memberof PortfolioMarginCollateralRateResponseInner
603
+ */
604
+ collateralRate?: string;
605
+ }
606
+
607
+ /**
608
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
609
+ *
610
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
611
+ *
612
+ * The version of the OpenAPI document: 1.0.0
613
+ *
614
+ *
615
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
616
+ * https://openapi-generator.tech
617
+ * Do not edit the class manually.
618
+ */
619
+
620
+ /**
621
+ *
622
+ * @export
623
+ * @interface PortfolioMarginCollateralRateResponse
624
+ */
625
+ interface PortfolioMarginCollateralRateResponse extends Array<PortfolioMarginCollateralRateResponseInner> {
626
+ }
627
+
628
+ /**
629
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
630
+ *
631
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
632
+ *
633
+ * The version of the OpenAPI document: 1.0.0
634
+ *
635
+ *
636
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
637
+ * https://openapi-generator.tech
638
+ * Do not edit the class manually.
639
+ */
640
+ /**
641
+ *
642
+ * @export
643
+ * @interface PortfolioMarginProBankruptcyLoanRepayResponse
644
+ */
645
+ interface PortfolioMarginProBankruptcyLoanRepayResponse {
646
+ /**
647
+ *
648
+ * @type {number}
649
+ * @memberof PortfolioMarginProBankruptcyLoanRepayResponse
650
+ */
651
+ tranId?: number;
652
+ }
653
+
654
+ /**
655
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
656
+ *
657
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
658
+ *
659
+ * The version of the OpenAPI document: 1.0.0
660
+ *
661
+ *
662
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
663
+ * https://openapi-generator.tech
664
+ * Do not edit the class manually.
665
+ */
666
+ /**
667
+ *
668
+ * @export
669
+ * @interface PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
670
+ */
671
+ interface PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner {
672
+ /**
673
+ *
674
+ * @type {string}
675
+ * @memberof PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
676
+ */
677
+ tierFloor?: string;
678
+ /**
679
+ *
680
+ * @type {string}
681
+ * @memberof PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
682
+ */
683
+ tierCap?: string;
684
+ /**
685
+ *
686
+ * @type {string}
687
+ * @memberof PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
688
+ */
689
+ collateralRate?: string;
690
+ /**
691
+ *
692
+ * @type {string}
693
+ * @memberof PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
694
+ */
695
+ cum?: string;
696
+ }
697
+
698
+ /**
699
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
700
+ *
701
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
702
+ *
703
+ * The version of the OpenAPI document: 1.0.0
704
+ *
705
+ *
706
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
707
+ * https://openapi-generator.tech
708
+ * Do not edit the class manually.
709
+ */
710
+
711
+ /**
712
+ *
713
+ * @export
714
+ * @interface PortfolioMarginProTieredCollateralRateResponseInner
715
+ */
716
+ interface PortfolioMarginProTieredCollateralRateResponseInner {
717
+ /**
718
+ *
719
+ * @type {string}
720
+ * @memberof PortfolioMarginProTieredCollateralRateResponseInner
721
+ */
722
+ asset?: string;
723
+ /**
724
+ *
725
+ * @type {Array<PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner>}
726
+ * @memberof PortfolioMarginProTieredCollateralRateResponseInner
727
+ */
728
+ collateralInfo?: Array<PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner>;
729
+ }
730
+
731
+ /**
732
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
733
+ *
734
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
735
+ *
736
+ * The version of the OpenAPI document: 1.0.0
737
+ *
738
+ *
739
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
740
+ * https://openapi-generator.tech
741
+ * Do not edit the class manually.
742
+ */
743
+
744
+ /**
745
+ *
746
+ * @export
747
+ * @interface PortfolioMarginProTieredCollateralRateResponse
748
+ */
749
+ interface PortfolioMarginProTieredCollateralRateResponse extends Array<PortfolioMarginProTieredCollateralRateResponseInner> {
750
+ }
751
+
752
+ /**
753
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
754
+ *
755
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
756
+ *
757
+ * The version of the OpenAPI document: 1.0.0
758
+ *
759
+ *
760
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
761
+ * https://openapi-generator.tech
762
+ * Do not edit the class manually.
763
+ */
764
+ /**
765
+ *
766
+ * @export
767
+ * @interface QueryPortfolioMarginAssetIndexPriceResponseInner
768
+ */
769
+ interface QueryPortfolioMarginAssetIndexPriceResponseInner {
770
+ /**
771
+ *
772
+ * @type {string}
773
+ * @memberof QueryPortfolioMarginAssetIndexPriceResponseInner
774
+ */
775
+ asset?: string;
776
+ /**
777
+ *
778
+ * @type {string}
779
+ * @memberof QueryPortfolioMarginAssetIndexPriceResponseInner
780
+ */
781
+ assetIndexPrice?: string;
782
+ /**
783
+ *
784
+ * @type {number}
785
+ * @memberof QueryPortfolioMarginAssetIndexPriceResponseInner
786
+ */
787
+ time?: number;
788
+ }
789
+
790
+ /**
791
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
792
+ *
793
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
794
+ *
795
+ * The version of the OpenAPI document: 1.0.0
796
+ *
797
+ *
798
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
799
+ * https://openapi-generator.tech
800
+ * Do not edit the class manually.
801
+ */
802
+
803
+ /**
804
+ *
805
+ * @export
806
+ * @interface QueryPortfolioMarginAssetIndexPriceResponse
807
+ */
808
+ interface QueryPortfolioMarginAssetIndexPriceResponse extends Array<QueryPortfolioMarginAssetIndexPriceResponseInner> {
809
+ }
810
+
811
+ /**
812
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
813
+ *
814
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
815
+ *
816
+ * The version of the OpenAPI document: 1.0.0
817
+ *
818
+ *
819
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
820
+ * https://openapi-generator.tech
821
+ * Do not edit the class manually.
822
+ */
823
+ /**
824
+ *
825
+ * @export
826
+ * @interface QueryPortfolioMarginProBankruptcyLoanAmountResponse
827
+ */
828
+ interface QueryPortfolioMarginProBankruptcyLoanAmountResponse {
829
+ /**
830
+ *
831
+ * @type {string}
832
+ * @memberof QueryPortfolioMarginProBankruptcyLoanAmountResponse
833
+ */
834
+ asset?: string;
835
+ /**
836
+ *
837
+ * @type {string}
838
+ * @memberof QueryPortfolioMarginProBankruptcyLoanAmountResponse
839
+ */
840
+ amount?: string;
841
+ }
842
+
843
+ /**
844
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
845
+ *
846
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
847
+ *
848
+ * The version of the OpenAPI document: 1.0.0
849
+ *
850
+ *
851
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
852
+ * https://openapi-generator.tech
853
+ * Do not edit the class manually.
854
+ */
855
+ /**
856
+ *
857
+ * @export
858
+ * @interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner
859
+ */
860
+ interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner {
861
+ /**
862
+ *
863
+ * @type {string}
864
+ * @memberof QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner
865
+ */
866
+ asset?: string;
867
+ /**
868
+ *
869
+ * @type {string}
870
+ * @memberof QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner
871
+ */
872
+ amount?: string;
873
+ /**
874
+ *
875
+ * @type {number}
876
+ * @memberof QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner
877
+ */
878
+ repayTime?: number;
879
+ }
880
+
881
+ /**
882
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
883
+ *
884
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
885
+ *
886
+ * The version of the OpenAPI document: 1.0.0
887
+ *
888
+ *
889
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
890
+ * https://openapi-generator.tech
891
+ * Do not edit the class manually.
892
+ */
893
+
894
+ /**
895
+ *
896
+ * @export
897
+ * @interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse
898
+ */
899
+ interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse {
900
+ /**
901
+ *
902
+ * @type {number}
903
+ * @memberof QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse
904
+ */
905
+ total?: number;
906
+ /**
907
+ *
908
+ * @type {Array<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner>}
909
+ * @memberof QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse
910
+ */
911
+ rows?: Array<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner>;
912
+ }
913
+
914
+ /**
915
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
916
+ *
917
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
918
+ *
919
+ * The version of the OpenAPI document: 1.0.0
920
+ *
921
+ *
922
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
923
+ * https://openapi-generator.tech
924
+ * Do not edit the class manually.
925
+ */
926
+ /**
927
+ *
928
+ * @export
929
+ * @interface QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
930
+ */
931
+ interface QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner {
932
+ /**
933
+ *
934
+ * @type {string}
935
+ * @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
936
+ */
937
+ asset?: string;
938
+ /**
939
+ *
940
+ * @type {string}
941
+ * @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
942
+ */
943
+ interest?: string;
944
+ /**
945
+ *
946
+ * @type {number}
947
+ * @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
948
+ */
949
+ interestAccruedTime?: number;
950
+ /**
951
+ *
952
+ * @type {string}
953
+ * @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
954
+ */
955
+ interestRate?: string;
956
+ /**
957
+ *
958
+ * @type {string}
959
+ * @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
960
+ */
961
+ principal?: string;
962
+ }
963
+
964
+ /**
965
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
966
+ *
967
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
968
+ *
969
+ * The version of the OpenAPI document: 1.0.0
970
+ *
971
+ *
972
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
973
+ * https://openapi-generator.tech
974
+ * Do not edit the class manually.
975
+ */
976
+
977
+ /**
978
+ *
979
+ * @export
980
+ * @interface QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse
981
+ */
982
+ interface QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse extends Array<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner> {
983
+ }
984
+
985
+ /**
986
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
987
+ *
988
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
989
+ *
990
+ * The version of the OpenAPI document: 1.0.0
991
+ *
992
+ *
993
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
994
+ * https://openapi-generator.tech
995
+ * Do not edit the class manually.
996
+ */
997
+ /**
998
+ *
999
+ * @export
1000
+ * @interface RedeemBfusdForPortfolioMarginResponse
1001
+ */
1002
+ interface RedeemBfusdForPortfolioMarginResponse {
1003
+ /**
1004
+ *
1005
+ * @type {string}
1006
+ * @memberof RedeemBfusdForPortfolioMarginResponse
1007
+ */
1008
+ fromAsset?: string;
1009
+ /**
1010
+ *
1011
+ * @type {string}
1012
+ * @memberof RedeemBfusdForPortfolioMarginResponse
1013
+ */
1014
+ targetAsset?: string;
1015
+ /**
1016
+ *
1017
+ * @type {number}
1018
+ * @memberof RedeemBfusdForPortfolioMarginResponse
1019
+ */
1020
+ fromAssetQty?: number;
1021
+ /**
1022
+ *
1023
+ * @type {number}
1024
+ * @memberof RedeemBfusdForPortfolioMarginResponse
1025
+ */
1026
+ targetAssetQty?: number;
1027
+ /**
1028
+ *
1029
+ * @type {number}
1030
+ * @memberof RedeemBfusdForPortfolioMarginResponse
1031
+ */
1032
+ rate?: number;
1033
+ }
1034
+
1035
+ /**
1036
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
1037
+ *
1038
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
1039
+ *
1040
+ * The version of the OpenAPI document: 1.0.0
1041
+ *
1042
+ *
1043
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1044
+ * https://openapi-generator.tech
1045
+ * Do not edit the class manually.
1046
+ */
1047
+ /**
1048
+ *
1049
+ * @export
1050
+ * @interface RepayFuturesNegativeBalanceResponse
1051
+ */
1052
+ interface RepayFuturesNegativeBalanceResponse {
1053
+ /**
1054
+ *
1055
+ * @type {string}
1056
+ * @memberof RepayFuturesNegativeBalanceResponse
1057
+ */
1058
+ msg?: string;
1059
+ }
1060
+
1061
+ /**
1062
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
1063
+ *
1064
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
1065
+ *
1066
+ * The version of the OpenAPI document: 1.0.0
1067
+ *
1068
+ *
1069
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1070
+ * https://openapi-generator.tech
1071
+ * Do not edit the class manually.
1072
+ */
1073
+
1074
+ /**
1075
+ * AccountApi - interface
1076
+ * @interface AccountApi
1077
+ */
1078
+ interface AccountApiInterface {
1079
+ /**
1080
+ * BNB transfer can be between Margin Account and USDM Account
1081
+ *
1082
+ *
1083
+ * You can only use this function 2 times per 10 minutes in a rolling manner
1084
+ *
1085
+ * Weight: 1500
1086
+ *
1087
+ * @summary BNB transfer(USER_DATA)
1088
+ * @param {BnbTransferRequest} requestParameters Request parameters.
1089
+ *
1090
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1091
+ * @memberof AccountApiInterface
1092
+ */
1093
+ bnbTransfer(requestParameters: BnbTransferRequest): Promise<RestApiResponse<BnbTransferResponse>>;
1094
+ /**
1095
+ * Change Auto-repay-futures Status
1096
+ *
1097
+ * Weight: 1500
1098
+ *
1099
+ * @summary Change Auto-repay-futures Status(TRADE)
1100
+ * @param {ChangeAutoRepayFuturesStatusRequest} requestParameters Request parameters.
1101
+ *
1102
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1103
+ * @memberof AccountApiInterface
1104
+ */
1105
+ changeAutoRepayFuturesStatus(requestParameters: ChangeAutoRepayFuturesStatusRequest): Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>;
1106
+ /**
1107
+ * Transfers all assets from Futures Account to Margin account
1108
+ *
1109
+ * The BNB would not be collected from UM-PM account to the Portfolio Margin account.
1110
+ * You can only use this function 500 times per hour in a rolling manner.
1111
+ *
1112
+ * Weight: 1500
1113
+ *
1114
+ * @summary Fund Auto-collection(USER_DATA)
1115
+ * @param {FundAutoCollectionRequest} requestParameters Request parameters.
1116
+ *
1117
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1118
+ * @memberof AccountApiInterface
1119
+ */
1120
+ fundAutoCollection(requestParameters?: FundAutoCollectionRequest): Promise<RestApiResponse<FundAutoCollectionResponse>>;
1121
+ /**
1122
+ * Transfers specific asset from Futures Account to Margin account
1123
+ *
1124
+ * The BNB transfer is not be supported
1125
+ *
1126
+ * Weight: 60
1127
+ *
1128
+ * @summary Fund Collection by Asset(USER_DATA)
1129
+ * @param {FundCollectionByAssetRequest} requestParameters Request parameters.
1130
+ *
1131
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1132
+ * @memberof AccountApiInterface
1133
+ */
1134
+ fundCollectionByAsset(requestParameters: FundCollectionByAssetRequest): Promise<RestApiResponse<FundCollectionByAssetResponse>>;
1135
+ /**
1136
+ * Query Auto-repay-futures Status
1137
+ *
1138
+ * Weight: 30
1139
+ *
1140
+ * @summary Get Auto-repay-futures Status(USER_DATA)
1141
+ * @param {GetAutoRepayFuturesStatusRequest} requestParameters Request parameters.
1142
+ *
1143
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1144
+ * @memberof AccountApiInterface
1145
+ */
1146
+ getAutoRepayFuturesStatus(requestParameters?: GetAutoRepayFuturesStatusRequest): Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>;
1147
+ /**
1148
+ * Query Portfolio Margin Pro account balance
1149
+ *
1150
+ * Weight: 20
1151
+ *
1152
+ * @summary Get Portfolio Margin Pro Account Balance(USER_DATA)
1153
+ * @param {GetPortfolioMarginProAccountBalanceRequest} requestParameters Request parameters.
1154
+ *
1155
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1156
+ * @memberof AccountApiInterface
1157
+ */
1158
+ getPortfolioMarginProAccountBalance(requestParameters?: GetPortfolioMarginProAccountBalanceRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountBalanceResponse>>;
1159
+ /**
1160
+ * Get Portfolio Margin Pro Account Info
1161
+ *
1162
+ * Weight: 5
1163
+ *
1164
+ * @summary Get Portfolio Margin Pro Account Info(USER_DATA)
1165
+ * @param {GetPortfolioMarginProAccountInfoRequest} requestParameters Request parameters.
1166
+ *
1167
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1168
+ * @memberof AccountApiInterface
1169
+ */
1170
+ getPortfolioMarginProAccountInfo(requestParameters?: GetPortfolioMarginProAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountInfoResponse>>;
1171
+ /**
1172
+ * Get Portfolio Margin Pro SPAN Account Info (For Portfolio Margin Pro SPAN users only)
1173
+ *
1174
+ * Weight: 5
1175
+ *
1176
+ * @summary Get Portfolio Margin Pro SPAN Account Info(USER_DATA)
1177
+ * @param {GetPortfolioMarginProSpanAccountInfoRequest} requestParameters Request parameters.
1178
+ *
1179
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1180
+ * @memberof AccountApiInterface
1181
+ */
1182
+ getPortfolioMarginProSpanAccountInfo(requestParameters?: GetPortfolioMarginProSpanAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProSpanAccountInfoResponse>>;
1183
+ /**
1184
+ * Mint BFUSD for all types of Portfolio Margin account
1185
+ *
1186
+ * Weight: 1500
1187
+ *
1188
+ * @summary Mint BFUSD for Portfolio Margin(TRADE)
1189
+ * @param {MintBfusdForPortfolioMarginRequest} requestParameters Request parameters.
1190
+ *
1191
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1192
+ * @memberof AccountApiInterface
1193
+ */
1194
+ mintBfusdForPortfolioMargin(requestParameters: MintBfusdForPortfolioMarginRequest): Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>;
1195
+ /**
1196
+ * Repay Portfolio Margin Pro Bankruptcy Loan
1197
+ *
1198
+ * Weight: 3000
1199
+ *
1200
+ * @summary Portfolio Margin Pro Bankruptcy Loan Repay
1201
+ * @param {PortfolioMarginProBankruptcyLoanRepayRequest} requestParameters Request parameters.
1202
+ *
1203
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1204
+ * @memberof AccountApiInterface
1205
+ */
1206
+ portfolioMarginProBankruptcyLoanRepay(requestParameters?: PortfolioMarginProBankruptcyLoanRepayRequest): Promise<RestApiResponse<PortfolioMarginProBankruptcyLoanRepayResponse>>;
1207
+ /**
1208
+ * Query Portfolio Margin Pro Bankruptcy Loan Amount
1209
+ *
1210
+ * If there’s no classic portfolio margin bankruptcy loan, the amount would be 0
1211
+ *
1212
+ * Weight: 500
1213
+ *
1214
+ * @summary Query Portfolio Margin Pro Bankruptcy Loan Amount(USER_DATA)
1215
+ * @param {QueryPortfolioMarginProBankruptcyLoanAmountRequest} requestParameters Request parameters.
1216
+ *
1217
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1218
+ * @memberof AccountApiInterface
1219
+ */
1220
+ queryPortfolioMarginProBankruptcyLoanAmount(requestParameters?: QueryPortfolioMarginProBankruptcyLoanAmountRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanAmountResponse>>;
1221
+ /**
1222
+ * Query repay history of pmloan for portfolio margin pro.
1223
+ *
1224
+ * `startTime` and `endTime` cannot be longer than 360 days
1225
+ * If `startTime` and `endTime` not sent, return records of the last 30 days by default.
1226
+ * If `startTime`is sent and `endTime` is not sent, return records of [startTime, startTime+30d].
1227
+ * If `startTime` is not sent and `endTime` is sent, return records of [endTime-30d, endTime].
1228
+ *
1229
+ * Weight: 500
1230
+ *
1231
+ * @summary Query Portfolio Margin Pro Bankruptcy Loan Repay History(USER_DATA)
1232
+ * @param {QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest} requestParameters Request parameters.
1233
+ *
1234
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1235
+ * @memberof AccountApiInterface
1236
+ */
1237
+ queryPortfolioMarginProBankruptcyLoanRepayHistory(requestParameters?: QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse>>;
1238
+ /**
1239
+ * Query interest history of negative balance for portfolio margin.
1240
+ *
1241
+ * Weight: 50
1242
+ *
1243
+ * @summary Query Portfolio Margin Pro Negative Balance Interest History(USER_DATA)
1244
+ * @param {QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest} requestParameters Request parameters.
1245
+ *
1246
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1247
+ * @memberof AccountApiInterface
1248
+ */
1249
+ queryPortfolioMarginProNegativeBalanceInterestHistory(requestParameters?: QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>;
1250
+ /**
1251
+ * Redeem BFUSD for all types of Portfolio Margin account
1252
+ *
1253
+ * Weight: 1500
1254
+ *
1255
+ * @summary Redeem BFUSD for Portfolio Margin(TRADE)
1256
+ * @param {RedeemBfusdForPortfolioMarginRequest} requestParameters Request parameters.
1257
+ *
1258
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1259
+ * @memberof AccountApiInterface
1260
+ */
1261
+ redeemBfusdForPortfolioMargin(requestParameters: RedeemBfusdForPortfolioMarginRequest): Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>;
1262
+ /**
1263
+ * Repay futures Negative Balance
1264
+ *
1265
+ * Weight: 1500
1266
+ *
1267
+ * @summary Repay futures Negative Balance(USER_DATA)
1268
+ * @param {RepayFuturesNegativeBalanceRequest} requestParameters Request parameters.
1269
+ *
1270
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1271
+ * @memberof AccountApiInterface
1272
+ */
1273
+ repayFuturesNegativeBalance(requestParameters?: RepayFuturesNegativeBalanceRequest): Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>;
1274
+ }
1275
+ /**
1276
+ * Request parameters for bnbTransfer operation in AccountApi.
1277
+ * @interface BnbTransferRequest
1278
+ */
1279
+ interface BnbTransferRequest {
1280
+ /**
1281
+ *
1282
+ * @type {number}
1283
+ * @memberof AccountApiBnbTransfer
1284
+ */
1285
+ readonly amount: number;
1286
+ /**
1287
+ * "TO_UM","FROM_UM"
1288
+ * @type {string}
1289
+ * @memberof AccountApiBnbTransfer
1290
+ */
1291
+ readonly transferSide: string;
1292
+ /**
1293
+ *
1294
+ * @type {number}
1295
+ * @memberof AccountApiBnbTransfer
1296
+ */
1297
+ readonly recvWindow?: number;
1298
+ }
1299
+ /**
1300
+ * Request parameters for changeAutoRepayFuturesStatus operation in AccountApi.
1301
+ * @interface ChangeAutoRepayFuturesStatusRequest
1302
+ */
1303
+ interface ChangeAutoRepayFuturesStatusRequest {
1304
+ /**
1305
+ * Default: `true`; `false` for turn off the auto-repay futures negative balance function
1306
+ * @type {string}
1307
+ * @memberof AccountApiChangeAutoRepayFuturesStatus
1308
+ */
1309
+ readonly autoRepay: string;
1310
+ /**
1311
+ *
1312
+ * @type {number}
1313
+ * @memberof AccountApiChangeAutoRepayFuturesStatus
1314
+ */
1315
+ readonly recvWindow?: number;
1316
+ }
1317
+ /**
1318
+ * Request parameters for fundAutoCollection operation in AccountApi.
1319
+ * @interface FundAutoCollectionRequest
1320
+ */
1321
+ interface FundAutoCollectionRequest {
1322
+ /**
1323
+ *
1324
+ * @type {number}
1325
+ * @memberof AccountApiFundAutoCollection
1326
+ */
1327
+ readonly recvWindow?: number;
1328
+ }
1329
+ /**
1330
+ * Request parameters for fundCollectionByAsset operation in AccountApi.
1331
+ * @interface FundCollectionByAssetRequest
1332
+ */
1333
+ interface FundCollectionByAssetRequest {
1334
+ /**
1335
+ *
1336
+ * @type {string}
1337
+ * @memberof AccountApiFundCollectionByAsset
1338
+ */
1339
+ readonly asset: string;
1340
+ /**
1341
+ *
1342
+ * @type {number}
1343
+ * @memberof AccountApiFundCollectionByAsset
1344
+ */
1345
+ readonly recvWindow?: number;
1346
+ }
1347
+ /**
1348
+ * Request parameters for getAutoRepayFuturesStatus operation in AccountApi.
1349
+ * @interface GetAutoRepayFuturesStatusRequest
1350
+ */
1351
+ interface GetAutoRepayFuturesStatusRequest {
1352
+ /**
1353
+ *
1354
+ * @type {number}
1355
+ * @memberof AccountApiGetAutoRepayFuturesStatus
1356
+ */
1357
+ readonly recvWindow?: number;
1358
+ }
1359
+ /**
1360
+ * Request parameters for getPortfolioMarginProAccountBalance operation in AccountApi.
1361
+ * @interface GetPortfolioMarginProAccountBalanceRequest
1362
+ */
1363
+ interface GetPortfolioMarginProAccountBalanceRequest {
1364
+ /**
1365
+ *
1366
+ * @type {string}
1367
+ * @memberof AccountApiGetPortfolioMarginProAccountBalance
1368
+ */
1369
+ readonly asset?: string;
1370
+ /**
1371
+ *
1372
+ * @type {number}
1373
+ * @memberof AccountApiGetPortfolioMarginProAccountBalance
1374
+ */
1375
+ readonly recvWindow?: number;
1376
+ }
1377
+ /**
1378
+ * Request parameters for getPortfolioMarginProAccountInfo operation in AccountApi.
1379
+ * @interface GetPortfolioMarginProAccountInfoRequest
1380
+ */
1381
+ interface GetPortfolioMarginProAccountInfoRequest {
1382
+ /**
1383
+ *
1384
+ * @type {number}
1385
+ * @memberof AccountApiGetPortfolioMarginProAccountInfo
1386
+ */
1387
+ readonly recvWindow?: number;
1388
+ }
1389
+ /**
1390
+ * Request parameters for getPortfolioMarginProSpanAccountInfo operation in AccountApi.
1391
+ * @interface GetPortfolioMarginProSpanAccountInfoRequest
1392
+ */
1393
+ interface GetPortfolioMarginProSpanAccountInfoRequest {
1394
+ /**
1395
+ *
1396
+ * @type {number}
1397
+ * @memberof AccountApiGetPortfolioMarginProSpanAccountInfo
1398
+ */
1399
+ readonly recvWindow?: number;
1400
+ }
1401
+ /**
1402
+ * Request parameters for mintBfusdForPortfolioMargin operation in AccountApi.
1403
+ * @interface MintBfusdForPortfolioMarginRequest
1404
+ */
1405
+ interface MintBfusdForPortfolioMarginRequest {
1406
+ /**
1407
+ * `BFUSD` only
1408
+ * @type {string}
1409
+ * @memberof AccountApiMintBfusdForPortfolioMargin
1410
+ */
1411
+ readonly fromAsset: string;
1412
+ /**
1413
+ * `USDT` only
1414
+ * @type {string}
1415
+ * @memberof AccountApiMintBfusdForPortfolioMargin
1416
+ */
1417
+ readonly targetAsset: string;
1418
+ /**
1419
+ *
1420
+ * @type {number}
1421
+ * @memberof AccountApiMintBfusdForPortfolioMargin
1422
+ */
1423
+ readonly amount: number;
1424
+ /**
1425
+ *
1426
+ * @type {number}
1427
+ * @memberof AccountApiMintBfusdForPortfolioMargin
1428
+ */
1429
+ readonly recvWindow?: number;
1430
+ }
1431
+ /**
1432
+ * Request parameters for portfolioMarginProBankruptcyLoanRepay operation in AccountApi.
1433
+ * @interface PortfolioMarginProBankruptcyLoanRepayRequest
1434
+ */
1435
+ interface PortfolioMarginProBankruptcyLoanRepayRequest {
1436
+ /**
1437
+ * SPOT or MARGIN,default SPOT
1438
+ * @type {string}
1439
+ * @memberof AccountApiPortfolioMarginProBankruptcyLoanRepay
1440
+ */
1441
+ readonly from?: string;
1442
+ /**
1443
+ *
1444
+ * @type {number}
1445
+ * @memberof AccountApiPortfolioMarginProBankruptcyLoanRepay
1446
+ */
1447
+ readonly recvWindow?: number;
1448
+ }
1449
+ /**
1450
+ * Request parameters for queryPortfolioMarginProBankruptcyLoanAmount operation in AccountApi.
1451
+ * @interface QueryPortfolioMarginProBankruptcyLoanAmountRequest
1452
+ */
1453
+ interface QueryPortfolioMarginProBankruptcyLoanAmountRequest {
1454
+ /**
1455
+ *
1456
+ * @type {number}
1457
+ * @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanAmount
1458
+ */
1459
+ readonly recvWindow?: number;
1460
+ }
1461
+ /**
1462
+ * Request parameters for queryPortfolioMarginProBankruptcyLoanRepayHistory operation in AccountApi.
1463
+ * @interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest
1464
+ */
1465
+ interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest {
1466
+ /**
1467
+ *
1468
+ * @type {number}
1469
+ * @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
1470
+ */
1471
+ readonly startTime?: number;
1472
+ /**
1473
+ *
1474
+ * @type {number}
1475
+ * @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
1476
+ */
1477
+ readonly endTime?: number;
1478
+ /**
1479
+ * Currently querying page. Start from 1. Default:1
1480
+ * @type {number}
1481
+ * @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
1482
+ */
1483
+ readonly current?: number;
1484
+ /**
1485
+ * Default:10 Max:100
1486
+ * @type {number}
1487
+ * @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
1488
+ */
1489
+ readonly size?: number;
1490
+ /**
1491
+ *
1492
+ * @type {number}
1493
+ * @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
1494
+ */
1495
+ readonly recvWindow?: number;
1496
+ }
1497
+ /**
1498
+ * Request parameters for queryPortfolioMarginProNegativeBalanceInterestHistory operation in AccountApi.
1499
+ * @interface QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest
1500
+ */
1501
+ interface QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest {
1502
+ /**
1503
+ *
1504
+ * @type {string}
1505
+ * @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
1506
+ */
1507
+ readonly asset?: string;
1508
+ /**
1509
+ *
1510
+ * @type {number}
1511
+ * @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
1512
+ */
1513
+ readonly startTime?: number;
1514
+ /**
1515
+ *
1516
+ * @type {number}
1517
+ * @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
1518
+ */
1519
+ readonly endTime?: number;
1520
+ /**
1521
+ * Default:10 Max:100
1522
+ * @type {number}
1523
+ * @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
1524
+ */
1525
+ readonly size?: number;
1526
+ /**
1527
+ *
1528
+ * @type {number}
1529
+ * @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
1530
+ */
1531
+ readonly recvWindow?: number;
1532
+ }
1533
+ /**
1534
+ * Request parameters for redeemBfusdForPortfolioMargin operation in AccountApi.
1535
+ * @interface RedeemBfusdForPortfolioMarginRequest
1536
+ */
1537
+ interface RedeemBfusdForPortfolioMarginRequest {
1538
+ /**
1539
+ * `BFUSD` only
1540
+ * @type {string}
1541
+ * @memberof AccountApiRedeemBfusdForPortfolioMargin
1542
+ */
1543
+ readonly fromAsset: string;
1544
+ /**
1545
+ * `USDT` only
1546
+ * @type {string}
1547
+ * @memberof AccountApiRedeemBfusdForPortfolioMargin
1548
+ */
1549
+ readonly targetAsset: string;
1550
+ /**
1551
+ *
1552
+ * @type {number}
1553
+ * @memberof AccountApiRedeemBfusdForPortfolioMargin
1554
+ */
1555
+ readonly amount: number;
1556
+ /**
1557
+ *
1558
+ * @type {number}
1559
+ * @memberof AccountApiRedeemBfusdForPortfolioMargin
1560
+ */
1561
+ readonly recvWindow?: number;
1562
+ }
1563
+ /**
1564
+ * Request parameters for repayFuturesNegativeBalance operation in AccountApi.
1565
+ * @interface RepayFuturesNegativeBalanceRequest
1566
+ */
1567
+ interface RepayFuturesNegativeBalanceRequest {
1568
+ /**
1569
+ * SPOT or MARGIN,default SPOT
1570
+ * @type {string}
1571
+ * @memberof AccountApiRepayFuturesNegativeBalance
1572
+ */
1573
+ readonly from?: string;
1574
+ /**
1575
+ *
1576
+ * @type {number}
1577
+ * @memberof AccountApiRepayFuturesNegativeBalance
1578
+ */
1579
+ readonly recvWindow?: number;
1580
+ }
1581
+ /**
1582
+ * AccountApi - object-oriented interface
1583
+ * @class AccountApi
1584
+ */
1585
+ declare class AccountApi implements AccountApiInterface {
1586
+ private readonly configuration;
1587
+ private localVarAxiosParamCreator;
1588
+ constructor(configuration: ConfigurationRestAPI);
1589
+ /**
1590
+ * BNB transfer can be between Margin Account and USDM Account
1591
+ *
1592
+ *
1593
+ * You can only use this function 2 times per 10 minutes in a rolling manner
1594
+ *
1595
+ * Weight: 1500
1596
+ *
1597
+ * @summary BNB transfer(USER_DATA)
1598
+ * @param {BnbTransferRequest} requestParameters Request parameters.
1599
+ * @returns {Promise<RestApiResponse<BnbTransferResponse>>}
1600
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1601
+ * @memberof AccountApi
1602
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/BNB-transfer Binance API Documentation}
1603
+ */
1604
+ bnbTransfer(requestParameters: BnbTransferRequest): Promise<RestApiResponse<BnbTransferResponse>>;
1605
+ /**
1606
+ * Change Auto-repay-futures Status
1607
+ *
1608
+ * Weight: 1500
1609
+ *
1610
+ * @summary Change Auto-repay-futures Status(TRADE)
1611
+ * @param {ChangeAutoRepayFuturesStatusRequest} requestParameters Request parameters.
1612
+ * @returns {Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>}
1613
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1614
+ * @memberof AccountApi
1615
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Change-Auto-repay-futures-Status Binance API Documentation}
1616
+ */
1617
+ changeAutoRepayFuturesStatus(requestParameters: ChangeAutoRepayFuturesStatusRequest): Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>;
1618
+ /**
1619
+ * Transfers all assets from Futures Account to Margin account
1620
+ *
1621
+ * The BNB would not be collected from UM-PM account to the Portfolio Margin account.
1622
+ * You can only use this function 500 times per hour in a rolling manner.
1623
+ *
1624
+ * Weight: 1500
1625
+ *
1626
+ * @summary Fund Auto-collection(USER_DATA)
1627
+ * @param {FundAutoCollectionRequest} requestParameters Request parameters.
1628
+ * @returns {Promise<RestApiResponse<FundAutoCollectionResponse>>}
1629
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1630
+ * @memberof AccountApi
1631
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Fund-Auto-collection Binance API Documentation}
1632
+ */
1633
+ fundAutoCollection(requestParameters?: FundAutoCollectionRequest): Promise<RestApiResponse<FundAutoCollectionResponse>>;
1634
+ /**
1635
+ * Transfers specific asset from Futures Account to Margin account
1636
+ *
1637
+ * The BNB transfer is not be supported
1638
+ *
1639
+ * Weight: 60
1640
+ *
1641
+ * @summary Fund Collection by Asset(USER_DATA)
1642
+ * @param {FundCollectionByAssetRequest} requestParameters Request parameters.
1643
+ * @returns {Promise<RestApiResponse<FundCollectionByAssetResponse>>}
1644
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1645
+ * @memberof AccountApi
1646
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Fund-Collection-by-Asset Binance API Documentation}
1647
+ */
1648
+ fundCollectionByAsset(requestParameters: FundCollectionByAssetRequest): Promise<RestApiResponse<FundCollectionByAssetResponse>>;
1649
+ /**
1650
+ * Query Auto-repay-futures Status
1651
+ *
1652
+ * Weight: 30
1653
+ *
1654
+ * @summary Get Auto-repay-futures Status(USER_DATA)
1655
+ * @param {GetAutoRepayFuturesStatusRequest} requestParameters Request parameters.
1656
+ * @returns {Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>}
1657
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1658
+ * @memberof AccountApi
1659
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Auto-repay-futures-Status Binance API Documentation}
1660
+ */
1661
+ getAutoRepayFuturesStatus(requestParameters?: GetAutoRepayFuturesStatusRequest): Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>;
1662
+ /**
1663
+ * Query Portfolio Margin Pro account balance
1664
+ *
1665
+ * Weight: 20
1666
+ *
1667
+ * @summary Get Portfolio Margin Pro Account Balance(USER_DATA)
1668
+ * @param {GetPortfolioMarginProAccountBalanceRequest} requestParameters Request parameters.
1669
+ * @returns {Promise<RestApiResponse<GetPortfolioMarginProAccountBalanceResponse>>}
1670
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1671
+ * @memberof AccountApi
1672
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Classic-Portfolio-Margin-Balance-Info Binance API Documentation}
1673
+ */
1674
+ getPortfolioMarginProAccountBalance(requestParameters?: GetPortfolioMarginProAccountBalanceRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountBalanceResponse>>;
1675
+ /**
1676
+ * Get Portfolio Margin Pro Account Info
1677
+ *
1678
+ * Weight: 5
1679
+ *
1680
+ * @summary Get Portfolio Margin Pro Account Info(USER_DATA)
1681
+ * @param {GetPortfolioMarginProAccountInfoRequest} requestParameters Request parameters.
1682
+ * @returns {Promise<RestApiResponse<GetPortfolioMarginProAccountInfoResponse>>}
1683
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1684
+ * @memberof AccountApi
1685
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Classic-Portfolio-Margin-Account-Info Binance API Documentation}
1686
+ */
1687
+ getPortfolioMarginProAccountInfo(requestParameters?: GetPortfolioMarginProAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountInfoResponse>>;
1688
+ /**
1689
+ * Get Portfolio Margin Pro SPAN Account Info (For Portfolio Margin Pro SPAN users only)
1690
+ *
1691
+ * Weight: 5
1692
+ *
1693
+ * @summary Get Portfolio Margin Pro SPAN Account Info(USER_DATA)
1694
+ * @param {GetPortfolioMarginProSpanAccountInfoRequest} requestParameters Request parameters.
1695
+ * @returns {Promise<RestApiResponse<GetPortfolioMarginProSpanAccountInfoResponse>>}
1696
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1697
+ * @memberof AccountApi
1698
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Classic-Portfolio-Margin-Account-Info-V2 Binance API Documentation}
1699
+ */
1700
+ getPortfolioMarginProSpanAccountInfo(requestParameters?: GetPortfolioMarginProSpanAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProSpanAccountInfoResponse>>;
1701
+ /**
1702
+ * Mint BFUSD for all types of Portfolio Margin account
1703
+ *
1704
+ * Weight: 1500
1705
+ *
1706
+ * @summary Mint BFUSD for Portfolio Margin(TRADE)
1707
+ * @param {MintBfusdForPortfolioMarginRequest} requestParameters Request parameters.
1708
+ * @returns {Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>}
1709
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1710
+ * @memberof AccountApi
1711
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Mint-BFUSD-Portfolio-Margin Binance API Documentation}
1712
+ */
1713
+ mintBfusdForPortfolioMargin(requestParameters: MintBfusdForPortfolioMarginRequest): Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>;
1714
+ /**
1715
+ * Repay Portfolio Margin Pro Bankruptcy Loan
1716
+ *
1717
+ * Weight: 3000
1718
+ *
1719
+ * @summary Portfolio Margin Pro Bankruptcy Loan Repay
1720
+ * @param {PortfolioMarginProBankruptcyLoanRepayRequest} requestParameters Request parameters.
1721
+ * @returns {Promise<RestApiResponse<PortfolioMarginProBankruptcyLoanRepayResponse>>}
1722
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1723
+ * @memberof AccountApi
1724
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Classic-Portfolio-Margin-Bankruptcy-Loan-Repay Binance API Documentation}
1725
+ */
1726
+ portfolioMarginProBankruptcyLoanRepay(requestParameters?: PortfolioMarginProBankruptcyLoanRepayRequest): Promise<RestApiResponse<PortfolioMarginProBankruptcyLoanRepayResponse>>;
1727
+ /**
1728
+ * Query Portfolio Margin Pro Bankruptcy Loan Amount
1729
+ *
1730
+ * If there’s no classic portfolio margin bankruptcy loan, the amount would be 0
1731
+ *
1732
+ * Weight: 500
1733
+ *
1734
+ * @summary Query Portfolio Margin Pro Bankruptcy Loan Amount(USER_DATA)
1735
+ * @param {QueryPortfolioMarginProBankruptcyLoanAmountRequest} requestParameters Request parameters.
1736
+ * @returns {Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanAmountResponse>>}
1737
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1738
+ * @memberof AccountApi
1739
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Query-Classic-Portfolio-Margin-Bankruptcy-Loan-Amount Binance API Documentation}
1740
+ */
1741
+ queryPortfolioMarginProBankruptcyLoanAmount(requestParameters?: QueryPortfolioMarginProBankruptcyLoanAmountRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanAmountResponse>>;
1742
+ /**
1743
+ * Query repay history of pmloan for portfolio margin pro.
1744
+ *
1745
+ * `startTime` and `endTime` cannot be longer than 360 days
1746
+ * If `startTime` and `endTime` not sent, return records of the last 30 days by default.
1747
+ * If `startTime`is sent and `endTime` is not sent, return records of [startTime, startTime+30d].
1748
+ * If `startTime` is not sent and `endTime` is sent, return records of [endTime-30d, endTime].
1749
+ *
1750
+ * Weight: 500
1751
+ *
1752
+ * @summary Query Portfolio Margin Pro Bankruptcy Loan Repay History(USER_DATA)
1753
+ * @param {QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest} requestParameters Request parameters.
1754
+ * @returns {Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse>>}
1755
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1756
+ * @memberof AccountApi
1757
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Query-Portfolio-Margin-Pro-Bankruptcy-Loan-Repay-History Binance API Documentation}
1758
+ */
1759
+ queryPortfolioMarginProBankruptcyLoanRepayHistory(requestParameters?: QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse>>;
1760
+ /**
1761
+ * Query interest history of negative balance for portfolio margin.
1762
+ *
1763
+ * Weight: 50
1764
+ *
1765
+ * @summary Query Portfolio Margin Pro Negative Balance Interest History(USER_DATA)
1766
+ * @param {QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest} requestParameters Request parameters.
1767
+ * @returns {Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>}
1768
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1769
+ * @memberof AccountApi
1770
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Query-Classic-Portfolio-Margin-Negative-Balance-Interest-History Binance API Documentation}
1771
+ */
1772
+ queryPortfolioMarginProNegativeBalanceInterestHistory(requestParameters?: QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>;
1773
+ /**
1774
+ * Redeem BFUSD for all types of Portfolio Margin account
1775
+ *
1776
+ * Weight: 1500
1777
+ *
1778
+ * @summary Redeem BFUSD for Portfolio Margin(TRADE)
1779
+ * @param {RedeemBfusdForPortfolioMarginRequest} requestParameters Request parameters.
1780
+ * @returns {Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>}
1781
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1782
+ * @memberof AccountApi
1783
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Redeem-BFUSD-Portfolio-Margin Binance API Documentation}
1784
+ */
1785
+ redeemBfusdForPortfolioMargin(requestParameters: RedeemBfusdForPortfolioMarginRequest): Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>;
1786
+ /**
1787
+ * Repay futures Negative Balance
1788
+ *
1789
+ * Weight: 1500
1790
+ *
1791
+ * @summary Repay futures Negative Balance(USER_DATA)
1792
+ * @param {RepayFuturesNegativeBalanceRequest} requestParameters Request parameters.
1793
+ * @returns {Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>}
1794
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1795
+ * @memberof AccountApi
1796
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Repay-futures-Negative-Balance Binance API Documentation}
1797
+ */
1798
+ repayFuturesNegativeBalance(requestParameters?: RepayFuturesNegativeBalanceRequest): Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>;
1799
+ }
1800
+
1801
+ /**
1802
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
1803
+ *
1804
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
1805
+ *
1806
+ * The version of the OpenAPI document: 1.0.0
1807
+ *
1808
+ *
1809
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1810
+ * https://openapi-generator.tech
1811
+ * Do not edit the class manually.
1812
+ */
1813
+
1814
+ /**
1815
+ * MarketDataApi - interface
1816
+ * @interface MarketDataApi
1817
+ */
1818
+ interface MarketDataApiInterface {
1819
+ /**
1820
+ * Get Portfolio Margin Asset Leverage
1821
+ *
1822
+ * Weight: 50
1823
+ *
1824
+ * @summary Get Portfolio Margin Asset Leverage(USER_DATA)
1825
+ *
1826
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1827
+ * @memberof MarketDataApiInterface
1828
+ */
1829
+ getPortfolioMarginAssetLeverage(): Promise<RestApiResponse<GetPortfolioMarginAssetLeverageResponse>>;
1830
+ /**
1831
+ * Portfolio Margin Collateral Rate
1832
+ *
1833
+ * Weight: 50
1834
+ *
1835
+ * @summary Portfolio Margin Collateral Rate(MARKET_DATA)
1836
+ *
1837
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1838
+ * @memberof MarketDataApiInterface
1839
+ */
1840
+ portfolioMarginCollateralRate(): Promise<RestApiResponse<PortfolioMarginCollateralRateResponse>>;
1841
+ /**
1842
+ * Portfolio Margin PRO Tiered Collateral Rate
1843
+ *
1844
+ * Weight: 50
1845
+ *
1846
+ * @summary Portfolio Margin Pro Tiered Collateral Rate(USER_DATA)
1847
+ * @param {PortfolioMarginProTieredCollateralRateRequest} requestParameters Request parameters.
1848
+ *
1849
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1850
+ * @memberof MarketDataApiInterface
1851
+ */
1852
+ portfolioMarginProTieredCollateralRate(requestParameters?: PortfolioMarginProTieredCollateralRateRequest): Promise<RestApiResponse<PortfolioMarginProTieredCollateralRateResponse>>;
1853
+ /**
1854
+ * Query Portfolio Margin Asset Index Price
1855
+ *
1856
+ * Weight: 1 if send asset or 50 if not send asset
1857
+ *
1858
+ * @summary Query Portfolio Margin Asset Index Price (MARKET_DATA)
1859
+ * @param {QueryPortfolioMarginAssetIndexPriceRequest} requestParameters Request parameters.
1860
+ *
1861
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1862
+ * @memberof MarketDataApiInterface
1863
+ */
1864
+ queryPortfolioMarginAssetIndexPrice(requestParameters?: QueryPortfolioMarginAssetIndexPriceRequest): Promise<RestApiResponse<QueryPortfolioMarginAssetIndexPriceResponse>>;
1865
+ }
1866
+ /**
1867
+ * Request parameters for portfolioMarginProTieredCollateralRate operation in MarketDataApi.
1868
+ * @interface PortfolioMarginProTieredCollateralRateRequest
1869
+ */
1870
+ interface PortfolioMarginProTieredCollateralRateRequest {
1871
+ /**
1872
+ *
1873
+ * @type {number}
1874
+ * @memberof MarketDataApiPortfolioMarginProTieredCollateralRate
1875
+ */
1876
+ readonly recvWindow?: number;
1877
+ }
1878
+ /**
1879
+ * Request parameters for queryPortfolioMarginAssetIndexPrice operation in MarketDataApi.
1880
+ * @interface QueryPortfolioMarginAssetIndexPriceRequest
1881
+ */
1882
+ interface QueryPortfolioMarginAssetIndexPriceRequest {
1883
+ /**
1884
+ *
1885
+ * @type {string}
1886
+ * @memberof MarketDataApiQueryPortfolioMarginAssetIndexPrice
1887
+ */
1888
+ readonly asset?: string;
1889
+ }
1890
+ /**
1891
+ * MarketDataApi - object-oriented interface
1892
+ * @class MarketDataApi
1893
+ */
1894
+ declare class MarketDataApi implements MarketDataApiInterface {
1895
+ private readonly configuration;
1896
+ private localVarAxiosParamCreator;
1897
+ constructor(configuration: ConfigurationRestAPI);
1898
+ /**
1899
+ * Get Portfolio Margin Asset Leverage
1900
+ *
1901
+ * Weight: 50
1902
+ *
1903
+ * @summary Get Portfolio Margin Asset Leverage(USER_DATA)
1904
+ * @returns {Promise<RestApiResponse<GetPortfolioMarginAssetLeverageResponse>>}
1905
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1906
+ * @memberof MarketDataApi
1907
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/market-data/Get-Portfolio-Margin-Asset-Leverage Binance API Documentation}
1908
+ */
1909
+ getPortfolioMarginAssetLeverage(): Promise<RestApiResponse<GetPortfolioMarginAssetLeverageResponse>>;
1910
+ /**
1911
+ * Portfolio Margin Collateral Rate
1912
+ *
1913
+ * Weight: 50
1914
+ *
1915
+ * @summary Portfolio Margin Collateral Rate(MARKET_DATA)
1916
+ * @returns {Promise<RestApiResponse<PortfolioMarginCollateralRateResponse>>}
1917
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1918
+ * @memberof MarketDataApi
1919
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/market-data/Classic-Portfolio-Margin-Collateral-Rate Binance API Documentation}
1920
+ */
1921
+ portfolioMarginCollateralRate(): Promise<RestApiResponse<PortfolioMarginCollateralRateResponse>>;
1922
+ /**
1923
+ * Portfolio Margin PRO Tiered Collateral Rate
1924
+ *
1925
+ * Weight: 50
1926
+ *
1927
+ * @summary Portfolio Margin Pro Tiered Collateral Rate(USER_DATA)
1928
+ * @param {PortfolioMarginProTieredCollateralRateRequest} requestParameters Request parameters.
1929
+ * @returns {Promise<RestApiResponse<PortfolioMarginProTieredCollateralRateResponse>>}
1930
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1931
+ * @memberof MarketDataApi
1932
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/market-data/Portfolio-Margin-Pro-Tiered-Collateral-Rate Binance API Documentation}
1933
+ */
1934
+ portfolioMarginProTieredCollateralRate(requestParameters?: PortfolioMarginProTieredCollateralRateRequest): Promise<RestApiResponse<PortfolioMarginProTieredCollateralRateResponse>>;
1935
+ /**
1936
+ * Query Portfolio Margin Asset Index Price
1937
+ *
1938
+ * Weight: 1 if send asset or 50 if not send asset
1939
+ *
1940
+ * @summary Query Portfolio Margin Asset Index Price (MARKET_DATA)
1941
+ * @param {QueryPortfolioMarginAssetIndexPriceRequest} requestParameters Request parameters.
1942
+ * @returns {Promise<RestApiResponse<QueryPortfolioMarginAssetIndexPriceResponse>>}
1943
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1944
+ * @memberof MarketDataApi
1945
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/market-data/Query-Portfolio-Margin-Asset-Index-Price Binance API Documentation}
1946
+ */
1947
+ queryPortfolioMarginAssetIndexPrice(requestParameters?: QueryPortfolioMarginAssetIndexPriceRequest): Promise<RestApiResponse<QueryPortfolioMarginAssetIndexPriceResponse>>;
1948
+ }
1949
+
1950
+ /**
1951
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
1952
+ *
1953
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
1954
+ *
1955
+ * The version of the OpenAPI document: 1.0.0
1956
+ *
1957
+ *
1958
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1959
+ * https://openapi-generator.tech
1960
+ * Do not edit the class manually.
1961
+ */
1962
+
1963
+ declare class RestAPI {
1964
+ private configuration;
1965
+ private accountApi;
1966
+ private marketDataApi;
1967
+ constructor(configuration: ConfigurationRestAPI);
1968
+ /**
1969
+ * Generic function to send a request.
1970
+ * @param endpoint - The API endpoint to call.
1971
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
1972
+ * @param params - Query parameters for the request.
1973
+ *
1974
+ * @returns A promise resolving to the response data object.
1975
+ */
1976
+ sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
1977
+ /**
1978
+ * Generic function to send a signed request.
1979
+ * @param endpoint - The API endpoint to call.
1980
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
1981
+ * @param params - Query parameters for the request.
1982
+ *
1983
+ * @returns A promise resolving to the response data object.
1984
+ */
1985
+ sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
1986
+ /**
1987
+ * BNB transfer can be between Margin Account and USDM Account
1988
+ *
1989
+ *
1990
+ * You can only use this function 2 times per 10 minutes in a rolling manner
1991
+ *
1992
+ * Weight: 1500
1993
+ *
1994
+ * @summary BNB transfer(USER_DATA)
1995
+ * @param {BnbTransferRequest} requestParameters Request parameters.
1996
+ * @returns {Promise<RestApiResponse<BnbTransferResponse>>}
1997
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1998
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/BNB-transfer Binance API Documentation}
1999
+ */
2000
+ bnbTransfer(requestParameters: BnbTransferRequest): Promise<RestApiResponse<BnbTransferResponse>>;
2001
+ /**
2002
+ * Change Auto-repay-futures Status
2003
+ *
2004
+ * Weight: 1500
2005
+ *
2006
+ * @summary Change Auto-repay-futures Status(TRADE)
2007
+ * @param {ChangeAutoRepayFuturesStatusRequest} requestParameters Request parameters.
2008
+ * @returns {Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>}
2009
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2010
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Change-Auto-repay-futures-Status Binance API Documentation}
2011
+ */
2012
+ changeAutoRepayFuturesStatus(requestParameters: ChangeAutoRepayFuturesStatusRequest): Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>;
2013
+ /**
2014
+ * Transfers all assets from Futures Account to Margin account
2015
+ *
2016
+ * The BNB would not be collected from UM-PM account to the Portfolio Margin account.
2017
+ * You can only use this function 500 times per hour in a rolling manner.
2018
+ *
2019
+ * Weight: 1500
2020
+ *
2021
+ * @summary Fund Auto-collection(USER_DATA)
2022
+ * @param {FundAutoCollectionRequest} requestParameters Request parameters.
2023
+ * @returns {Promise<RestApiResponse<FundAutoCollectionResponse>>}
2024
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2025
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Fund-Auto-collection Binance API Documentation}
2026
+ */
2027
+ fundAutoCollection(requestParameters?: FundAutoCollectionRequest): Promise<RestApiResponse<FundAutoCollectionResponse>>;
2028
+ /**
2029
+ * Transfers specific asset from Futures Account to Margin account
2030
+ *
2031
+ * The BNB transfer is not be supported
2032
+ *
2033
+ * Weight: 60
2034
+ *
2035
+ * @summary Fund Collection by Asset(USER_DATA)
2036
+ * @param {FundCollectionByAssetRequest} requestParameters Request parameters.
2037
+ * @returns {Promise<RestApiResponse<FundCollectionByAssetResponse>>}
2038
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2039
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Fund-Collection-by-Asset Binance API Documentation}
2040
+ */
2041
+ fundCollectionByAsset(requestParameters: FundCollectionByAssetRequest): Promise<RestApiResponse<FundCollectionByAssetResponse>>;
2042
+ /**
2043
+ * Query Auto-repay-futures Status
2044
+ *
2045
+ * Weight: 30
2046
+ *
2047
+ * @summary Get Auto-repay-futures Status(USER_DATA)
2048
+ * @param {GetAutoRepayFuturesStatusRequest} requestParameters Request parameters.
2049
+ * @returns {Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>}
2050
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2051
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Auto-repay-futures-Status Binance API Documentation}
2052
+ */
2053
+ getAutoRepayFuturesStatus(requestParameters?: GetAutoRepayFuturesStatusRequest): Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>;
2054
+ /**
2055
+ * Query Portfolio Margin Pro account balance
2056
+ *
2057
+ * Weight: 20
2058
+ *
2059
+ * @summary Get Portfolio Margin Pro Account Balance(USER_DATA)
2060
+ * @param {GetPortfolioMarginProAccountBalanceRequest} requestParameters Request parameters.
2061
+ * @returns {Promise<RestApiResponse<GetPortfolioMarginProAccountBalanceResponse>>}
2062
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2063
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Classic-Portfolio-Margin-Balance-Info Binance API Documentation}
2064
+ */
2065
+ getPortfolioMarginProAccountBalance(requestParameters?: GetPortfolioMarginProAccountBalanceRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountBalanceResponse>>;
2066
+ /**
2067
+ * Get Portfolio Margin Pro Account Info
2068
+ *
2069
+ * Weight: 5
2070
+ *
2071
+ * @summary Get Portfolio Margin Pro Account Info(USER_DATA)
2072
+ * @param {GetPortfolioMarginProAccountInfoRequest} requestParameters Request parameters.
2073
+ * @returns {Promise<RestApiResponse<GetPortfolioMarginProAccountInfoResponse>>}
2074
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2075
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Classic-Portfolio-Margin-Account-Info Binance API Documentation}
2076
+ */
2077
+ getPortfolioMarginProAccountInfo(requestParameters?: GetPortfolioMarginProAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountInfoResponse>>;
2078
+ /**
2079
+ * Get Portfolio Margin Pro SPAN Account Info (For Portfolio Margin Pro SPAN users only)
2080
+ *
2081
+ * Weight: 5
2082
+ *
2083
+ * @summary Get Portfolio Margin Pro SPAN Account Info(USER_DATA)
2084
+ * @param {GetPortfolioMarginProSpanAccountInfoRequest} requestParameters Request parameters.
2085
+ * @returns {Promise<RestApiResponse<GetPortfolioMarginProSpanAccountInfoResponse>>}
2086
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2087
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Classic-Portfolio-Margin-Account-Info-V2 Binance API Documentation}
2088
+ */
2089
+ getPortfolioMarginProSpanAccountInfo(requestParameters?: GetPortfolioMarginProSpanAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProSpanAccountInfoResponse>>;
2090
+ /**
2091
+ * Mint BFUSD for all types of Portfolio Margin account
2092
+ *
2093
+ * Weight: 1500
2094
+ *
2095
+ * @summary Mint BFUSD for Portfolio Margin(TRADE)
2096
+ * @param {MintBfusdForPortfolioMarginRequest} requestParameters Request parameters.
2097
+ * @returns {Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>}
2098
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2099
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Mint-BFUSD-Portfolio-Margin Binance API Documentation}
2100
+ */
2101
+ mintBfusdForPortfolioMargin(requestParameters: MintBfusdForPortfolioMarginRequest): Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>;
2102
+ /**
2103
+ * Repay Portfolio Margin Pro Bankruptcy Loan
2104
+ *
2105
+ * Weight: 3000
2106
+ *
2107
+ * @summary Portfolio Margin Pro Bankruptcy Loan Repay
2108
+ * @param {PortfolioMarginProBankruptcyLoanRepayRequest} requestParameters Request parameters.
2109
+ * @returns {Promise<RestApiResponse<PortfolioMarginProBankruptcyLoanRepayResponse>>}
2110
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2111
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Classic-Portfolio-Margin-Bankruptcy-Loan-Repay Binance API Documentation}
2112
+ */
2113
+ portfolioMarginProBankruptcyLoanRepay(requestParameters?: PortfolioMarginProBankruptcyLoanRepayRequest): Promise<RestApiResponse<PortfolioMarginProBankruptcyLoanRepayResponse>>;
2114
+ /**
2115
+ * Query Portfolio Margin Pro Bankruptcy Loan Amount
2116
+ *
2117
+ * If there’s no classic portfolio margin bankruptcy loan, the amount would be 0
2118
+ *
2119
+ * Weight: 500
2120
+ *
2121
+ * @summary Query Portfolio Margin Pro Bankruptcy Loan Amount(USER_DATA)
2122
+ * @param {QueryPortfolioMarginProBankruptcyLoanAmountRequest} requestParameters Request parameters.
2123
+ * @returns {Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanAmountResponse>>}
2124
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2125
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Query-Classic-Portfolio-Margin-Bankruptcy-Loan-Amount Binance API Documentation}
2126
+ */
2127
+ queryPortfolioMarginProBankruptcyLoanAmount(requestParameters?: QueryPortfolioMarginProBankruptcyLoanAmountRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanAmountResponse>>;
2128
+ /**
2129
+ * Query repay history of pmloan for portfolio margin pro.
2130
+ *
2131
+ * `startTime` and `endTime` cannot be longer than 360 days
2132
+ * If `startTime` and `endTime` not sent, return records of the last 30 days by default.
2133
+ * If `startTime`is sent and `endTime` is not sent, return records of [startTime, startTime+30d].
2134
+ * If `startTime` is not sent and `endTime` is sent, return records of [endTime-30d, endTime].
2135
+ *
2136
+ * Weight: 500
2137
+ *
2138
+ * @summary Query Portfolio Margin Pro Bankruptcy Loan Repay History(USER_DATA)
2139
+ * @param {QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest} requestParameters Request parameters.
2140
+ * @returns {Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse>>}
2141
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2142
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Query-Portfolio-Margin-Pro-Bankruptcy-Loan-Repay-History Binance API Documentation}
2143
+ */
2144
+ queryPortfolioMarginProBankruptcyLoanRepayHistory(requestParameters?: QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse>>;
2145
+ /**
2146
+ * Query interest history of negative balance for portfolio margin.
2147
+ *
2148
+ * Weight: 50
2149
+ *
2150
+ * @summary Query Portfolio Margin Pro Negative Balance Interest History(USER_DATA)
2151
+ * @param {QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest} requestParameters Request parameters.
2152
+ * @returns {Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>}
2153
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2154
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Query-Classic-Portfolio-Margin-Negative-Balance-Interest-History Binance API Documentation}
2155
+ */
2156
+ queryPortfolioMarginProNegativeBalanceInterestHistory(requestParameters?: QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>;
2157
+ /**
2158
+ * Redeem BFUSD for all types of Portfolio Margin account
2159
+ *
2160
+ * Weight: 1500
2161
+ *
2162
+ * @summary Redeem BFUSD for Portfolio Margin(TRADE)
2163
+ * @param {RedeemBfusdForPortfolioMarginRequest} requestParameters Request parameters.
2164
+ * @returns {Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>}
2165
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2166
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Redeem-BFUSD-Portfolio-Margin Binance API Documentation}
2167
+ */
2168
+ redeemBfusdForPortfolioMargin(requestParameters: RedeemBfusdForPortfolioMarginRequest): Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>;
2169
+ /**
2170
+ * Repay futures Negative Balance
2171
+ *
2172
+ * Weight: 1500
2173
+ *
2174
+ * @summary Repay futures Negative Balance(USER_DATA)
2175
+ * @param {RepayFuturesNegativeBalanceRequest} requestParameters Request parameters.
2176
+ * @returns {Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>}
2177
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2178
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Repay-futures-Negative-Balance Binance API Documentation}
2179
+ */
2180
+ repayFuturesNegativeBalance(requestParameters?: RepayFuturesNegativeBalanceRequest): Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>;
2181
+ /**
2182
+ * Get Portfolio Margin Asset Leverage
2183
+ *
2184
+ * Weight: 50
2185
+ *
2186
+ * @summary Get Portfolio Margin Asset Leverage(USER_DATA)
2187
+ * @returns {Promise<RestApiResponse<GetPortfolioMarginAssetLeverageResponse>>}
2188
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2189
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/market-data/Get-Portfolio-Margin-Asset-Leverage Binance API Documentation}
2190
+ */
2191
+ getPortfolioMarginAssetLeverage(): Promise<RestApiResponse<GetPortfolioMarginAssetLeverageResponse>>;
2192
+ /**
2193
+ * Portfolio Margin Collateral Rate
2194
+ *
2195
+ * Weight: 50
2196
+ *
2197
+ * @summary Portfolio Margin Collateral Rate(MARKET_DATA)
2198
+ * @returns {Promise<RestApiResponse<PortfolioMarginCollateralRateResponse>>}
2199
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2200
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/market-data/Classic-Portfolio-Margin-Collateral-Rate Binance API Documentation}
2201
+ */
2202
+ portfolioMarginCollateralRate(): Promise<RestApiResponse<PortfolioMarginCollateralRateResponse>>;
2203
+ /**
2204
+ * Portfolio Margin PRO Tiered Collateral Rate
2205
+ *
2206
+ * Weight: 50
2207
+ *
2208
+ * @summary Portfolio Margin Pro Tiered Collateral Rate(USER_DATA)
2209
+ * @param {PortfolioMarginProTieredCollateralRateRequest} requestParameters Request parameters.
2210
+ * @returns {Promise<RestApiResponse<PortfolioMarginProTieredCollateralRateResponse>>}
2211
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2212
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/market-data/Portfolio-Margin-Pro-Tiered-Collateral-Rate Binance API Documentation}
2213
+ */
2214
+ portfolioMarginProTieredCollateralRate(requestParameters?: PortfolioMarginProTieredCollateralRateRequest): Promise<RestApiResponse<PortfolioMarginProTieredCollateralRateResponse>>;
2215
+ /**
2216
+ * Query Portfolio Margin Asset Index Price
2217
+ *
2218
+ * Weight: 1 if send asset or 50 if not send asset
2219
+ *
2220
+ * @summary Query Portfolio Margin Asset Index Price (MARKET_DATA)
2221
+ * @param {QueryPortfolioMarginAssetIndexPriceRequest} requestParameters Request parameters.
2222
+ * @returns {Promise<RestApiResponse<QueryPortfolioMarginAssetIndexPriceResponse>>}
2223
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2224
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/market-data/Query-Portfolio-Margin-Asset-Index-Price Binance API Documentation}
2225
+ */
2226
+ queryPortfolioMarginAssetIndexPrice(requestParameters?: QueryPortfolioMarginAssetIndexPriceRequest): Promise<RestApiResponse<QueryPortfolioMarginAssetIndexPriceResponse>>;
2227
+ }
2228
+
2229
+ /**
2230
+ * Binance Public Derivatives Trading Portfolio Margin Pro REST API
2231
+ *
2232
+ * OpenAPI Specification for the Binance Public Derivatives Trading Portfolio Margin Pro REST API
2233
+ *
2234
+ * The version of the OpenAPI document: 1.0.0
2235
+ *
2236
+ *
2237
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2238
+ * https://openapi-generator.tech
2239
+ * Do not edit the class manually.
2240
+ */
2241
+
2242
+ type index_AccountApi = AccountApi;
2243
+ declare const index_AccountApi: typeof AccountApi;
2244
+ type index_AccountApiInterface = AccountApiInterface;
2245
+ type index_BadRequest = BadRequest;
2246
+ type index_BnbTransferRequest = BnbTransferRequest;
2247
+ type index_BnbTransferResponse = BnbTransferResponse;
2248
+ type index_ChangeAutoRepayFuturesStatusRequest = ChangeAutoRepayFuturesStatusRequest;
2249
+ type index_ChangeAutoRepayFuturesStatusResponse = ChangeAutoRepayFuturesStatusResponse;
2250
+ type index_FundAutoCollectionRequest = FundAutoCollectionRequest;
2251
+ type index_FundAutoCollectionResponse = FundAutoCollectionResponse;
2252
+ type index_FundCollectionByAssetRequest = FundCollectionByAssetRequest;
2253
+ type index_FundCollectionByAssetResponse = FundCollectionByAssetResponse;
2254
+ type index_GetAutoRepayFuturesStatusRequest = GetAutoRepayFuturesStatusRequest;
2255
+ type index_GetAutoRepayFuturesStatusResponse = GetAutoRepayFuturesStatusResponse;
2256
+ type index_GetPortfolioMarginAssetLeverageResponse = GetPortfolioMarginAssetLeverageResponse;
2257
+ type index_GetPortfolioMarginAssetLeverageResponseInner = GetPortfolioMarginAssetLeverageResponseInner;
2258
+ type index_GetPortfolioMarginProAccountBalanceRequest = GetPortfolioMarginProAccountBalanceRequest;
2259
+ type index_GetPortfolioMarginProAccountBalanceResponse = GetPortfolioMarginProAccountBalanceResponse;
2260
+ type index_GetPortfolioMarginProAccountBalanceResponseInner = GetPortfolioMarginProAccountBalanceResponseInner;
2261
+ type index_GetPortfolioMarginProAccountInfoRequest = GetPortfolioMarginProAccountInfoRequest;
2262
+ type index_GetPortfolioMarginProAccountInfoResponse = GetPortfolioMarginProAccountInfoResponse;
2263
+ type index_GetPortfolioMarginProSpanAccountInfoRequest = GetPortfolioMarginProSpanAccountInfoRequest;
2264
+ type index_GetPortfolioMarginProSpanAccountInfoResponse = GetPortfolioMarginProSpanAccountInfoResponse;
2265
+ type index_GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner = GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner;
2266
+ type index_MarketDataApi = MarketDataApi;
2267
+ declare const index_MarketDataApi: typeof MarketDataApi;
2268
+ type index_MarketDataApiInterface = MarketDataApiInterface;
2269
+ type index_MintBfusdForPortfolioMarginRequest = MintBfusdForPortfolioMarginRequest;
2270
+ type index_MintBfusdForPortfolioMarginResponse = MintBfusdForPortfolioMarginResponse;
2271
+ type index_PortfolioMarginCollateralRateResponse = PortfolioMarginCollateralRateResponse;
2272
+ type index_PortfolioMarginCollateralRateResponseInner = PortfolioMarginCollateralRateResponseInner;
2273
+ type index_PortfolioMarginProBankruptcyLoanRepayRequest = PortfolioMarginProBankruptcyLoanRepayRequest;
2274
+ type index_PortfolioMarginProBankruptcyLoanRepayResponse = PortfolioMarginProBankruptcyLoanRepayResponse;
2275
+ type index_PortfolioMarginProTieredCollateralRateRequest = PortfolioMarginProTieredCollateralRateRequest;
2276
+ type index_PortfolioMarginProTieredCollateralRateResponse = PortfolioMarginProTieredCollateralRateResponse;
2277
+ type index_PortfolioMarginProTieredCollateralRateResponseInner = PortfolioMarginProTieredCollateralRateResponseInner;
2278
+ type index_PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner = PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner;
2279
+ type index_QueryPortfolioMarginAssetIndexPriceRequest = QueryPortfolioMarginAssetIndexPriceRequest;
2280
+ type index_QueryPortfolioMarginAssetIndexPriceResponse = QueryPortfolioMarginAssetIndexPriceResponse;
2281
+ type index_QueryPortfolioMarginAssetIndexPriceResponseInner = QueryPortfolioMarginAssetIndexPriceResponseInner;
2282
+ type index_QueryPortfolioMarginProBankruptcyLoanAmountRequest = QueryPortfolioMarginProBankruptcyLoanAmountRequest;
2283
+ type index_QueryPortfolioMarginProBankruptcyLoanAmountResponse = QueryPortfolioMarginProBankruptcyLoanAmountResponse;
2284
+ type index_QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest = QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest;
2285
+ type index_QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse = QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse;
2286
+ type index_QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner = QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner;
2287
+ type index_QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest = QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest;
2288
+ type index_QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse = QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse;
2289
+ type index_QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner = QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner;
2290
+ type index_RedeemBfusdForPortfolioMarginRequest = RedeemBfusdForPortfolioMarginRequest;
2291
+ type index_RedeemBfusdForPortfolioMarginResponse = RedeemBfusdForPortfolioMarginResponse;
2292
+ type index_RepayFuturesNegativeBalanceRequest = RepayFuturesNegativeBalanceRequest;
2293
+ type index_RepayFuturesNegativeBalanceResponse = RepayFuturesNegativeBalanceResponse;
2294
+ type index_RestAPI = RestAPI;
2295
+ declare const index_RestAPI: typeof RestAPI;
2296
+ declare namespace index {
2297
+ export {
2298
+ index_AccountApi as AccountApi,
2299
+ index_AccountApiInterface as AccountApiInterface,
2300
+ index_BadRequest as BadRequest,
2301
+ index_BnbTransferRequest as BnbTransferRequest,
2302
+ index_BnbTransferResponse as BnbTransferResponse,
2303
+ index_ChangeAutoRepayFuturesStatusRequest as ChangeAutoRepayFuturesStatusRequest,
2304
+ index_ChangeAutoRepayFuturesStatusResponse as ChangeAutoRepayFuturesStatusResponse,
2305
+ index_FundAutoCollectionRequest as FundAutoCollectionRequest,
2306
+ index_FundAutoCollectionResponse as FundAutoCollectionResponse,
2307
+ index_FundCollectionByAssetRequest as FundCollectionByAssetRequest,
2308
+ index_FundCollectionByAssetResponse as FundCollectionByAssetResponse,
2309
+ index_GetAutoRepayFuturesStatusRequest as GetAutoRepayFuturesStatusRequest,
2310
+ index_GetAutoRepayFuturesStatusResponse as GetAutoRepayFuturesStatusResponse,
2311
+ index_GetPortfolioMarginAssetLeverageResponse as GetPortfolioMarginAssetLeverageResponse,
2312
+ index_GetPortfolioMarginAssetLeverageResponseInner as GetPortfolioMarginAssetLeverageResponseInner,
2313
+ index_GetPortfolioMarginProAccountBalanceRequest as GetPortfolioMarginProAccountBalanceRequest,
2314
+ index_GetPortfolioMarginProAccountBalanceResponse as GetPortfolioMarginProAccountBalanceResponse,
2315
+ index_GetPortfolioMarginProAccountBalanceResponseInner as GetPortfolioMarginProAccountBalanceResponseInner,
2316
+ index_GetPortfolioMarginProAccountInfoRequest as GetPortfolioMarginProAccountInfoRequest,
2317
+ index_GetPortfolioMarginProAccountInfoResponse as GetPortfolioMarginProAccountInfoResponse,
2318
+ index_GetPortfolioMarginProSpanAccountInfoRequest as GetPortfolioMarginProSpanAccountInfoRequest,
2319
+ index_GetPortfolioMarginProSpanAccountInfoResponse as GetPortfolioMarginProSpanAccountInfoResponse,
2320
+ index_GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner as GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner,
2321
+ index_MarketDataApi as MarketDataApi,
2322
+ index_MarketDataApiInterface as MarketDataApiInterface,
2323
+ index_MintBfusdForPortfolioMarginRequest as MintBfusdForPortfolioMarginRequest,
2324
+ index_MintBfusdForPortfolioMarginResponse as MintBfusdForPortfolioMarginResponse,
2325
+ index_PortfolioMarginCollateralRateResponse as PortfolioMarginCollateralRateResponse,
2326
+ index_PortfolioMarginCollateralRateResponseInner as PortfolioMarginCollateralRateResponseInner,
2327
+ index_PortfolioMarginProBankruptcyLoanRepayRequest as PortfolioMarginProBankruptcyLoanRepayRequest,
2328
+ index_PortfolioMarginProBankruptcyLoanRepayResponse as PortfolioMarginProBankruptcyLoanRepayResponse,
2329
+ index_PortfolioMarginProTieredCollateralRateRequest as PortfolioMarginProTieredCollateralRateRequest,
2330
+ index_PortfolioMarginProTieredCollateralRateResponse as PortfolioMarginProTieredCollateralRateResponse,
2331
+ index_PortfolioMarginProTieredCollateralRateResponseInner as PortfolioMarginProTieredCollateralRateResponseInner,
2332
+ index_PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner as PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner,
2333
+ index_QueryPortfolioMarginAssetIndexPriceRequest as QueryPortfolioMarginAssetIndexPriceRequest,
2334
+ index_QueryPortfolioMarginAssetIndexPriceResponse as QueryPortfolioMarginAssetIndexPriceResponse,
2335
+ index_QueryPortfolioMarginAssetIndexPriceResponseInner as QueryPortfolioMarginAssetIndexPriceResponseInner,
2336
+ index_QueryPortfolioMarginProBankruptcyLoanAmountRequest as QueryPortfolioMarginProBankruptcyLoanAmountRequest,
2337
+ index_QueryPortfolioMarginProBankruptcyLoanAmountResponse as QueryPortfolioMarginProBankruptcyLoanAmountResponse,
2338
+ index_QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest as QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest,
2339
+ index_QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse as QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse,
2340
+ index_QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner as QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner,
2341
+ index_QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest as QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest,
2342
+ index_QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse as QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse,
2343
+ index_QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner as QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner,
2344
+ index_RedeemBfusdForPortfolioMarginRequest as RedeemBfusdForPortfolioMarginRequest,
2345
+ index_RedeemBfusdForPortfolioMarginResponse as RedeemBfusdForPortfolioMarginResponse,
2346
+ index_RepayFuturesNegativeBalanceRequest as RepayFuturesNegativeBalanceRequest,
2347
+ index_RepayFuturesNegativeBalanceResponse as RepayFuturesNegativeBalanceResponse,
2348
+ index_RestAPI as RestAPI,
2349
+ };
2350
+ }
2351
+
2352
+ interface ConfigurationDerivativesTradingPortfolioMarginPro {
2353
+ configurationRestAPI?: ConfigurationRestAPI;
2354
+ }
2355
+ declare class DerivativesTradingPortfolioMarginPro {
2356
+ restAPI: RestAPI;
2357
+ constructor(config: ConfigurationDerivativesTradingPortfolioMarginPro);
2358
+ }
2359
+
2360
+ export { ConfigurationDerivativesTradingPortfolioMarginPro, DerivativesTradingPortfolioMarginPro, index as DerivativesTradingPortfolioMarginProRestAPI };