@binance/derivatives-trading-portfolio-margin-pro 14.0.3 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +577 -384
- package/dist/index.d.ts +577 -384
- package/dist/index.js +325 -169
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +325 -169
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -3,9 +3,9 @@ import { BadRequestError, ConfigurationRestAPI, ConfigurationWebsocketStreams, C
|
|
|
3
3
|
//#region src/rest-api/types/bnb-transfer-response.d.ts
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Portfolio Margin Pro REST API
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
9
9
|
*
|
|
10
10
|
* The version of the OpenAPI document: 1.0.0
|
|
11
11
|
*
|
|
@@ -21,7 +21,7 @@ import { BadRequestError, ConfigurationRestAPI, ConfigurationWebsocketStreams, C
|
|
|
21
21
|
*/
|
|
22
22
|
interface BnbTransferResponse {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* tran Id.
|
|
25
25
|
* @type {number | bigint}
|
|
26
26
|
* @memberof BnbTransferResponse
|
|
27
27
|
*/
|
|
@@ -30,9 +30,9 @@ interface BnbTransferResponse {
|
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/rest-api/types/change-auto-repay-futures-status-response.d.ts
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Portfolio Margin Pro REST API
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
36
36
|
*
|
|
37
37
|
* The version of the OpenAPI document: 1.0.0
|
|
38
38
|
*
|
|
@@ -48,7 +48,7 @@ interface BnbTransferResponse {
|
|
|
48
48
|
*/
|
|
49
49
|
interface ChangeAutoRepayFuturesStatusResponse {
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* msg.
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof ChangeAutoRepayFuturesStatusResponse
|
|
54
54
|
*/
|
|
@@ -57,9 +57,9 @@ interface ChangeAutoRepayFuturesStatusResponse {
|
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/rest-api/types/delete-margin-call-level-response.d.ts
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Portfolio Margin Pro REST API
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
63
63
|
*
|
|
64
64
|
* The version of the OpenAPI document: 1.0.0
|
|
65
65
|
*
|
|
@@ -84,9 +84,9 @@ interface DeleteMarginCallLevelResponse {
|
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region src/rest-api/types/fund-auto-collection-response.d.ts
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Portfolio Margin Pro REST API
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
90
90
|
*
|
|
91
91
|
* The version of the OpenAPI document: 1.0.0
|
|
92
92
|
*
|
|
@@ -102,7 +102,7 @@ interface DeleteMarginCallLevelResponse {
|
|
|
102
102
|
*/
|
|
103
103
|
interface FundAutoCollectionResponse {
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* msg.
|
|
106
106
|
* @type {string}
|
|
107
107
|
* @memberof FundAutoCollectionResponse
|
|
108
108
|
*/
|
|
@@ -111,9 +111,9 @@ interface FundAutoCollectionResponse {
|
|
|
111
111
|
//#endregion
|
|
112
112
|
//#region src/rest-api/types/fund-collection-by-asset-response.d.ts
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Portfolio Margin Pro REST API
|
|
115
115
|
*
|
|
116
|
-
*
|
|
116
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
117
117
|
*
|
|
118
118
|
* The version of the OpenAPI document: 1.0.0
|
|
119
119
|
*
|
|
@@ -129,7 +129,7 @@ interface FundAutoCollectionResponse {
|
|
|
129
129
|
*/
|
|
130
130
|
interface FundCollectionByAssetResponse {
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* msg.
|
|
133
133
|
* @type {string}
|
|
134
134
|
* @memberof FundCollectionByAssetResponse
|
|
135
135
|
*/
|
|
@@ -138,9 +138,9 @@ interface FundCollectionByAssetResponse {
|
|
|
138
138
|
//#endregion
|
|
139
139
|
//#region src/rest-api/types/get-auto-repay-futures-status-response.d.ts
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
141
|
+
* Portfolio Margin Pro REST API
|
|
142
142
|
*
|
|
143
|
-
*
|
|
143
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
144
144
|
*
|
|
145
145
|
* The version of the OpenAPI document: 1.0.0
|
|
146
146
|
*
|
|
@@ -156,7 +156,7 @@ interface FundCollectionByAssetResponse {
|
|
|
156
156
|
*/
|
|
157
157
|
interface GetAutoRepayFuturesStatusResponse {
|
|
158
158
|
/**
|
|
159
|
-
*
|
|
159
|
+
* \"true\" for turn on the auto-repay futures; \"false\" for turn off the auto-repay futures
|
|
160
160
|
* @type {boolean}
|
|
161
161
|
* @memberof GetAutoRepayFuturesStatusResponse
|
|
162
162
|
*/
|
|
@@ -165,9 +165,9 @@ interface GetAutoRepayFuturesStatusResponse {
|
|
|
165
165
|
//#endregion
|
|
166
166
|
//#region src/rest-api/types/get-delta-mode-status-response.d.ts
|
|
167
167
|
/**
|
|
168
|
-
*
|
|
168
|
+
* Portfolio Margin Pro REST API
|
|
169
169
|
*
|
|
170
|
-
*
|
|
170
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
171
171
|
*
|
|
172
172
|
* The version of the OpenAPI document: 1.0.0
|
|
173
173
|
*
|
|
@@ -183,7 +183,7 @@ interface GetAutoRepayFuturesStatusResponse {
|
|
|
183
183
|
*/
|
|
184
184
|
interface GetDeltaModeStatusResponse {
|
|
185
185
|
/**
|
|
186
|
-
*
|
|
186
|
+
* delta Enabled.
|
|
187
187
|
* @type {boolean}
|
|
188
188
|
* @memberof GetDeltaModeStatusResponse
|
|
189
189
|
*/
|
|
@@ -192,9 +192,9 @@ interface GetDeltaModeStatusResponse {
|
|
|
192
192
|
//#endregion
|
|
193
193
|
//#region src/rest-api/types/get-margin-call-level-response.d.ts
|
|
194
194
|
/**
|
|
195
|
-
*
|
|
195
|
+
* Portfolio Margin Pro REST API
|
|
196
196
|
*
|
|
197
|
-
*
|
|
197
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
198
198
|
*
|
|
199
199
|
* The version of the OpenAPI document: 1.0.0
|
|
200
200
|
*
|
|
@@ -210,7 +210,7 @@ interface GetDeltaModeStatusResponse {
|
|
|
210
210
|
*/
|
|
211
211
|
interface GetMarginCallLevelResponse {
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* The margin call level value. Empty object returned if not set.
|
|
214
214
|
* @type {string}
|
|
215
215
|
* @memberof GetMarginCallLevelResponse
|
|
216
216
|
*/
|
|
@@ -219,9 +219,9 @@ interface GetMarginCallLevelResponse {
|
|
|
219
219
|
//#endregion
|
|
220
220
|
//#region src/rest-api/types/get-portfolio-margin-asset-leverage-response-inner.d.ts
|
|
221
221
|
/**
|
|
222
|
-
*
|
|
222
|
+
* Portfolio Margin Pro REST API
|
|
223
223
|
*
|
|
224
|
-
*
|
|
224
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
225
225
|
*
|
|
226
226
|
* The version of the OpenAPI document: 1.0.0
|
|
227
227
|
*
|
|
@@ -237,13 +237,13 @@ interface GetMarginCallLevelResponse {
|
|
|
237
237
|
*/
|
|
238
238
|
interface GetPortfolioMarginAssetLeverageResponseInner {
|
|
239
239
|
/**
|
|
240
|
-
*
|
|
240
|
+
* asset.
|
|
241
241
|
* @type {string}
|
|
242
242
|
* @memberof GetPortfolioMarginAssetLeverageResponseInner
|
|
243
243
|
*/
|
|
244
244
|
asset?: string;
|
|
245
245
|
/**
|
|
246
|
-
*
|
|
246
|
+
* leverage.
|
|
247
247
|
* @type {number | bigint}
|
|
248
248
|
* @memberof GetPortfolioMarginAssetLeverageResponseInner
|
|
249
249
|
*/
|
|
@@ -260,9 +260,9 @@ interface GetPortfolioMarginAssetLeverageResponse extends Array<GetPortfolioMarg
|
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region src/rest-api/types/get-portfolio-margin-pro-account-balance-response-inner.d.ts
|
|
262
262
|
/**
|
|
263
|
-
*
|
|
263
|
+
* Portfolio Margin Pro REST API
|
|
264
264
|
*
|
|
265
|
-
*
|
|
265
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
266
266
|
*
|
|
267
267
|
* The version of the OpenAPI document: 1.0.0
|
|
268
268
|
*
|
|
@@ -278,91 +278,91 @@ interface GetPortfolioMarginAssetLeverageResponse extends Array<GetPortfolioMarg
|
|
|
278
278
|
*/
|
|
279
279
|
interface GetPortfolioMarginProAccountBalanceResponseInner {
|
|
280
280
|
/**
|
|
281
|
-
*
|
|
281
|
+
* asset.
|
|
282
282
|
* @type {string}
|
|
283
283
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
284
284
|
*/
|
|
285
285
|
asset?: string;
|
|
286
286
|
/**
|
|
287
|
-
*
|
|
287
|
+
* total Wallet Balance.
|
|
288
288
|
* @type {string}
|
|
289
289
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
290
290
|
*/
|
|
291
291
|
totalWalletBalance?: string;
|
|
292
292
|
/**
|
|
293
|
-
*
|
|
293
|
+
* cross Margin Asset.
|
|
294
294
|
* @type {string}
|
|
295
295
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
296
296
|
*/
|
|
297
297
|
crossMarginAsset?: string;
|
|
298
298
|
/**
|
|
299
|
-
*
|
|
299
|
+
* cross Margin Borrowed.
|
|
300
300
|
* @type {string}
|
|
301
301
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
302
302
|
*/
|
|
303
303
|
crossMarginBorrowed?: string;
|
|
304
304
|
/**
|
|
305
|
-
*
|
|
305
|
+
* cross Margin Free.
|
|
306
306
|
* @type {string}
|
|
307
307
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
308
308
|
*/
|
|
309
309
|
crossMarginFree?: string;
|
|
310
310
|
/**
|
|
311
|
-
*
|
|
311
|
+
* cross Margin Interest.
|
|
312
312
|
* @type {string}
|
|
313
313
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
314
314
|
*/
|
|
315
315
|
crossMarginInterest?: string;
|
|
316
316
|
/**
|
|
317
|
-
*
|
|
317
|
+
* cross Margin Locked.
|
|
318
318
|
* @type {string}
|
|
319
319
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
320
320
|
*/
|
|
321
321
|
crossMarginLocked?: string;
|
|
322
322
|
/**
|
|
323
|
-
*
|
|
323
|
+
* um Wallet Balance.
|
|
324
324
|
* @type {string}
|
|
325
325
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
326
326
|
*/
|
|
327
327
|
umWalletBalance?: string;
|
|
328
328
|
/**
|
|
329
|
-
*
|
|
329
|
+
* um Unrealized PNL.
|
|
330
330
|
* @type {string}
|
|
331
331
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
332
332
|
*/
|
|
333
333
|
umUnrealizedPNL?: string;
|
|
334
334
|
/**
|
|
335
|
-
*
|
|
335
|
+
* cm Wallet Balance.
|
|
336
336
|
* @type {string}
|
|
337
337
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
338
338
|
*/
|
|
339
339
|
cmWalletBalance?: string;
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
341
|
+
* cm Unrealized PNL.
|
|
342
342
|
* @type {string}
|
|
343
343
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
344
344
|
*/
|
|
345
345
|
cmUnrealizedPNL?: string;
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
347
|
+
* update Time.
|
|
348
348
|
* @type {number | bigint}
|
|
349
349
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
350
350
|
*/
|
|
351
351
|
updateTime?: number | bigint;
|
|
352
352
|
/**
|
|
353
|
-
*
|
|
353
|
+
* negative Balance.
|
|
354
354
|
* @type {string}
|
|
355
355
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
356
356
|
*/
|
|
357
357
|
negativeBalance?: string;
|
|
358
358
|
/**
|
|
359
|
-
*
|
|
359
|
+
* option Wallet Balance.
|
|
360
360
|
* @type {string}
|
|
361
361
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
362
362
|
*/
|
|
363
363
|
optionWalletBalance?: string;
|
|
364
364
|
/**
|
|
365
|
-
*
|
|
365
|
+
* option Equity.
|
|
366
366
|
* @type {string}
|
|
367
367
|
* @memberof GetPortfolioMarginProAccountBalanceResponseInner
|
|
368
368
|
*/
|
|
@@ -379,9 +379,9 @@ interface GetPortfolioMarginProAccountBalanceResponse extends Array<GetPortfolio
|
|
|
379
379
|
//#endregion
|
|
380
380
|
//#region src/rest-api/types/get-portfolio-margin-pro-account-info-response.d.ts
|
|
381
381
|
/**
|
|
382
|
-
*
|
|
382
|
+
* Portfolio Margin Pro REST API
|
|
383
383
|
*
|
|
384
|
-
*
|
|
384
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
385
385
|
*
|
|
386
386
|
* The version of the OpenAPI document: 1.0.0
|
|
387
387
|
*
|
|
@@ -397,49 +397,49 @@ interface GetPortfolioMarginProAccountBalanceResponse extends Array<GetPortfolio
|
|
|
397
397
|
*/
|
|
398
398
|
interface GetPortfolioMarginProAccountInfoResponse {
|
|
399
399
|
/**
|
|
400
|
-
*
|
|
400
|
+
* Classic Portfolio margin account maintenance margin rate
|
|
401
401
|
* @type {string}
|
|
402
402
|
* @memberof GetPortfolioMarginProAccountInfoResponse
|
|
403
403
|
*/
|
|
404
404
|
uniMMR?: string;
|
|
405
405
|
/**
|
|
406
|
-
*
|
|
406
|
+
* Account equity, unit:USD
|
|
407
407
|
* @type {string}
|
|
408
408
|
* @memberof GetPortfolioMarginProAccountInfoResponse
|
|
409
409
|
*/
|
|
410
410
|
accountEquity?: string;
|
|
411
411
|
/**
|
|
412
|
-
*
|
|
412
|
+
* Actual equity, unit:USD
|
|
413
413
|
* @type {string}
|
|
414
414
|
* @memberof GetPortfolioMarginProAccountInfoResponse
|
|
415
415
|
*/
|
|
416
416
|
actualEquity?: string;
|
|
417
417
|
/**
|
|
418
|
-
*
|
|
418
|
+
* Classic Portfolio margin account maintenance margin, unit:USD
|
|
419
419
|
* @type {string}
|
|
420
420
|
* @memberof GetPortfolioMarginProAccountInfoResponse
|
|
421
421
|
*/
|
|
422
422
|
accountMaintMargin?: string;
|
|
423
423
|
/**
|
|
424
|
-
*
|
|
424
|
+
* Ignored for PM PRO and PM PRO SPAN
|
|
425
425
|
* @type {string}
|
|
426
426
|
* @memberof GetPortfolioMarginProAccountInfoResponse
|
|
427
427
|
*/
|
|
428
428
|
accountInitialMargin?: string;
|
|
429
429
|
/**
|
|
430
|
-
*
|
|
430
|
+
* Ignored for PM PRO and PM PRO SPAN
|
|
431
431
|
* @type {string}
|
|
432
432
|
* @memberof GetPortfolioMarginProAccountInfoResponse
|
|
433
433
|
*/
|
|
434
434
|
totalAvailableBalance?: string;
|
|
435
435
|
/**
|
|
436
|
-
*
|
|
436
|
+
* Classic Portfolio margin account status:\"NORMAL\", \"MARGIN_CALL\", \"SUPPLY_MARGIN\", \"REDUCE_ONLY\", \"ACTIVE_LIQUIDATION\", \"FORCE_LIQUIDATION\", \"BANKRUPTED\"
|
|
437
437
|
* @type {string}
|
|
438
438
|
* @memberof GetPortfolioMarginProAccountInfoResponse
|
|
439
439
|
*/
|
|
440
440
|
accountStatus?: string;
|
|
441
441
|
/**
|
|
442
|
-
*
|
|
442
|
+
* PM_1 for PM PRO, PM_2 for PM, PM_3 for PM PRO SPAN
|
|
443
443
|
* @type {string}
|
|
444
444
|
* @memberof GetPortfolioMarginProAccountInfoResponse
|
|
445
445
|
*/
|
|
@@ -448,9 +448,9 @@ interface GetPortfolioMarginProAccountInfoResponse {
|
|
|
448
448
|
//#endregion
|
|
449
449
|
//#region src/rest-api/types/get-portfolio-margin-pro-span-account-info-response-risk-unit-mmlist-inner.d.ts
|
|
450
450
|
/**
|
|
451
|
-
*
|
|
451
|
+
* Portfolio Margin Pro REST API
|
|
452
452
|
*
|
|
453
|
-
*
|
|
453
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
454
454
|
*
|
|
455
455
|
* The version of the OpenAPI document: 1.0.0
|
|
456
456
|
*
|
|
@@ -466,13 +466,13 @@ interface GetPortfolioMarginProAccountInfoResponse {
|
|
|
466
466
|
*/
|
|
467
467
|
interface GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner {
|
|
468
468
|
/**
|
|
469
|
-
*
|
|
469
|
+
* asset.
|
|
470
470
|
* @type {string}
|
|
471
471
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner
|
|
472
472
|
*/
|
|
473
473
|
asset?: string;
|
|
474
474
|
/**
|
|
475
|
-
*
|
|
475
|
+
* uni Maintain Usd.
|
|
476
476
|
* @type {string}
|
|
477
477
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner
|
|
478
478
|
*/
|
|
@@ -487,25 +487,25 @@ interface GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner {
|
|
|
487
487
|
*/
|
|
488
488
|
interface GetPortfolioMarginProSpanAccountInfoResponse {
|
|
489
489
|
/**
|
|
490
|
-
*
|
|
490
|
+
* uni MMR.
|
|
491
491
|
* @type {string}
|
|
492
492
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponse
|
|
493
493
|
*/
|
|
494
494
|
uniMMR?: string;
|
|
495
495
|
/**
|
|
496
|
-
*
|
|
496
|
+
* Account equity, unit:USD
|
|
497
497
|
* @type {string}
|
|
498
498
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponse
|
|
499
499
|
*/
|
|
500
500
|
accountEquity?: string;
|
|
501
501
|
/**
|
|
502
|
-
*
|
|
502
|
+
* Actual equity, unit:USD
|
|
503
503
|
* @type {string}
|
|
504
504
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponse
|
|
505
505
|
*/
|
|
506
506
|
actualEquity?: string;
|
|
507
507
|
/**
|
|
508
|
-
*
|
|
508
|
+
* Account maintenance margin, unit:USD
|
|
509
509
|
* @type {string}
|
|
510
510
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponse
|
|
511
511
|
*/
|
|
@@ -517,25 +517,25 @@ interface GetPortfolioMarginProSpanAccountInfoResponse {
|
|
|
517
517
|
*/
|
|
518
518
|
riskUnitMMList?: Array<GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner>;
|
|
519
519
|
/**
|
|
520
|
-
*
|
|
520
|
+
* margin MM.
|
|
521
521
|
* @type {string}
|
|
522
522
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponse
|
|
523
523
|
*/
|
|
524
524
|
marginMM?: string;
|
|
525
525
|
/**
|
|
526
|
-
*
|
|
526
|
+
* other MM.
|
|
527
527
|
* @type {string}
|
|
528
528
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponse
|
|
529
529
|
*/
|
|
530
530
|
otherMM?: string;
|
|
531
531
|
/**
|
|
532
|
-
*
|
|
532
|
+
* Classic Portfolio margin account status:\"NORMAL\", \"MARGIN_CALL\", \"SUPPLY_MARGIN\", \"REDUCE_ONLY\", \"ACTIVE_LIQUIDATION\", \"FORCE_LIQUIDATION\", \"BANKRUPTED\"
|
|
533
533
|
* @type {string}
|
|
534
534
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponse
|
|
535
535
|
*/
|
|
536
536
|
accountStatus?: string;
|
|
537
537
|
/**
|
|
538
|
-
*
|
|
538
|
+
* PM_1 for classic PM, PM_2 for PM, PM_3 for PM Pro(SPAN)
|
|
539
539
|
* @type {string}
|
|
540
540
|
* @memberof GetPortfolioMarginProSpanAccountInfoResponse
|
|
541
541
|
*/
|
|
@@ -544,9 +544,9 @@ interface GetPortfolioMarginProSpanAccountInfoResponse {
|
|
|
544
544
|
//#endregion
|
|
545
545
|
//#region src/rest-api/types/get-transferable-earn-asset-balance-for-portfolio-margin-response.d.ts
|
|
546
546
|
/**
|
|
547
|
-
*
|
|
547
|
+
* Portfolio Margin Pro REST API
|
|
548
548
|
*
|
|
549
|
-
*
|
|
549
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
550
550
|
*
|
|
551
551
|
* The version of the OpenAPI document: 1.0.0
|
|
552
552
|
*
|
|
@@ -562,13 +562,13 @@ interface GetPortfolioMarginProSpanAccountInfoResponse {
|
|
|
562
562
|
*/
|
|
563
563
|
interface GetTransferableEarnAssetBalanceForPortfolioMarginResponse {
|
|
564
564
|
/**
|
|
565
|
-
*
|
|
565
|
+
* asset.
|
|
566
566
|
* @type {string}
|
|
567
567
|
* @memberof GetTransferableEarnAssetBalanceForPortfolioMarginResponse
|
|
568
568
|
*/
|
|
569
569
|
asset?: string;
|
|
570
570
|
/**
|
|
571
|
-
*
|
|
571
|
+
* amount.
|
|
572
572
|
* @type {string}
|
|
573
573
|
* @memberof GetTransferableEarnAssetBalanceForPortfolioMarginResponse
|
|
574
574
|
*/
|
|
@@ -577,9 +577,9 @@ interface GetTransferableEarnAssetBalanceForPortfolioMarginResponse {
|
|
|
577
577
|
//#endregion
|
|
578
578
|
//#region src/rest-api/types/portfolio-margin-collateral-rate-response-inner.d.ts
|
|
579
579
|
/**
|
|
580
|
-
*
|
|
580
|
+
* Portfolio Margin Pro REST API
|
|
581
581
|
*
|
|
582
|
-
*
|
|
582
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
583
583
|
*
|
|
584
584
|
* The version of the OpenAPI document: 1.0.0
|
|
585
585
|
*
|
|
@@ -595,13 +595,13 @@ interface GetTransferableEarnAssetBalanceForPortfolioMarginResponse {
|
|
|
595
595
|
*/
|
|
596
596
|
interface PortfolioMarginCollateralRateResponseInner {
|
|
597
597
|
/**
|
|
598
|
-
*
|
|
598
|
+
* asset.
|
|
599
599
|
* @type {string}
|
|
600
600
|
* @memberof PortfolioMarginCollateralRateResponseInner
|
|
601
601
|
*/
|
|
602
602
|
asset?: string;
|
|
603
603
|
/**
|
|
604
|
-
*
|
|
604
|
+
* collateral Rate.
|
|
605
605
|
* @type {string}
|
|
606
606
|
* @memberof PortfolioMarginCollateralRateResponseInner
|
|
607
607
|
*/
|
|
@@ -618,9 +618,9 @@ interface PortfolioMarginCollateralRateResponse extends Array<PortfolioMarginCol
|
|
|
618
618
|
//#endregion
|
|
619
619
|
//#region src/rest-api/types/portfolio-margin-pro-bankruptcy-loan-repay-response.d.ts
|
|
620
620
|
/**
|
|
621
|
-
*
|
|
621
|
+
* Portfolio Margin Pro REST API
|
|
622
622
|
*
|
|
623
|
-
*
|
|
623
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
624
624
|
*
|
|
625
625
|
* The version of the OpenAPI document: 1.0.0
|
|
626
626
|
*
|
|
@@ -636,7 +636,7 @@ interface PortfolioMarginCollateralRateResponse extends Array<PortfolioMarginCol
|
|
|
636
636
|
*/
|
|
637
637
|
interface PortfolioMarginProBankruptcyLoanRepayResponse {
|
|
638
638
|
/**
|
|
639
|
-
*
|
|
639
|
+
* tran Id.
|
|
640
640
|
* @type {number | bigint}
|
|
641
641
|
* @memberof PortfolioMarginProBankruptcyLoanRepayResponse
|
|
642
642
|
*/
|
|
@@ -645,9 +645,9 @@ interface PortfolioMarginProBankruptcyLoanRepayResponse {
|
|
|
645
645
|
//#endregion
|
|
646
646
|
//#region src/rest-api/types/portfolio-margin-pro-tiered-collateral-rate-response-inner-collateral-info-inner.d.ts
|
|
647
647
|
/**
|
|
648
|
-
*
|
|
648
|
+
* Portfolio Margin Pro REST API
|
|
649
649
|
*
|
|
650
|
-
*
|
|
650
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
651
651
|
*
|
|
652
652
|
* The version of the OpenAPI document: 1.0.0
|
|
653
653
|
*
|
|
@@ -663,25 +663,25 @@ interface PortfolioMarginProBankruptcyLoanRepayResponse {
|
|
|
663
663
|
*/
|
|
664
664
|
interface PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner {
|
|
665
665
|
/**
|
|
666
|
-
*
|
|
666
|
+
* tier Floor.
|
|
667
667
|
* @type {string}
|
|
668
668
|
* @memberof PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
|
|
669
669
|
*/
|
|
670
670
|
tierFloor?: string;
|
|
671
671
|
/**
|
|
672
|
-
*
|
|
672
|
+
* tier Cap.
|
|
673
673
|
* @type {string}
|
|
674
674
|
* @memberof PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
|
|
675
675
|
*/
|
|
676
676
|
tierCap?: string;
|
|
677
677
|
/**
|
|
678
|
-
*
|
|
678
|
+
* collateral Rate.
|
|
679
679
|
* @type {string}
|
|
680
680
|
* @memberof PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
|
|
681
681
|
*/
|
|
682
682
|
collateralRate?: string;
|
|
683
683
|
/**
|
|
684
|
-
*
|
|
684
|
+
* account equity quick addition number
|
|
685
685
|
* @type {string}
|
|
686
686
|
* @memberof PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
|
|
687
687
|
*/
|
|
@@ -696,7 +696,7 @@ interface PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner
|
|
|
696
696
|
*/
|
|
697
697
|
interface PortfolioMarginProTieredCollateralRateResponseInner {
|
|
698
698
|
/**
|
|
699
|
-
*
|
|
699
|
+
* asset.
|
|
700
700
|
* @type {string}
|
|
701
701
|
* @memberof PortfolioMarginProTieredCollateralRateResponseInner
|
|
702
702
|
*/
|
|
@@ -719,9 +719,9 @@ interface PortfolioMarginProTieredCollateralRateResponse extends Array<Portfolio
|
|
|
719
719
|
//#endregion
|
|
720
720
|
//#region src/rest-api/types/query-portfolio-margin-asset-index-price-response-inner.d.ts
|
|
721
721
|
/**
|
|
722
|
-
*
|
|
722
|
+
* Portfolio Margin Pro REST API
|
|
723
723
|
*
|
|
724
|
-
*
|
|
724
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
725
725
|
*
|
|
726
726
|
* The version of the OpenAPI document: 1.0.0
|
|
727
727
|
*
|
|
@@ -737,19 +737,19 @@ interface PortfolioMarginProTieredCollateralRateResponse extends Array<Portfolio
|
|
|
737
737
|
*/
|
|
738
738
|
interface QueryPortfolioMarginAssetIndexPriceResponseInner {
|
|
739
739
|
/**
|
|
740
|
-
*
|
|
740
|
+
* asset.
|
|
741
741
|
* @type {string}
|
|
742
742
|
* @memberof QueryPortfolioMarginAssetIndexPriceResponseInner
|
|
743
743
|
*/
|
|
744
744
|
asset?: string;
|
|
745
745
|
/**
|
|
746
|
-
*
|
|
746
|
+
* in USD
|
|
747
747
|
* @type {string}
|
|
748
748
|
* @memberof QueryPortfolioMarginAssetIndexPriceResponseInner
|
|
749
749
|
*/
|
|
750
750
|
assetIndexPrice?: string;
|
|
751
751
|
/**
|
|
752
|
-
*
|
|
752
|
+
* time.
|
|
753
753
|
* @type {number | bigint}
|
|
754
754
|
* @memberof QueryPortfolioMarginAssetIndexPriceResponseInner
|
|
755
755
|
*/
|
|
@@ -766,9 +766,9 @@ interface QueryPortfolioMarginAssetIndexPriceResponse extends Array<QueryPortfol
|
|
|
766
766
|
//#endregion
|
|
767
767
|
//#region src/rest-api/types/query-portfolio-margin-pro-bankruptcy-loan-amount-response.d.ts
|
|
768
768
|
/**
|
|
769
|
-
*
|
|
769
|
+
* Portfolio Margin Pro REST API
|
|
770
770
|
*
|
|
771
|
-
*
|
|
771
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
772
772
|
*
|
|
773
773
|
* The version of the OpenAPI document: 1.0.0
|
|
774
774
|
*
|
|
@@ -784,13 +784,13 @@ interface QueryPortfolioMarginAssetIndexPriceResponse extends Array<QueryPortfol
|
|
|
784
784
|
*/
|
|
785
785
|
interface QueryPortfolioMarginProBankruptcyLoanAmountResponse {
|
|
786
786
|
/**
|
|
787
|
-
*
|
|
787
|
+
* asset.
|
|
788
788
|
* @type {string}
|
|
789
789
|
* @memberof QueryPortfolioMarginProBankruptcyLoanAmountResponse
|
|
790
790
|
*/
|
|
791
791
|
asset?: string;
|
|
792
792
|
/**
|
|
793
|
-
*
|
|
793
|
+
* portfolio margin bankruptcy loan amount in BUSD
|
|
794
794
|
* @type {string}
|
|
795
795
|
* @memberof QueryPortfolioMarginProBankruptcyLoanAmountResponse
|
|
796
796
|
*/
|
|
@@ -799,9 +799,9 @@ interface QueryPortfolioMarginProBankruptcyLoanAmountResponse {
|
|
|
799
799
|
//#endregion
|
|
800
800
|
//#region src/rest-api/types/query-portfolio-margin-pro-bankruptcy-loan-repay-history-response-rows-inner.d.ts
|
|
801
801
|
/**
|
|
802
|
-
*
|
|
802
|
+
* Portfolio Margin Pro REST API
|
|
803
803
|
*
|
|
804
|
-
*
|
|
804
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
805
805
|
*
|
|
806
806
|
* The version of the OpenAPI document: 1.0.0
|
|
807
807
|
*
|
|
@@ -817,19 +817,19 @@ interface QueryPortfolioMarginProBankruptcyLoanAmountResponse {
|
|
|
817
817
|
*/
|
|
818
818
|
interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner {
|
|
819
819
|
/**
|
|
820
|
-
*
|
|
820
|
+
* asset.
|
|
821
821
|
* @type {string}
|
|
822
822
|
* @memberof QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner
|
|
823
823
|
*/
|
|
824
824
|
asset?: string;
|
|
825
825
|
/**
|
|
826
|
-
*
|
|
826
|
+
* amount.
|
|
827
827
|
* @type {string}
|
|
828
828
|
* @memberof QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner
|
|
829
829
|
*/
|
|
830
830
|
amount?: string;
|
|
831
831
|
/**
|
|
832
|
-
*
|
|
832
|
+
* repay Time.
|
|
833
833
|
* @type {number | bigint}
|
|
834
834
|
* @memberof QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner
|
|
835
835
|
*/
|
|
@@ -844,7 +844,7 @@ interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner {
|
|
|
844
844
|
*/
|
|
845
845
|
interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse {
|
|
846
846
|
/**
|
|
847
|
-
*
|
|
847
|
+
* total.
|
|
848
848
|
* @type {number | bigint}
|
|
849
849
|
* @memberof QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse
|
|
850
850
|
*/
|
|
@@ -859,9 +859,9 @@ interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse {
|
|
|
859
859
|
//#endregion
|
|
860
860
|
//#region src/rest-api/types/query-portfolio-margin-pro-negative-balance-interest-history-response-inner.d.ts
|
|
861
861
|
/**
|
|
862
|
-
*
|
|
862
|
+
* Portfolio Margin Pro REST API
|
|
863
863
|
*
|
|
864
|
-
*
|
|
864
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
865
865
|
*
|
|
866
866
|
* The version of the OpenAPI document: 1.0.0
|
|
867
867
|
*
|
|
@@ -877,31 +877,31 @@ interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse {
|
|
|
877
877
|
*/
|
|
878
878
|
interface QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner {
|
|
879
879
|
/**
|
|
880
|
-
*
|
|
880
|
+
* asset.
|
|
881
881
|
* @type {string}
|
|
882
882
|
* @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
|
|
883
883
|
*/
|
|
884
884
|
asset?: string;
|
|
885
885
|
/**
|
|
886
|
-
*
|
|
886
|
+
* interest amount
|
|
887
887
|
* @type {string}
|
|
888
888
|
* @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
|
|
889
889
|
*/
|
|
890
890
|
interest?: string;
|
|
891
891
|
/**
|
|
892
|
-
*
|
|
892
|
+
* interest Accrued Time.
|
|
893
893
|
* @type {number | bigint}
|
|
894
894
|
* @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
|
|
895
895
|
*/
|
|
896
896
|
interestAccruedTime?: number | bigint;
|
|
897
897
|
/**
|
|
898
|
-
*
|
|
898
|
+
* daily interest rate
|
|
899
899
|
* @type {string}
|
|
900
900
|
* @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
|
|
901
901
|
*/
|
|
902
902
|
interestRate?: string;
|
|
903
903
|
/**
|
|
904
|
-
*
|
|
904
|
+
* principal.
|
|
905
905
|
* @type {string}
|
|
906
906
|
* @memberof QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner
|
|
907
907
|
*/
|
|
@@ -918,9 +918,9 @@ interface QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse extends
|
|
|
918
918
|
//#endregion
|
|
919
919
|
//#region src/rest-api/types/repay-futures-negative-balance-response.d.ts
|
|
920
920
|
/**
|
|
921
|
-
*
|
|
921
|
+
* Portfolio Margin Pro REST API
|
|
922
922
|
*
|
|
923
|
-
*
|
|
923
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
924
924
|
*
|
|
925
925
|
* The version of the OpenAPI document: 1.0.0
|
|
926
926
|
*
|
|
@@ -936,7 +936,7 @@ interface QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse extends
|
|
|
936
936
|
*/
|
|
937
937
|
interface RepayFuturesNegativeBalanceResponse {
|
|
938
938
|
/**
|
|
939
|
-
*
|
|
939
|
+
* msg.
|
|
940
940
|
* @type {string}
|
|
941
941
|
* @memberof RepayFuturesNegativeBalanceResponse
|
|
942
942
|
*/
|
|
@@ -945,9 +945,9 @@ interface RepayFuturesNegativeBalanceResponse {
|
|
|
945
945
|
//#endregion
|
|
946
946
|
//#region src/rest-api/types/set-margin-call-level-response.d.ts
|
|
947
947
|
/**
|
|
948
|
-
*
|
|
948
|
+
* Portfolio Margin Pro REST API
|
|
949
949
|
*
|
|
950
|
-
*
|
|
950
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
951
951
|
*
|
|
952
952
|
* The version of the OpenAPI document: 1.0.0
|
|
953
953
|
*
|
|
@@ -963,7 +963,7 @@ interface RepayFuturesNegativeBalanceResponse {
|
|
|
963
963
|
*/
|
|
964
964
|
interface SetMarginCallLevelResponse {
|
|
965
965
|
/**
|
|
966
|
-
*
|
|
966
|
+
* The margin call level that was set
|
|
967
967
|
* @type {string}
|
|
968
968
|
* @memberof SetMarginCallLevelResponse
|
|
969
969
|
*/
|
|
@@ -972,9 +972,9 @@ interface SetMarginCallLevelResponse {
|
|
|
972
972
|
//#endregion
|
|
973
973
|
//#region src/rest-api/types/switch-delta-mode-response.d.ts
|
|
974
974
|
/**
|
|
975
|
-
*
|
|
975
|
+
* Portfolio Margin Pro REST API
|
|
976
976
|
*
|
|
977
|
-
*
|
|
977
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
978
978
|
*
|
|
979
979
|
* The version of the OpenAPI document: 1.0.0
|
|
980
980
|
*
|
|
@@ -990,7 +990,7 @@ interface SetMarginCallLevelResponse {
|
|
|
990
990
|
*/
|
|
991
991
|
interface SwitchDeltaModeResponse {
|
|
992
992
|
/**
|
|
993
|
-
*
|
|
993
|
+
* msg.
|
|
994
994
|
* @type {string}
|
|
995
995
|
* @memberof SwitchDeltaModeResponse
|
|
996
996
|
*/
|
|
@@ -999,9 +999,9 @@ interface SwitchDeltaModeResponse {
|
|
|
999
999
|
//#endregion
|
|
1000
1000
|
//#region src/rest-api/types/transfer-ldusdt-rwusd-for-portfolio-margin-response.d.ts
|
|
1001
1001
|
/**
|
|
1002
|
-
*
|
|
1002
|
+
* Portfolio Margin Pro REST API
|
|
1003
1003
|
*
|
|
1004
|
-
*
|
|
1004
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
1005
1005
|
*
|
|
1006
1006
|
* The version of the OpenAPI document: 1.0.0
|
|
1007
1007
|
*
|
|
@@ -1017,7 +1017,7 @@ interface SwitchDeltaModeResponse {
|
|
|
1017
1017
|
*/
|
|
1018
1018
|
interface TransferLdusdtRwusdForPortfolioMarginResponse {
|
|
1019
1019
|
/**
|
|
1020
|
-
*
|
|
1020
|
+
* msg.
|
|
1021
1021
|
* @type {string}
|
|
1022
1022
|
* @memberof TransferLdusdtRwusdForPortfolioMarginResponse
|
|
1023
1023
|
*/
|
|
@@ -1033,12 +1033,14 @@ interface AccountApiInterface {
|
|
|
1033
1033
|
/**
|
|
1034
1034
|
* BNB transfer can be between Margin Account and USDM Account
|
|
1035
1035
|
*
|
|
1036
|
+
* Weight(IP): 1500
|
|
1036
1037
|
*
|
|
1037
|
-
*
|
|
1038
|
+
* Security Type: USER_DATA
|
|
1038
1039
|
*
|
|
1039
|
-
*
|
|
1040
|
+
* Notes:
|
|
1041
|
+
* - You can only use this function 2 times per 10 minutes in a rolling manner
|
|
1040
1042
|
*
|
|
1041
|
-
* @summary BNB transfer(USER_DATA)
|
|
1043
|
+
* @summary BNB transfer (USER_DATA)
|
|
1042
1044
|
* @param {BnbTransferRequest} requestParameters Request parameters.
|
|
1043
1045
|
*
|
|
1044
1046
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1048,9 +1050,11 @@ interface AccountApiInterface {
|
|
|
1048
1050
|
/**
|
|
1049
1051
|
* Change Auto-repay-futures Status
|
|
1050
1052
|
*
|
|
1051
|
-
* Weight: 1500
|
|
1053
|
+
* Weight(IP): 1500
|
|
1054
|
+
*
|
|
1055
|
+
* Security Type: TRADE
|
|
1052
1056
|
*
|
|
1053
|
-
* @summary Change Auto-repay-futures Status(TRADE)
|
|
1057
|
+
* @summary Change Auto-repay-futures Status (TRADE)
|
|
1054
1058
|
* @param {ChangeAutoRepayFuturesStatusRequest} requestParameters Request parameters.
|
|
1055
1059
|
*
|
|
1056
1060
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1060,7 +1064,9 @@ interface AccountApiInterface {
|
|
|
1060
1064
|
/**
|
|
1061
1065
|
* Delete the margin call level for a Portfolio Margin account.
|
|
1062
1066
|
*
|
|
1063
|
-
* Weight: 1500
|
|
1067
|
+
* Weight(IP): 1500
|
|
1068
|
+
*
|
|
1069
|
+
* Security Type: USER_DATA
|
|
1064
1070
|
*
|
|
1065
1071
|
* @summary Delete Margin Call Level (USER_DATA)
|
|
1066
1072
|
* @param {DeleteMarginCallLevelRequest} requestParameters Request parameters.
|
|
@@ -1072,12 +1078,15 @@ interface AccountApiInterface {
|
|
|
1072
1078
|
/**
|
|
1073
1079
|
* Transfers all assets from Futures Account to Margin account
|
|
1074
1080
|
*
|
|
1075
|
-
*
|
|
1076
|
-
* You can only use this function 500 times per hour in a rolling manner.
|
|
1081
|
+
* Weight(IP): 1500
|
|
1077
1082
|
*
|
|
1078
|
-
*
|
|
1083
|
+
* Security Type: USER_DATA
|
|
1079
1084
|
*
|
|
1080
|
-
*
|
|
1085
|
+
* Notes:
|
|
1086
|
+
* - The BNB would not be collected from UM-PM account to the Portfolio Margin account.
|
|
1087
|
+
* - You can only use this function 500 times per hour in a rolling manner.
|
|
1088
|
+
*
|
|
1089
|
+
* @summary Fund Auto-collection (USER_DATA)
|
|
1081
1090
|
* @param {FundAutoCollectionRequest} requestParameters Request parameters.
|
|
1082
1091
|
*
|
|
1083
1092
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1087,11 +1096,14 @@ interface AccountApiInterface {
|
|
|
1087
1096
|
/**
|
|
1088
1097
|
* Transfers specific asset from Futures Account to Margin account
|
|
1089
1098
|
*
|
|
1090
|
-
*
|
|
1099
|
+
* Weight(IP): 60
|
|
1100
|
+
*
|
|
1101
|
+
* Security Type: USER_DATA
|
|
1091
1102
|
*
|
|
1092
|
-
*
|
|
1103
|
+
* Notes:
|
|
1104
|
+
* - The BNB transfer is not be supported
|
|
1093
1105
|
*
|
|
1094
|
-
* @summary Fund Collection by Asset(USER_DATA)
|
|
1106
|
+
* @summary Fund Collection by Asset (USER_DATA)
|
|
1095
1107
|
* @param {FundCollectionByAssetRequest} requestParameters Request parameters.
|
|
1096
1108
|
*
|
|
1097
1109
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1101,9 +1113,11 @@ interface AccountApiInterface {
|
|
|
1101
1113
|
/**
|
|
1102
1114
|
* Query Auto-repay-futures Status
|
|
1103
1115
|
*
|
|
1104
|
-
* Weight: 30
|
|
1116
|
+
* Weight(IP): 30
|
|
1117
|
+
*
|
|
1118
|
+
* Security Type: USER_DATA
|
|
1105
1119
|
*
|
|
1106
|
-
* @summary Get Auto-repay-futures Status(USER_DATA)
|
|
1120
|
+
* @summary Get Auto-repay-futures Status (USER_DATA)
|
|
1107
1121
|
* @param {GetAutoRepayFuturesStatusRequest} requestParameters Request parameters.
|
|
1108
1122
|
*
|
|
1109
1123
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1113,9 +1127,11 @@ interface AccountApiInterface {
|
|
|
1113
1127
|
/**
|
|
1114
1128
|
* Query the Delta mode status of current account.
|
|
1115
1129
|
*
|
|
1116
|
-
* Weight: 1500
|
|
1130
|
+
* Weight(IP): 1500
|
|
1117
1131
|
*
|
|
1118
|
-
*
|
|
1132
|
+
* Security Type: USER_DATA
|
|
1133
|
+
*
|
|
1134
|
+
* @summary Get Delta Mode Status (USER_DATA)
|
|
1119
1135
|
* @param {GetDeltaModeStatusRequest} requestParameters Request parameters.
|
|
1120
1136
|
*
|
|
1121
1137
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1125,7 +1141,9 @@ interface AccountApiInterface {
|
|
|
1125
1141
|
/**
|
|
1126
1142
|
* Get the margin call level for a Portfolio Margin account.
|
|
1127
1143
|
*
|
|
1128
|
-
* Weight: 1500
|
|
1144
|
+
* Weight(IP): 1500
|
|
1145
|
+
*
|
|
1146
|
+
* Security Type: USER_DATA
|
|
1129
1147
|
*
|
|
1130
1148
|
* @summary Get Margin Call Level (USER_DATA)
|
|
1131
1149
|
* @param {GetMarginCallLevelRequest} requestParameters Request parameters.
|
|
@@ -1137,9 +1155,11 @@ interface AccountApiInterface {
|
|
|
1137
1155
|
/**
|
|
1138
1156
|
* Query Portfolio Margin Pro account balance
|
|
1139
1157
|
*
|
|
1140
|
-
* Weight: 20
|
|
1158
|
+
* Weight(IP): 20
|
|
1159
|
+
*
|
|
1160
|
+
* Security Type: USER_DATA
|
|
1141
1161
|
*
|
|
1142
|
-
* @summary Get Portfolio Margin Pro Account Balance(USER_DATA)
|
|
1162
|
+
* @summary Get Portfolio Margin Pro Account Balance (USER_DATA)
|
|
1143
1163
|
* @param {GetPortfolioMarginProAccountBalanceRequest} requestParameters Request parameters.
|
|
1144
1164
|
*
|
|
1145
1165
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1149,9 +1169,11 @@ interface AccountApiInterface {
|
|
|
1149
1169
|
/**
|
|
1150
1170
|
* Get Portfolio Margin Pro Account Info
|
|
1151
1171
|
*
|
|
1152
|
-
* Weight: 5
|
|
1172
|
+
* Weight(UID): 5
|
|
1153
1173
|
*
|
|
1154
|
-
*
|
|
1174
|
+
* Security Type: USER_DATA
|
|
1175
|
+
*
|
|
1176
|
+
* @summary Get Portfolio Margin Pro Account Info (USER_DATA)
|
|
1155
1177
|
* @param {GetPortfolioMarginProAccountInfoRequest} requestParameters Request parameters.
|
|
1156
1178
|
*
|
|
1157
1179
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1161,9 +1183,11 @@ interface AccountApiInterface {
|
|
|
1161
1183
|
/**
|
|
1162
1184
|
* Get Portfolio Margin Pro SPAN Account Info (For Portfolio Margin Pro SPAN users only)
|
|
1163
1185
|
*
|
|
1164
|
-
* Weight: 5
|
|
1186
|
+
* Weight(IP): 5
|
|
1187
|
+
*
|
|
1188
|
+
* Security Type: USER_DATA
|
|
1165
1189
|
*
|
|
1166
|
-
* @summary Get Portfolio Margin Pro SPAN Account Info(USER_DATA)
|
|
1190
|
+
* @summary Get Portfolio Margin Pro SPAN Account Info (USER_DATA)
|
|
1167
1191
|
* @param {GetPortfolioMarginProSpanAccountInfoRequest} requestParameters Request parameters.
|
|
1168
1192
|
*
|
|
1169
1193
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1173,7 +1197,9 @@ interface AccountApiInterface {
|
|
|
1173
1197
|
/**
|
|
1174
1198
|
* Get transferable earn asset balance for all types of Portfolio Margin account
|
|
1175
1199
|
*
|
|
1176
|
-
* Weight: 1500
|
|
1200
|
+
* Weight(IP): 1500
|
|
1201
|
+
*
|
|
1202
|
+
* Security Type: USER_DATA
|
|
1177
1203
|
*
|
|
1178
1204
|
* @summary Get Transferable Earn Asset Balance for Portfolio Margin (USER_DATA)
|
|
1179
1205
|
* @param {GetTransferableEarnAssetBalanceForPortfolioMarginRequest} requestParameters Request parameters.
|
|
@@ -1185,11 +1211,14 @@ interface AccountApiInterface {
|
|
|
1185
1211
|
/**
|
|
1186
1212
|
* Repay Portfolio Margin Pro Bankruptcy Loan
|
|
1187
1213
|
*
|
|
1188
|
-
*
|
|
1214
|
+
* Weight(UID): 3000
|
|
1189
1215
|
*
|
|
1190
|
-
*
|
|
1216
|
+
* Security Type: TRADE
|
|
1191
1217
|
*
|
|
1192
|
-
*
|
|
1218
|
+
* Notes:
|
|
1219
|
+
* - Please note that the API Key has enabled Spot & Margin Trading permissions to access this endpoint.
|
|
1220
|
+
*
|
|
1221
|
+
* @summary Portfolio Margin Pro Bankruptcy Loan Repay (TRADE)
|
|
1193
1222
|
* @param {PortfolioMarginProBankruptcyLoanRepayRequest} requestParameters Request parameters.
|
|
1194
1223
|
*
|
|
1195
1224
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1199,11 +1228,14 @@ interface AccountApiInterface {
|
|
|
1199
1228
|
/**
|
|
1200
1229
|
* Query Portfolio Margin Pro Bankruptcy Loan Amount
|
|
1201
1230
|
*
|
|
1202
|
-
*
|
|
1231
|
+
* Weight(UID): 500
|
|
1232
|
+
*
|
|
1233
|
+
* Security Type: USER_DATA
|
|
1203
1234
|
*
|
|
1204
|
-
*
|
|
1235
|
+
* Notes:
|
|
1236
|
+
* - If there’s no classic portfolio margin bankruptcy loan, the amount would be 0
|
|
1205
1237
|
*
|
|
1206
|
-
* @summary Query Portfolio Margin Pro Bankruptcy Loan Amount(USER_DATA)
|
|
1238
|
+
* @summary Query Portfolio Margin Pro Bankruptcy Loan Amount (USER_DATA)
|
|
1207
1239
|
* @param {QueryPortfolioMarginProBankruptcyLoanAmountRequest} requestParameters Request parameters.
|
|
1208
1240
|
*
|
|
1209
1241
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1213,14 +1245,17 @@ interface AccountApiInterface {
|
|
|
1213
1245
|
/**
|
|
1214
1246
|
* Query repay history of pmloan for portfolio margin pro.
|
|
1215
1247
|
*
|
|
1216
|
-
*
|
|
1217
|
-
*
|
|
1218
|
-
*
|
|
1219
|
-
* If `startTime` is not sent and `endTime` is sent, return records of [endTime-30d, endTime].
|
|
1248
|
+
* Weight(IP): 500
|
|
1249
|
+
*
|
|
1250
|
+
* Security Type: USER_DATA
|
|
1220
1251
|
*
|
|
1221
|
-
*
|
|
1252
|
+
* Notes:
|
|
1253
|
+
* - `startTime` and `endTime` cannot be longer than 360 days
|
|
1254
|
+
* - If `startTime` and `endTime` not sent, return records of the last 30 days by default.
|
|
1255
|
+
* - If `startTime`is sent and `endTime` is not sent, return records of [startTime, startTime+30d].
|
|
1256
|
+
* - If `startTime` is not sent and `endTime` is sent, return records of [endTime-30d, endTime].
|
|
1222
1257
|
*
|
|
1223
|
-
* @summary Query Portfolio Margin Pro Bankruptcy Loan Repay History(USER_DATA)
|
|
1258
|
+
* @summary Query Portfolio Margin Pro Bankruptcy Loan Repay History (USER_DATA)
|
|
1224
1259
|
* @param {QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest} requestParameters Request parameters.
|
|
1225
1260
|
*
|
|
1226
1261
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1230,9 +1265,11 @@ interface AccountApiInterface {
|
|
|
1230
1265
|
/**
|
|
1231
1266
|
* Query interest history of negative balance for portfolio margin.
|
|
1232
1267
|
*
|
|
1233
|
-
* Weight: 50
|
|
1268
|
+
* Weight(IP): 50
|
|
1234
1269
|
*
|
|
1235
|
-
*
|
|
1270
|
+
* Security Type: USER_DATA
|
|
1271
|
+
*
|
|
1272
|
+
* @summary Query Portfolio Margin Pro Negative Balance Interest History (USER_DATA)
|
|
1236
1273
|
* @param {QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest} requestParameters Request parameters.
|
|
1237
1274
|
*
|
|
1238
1275
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1242,9 +1279,11 @@ interface AccountApiInterface {
|
|
|
1242
1279
|
/**
|
|
1243
1280
|
* Repay futures Negative Balance
|
|
1244
1281
|
*
|
|
1245
|
-
* Weight: 1500
|
|
1282
|
+
* Weight(IP): 1500
|
|
1283
|
+
*
|
|
1284
|
+
* Security Type: USER_DATA
|
|
1246
1285
|
*
|
|
1247
|
-
* @summary Repay futures Negative Balance(USER_DATA)
|
|
1286
|
+
* @summary Repay futures Negative Balance (USER_DATA)
|
|
1248
1287
|
* @param {RepayFuturesNegativeBalanceRequest} requestParameters Request parameters.
|
|
1249
1288
|
*
|
|
1250
1289
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1254,7 +1293,9 @@ interface AccountApiInterface {
|
|
|
1254
1293
|
/**
|
|
1255
1294
|
* Set the margin call level for a Portfolio Margin account. When the account's uniMMR drops to the specified level, a notification will be sent via email and SMS.
|
|
1256
1295
|
*
|
|
1257
|
-
* Weight: 1500
|
|
1296
|
+
* Weight(IP): 1500
|
|
1297
|
+
*
|
|
1298
|
+
* Security Type: USER_DATA
|
|
1258
1299
|
*
|
|
1259
1300
|
* @summary Set Margin Call Level (USER_DATA)
|
|
1260
1301
|
* @param {SetMarginCallLevelRequest} requestParameters Request parameters.
|
|
@@ -1266,9 +1307,11 @@ interface AccountApiInterface {
|
|
|
1266
1307
|
/**
|
|
1267
1308
|
* Switch the Delta mode for existing PM PRO / PM RETAIL accounts.
|
|
1268
1309
|
*
|
|
1269
|
-
* Weight: 1500
|
|
1310
|
+
* Weight(IP): 1500
|
|
1270
1311
|
*
|
|
1271
|
-
*
|
|
1312
|
+
* Security Type: TRADE
|
|
1313
|
+
*
|
|
1314
|
+
* @summary Switch Delta Mode (TRADE)
|
|
1272
1315
|
* @param {SwitchDeltaModeRequest} requestParameters Request parameters.
|
|
1273
1316
|
*
|
|
1274
1317
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1278,9 +1321,11 @@ interface AccountApiInterface {
|
|
|
1278
1321
|
/**
|
|
1279
1322
|
* Transfer LDUSDT/RWUSD as collateral for all types of Portfolio Margin account
|
|
1280
1323
|
*
|
|
1281
|
-
* Weight: 1500
|
|
1324
|
+
* Weight(UID): 1500
|
|
1325
|
+
*
|
|
1326
|
+
* Security Type: TRADE
|
|
1282
1327
|
*
|
|
1283
|
-
* @summary Transfer LDUSDT/RWUSD for Portfolio Margin(TRADE)
|
|
1328
|
+
* @summary Transfer LDUSDT/RWUSD for Portfolio Margin (TRADE)
|
|
1284
1329
|
* @param {TransferLdusdtRwusdForPortfolioMarginRequest} requestParameters Request parameters.
|
|
1285
1330
|
*
|
|
1286
1331
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1300,11 +1345,11 @@ interface BnbTransferRequest {
|
|
|
1300
1345
|
*/
|
|
1301
1346
|
readonly amount: number;
|
|
1302
1347
|
/**
|
|
1303
|
-
*
|
|
1304
|
-
* @type {
|
|
1348
|
+
*
|
|
1349
|
+
* @type {'TO_UM' | 'FROM_UM'}
|
|
1305
1350
|
* @memberof AccountApiBnbTransfer
|
|
1306
1351
|
*/
|
|
1307
|
-
readonly transferSide:
|
|
1352
|
+
readonly transferSide: BnbTransferTransferSideEnum;
|
|
1308
1353
|
/**
|
|
1309
1354
|
*
|
|
1310
1355
|
* @type {number | bigint}
|
|
@@ -1318,11 +1363,11 @@ interface BnbTransferRequest {
|
|
|
1318
1363
|
*/
|
|
1319
1364
|
interface ChangeAutoRepayFuturesStatusRequest {
|
|
1320
1365
|
/**
|
|
1321
|
-
*
|
|
1322
|
-
* @type {
|
|
1366
|
+
* `false` for turn off the auto-repay futures negative balance function
|
|
1367
|
+
* @type {'true' | 'false'}
|
|
1323
1368
|
* @memberof AccountApiChangeAutoRepayFuturesStatus
|
|
1324
1369
|
*/
|
|
1325
|
-
readonly autoRepay:
|
|
1370
|
+
readonly autoRepay: ChangeAutoRepayFuturesStatusAutoRepayEnum;
|
|
1326
1371
|
/**
|
|
1327
1372
|
*
|
|
1328
1373
|
* @type {number | bigint}
|
|
@@ -1336,7 +1381,7 @@ interface ChangeAutoRepayFuturesStatusRequest {
|
|
|
1336
1381
|
*/
|
|
1337
1382
|
interface DeleteMarginCallLevelRequest {
|
|
1338
1383
|
/**
|
|
1339
|
-
*
|
|
1384
|
+
* Request validity window in milliseconds
|
|
1340
1385
|
* @type {number | bigint}
|
|
1341
1386
|
* @memberof AccountApiDeleteMarginCallLevel
|
|
1342
1387
|
*/
|
|
@@ -1360,7 +1405,7 @@ interface FundAutoCollectionRequest {
|
|
|
1360
1405
|
*/
|
|
1361
1406
|
interface FundCollectionByAssetRequest {
|
|
1362
1407
|
/**
|
|
1363
|
-
*
|
|
1408
|
+
*
|
|
1364
1409
|
* @type {string}
|
|
1365
1410
|
* @memberof AccountApiFundCollectionByAsset
|
|
1366
1411
|
*/
|
|
@@ -1402,7 +1447,7 @@ interface GetDeltaModeStatusRequest {
|
|
|
1402
1447
|
*/
|
|
1403
1448
|
interface GetMarginCallLevelRequest {
|
|
1404
1449
|
/**
|
|
1405
|
-
*
|
|
1450
|
+
* Request validity window in milliseconds
|
|
1406
1451
|
* @type {number | bigint}
|
|
1407
1452
|
* @memberof AccountApiGetMarginCallLevel
|
|
1408
1453
|
*/
|
|
@@ -1456,17 +1501,17 @@ interface GetPortfolioMarginProSpanAccountInfoRequest {
|
|
|
1456
1501
|
*/
|
|
1457
1502
|
interface GetTransferableEarnAssetBalanceForPortfolioMarginRequest {
|
|
1458
1503
|
/**
|
|
1459
|
-
* `LDUSDT`
|
|
1504
|
+
* `LDUSDT` only
|
|
1460
1505
|
* @type {string}
|
|
1461
1506
|
* @memberof AccountApiGetTransferableEarnAssetBalanceForPortfolioMargin
|
|
1462
1507
|
*/
|
|
1463
1508
|
readonly asset: string;
|
|
1464
1509
|
/**
|
|
1465
|
-
*
|
|
1466
|
-
* @type {
|
|
1510
|
+
*
|
|
1511
|
+
* @type {'EARN_TO_FUTURE' | 'FUTURE_TO_EARN'}
|
|
1467
1512
|
* @memberof AccountApiGetTransferableEarnAssetBalanceForPortfolioMargin
|
|
1468
1513
|
*/
|
|
1469
|
-
readonly transferType:
|
|
1514
|
+
readonly transferType: GetTransferableEarnAssetBalanceForPortfolioMarginTransferTypeEnum;
|
|
1470
1515
|
/**
|
|
1471
1516
|
*
|
|
1472
1517
|
* @type {number | bigint}
|
|
@@ -1480,11 +1525,11 @@ interface GetTransferableEarnAssetBalanceForPortfolioMarginRequest {
|
|
|
1480
1525
|
*/
|
|
1481
1526
|
interface PortfolioMarginProBankruptcyLoanRepayRequest {
|
|
1482
1527
|
/**
|
|
1483
|
-
*
|
|
1484
|
-
* @type {
|
|
1528
|
+
*
|
|
1529
|
+
* @type {'SPOT' | 'MARGIN'}
|
|
1485
1530
|
* @memberof AccountApiPortfolioMarginProBankruptcyLoanRepay
|
|
1486
1531
|
*/
|
|
1487
|
-
readonly from?:
|
|
1532
|
+
readonly from?: PortfolioMarginProBankruptcyLoanRepayFromEnum;
|
|
1488
1533
|
/**
|
|
1489
1534
|
*
|
|
1490
1535
|
* @type {number | bigint}
|
|
@@ -1510,29 +1555,29 @@ interface QueryPortfolioMarginProBankruptcyLoanAmountRequest {
|
|
|
1510
1555
|
*/
|
|
1511
1556
|
interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest {
|
|
1512
1557
|
/**
|
|
1513
|
-
*
|
|
1558
|
+
* Start time
|
|
1514
1559
|
* @type {number | bigint}
|
|
1515
1560
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
|
|
1516
1561
|
*/
|
|
1517
1562
|
readonly startTime?: number | bigint;
|
|
1518
1563
|
/**
|
|
1519
|
-
*
|
|
1564
|
+
* End time
|
|
1520
1565
|
* @type {number | bigint}
|
|
1521
1566
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
|
|
1522
1567
|
*/
|
|
1523
1568
|
readonly endTime?: number | bigint;
|
|
1524
1569
|
/**
|
|
1525
|
-
*
|
|
1570
|
+
* Number of results returned.
|
|
1526
1571
|
* @type {number | bigint}
|
|
1527
1572
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
|
|
1528
1573
|
*/
|
|
1529
|
-
readonly
|
|
1574
|
+
readonly size?: number | bigint;
|
|
1530
1575
|
/**
|
|
1531
|
-
*
|
|
1576
|
+
* Currently querying page. Start from 1.
|
|
1532
1577
|
* @type {number | bigint}
|
|
1533
1578
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
|
|
1534
1579
|
*/
|
|
1535
|
-
readonly
|
|
1580
|
+
readonly current?: number | bigint;
|
|
1536
1581
|
/**
|
|
1537
1582
|
*
|
|
1538
1583
|
* @type {number | bigint}
|
|
@@ -1552,19 +1597,19 @@ interface QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest {
|
|
|
1552
1597
|
*/
|
|
1553
1598
|
readonly asset?: string;
|
|
1554
1599
|
/**
|
|
1555
|
-
*
|
|
1600
|
+
* Start time
|
|
1556
1601
|
* @type {number | bigint}
|
|
1557
1602
|
* @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
|
|
1558
1603
|
*/
|
|
1559
1604
|
readonly startTime?: number | bigint;
|
|
1560
1605
|
/**
|
|
1561
|
-
*
|
|
1606
|
+
* End time
|
|
1562
1607
|
* @type {number | bigint}
|
|
1563
1608
|
* @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
|
|
1564
1609
|
*/
|
|
1565
1610
|
readonly endTime?: number | bigint;
|
|
1566
1611
|
/**
|
|
1567
|
-
*
|
|
1612
|
+
* Number of results returned.
|
|
1568
1613
|
* @type {number | bigint}
|
|
1569
1614
|
* @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
|
|
1570
1615
|
*/
|
|
@@ -1582,11 +1627,11 @@ interface QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest {
|
|
|
1582
1627
|
*/
|
|
1583
1628
|
interface RepayFuturesNegativeBalanceRequest {
|
|
1584
1629
|
/**
|
|
1585
|
-
*
|
|
1586
|
-
* @type {
|
|
1630
|
+
*
|
|
1631
|
+
* @type {'SPOT' | 'MARGIN'}
|
|
1587
1632
|
* @memberof AccountApiRepayFuturesNegativeBalance
|
|
1588
1633
|
*/
|
|
1589
|
-
readonly from?:
|
|
1634
|
+
readonly from?: RepayFuturesNegativeBalanceFromEnum;
|
|
1590
1635
|
/**
|
|
1591
1636
|
*
|
|
1592
1637
|
* @type {number | bigint}
|
|
@@ -1600,13 +1645,13 @@ interface RepayFuturesNegativeBalanceRequest {
|
|
|
1600
1645
|
*/
|
|
1601
1646
|
interface SetMarginCallLevelRequest {
|
|
1602
1647
|
/**
|
|
1603
|
-
* The value
|
|
1648
|
+
* The value must be within the range [1.1, 2.0].
|
|
1604
1649
|
* @type {number}
|
|
1605
1650
|
* @memberof AccountApiSetMarginCallLevel
|
|
1606
1651
|
*/
|
|
1607
1652
|
readonly marginCallLevel: number;
|
|
1608
1653
|
/**
|
|
1609
|
-
*
|
|
1654
|
+
* Request validity window in milliseconds
|
|
1610
1655
|
* @type {number | bigint}
|
|
1611
1656
|
* @memberof AccountApiSetMarginCallLevel
|
|
1612
1657
|
*/
|
|
@@ -1619,10 +1664,10 @@ interface SetMarginCallLevelRequest {
|
|
|
1619
1664
|
interface SwitchDeltaModeRequest {
|
|
1620
1665
|
/**
|
|
1621
1666
|
* `true` to enable Delta mode; `false` to disable Delta mode
|
|
1622
|
-
* @type {
|
|
1667
|
+
* @type {'true' | 'false'}
|
|
1623
1668
|
* @memberof AccountApiSwitchDeltaMode
|
|
1624
1669
|
*/
|
|
1625
|
-
readonly deltaEnabled:
|
|
1670
|
+
readonly deltaEnabled: SwitchDeltaModeDeltaEnabledEnum;
|
|
1626
1671
|
/**
|
|
1627
1672
|
*
|
|
1628
1673
|
* @type {number | bigint}
|
|
@@ -1636,17 +1681,17 @@ interface SwitchDeltaModeRequest {
|
|
|
1636
1681
|
*/
|
|
1637
1682
|
interface TransferLdusdtRwusdForPortfolioMarginRequest {
|
|
1638
1683
|
/**
|
|
1639
|
-
*
|
|
1640
|
-
* @type {
|
|
1684
|
+
*
|
|
1685
|
+
* @type {'LDUSDT' | 'RWUSD'}
|
|
1641
1686
|
* @memberof AccountApiTransferLdusdtRwusdForPortfolioMargin
|
|
1642
1687
|
*/
|
|
1643
|
-
readonly asset:
|
|
1688
|
+
readonly asset: TransferLdusdtRwusdForPortfolioMarginAssetEnum;
|
|
1644
1689
|
/**
|
|
1645
|
-
*
|
|
1646
|
-
* @type {
|
|
1690
|
+
*
|
|
1691
|
+
* @type {'EARN_TO_FUTURE' | 'FUTURE_TO_EARN'}
|
|
1647
1692
|
* @memberof AccountApiTransferLdusdtRwusdForPortfolioMargin
|
|
1648
1693
|
*/
|
|
1649
|
-
readonly transferType:
|
|
1694
|
+
readonly transferType: TransferLdusdtRwusdForPortfolioMarginTransferTypeEnum;
|
|
1650
1695
|
/**
|
|
1651
1696
|
*
|
|
1652
1697
|
* @type {number}
|
|
@@ -1671,281 +1716,358 @@ declare class AccountApi implements AccountApiInterface {
|
|
|
1671
1716
|
/**
|
|
1672
1717
|
* BNB transfer can be between Margin Account and USDM Account
|
|
1673
1718
|
*
|
|
1719
|
+
* Weight(IP): 1500
|
|
1674
1720
|
*
|
|
1675
|
-
*
|
|
1721
|
+
* Security Type: USER_DATA
|
|
1676
1722
|
*
|
|
1677
|
-
*
|
|
1723
|
+
* Notes:
|
|
1724
|
+
* - You can only use this function 2 times per 10 minutes in a rolling manner
|
|
1678
1725
|
*
|
|
1679
|
-
* @summary BNB transfer(USER_DATA)
|
|
1726
|
+
* @summary BNB transfer (USER_DATA)
|
|
1680
1727
|
* @param {BnbTransferRequest} requestParameters Request parameters.
|
|
1681
1728
|
* @returns {Promise<RestApiResponse<BnbTransferResponse>>}
|
|
1682
1729
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1683
1730
|
* @memberof AccountApi
|
|
1684
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1731
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#bnb-transfer Binance API Documentation}
|
|
1685
1732
|
*/
|
|
1686
1733
|
bnbTransfer(requestParameters: BnbTransferRequest): Promise<RestApiResponse<BnbTransferResponse>>;
|
|
1687
1734
|
/**
|
|
1688
1735
|
* Change Auto-repay-futures Status
|
|
1689
1736
|
*
|
|
1690
|
-
* Weight: 1500
|
|
1737
|
+
* Weight(IP): 1500
|
|
1691
1738
|
*
|
|
1692
|
-
*
|
|
1739
|
+
* Security Type: TRADE
|
|
1740
|
+
*
|
|
1741
|
+
* @summary Change Auto-repay-futures Status (TRADE)
|
|
1693
1742
|
* @param {ChangeAutoRepayFuturesStatusRequest} requestParameters Request parameters.
|
|
1694
1743
|
* @returns {Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>}
|
|
1695
1744
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1696
1745
|
* @memberof AccountApi
|
|
1697
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1746
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#change-auto-repay-futures-status Binance API Documentation}
|
|
1698
1747
|
*/
|
|
1699
1748
|
changeAutoRepayFuturesStatus(requestParameters: ChangeAutoRepayFuturesStatusRequest): Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>;
|
|
1700
1749
|
/**
|
|
1701
1750
|
* Delete the margin call level for a Portfolio Margin account.
|
|
1702
1751
|
*
|
|
1703
|
-
* Weight: 1500
|
|
1752
|
+
* Weight(IP): 1500
|
|
1753
|
+
*
|
|
1754
|
+
* Security Type: USER_DATA
|
|
1704
1755
|
*
|
|
1705
1756
|
* @summary Delete Margin Call Level (USER_DATA)
|
|
1706
1757
|
* @param {DeleteMarginCallLevelRequest} requestParameters Request parameters.
|
|
1707
1758
|
* @returns {Promise<RestApiResponse<DeleteMarginCallLevelResponse>>}
|
|
1708
1759
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1709
1760
|
* @memberof AccountApi
|
|
1710
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1761
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#delete-margin-call-level Binance API Documentation}
|
|
1711
1762
|
*/
|
|
1712
1763
|
deleteMarginCallLevel(requestParameters?: DeleteMarginCallLevelRequest): Promise<RestApiResponse<DeleteMarginCallLevelResponse>>;
|
|
1713
1764
|
/**
|
|
1714
1765
|
* Transfers all assets from Futures Account to Margin account
|
|
1715
1766
|
*
|
|
1716
|
-
*
|
|
1717
|
-
*
|
|
1767
|
+
* Weight(IP): 1500
|
|
1768
|
+
*
|
|
1769
|
+
* Security Type: USER_DATA
|
|
1718
1770
|
*
|
|
1719
|
-
*
|
|
1771
|
+
* Notes:
|
|
1772
|
+
* - The BNB would not be collected from UM-PM account to the Portfolio Margin account.
|
|
1773
|
+
* - You can only use this function 500 times per hour in a rolling manner.
|
|
1720
1774
|
*
|
|
1721
|
-
* @summary Fund Auto-collection(USER_DATA)
|
|
1775
|
+
* @summary Fund Auto-collection (USER_DATA)
|
|
1722
1776
|
* @param {FundAutoCollectionRequest} requestParameters Request parameters.
|
|
1723
1777
|
* @returns {Promise<RestApiResponse<FundAutoCollectionResponse>>}
|
|
1724
1778
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1725
1779
|
* @memberof AccountApi
|
|
1726
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1780
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#fund-auto-collection Binance API Documentation}
|
|
1727
1781
|
*/
|
|
1728
1782
|
fundAutoCollection(requestParameters?: FundAutoCollectionRequest): Promise<RestApiResponse<FundAutoCollectionResponse>>;
|
|
1729
1783
|
/**
|
|
1730
1784
|
* Transfers specific asset from Futures Account to Margin account
|
|
1731
1785
|
*
|
|
1732
|
-
*
|
|
1786
|
+
* Weight(IP): 60
|
|
1733
1787
|
*
|
|
1734
|
-
*
|
|
1788
|
+
* Security Type: USER_DATA
|
|
1735
1789
|
*
|
|
1736
|
-
*
|
|
1790
|
+
* Notes:
|
|
1791
|
+
* - The BNB transfer is not be supported
|
|
1792
|
+
*
|
|
1793
|
+
* @summary Fund Collection by Asset (USER_DATA)
|
|
1737
1794
|
* @param {FundCollectionByAssetRequest} requestParameters Request parameters.
|
|
1738
1795
|
* @returns {Promise<RestApiResponse<FundCollectionByAssetResponse>>}
|
|
1739
1796
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1740
1797
|
* @memberof AccountApi
|
|
1741
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1798
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#fund-collection-by-asset Binance API Documentation}
|
|
1742
1799
|
*/
|
|
1743
1800
|
fundCollectionByAsset(requestParameters: FundCollectionByAssetRequest): Promise<RestApiResponse<FundCollectionByAssetResponse>>;
|
|
1744
1801
|
/**
|
|
1745
1802
|
* Query Auto-repay-futures Status
|
|
1746
1803
|
*
|
|
1747
|
-
* Weight: 30
|
|
1804
|
+
* Weight(IP): 30
|
|
1805
|
+
*
|
|
1806
|
+
* Security Type: USER_DATA
|
|
1748
1807
|
*
|
|
1749
|
-
* @summary Get Auto-repay-futures Status(USER_DATA)
|
|
1808
|
+
* @summary Get Auto-repay-futures Status (USER_DATA)
|
|
1750
1809
|
* @param {GetAutoRepayFuturesStatusRequest} requestParameters Request parameters.
|
|
1751
1810
|
* @returns {Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>}
|
|
1752
1811
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1753
1812
|
* @memberof AccountApi
|
|
1754
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1813
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-auto-repay-futures-status Binance API Documentation}
|
|
1755
1814
|
*/
|
|
1756
1815
|
getAutoRepayFuturesStatus(requestParameters?: GetAutoRepayFuturesStatusRequest): Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>;
|
|
1757
1816
|
/**
|
|
1758
1817
|
* Query the Delta mode status of current account.
|
|
1759
1818
|
*
|
|
1760
|
-
* Weight: 1500
|
|
1819
|
+
* Weight(IP): 1500
|
|
1820
|
+
*
|
|
1821
|
+
* Security Type: USER_DATA
|
|
1761
1822
|
*
|
|
1762
|
-
* @summary Get Delta Mode Status(USER_DATA)
|
|
1823
|
+
* @summary Get Delta Mode Status (USER_DATA)
|
|
1763
1824
|
* @param {GetDeltaModeStatusRequest} requestParameters Request parameters.
|
|
1764
1825
|
* @returns {Promise<RestApiResponse<GetDeltaModeStatusResponse>>}
|
|
1765
1826
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1766
1827
|
* @memberof AccountApi
|
|
1767
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1828
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-delta-mode-status Binance API Documentation}
|
|
1768
1829
|
*/
|
|
1769
1830
|
getDeltaModeStatus(requestParameters?: GetDeltaModeStatusRequest): Promise<RestApiResponse<GetDeltaModeStatusResponse>>;
|
|
1770
1831
|
/**
|
|
1771
1832
|
* Get the margin call level for a Portfolio Margin account.
|
|
1772
1833
|
*
|
|
1773
|
-
* Weight: 1500
|
|
1834
|
+
* Weight(IP): 1500
|
|
1835
|
+
*
|
|
1836
|
+
* Security Type: USER_DATA
|
|
1774
1837
|
*
|
|
1775
1838
|
* @summary Get Margin Call Level (USER_DATA)
|
|
1776
1839
|
* @param {GetMarginCallLevelRequest} requestParameters Request parameters.
|
|
1777
1840
|
* @returns {Promise<RestApiResponse<GetMarginCallLevelResponse>>}
|
|
1778
1841
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1779
1842
|
* @memberof AccountApi
|
|
1780
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1843
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-margin-call-level Binance API Documentation}
|
|
1781
1844
|
*/
|
|
1782
1845
|
getMarginCallLevel(requestParameters?: GetMarginCallLevelRequest): Promise<RestApiResponse<GetMarginCallLevelResponse>>;
|
|
1783
1846
|
/**
|
|
1784
1847
|
* Query Portfolio Margin Pro account balance
|
|
1785
1848
|
*
|
|
1786
|
-
* Weight: 20
|
|
1849
|
+
* Weight(IP): 20
|
|
1850
|
+
*
|
|
1851
|
+
* Security Type: USER_DATA
|
|
1787
1852
|
*
|
|
1788
|
-
* @summary Get Portfolio Margin Pro Account Balance(USER_DATA)
|
|
1853
|
+
* @summary Get Portfolio Margin Pro Account Balance (USER_DATA)
|
|
1789
1854
|
* @param {GetPortfolioMarginProAccountBalanceRequest} requestParameters Request parameters.
|
|
1790
1855
|
* @returns {Promise<RestApiResponse<GetPortfolioMarginProAccountBalanceResponse>>}
|
|
1791
1856
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1792
1857
|
* @memberof AccountApi
|
|
1793
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1858
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-portfolio-margin-pro-account-balance Binance API Documentation}
|
|
1794
1859
|
*/
|
|
1795
1860
|
getPortfolioMarginProAccountBalance(requestParameters?: GetPortfolioMarginProAccountBalanceRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountBalanceResponse>>;
|
|
1796
1861
|
/**
|
|
1797
1862
|
* Get Portfolio Margin Pro Account Info
|
|
1798
1863
|
*
|
|
1799
|
-
* Weight: 5
|
|
1864
|
+
* Weight(UID): 5
|
|
1865
|
+
*
|
|
1866
|
+
* Security Type: USER_DATA
|
|
1800
1867
|
*
|
|
1801
|
-
* @summary Get Portfolio Margin Pro Account Info(USER_DATA)
|
|
1868
|
+
* @summary Get Portfolio Margin Pro Account Info (USER_DATA)
|
|
1802
1869
|
* @param {GetPortfolioMarginProAccountInfoRequest} requestParameters Request parameters.
|
|
1803
1870
|
* @returns {Promise<RestApiResponse<GetPortfolioMarginProAccountInfoResponse>>}
|
|
1804
1871
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1805
1872
|
* @memberof AccountApi
|
|
1806
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1873
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-portfolio-margin-pro-account-info Binance API Documentation}
|
|
1807
1874
|
*/
|
|
1808
1875
|
getPortfolioMarginProAccountInfo(requestParameters?: GetPortfolioMarginProAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountInfoResponse>>;
|
|
1809
1876
|
/**
|
|
1810
1877
|
* Get Portfolio Margin Pro SPAN Account Info (For Portfolio Margin Pro SPAN users only)
|
|
1811
1878
|
*
|
|
1812
|
-
* Weight: 5
|
|
1879
|
+
* Weight(IP): 5
|
|
1813
1880
|
*
|
|
1814
|
-
*
|
|
1881
|
+
* Security Type: USER_DATA
|
|
1882
|
+
*
|
|
1883
|
+
* @summary Get Portfolio Margin Pro SPAN Account Info (USER_DATA)
|
|
1815
1884
|
* @param {GetPortfolioMarginProSpanAccountInfoRequest} requestParameters Request parameters.
|
|
1816
1885
|
* @returns {Promise<RestApiResponse<GetPortfolioMarginProSpanAccountInfoResponse>>}
|
|
1817
1886
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1818
1887
|
* @memberof AccountApi
|
|
1819
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1888
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-portfolio-margin-pro-span-account-info Binance API Documentation}
|
|
1820
1889
|
*/
|
|
1821
1890
|
getPortfolioMarginProSpanAccountInfo(requestParameters?: GetPortfolioMarginProSpanAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProSpanAccountInfoResponse>>;
|
|
1822
1891
|
/**
|
|
1823
1892
|
* Get transferable earn asset balance for all types of Portfolio Margin account
|
|
1824
1893
|
*
|
|
1825
|
-
* Weight: 1500
|
|
1894
|
+
* Weight(IP): 1500
|
|
1895
|
+
*
|
|
1896
|
+
* Security Type: USER_DATA
|
|
1826
1897
|
*
|
|
1827
1898
|
* @summary Get Transferable Earn Asset Balance for Portfolio Margin (USER_DATA)
|
|
1828
1899
|
* @param {GetTransferableEarnAssetBalanceForPortfolioMarginRequest} requestParameters Request parameters.
|
|
1829
1900
|
* @returns {Promise<RestApiResponse<GetTransferableEarnAssetBalanceForPortfolioMarginResponse>>}
|
|
1830
1901
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1831
1902
|
* @memberof AccountApi
|
|
1832
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1903
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-transferable-earn-asset-balance-for-portfolio-margin Binance API Documentation}
|
|
1833
1904
|
*/
|
|
1834
1905
|
getTransferableEarnAssetBalanceForPortfolioMargin(requestParameters: GetTransferableEarnAssetBalanceForPortfolioMarginRequest): Promise<RestApiResponse<GetTransferableEarnAssetBalanceForPortfolioMarginResponse>>;
|
|
1835
1906
|
/**
|
|
1836
1907
|
* Repay Portfolio Margin Pro Bankruptcy Loan
|
|
1837
1908
|
*
|
|
1838
|
-
*
|
|
1909
|
+
* Weight(UID): 3000
|
|
1910
|
+
*
|
|
1911
|
+
* Security Type: TRADE
|
|
1839
1912
|
*
|
|
1840
|
-
*
|
|
1913
|
+
* Notes:
|
|
1914
|
+
* - Please note that the API Key has enabled Spot & Margin Trading permissions to access this endpoint.
|
|
1841
1915
|
*
|
|
1842
|
-
* @summary Portfolio Margin Pro Bankruptcy Loan Repay
|
|
1916
|
+
* @summary Portfolio Margin Pro Bankruptcy Loan Repay (TRADE)
|
|
1843
1917
|
* @param {PortfolioMarginProBankruptcyLoanRepayRequest} requestParameters Request parameters.
|
|
1844
1918
|
* @returns {Promise<RestApiResponse<PortfolioMarginProBankruptcyLoanRepayResponse>>}
|
|
1845
1919
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1846
1920
|
* @memberof AccountApi
|
|
1847
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1921
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#portfolio-margin-pro-bankruptcy-loan-repay Binance API Documentation}
|
|
1848
1922
|
*/
|
|
1849
1923
|
portfolioMarginProBankruptcyLoanRepay(requestParameters?: PortfolioMarginProBankruptcyLoanRepayRequest): Promise<RestApiResponse<PortfolioMarginProBankruptcyLoanRepayResponse>>;
|
|
1850
1924
|
/**
|
|
1851
1925
|
* Query Portfolio Margin Pro Bankruptcy Loan Amount
|
|
1852
1926
|
*
|
|
1853
|
-
*
|
|
1927
|
+
* Weight(UID): 500
|
|
1854
1928
|
*
|
|
1855
|
-
*
|
|
1929
|
+
* Security Type: USER_DATA
|
|
1856
1930
|
*
|
|
1857
|
-
*
|
|
1931
|
+
* Notes:
|
|
1932
|
+
* - If there’s no classic portfolio margin bankruptcy loan, the amount would be 0
|
|
1933
|
+
*
|
|
1934
|
+
* @summary Query Portfolio Margin Pro Bankruptcy Loan Amount (USER_DATA)
|
|
1858
1935
|
* @param {QueryPortfolioMarginProBankruptcyLoanAmountRequest} requestParameters Request parameters.
|
|
1859
1936
|
* @returns {Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanAmountResponse>>}
|
|
1860
1937
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1861
1938
|
* @memberof AccountApi
|
|
1862
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1939
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#query-portfolio-margin-pro-bankruptcy-loan-amount Binance API Documentation}
|
|
1863
1940
|
*/
|
|
1864
1941
|
queryPortfolioMarginProBankruptcyLoanAmount(requestParameters?: QueryPortfolioMarginProBankruptcyLoanAmountRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanAmountResponse>>;
|
|
1865
1942
|
/**
|
|
1866
1943
|
* Query repay history of pmloan for portfolio margin pro.
|
|
1867
1944
|
*
|
|
1868
|
-
*
|
|
1869
|
-
*
|
|
1870
|
-
*
|
|
1871
|
-
* If `startTime` is not sent and `endTime` is sent, return records of [endTime-30d, endTime].
|
|
1945
|
+
* Weight(IP): 500
|
|
1946
|
+
*
|
|
1947
|
+
* Security Type: USER_DATA
|
|
1872
1948
|
*
|
|
1873
|
-
*
|
|
1949
|
+
* Notes:
|
|
1950
|
+
* - `startTime` and `endTime` cannot be longer than 360 days
|
|
1951
|
+
* - If `startTime` and `endTime` not sent, return records of the last 30 days by default.
|
|
1952
|
+
* - If `startTime`is sent and `endTime` is not sent, return records of [startTime, startTime+30d].
|
|
1953
|
+
* - If `startTime` is not sent and `endTime` is sent, return records of [endTime-30d, endTime].
|
|
1874
1954
|
*
|
|
1875
|
-
* @summary Query Portfolio Margin Pro Bankruptcy Loan Repay History(USER_DATA)
|
|
1955
|
+
* @summary Query Portfolio Margin Pro Bankruptcy Loan Repay History (USER_DATA)
|
|
1876
1956
|
* @param {QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest} requestParameters Request parameters.
|
|
1877
1957
|
* @returns {Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse>>}
|
|
1878
1958
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1879
1959
|
* @memberof AccountApi
|
|
1880
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1960
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#query-portfolio-margin-pro-bankruptcy-loan-repay-history Binance API Documentation}
|
|
1881
1961
|
*/
|
|
1882
1962
|
queryPortfolioMarginProBankruptcyLoanRepayHistory(requestParameters?: QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse>>;
|
|
1883
1963
|
/**
|
|
1884
1964
|
* Query interest history of negative balance for portfolio margin.
|
|
1885
1965
|
*
|
|
1886
|
-
* Weight: 50
|
|
1966
|
+
* Weight(IP): 50
|
|
1967
|
+
*
|
|
1968
|
+
* Security Type: USER_DATA
|
|
1887
1969
|
*
|
|
1888
|
-
* @summary Query Portfolio Margin Pro Negative Balance Interest History(USER_DATA)
|
|
1970
|
+
* @summary Query Portfolio Margin Pro Negative Balance Interest History (USER_DATA)
|
|
1889
1971
|
* @param {QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest} requestParameters Request parameters.
|
|
1890
1972
|
* @returns {Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>}
|
|
1891
1973
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1892
1974
|
* @memberof AccountApi
|
|
1893
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1975
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#query-portfolio-margin-pro-negative-balance-interest-history Binance API Documentation}
|
|
1894
1976
|
*/
|
|
1895
1977
|
queryPortfolioMarginProNegativeBalanceInterestHistory(requestParameters?: QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>;
|
|
1896
1978
|
/**
|
|
1897
1979
|
* Repay futures Negative Balance
|
|
1898
1980
|
*
|
|
1899
|
-
* Weight: 1500
|
|
1981
|
+
* Weight(IP): 1500
|
|
1900
1982
|
*
|
|
1901
|
-
*
|
|
1983
|
+
* Security Type: USER_DATA
|
|
1984
|
+
*
|
|
1985
|
+
* @summary Repay futures Negative Balance (USER_DATA)
|
|
1902
1986
|
* @param {RepayFuturesNegativeBalanceRequest} requestParameters Request parameters.
|
|
1903
1987
|
* @returns {Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>}
|
|
1904
1988
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1905
1989
|
* @memberof AccountApi
|
|
1906
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
1990
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#repay-futures-negative-balance Binance API Documentation}
|
|
1907
1991
|
*/
|
|
1908
1992
|
repayFuturesNegativeBalance(requestParameters?: RepayFuturesNegativeBalanceRequest): Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>;
|
|
1909
1993
|
/**
|
|
1910
1994
|
* Set the margin call level for a Portfolio Margin account. When the account's uniMMR drops to the specified level, a notification will be sent via email and SMS.
|
|
1911
1995
|
*
|
|
1912
|
-
* Weight: 1500
|
|
1996
|
+
* Weight(IP): 1500
|
|
1997
|
+
*
|
|
1998
|
+
* Security Type: USER_DATA
|
|
1913
1999
|
*
|
|
1914
2000
|
* @summary Set Margin Call Level (USER_DATA)
|
|
1915
2001
|
* @param {SetMarginCallLevelRequest} requestParameters Request parameters.
|
|
1916
2002
|
* @returns {Promise<RestApiResponse<SetMarginCallLevelResponse>>}
|
|
1917
2003
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1918
2004
|
* @memberof AccountApi
|
|
1919
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2005
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#set-margin-call-level Binance API Documentation}
|
|
1920
2006
|
*/
|
|
1921
2007
|
setMarginCallLevel(requestParameters: SetMarginCallLevelRequest): Promise<RestApiResponse<SetMarginCallLevelResponse>>;
|
|
1922
2008
|
/**
|
|
1923
2009
|
* Switch the Delta mode for existing PM PRO / PM RETAIL accounts.
|
|
1924
2010
|
*
|
|
1925
|
-
* Weight: 1500
|
|
2011
|
+
* Weight(IP): 1500
|
|
2012
|
+
*
|
|
2013
|
+
* Security Type: TRADE
|
|
1926
2014
|
*
|
|
1927
|
-
* @summary Switch Delta Mode(TRADE)
|
|
2015
|
+
* @summary Switch Delta Mode (TRADE)
|
|
1928
2016
|
* @param {SwitchDeltaModeRequest} requestParameters Request parameters.
|
|
1929
2017
|
* @returns {Promise<RestApiResponse<SwitchDeltaModeResponse>>}
|
|
1930
2018
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1931
2019
|
* @memberof AccountApi
|
|
1932
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2020
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#switch-delta-mode Binance API Documentation}
|
|
1933
2021
|
*/
|
|
1934
2022
|
switchDeltaMode(requestParameters: SwitchDeltaModeRequest): Promise<RestApiResponse<SwitchDeltaModeResponse>>;
|
|
1935
2023
|
/**
|
|
1936
2024
|
* Transfer LDUSDT/RWUSD as collateral for all types of Portfolio Margin account
|
|
1937
2025
|
*
|
|
1938
|
-
* Weight: 1500
|
|
2026
|
+
* Weight(UID): 1500
|
|
1939
2027
|
*
|
|
1940
|
-
*
|
|
2028
|
+
* Security Type: TRADE
|
|
2029
|
+
*
|
|
2030
|
+
* @summary Transfer LDUSDT/RWUSD for Portfolio Margin (TRADE)
|
|
1941
2031
|
* @param {TransferLdusdtRwusdForPortfolioMarginRequest} requestParameters Request parameters.
|
|
1942
2032
|
* @returns {Promise<RestApiResponse<TransferLdusdtRwusdForPortfolioMarginResponse>>}
|
|
1943
2033
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1944
2034
|
* @memberof AccountApi
|
|
1945
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2035
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#transfer-ldusdt-rwusd-for-portfolio-margin Binance API Documentation}
|
|
1946
2036
|
*/
|
|
1947
2037
|
transferLdusdtRwusdForPortfolioMargin(requestParameters: TransferLdusdtRwusdForPortfolioMarginRequest): Promise<RestApiResponse<TransferLdusdtRwusdForPortfolioMarginResponse>>;
|
|
1948
2038
|
}
|
|
2039
|
+
declare enum BnbTransferTransferSideEnum {
|
|
2040
|
+
TO_UM = "TO_UM",
|
|
2041
|
+
FROM_UM = "FROM_UM",
|
|
2042
|
+
}
|
|
2043
|
+
declare enum ChangeAutoRepayFuturesStatusAutoRepayEnum {
|
|
2044
|
+
TRUE = "true",
|
|
2045
|
+
FALSE = "false",
|
|
2046
|
+
}
|
|
2047
|
+
declare enum GetTransferableEarnAssetBalanceForPortfolioMarginTransferTypeEnum {
|
|
2048
|
+
EARN_TO_FUTURE = "EARN_TO_FUTURE",
|
|
2049
|
+
FUTURE_TO_EARN = "FUTURE_TO_EARN",
|
|
2050
|
+
}
|
|
2051
|
+
declare enum PortfolioMarginProBankruptcyLoanRepayFromEnum {
|
|
2052
|
+
SPOT = "SPOT",
|
|
2053
|
+
MARGIN = "MARGIN",
|
|
2054
|
+
}
|
|
2055
|
+
declare enum RepayFuturesNegativeBalanceFromEnum {
|
|
2056
|
+
SPOT = "SPOT",
|
|
2057
|
+
MARGIN = "MARGIN",
|
|
2058
|
+
}
|
|
2059
|
+
declare enum SwitchDeltaModeDeltaEnabledEnum {
|
|
2060
|
+
TRUE = "true",
|
|
2061
|
+
FALSE = "false",
|
|
2062
|
+
}
|
|
2063
|
+
declare enum TransferLdusdtRwusdForPortfolioMarginAssetEnum {
|
|
2064
|
+
LDUSDT = "LDUSDT",
|
|
2065
|
+
RWUSD = "RWUSD",
|
|
2066
|
+
}
|
|
2067
|
+
declare enum TransferLdusdtRwusdForPortfolioMarginTransferTypeEnum {
|
|
2068
|
+
EARN_TO_FUTURE = "EARN_TO_FUTURE",
|
|
2069
|
+
FUTURE_TO_EARN = "FUTURE_TO_EARN",
|
|
2070
|
+
}
|
|
1949
2071
|
//#endregion
|
|
1950
2072
|
//#region src/rest-api/modules/market-data-api.d.ts
|
|
1951
2073
|
/**
|
|
@@ -1956,9 +2078,11 @@ interface MarketDataApiInterface {
|
|
|
1956
2078
|
/**
|
|
1957
2079
|
* Get Portfolio Margin Asset Leverage
|
|
1958
2080
|
*
|
|
1959
|
-
* Weight: 50
|
|
2081
|
+
* Weight(IP): 50
|
|
1960
2082
|
*
|
|
1961
|
-
*
|
|
2083
|
+
* Security Type: USER_DATA
|
|
2084
|
+
*
|
|
2085
|
+
* @summary Get Portfolio Margin Asset Leverage (USER_DATA)
|
|
1962
2086
|
*
|
|
1963
2087
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1964
2088
|
* @memberof MarketDataApiInterface
|
|
@@ -1967,9 +2091,11 @@ interface MarketDataApiInterface {
|
|
|
1967
2091
|
/**
|
|
1968
2092
|
* Portfolio Margin Collateral Rate
|
|
1969
2093
|
*
|
|
1970
|
-
* Weight: 50
|
|
2094
|
+
* Weight(IP): 50
|
|
2095
|
+
*
|
|
2096
|
+
* Security Type: MARKET_DATA
|
|
1971
2097
|
*
|
|
1972
|
-
* @summary Portfolio Margin Collateral Rate(MARKET_DATA)
|
|
2098
|
+
* @summary Portfolio Margin Collateral Rate (MARKET_DATA)
|
|
1973
2099
|
*
|
|
1974
2100
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1975
2101
|
* @memberof MarketDataApiInterface
|
|
@@ -1978,9 +2104,11 @@ interface MarketDataApiInterface {
|
|
|
1978
2104
|
/**
|
|
1979
2105
|
* Portfolio Margin PRO Tiered Collateral Rate
|
|
1980
2106
|
*
|
|
1981
|
-
* Weight: 50
|
|
2107
|
+
* Weight(IP): 50
|
|
2108
|
+
*
|
|
2109
|
+
* Security Type: USER_DATA
|
|
1982
2110
|
*
|
|
1983
|
-
* @summary Portfolio Margin Pro Tiered Collateral Rate(USER_DATA)
|
|
2111
|
+
* @summary Portfolio Margin Pro Tiered Collateral Rate (USER_DATA)
|
|
1984
2112
|
* @param {PortfolioMarginProTieredCollateralRateRequest} requestParameters Request parameters.
|
|
1985
2113
|
*
|
|
1986
2114
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -1990,7 +2118,10 @@ interface MarketDataApiInterface {
|
|
|
1990
2118
|
/**
|
|
1991
2119
|
* Query Portfolio Margin Asset Index Price
|
|
1992
2120
|
*
|
|
1993
|
-
* Weight: 1 if
|
|
2121
|
+
* Weight: - 1 if `asset` is sent
|
|
2122
|
+
* - 50 if `asset` is not sent
|
|
2123
|
+
*
|
|
2124
|
+
* Security Type: MARKET_DATA
|
|
1994
2125
|
*
|
|
1995
2126
|
* @summary Query Portfolio Margin Asset Index Price (MARKET_DATA)
|
|
1996
2127
|
* @param {QueryPortfolioMarginAssetIndexPriceRequest} requestParameters Request parameters.
|
|
@@ -2035,51 +2166,60 @@ declare class MarketDataApi implements MarketDataApiInterface {
|
|
|
2035
2166
|
/**
|
|
2036
2167
|
* Get Portfolio Margin Asset Leverage
|
|
2037
2168
|
*
|
|
2038
|
-
* Weight: 50
|
|
2169
|
+
* Weight(IP): 50
|
|
2170
|
+
*
|
|
2171
|
+
* Security Type: USER_DATA
|
|
2039
2172
|
*
|
|
2040
|
-
* @summary Get Portfolio Margin Asset Leverage(USER_DATA)
|
|
2173
|
+
* @summary Get Portfolio Margin Asset Leverage (USER_DATA)
|
|
2041
2174
|
* @returns {Promise<RestApiResponse<GetPortfolioMarginAssetLeverageResponse>>}
|
|
2042
2175
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2043
2176
|
* @memberof MarketDataApi
|
|
2044
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2177
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/market-data#get-portfolio-margin-asset-leverage Binance API Documentation}
|
|
2045
2178
|
*/
|
|
2046
2179
|
getPortfolioMarginAssetLeverage(): Promise<RestApiResponse<GetPortfolioMarginAssetLeverageResponse>>;
|
|
2047
2180
|
/**
|
|
2048
2181
|
* Portfolio Margin Collateral Rate
|
|
2049
2182
|
*
|
|
2050
|
-
* Weight: 50
|
|
2183
|
+
* Weight(IP): 50
|
|
2184
|
+
*
|
|
2185
|
+
* Security Type: MARKET_DATA
|
|
2051
2186
|
*
|
|
2052
|
-
* @summary Portfolio Margin Collateral Rate(MARKET_DATA)
|
|
2187
|
+
* @summary Portfolio Margin Collateral Rate (MARKET_DATA)
|
|
2053
2188
|
* @returns {Promise<RestApiResponse<PortfolioMarginCollateralRateResponse>>}
|
|
2054
2189
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2055
2190
|
* @memberof MarketDataApi
|
|
2056
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2191
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/market-data#portfolio-margin-collateral-rate Binance API Documentation}
|
|
2057
2192
|
*/
|
|
2058
2193
|
portfolioMarginCollateralRate(): Promise<RestApiResponse<PortfolioMarginCollateralRateResponse>>;
|
|
2059
2194
|
/**
|
|
2060
2195
|
* Portfolio Margin PRO Tiered Collateral Rate
|
|
2061
2196
|
*
|
|
2062
|
-
* Weight: 50
|
|
2197
|
+
* Weight(IP): 50
|
|
2063
2198
|
*
|
|
2064
|
-
*
|
|
2199
|
+
* Security Type: USER_DATA
|
|
2200
|
+
*
|
|
2201
|
+
* @summary Portfolio Margin Pro Tiered Collateral Rate (USER_DATA)
|
|
2065
2202
|
* @param {PortfolioMarginProTieredCollateralRateRequest} requestParameters Request parameters.
|
|
2066
2203
|
* @returns {Promise<RestApiResponse<PortfolioMarginProTieredCollateralRateResponse>>}
|
|
2067
2204
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2068
2205
|
* @memberof MarketDataApi
|
|
2069
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2206
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/market-data#portfolio-margin-pro-tiered-collateral-rate Binance API Documentation}
|
|
2070
2207
|
*/
|
|
2071
2208
|
portfolioMarginProTieredCollateralRate(requestParameters?: PortfolioMarginProTieredCollateralRateRequest): Promise<RestApiResponse<PortfolioMarginProTieredCollateralRateResponse>>;
|
|
2072
2209
|
/**
|
|
2073
2210
|
* Query Portfolio Margin Asset Index Price
|
|
2074
2211
|
*
|
|
2075
|
-
* Weight: 1 if
|
|
2212
|
+
* Weight: - 1 if `asset` is sent
|
|
2213
|
+
* - 50 if `asset` is not sent
|
|
2214
|
+
*
|
|
2215
|
+
* Security Type: MARKET_DATA
|
|
2076
2216
|
*
|
|
2077
2217
|
* @summary Query Portfolio Margin Asset Index Price (MARKET_DATA)
|
|
2078
2218
|
* @param {QueryPortfolioMarginAssetIndexPriceRequest} requestParameters Request parameters.
|
|
2079
2219
|
* @returns {Promise<RestApiResponse<QueryPortfolioMarginAssetIndexPriceResponse>>}
|
|
2080
2220
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2081
2221
|
* @memberof MarketDataApi
|
|
2082
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2222
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/market-data#query-portfolio-margin-asset-index-price Binance API Documentation}
|
|
2083
2223
|
*/
|
|
2084
2224
|
queryPortfolioMarginAssetIndexPrice(requestParameters?: QueryPortfolioMarginAssetIndexPriceRequest): Promise<RestApiResponse<QueryPortfolioMarginAssetIndexPriceResponse>>;
|
|
2085
2225
|
}
|
|
@@ -2113,340 +2253,394 @@ declare class RestAPI {
|
|
|
2113
2253
|
/**
|
|
2114
2254
|
* BNB transfer can be between Margin Account and USDM Account
|
|
2115
2255
|
*
|
|
2256
|
+
* Weight(IP): 1500
|
|
2116
2257
|
*
|
|
2117
|
-
*
|
|
2258
|
+
* Security Type: USER_DATA
|
|
2118
2259
|
*
|
|
2119
|
-
*
|
|
2260
|
+
* Notes:
|
|
2261
|
+
* - You can only use this function 2 times per 10 minutes in a rolling manner
|
|
2120
2262
|
*
|
|
2121
|
-
* @summary BNB transfer(USER_DATA)
|
|
2263
|
+
* @summary BNB transfer (USER_DATA)
|
|
2122
2264
|
* @param {BnbTransferRequest} requestParameters Request parameters.
|
|
2123
2265
|
*
|
|
2124
2266
|
* @returns {Promise<RestApiResponse<BnbTransferResponse>>}
|
|
2125
2267
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2126
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2268
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#bnb-transfer Binance API Documentation}
|
|
2127
2269
|
*/
|
|
2128
2270
|
bnbTransfer(requestParameters: BnbTransferRequest): Promise<RestApiResponse<BnbTransferResponse>>;
|
|
2129
2271
|
/**
|
|
2130
2272
|
* Change Auto-repay-futures Status
|
|
2131
2273
|
*
|
|
2132
|
-
* Weight: 1500
|
|
2274
|
+
* Weight(IP): 1500
|
|
2275
|
+
*
|
|
2276
|
+
* Security Type: TRADE
|
|
2133
2277
|
*
|
|
2134
|
-
* @summary Change Auto-repay-futures Status(TRADE)
|
|
2278
|
+
* @summary Change Auto-repay-futures Status (TRADE)
|
|
2135
2279
|
* @param {ChangeAutoRepayFuturesStatusRequest} requestParameters Request parameters.
|
|
2136
2280
|
*
|
|
2137
2281
|
* @returns {Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>}
|
|
2138
2282
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2139
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2283
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#change-auto-repay-futures-status Binance API Documentation}
|
|
2140
2284
|
*/
|
|
2141
2285
|
changeAutoRepayFuturesStatus(requestParameters: ChangeAutoRepayFuturesStatusRequest): Promise<RestApiResponse<ChangeAutoRepayFuturesStatusResponse>>;
|
|
2142
2286
|
/**
|
|
2143
2287
|
* Delete the margin call level for a Portfolio Margin account.
|
|
2144
2288
|
*
|
|
2145
|
-
* Weight: 1500
|
|
2289
|
+
* Weight(IP): 1500
|
|
2290
|
+
*
|
|
2291
|
+
* Security Type: USER_DATA
|
|
2146
2292
|
*
|
|
2147
2293
|
* @summary Delete Margin Call Level (USER_DATA)
|
|
2148
2294
|
* @param {DeleteMarginCallLevelRequest} requestParameters Request parameters.
|
|
2149
2295
|
*
|
|
2150
2296
|
* @returns {Promise<RestApiResponse<DeleteMarginCallLevelResponse>>}
|
|
2151
2297
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2152
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2298
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#delete-margin-call-level Binance API Documentation}
|
|
2153
2299
|
*/
|
|
2154
2300
|
deleteMarginCallLevel(requestParameters?: DeleteMarginCallLevelRequest): Promise<RestApiResponse<DeleteMarginCallLevelResponse>>;
|
|
2155
2301
|
/**
|
|
2156
2302
|
* Transfers all assets from Futures Account to Margin account
|
|
2157
2303
|
*
|
|
2158
|
-
*
|
|
2159
|
-
*
|
|
2304
|
+
* Weight(IP): 1500
|
|
2305
|
+
*
|
|
2306
|
+
* Security Type: USER_DATA
|
|
2160
2307
|
*
|
|
2161
|
-
*
|
|
2308
|
+
* Notes:
|
|
2309
|
+
* - The BNB would not be collected from UM-PM account to the Portfolio Margin account.
|
|
2310
|
+
* - You can only use this function 500 times per hour in a rolling manner.
|
|
2162
2311
|
*
|
|
2163
|
-
* @summary Fund Auto-collection(USER_DATA)
|
|
2312
|
+
* @summary Fund Auto-collection (USER_DATA)
|
|
2164
2313
|
* @param {FundAutoCollectionRequest} requestParameters Request parameters.
|
|
2165
2314
|
*
|
|
2166
2315
|
* @returns {Promise<RestApiResponse<FundAutoCollectionResponse>>}
|
|
2167
2316
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2168
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2317
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#fund-auto-collection Binance API Documentation}
|
|
2169
2318
|
*/
|
|
2170
2319
|
fundAutoCollection(requestParameters?: FundAutoCollectionRequest): Promise<RestApiResponse<FundAutoCollectionResponse>>;
|
|
2171
2320
|
/**
|
|
2172
2321
|
* Transfers specific asset from Futures Account to Margin account
|
|
2173
2322
|
*
|
|
2174
|
-
*
|
|
2323
|
+
* Weight(IP): 60
|
|
2324
|
+
*
|
|
2325
|
+
* Security Type: USER_DATA
|
|
2175
2326
|
*
|
|
2176
|
-
*
|
|
2327
|
+
* Notes:
|
|
2328
|
+
* - The BNB transfer is not be supported
|
|
2177
2329
|
*
|
|
2178
|
-
* @summary Fund Collection by Asset(USER_DATA)
|
|
2330
|
+
* @summary Fund Collection by Asset (USER_DATA)
|
|
2179
2331
|
* @param {FundCollectionByAssetRequest} requestParameters Request parameters.
|
|
2180
2332
|
*
|
|
2181
2333
|
* @returns {Promise<RestApiResponse<FundCollectionByAssetResponse>>}
|
|
2182
2334
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2183
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2335
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#fund-collection-by-asset Binance API Documentation}
|
|
2184
2336
|
*/
|
|
2185
2337
|
fundCollectionByAsset(requestParameters: FundCollectionByAssetRequest): Promise<RestApiResponse<FundCollectionByAssetResponse>>;
|
|
2186
2338
|
/**
|
|
2187
2339
|
* Query Auto-repay-futures Status
|
|
2188
2340
|
*
|
|
2189
|
-
* Weight: 30
|
|
2341
|
+
* Weight(IP): 30
|
|
2190
2342
|
*
|
|
2191
|
-
*
|
|
2343
|
+
* Security Type: USER_DATA
|
|
2344
|
+
*
|
|
2345
|
+
* @summary Get Auto-repay-futures Status (USER_DATA)
|
|
2192
2346
|
* @param {GetAutoRepayFuturesStatusRequest} requestParameters Request parameters.
|
|
2193
2347
|
*
|
|
2194
2348
|
* @returns {Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>}
|
|
2195
2349
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2196
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2350
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-auto-repay-futures-status Binance API Documentation}
|
|
2197
2351
|
*/
|
|
2198
2352
|
getAutoRepayFuturesStatus(requestParameters?: GetAutoRepayFuturesStatusRequest): Promise<RestApiResponse<GetAutoRepayFuturesStatusResponse>>;
|
|
2199
2353
|
/**
|
|
2200
2354
|
* Query the Delta mode status of current account.
|
|
2201
2355
|
*
|
|
2202
|
-
* Weight: 1500
|
|
2356
|
+
* Weight(IP): 1500
|
|
2357
|
+
*
|
|
2358
|
+
* Security Type: USER_DATA
|
|
2203
2359
|
*
|
|
2204
|
-
* @summary Get Delta Mode Status(USER_DATA)
|
|
2360
|
+
* @summary Get Delta Mode Status (USER_DATA)
|
|
2205
2361
|
* @param {GetDeltaModeStatusRequest} requestParameters Request parameters.
|
|
2206
2362
|
*
|
|
2207
2363
|
* @returns {Promise<RestApiResponse<GetDeltaModeStatusResponse>>}
|
|
2208
2364
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2209
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2365
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-delta-mode-status Binance API Documentation}
|
|
2210
2366
|
*/
|
|
2211
2367
|
getDeltaModeStatus(requestParameters?: GetDeltaModeStatusRequest): Promise<RestApiResponse<GetDeltaModeStatusResponse>>;
|
|
2212
2368
|
/**
|
|
2213
2369
|
* Get the margin call level for a Portfolio Margin account.
|
|
2214
2370
|
*
|
|
2215
|
-
* Weight: 1500
|
|
2371
|
+
* Weight(IP): 1500
|
|
2372
|
+
*
|
|
2373
|
+
* Security Type: USER_DATA
|
|
2216
2374
|
*
|
|
2217
2375
|
* @summary Get Margin Call Level (USER_DATA)
|
|
2218
2376
|
* @param {GetMarginCallLevelRequest} requestParameters Request parameters.
|
|
2219
2377
|
*
|
|
2220
2378
|
* @returns {Promise<RestApiResponse<GetMarginCallLevelResponse>>}
|
|
2221
2379
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2222
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2380
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-margin-call-level Binance API Documentation}
|
|
2223
2381
|
*/
|
|
2224
2382
|
getMarginCallLevel(requestParameters?: GetMarginCallLevelRequest): Promise<RestApiResponse<GetMarginCallLevelResponse>>;
|
|
2225
2383
|
/**
|
|
2226
2384
|
* Query Portfolio Margin Pro account balance
|
|
2227
2385
|
*
|
|
2228
|
-
* Weight: 20
|
|
2386
|
+
* Weight(IP): 20
|
|
2229
2387
|
*
|
|
2230
|
-
*
|
|
2388
|
+
* Security Type: USER_DATA
|
|
2389
|
+
*
|
|
2390
|
+
* @summary Get Portfolio Margin Pro Account Balance (USER_DATA)
|
|
2231
2391
|
* @param {GetPortfolioMarginProAccountBalanceRequest} requestParameters Request parameters.
|
|
2232
2392
|
*
|
|
2233
2393
|
* @returns {Promise<RestApiResponse<GetPortfolioMarginProAccountBalanceResponse>>}
|
|
2234
2394
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2235
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2395
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-portfolio-margin-pro-account-balance Binance API Documentation}
|
|
2236
2396
|
*/
|
|
2237
2397
|
getPortfolioMarginProAccountBalance(requestParameters?: GetPortfolioMarginProAccountBalanceRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountBalanceResponse>>;
|
|
2238
2398
|
/**
|
|
2239
2399
|
* Get Portfolio Margin Pro Account Info
|
|
2240
2400
|
*
|
|
2241
|
-
* Weight: 5
|
|
2401
|
+
* Weight(UID): 5
|
|
2402
|
+
*
|
|
2403
|
+
* Security Type: USER_DATA
|
|
2242
2404
|
*
|
|
2243
|
-
* @summary Get Portfolio Margin Pro Account Info(USER_DATA)
|
|
2405
|
+
* @summary Get Portfolio Margin Pro Account Info (USER_DATA)
|
|
2244
2406
|
* @param {GetPortfolioMarginProAccountInfoRequest} requestParameters Request parameters.
|
|
2245
2407
|
*
|
|
2246
2408
|
* @returns {Promise<RestApiResponse<GetPortfolioMarginProAccountInfoResponse>>}
|
|
2247
2409
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2248
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2410
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-portfolio-margin-pro-account-info Binance API Documentation}
|
|
2249
2411
|
*/
|
|
2250
2412
|
getPortfolioMarginProAccountInfo(requestParameters?: GetPortfolioMarginProAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProAccountInfoResponse>>;
|
|
2251
2413
|
/**
|
|
2252
2414
|
* Get Portfolio Margin Pro SPAN Account Info (For Portfolio Margin Pro SPAN users only)
|
|
2253
2415
|
*
|
|
2254
|
-
* Weight: 5
|
|
2416
|
+
* Weight(IP): 5
|
|
2417
|
+
*
|
|
2418
|
+
* Security Type: USER_DATA
|
|
2255
2419
|
*
|
|
2256
|
-
* @summary Get Portfolio Margin Pro SPAN Account Info(USER_DATA)
|
|
2420
|
+
* @summary Get Portfolio Margin Pro SPAN Account Info (USER_DATA)
|
|
2257
2421
|
* @param {GetPortfolioMarginProSpanAccountInfoRequest} requestParameters Request parameters.
|
|
2258
2422
|
*
|
|
2259
2423
|
* @returns {Promise<RestApiResponse<GetPortfolioMarginProSpanAccountInfoResponse>>}
|
|
2260
2424
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2261
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2425
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-portfolio-margin-pro-span-account-info Binance API Documentation}
|
|
2262
2426
|
*/
|
|
2263
2427
|
getPortfolioMarginProSpanAccountInfo(requestParameters?: GetPortfolioMarginProSpanAccountInfoRequest): Promise<RestApiResponse<GetPortfolioMarginProSpanAccountInfoResponse>>;
|
|
2264
2428
|
/**
|
|
2265
2429
|
* Get transferable earn asset balance for all types of Portfolio Margin account
|
|
2266
2430
|
*
|
|
2267
|
-
* Weight: 1500
|
|
2431
|
+
* Weight(IP): 1500
|
|
2432
|
+
*
|
|
2433
|
+
* Security Type: USER_DATA
|
|
2268
2434
|
*
|
|
2269
2435
|
* @summary Get Transferable Earn Asset Balance for Portfolio Margin (USER_DATA)
|
|
2270
2436
|
* @param {GetTransferableEarnAssetBalanceForPortfolioMarginRequest} requestParameters Request parameters.
|
|
2271
2437
|
*
|
|
2272
2438
|
* @returns {Promise<RestApiResponse<GetTransferableEarnAssetBalanceForPortfolioMarginResponse>>}
|
|
2273
2439
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2274
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2440
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#get-transferable-earn-asset-balance-for-portfolio-margin Binance API Documentation}
|
|
2275
2441
|
*/
|
|
2276
2442
|
getTransferableEarnAssetBalanceForPortfolioMargin(requestParameters: GetTransferableEarnAssetBalanceForPortfolioMarginRequest): Promise<RestApiResponse<GetTransferableEarnAssetBalanceForPortfolioMarginResponse>>;
|
|
2277
2443
|
/**
|
|
2278
2444
|
* Repay Portfolio Margin Pro Bankruptcy Loan
|
|
2279
2445
|
*
|
|
2280
|
-
*
|
|
2446
|
+
* Weight(UID): 3000
|
|
2447
|
+
*
|
|
2448
|
+
* Security Type: TRADE
|
|
2281
2449
|
*
|
|
2282
|
-
*
|
|
2450
|
+
* Notes:
|
|
2451
|
+
* - Please note that the API Key has enabled Spot & Margin Trading permissions to access this endpoint.
|
|
2283
2452
|
*
|
|
2284
|
-
* @summary Portfolio Margin Pro Bankruptcy Loan Repay
|
|
2453
|
+
* @summary Portfolio Margin Pro Bankruptcy Loan Repay (TRADE)
|
|
2285
2454
|
* @param {PortfolioMarginProBankruptcyLoanRepayRequest} requestParameters Request parameters.
|
|
2286
2455
|
*
|
|
2287
2456
|
* @returns {Promise<RestApiResponse<PortfolioMarginProBankruptcyLoanRepayResponse>>}
|
|
2288
2457
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2289
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2458
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#portfolio-margin-pro-bankruptcy-loan-repay Binance API Documentation}
|
|
2290
2459
|
*/
|
|
2291
2460
|
portfolioMarginProBankruptcyLoanRepay(requestParameters?: PortfolioMarginProBankruptcyLoanRepayRequest): Promise<RestApiResponse<PortfolioMarginProBankruptcyLoanRepayResponse>>;
|
|
2292
2461
|
/**
|
|
2293
2462
|
* Query Portfolio Margin Pro Bankruptcy Loan Amount
|
|
2294
2463
|
*
|
|
2295
|
-
*
|
|
2464
|
+
* Weight(UID): 500
|
|
2465
|
+
*
|
|
2466
|
+
* Security Type: USER_DATA
|
|
2296
2467
|
*
|
|
2297
|
-
*
|
|
2468
|
+
* Notes:
|
|
2469
|
+
* - If there’s no classic portfolio margin bankruptcy loan, the amount would be 0
|
|
2298
2470
|
*
|
|
2299
|
-
* @summary Query Portfolio Margin Pro Bankruptcy Loan Amount(USER_DATA)
|
|
2471
|
+
* @summary Query Portfolio Margin Pro Bankruptcy Loan Amount (USER_DATA)
|
|
2300
2472
|
* @param {QueryPortfolioMarginProBankruptcyLoanAmountRequest} requestParameters Request parameters.
|
|
2301
2473
|
*
|
|
2302
2474
|
* @returns {Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanAmountResponse>>}
|
|
2303
2475
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2304
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2476
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#query-portfolio-margin-pro-bankruptcy-loan-amount Binance API Documentation}
|
|
2305
2477
|
*/
|
|
2306
2478
|
queryPortfolioMarginProBankruptcyLoanAmount(requestParameters?: QueryPortfolioMarginProBankruptcyLoanAmountRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanAmountResponse>>;
|
|
2307
2479
|
/**
|
|
2308
2480
|
* Query repay history of pmloan for portfolio margin pro.
|
|
2309
2481
|
*
|
|
2310
|
-
*
|
|
2311
|
-
* If `startTime` and `endTime` not sent, return records of the last 30 days by default.
|
|
2312
|
-
* If `startTime`is sent and `endTime` is not sent, return records of [startTime, startTime+30d].
|
|
2313
|
-
* If `startTime` is not sent and `endTime` is sent, return records of [endTime-30d, endTime].
|
|
2482
|
+
* Weight(IP): 500
|
|
2314
2483
|
*
|
|
2315
|
-
*
|
|
2484
|
+
* Security Type: USER_DATA
|
|
2316
2485
|
*
|
|
2317
|
-
*
|
|
2486
|
+
* Notes:
|
|
2487
|
+
* - `startTime` and `endTime` cannot be longer than 360 days
|
|
2488
|
+
* - If `startTime` and `endTime` not sent, return records of the last 30 days by default.
|
|
2489
|
+
* - If `startTime`is sent and `endTime` is not sent, return records of [startTime, startTime+30d].
|
|
2490
|
+
* - If `startTime` is not sent and `endTime` is sent, return records of [endTime-30d, endTime].
|
|
2491
|
+
*
|
|
2492
|
+
* @summary Query Portfolio Margin Pro Bankruptcy Loan Repay History (USER_DATA)
|
|
2318
2493
|
* @param {QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest} requestParameters Request parameters.
|
|
2319
2494
|
*
|
|
2320
2495
|
* @returns {Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse>>}
|
|
2321
2496
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2322
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2497
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#query-portfolio-margin-pro-bankruptcy-loan-repay-history Binance API Documentation}
|
|
2323
2498
|
*/
|
|
2324
2499
|
queryPortfolioMarginProBankruptcyLoanRepayHistory(requestParameters?: QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse>>;
|
|
2325
2500
|
/**
|
|
2326
2501
|
* Query interest history of negative balance for portfolio margin.
|
|
2327
2502
|
*
|
|
2328
|
-
* Weight: 50
|
|
2503
|
+
* Weight(IP): 50
|
|
2504
|
+
*
|
|
2505
|
+
* Security Type: USER_DATA
|
|
2329
2506
|
*
|
|
2330
|
-
* @summary Query Portfolio Margin Pro Negative Balance Interest History(USER_DATA)
|
|
2507
|
+
* @summary Query Portfolio Margin Pro Negative Balance Interest History (USER_DATA)
|
|
2331
2508
|
* @param {QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest} requestParameters Request parameters.
|
|
2332
2509
|
*
|
|
2333
2510
|
* @returns {Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>}
|
|
2334
2511
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2335
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2512
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#query-portfolio-margin-pro-negative-balance-interest-history Binance API Documentation}
|
|
2336
2513
|
*/
|
|
2337
2514
|
queryPortfolioMarginProNegativeBalanceInterestHistory(requestParameters?: QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>;
|
|
2338
2515
|
/**
|
|
2339
2516
|
* Repay futures Negative Balance
|
|
2340
2517
|
*
|
|
2341
|
-
* Weight: 1500
|
|
2518
|
+
* Weight(IP): 1500
|
|
2519
|
+
*
|
|
2520
|
+
* Security Type: USER_DATA
|
|
2342
2521
|
*
|
|
2343
|
-
* @summary Repay futures Negative Balance(USER_DATA)
|
|
2522
|
+
* @summary Repay futures Negative Balance (USER_DATA)
|
|
2344
2523
|
* @param {RepayFuturesNegativeBalanceRequest} requestParameters Request parameters.
|
|
2345
2524
|
*
|
|
2346
2525
|
* @returns {Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>}
|
|
2347
2526
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2348
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2527
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#repay-futures-negative-balance Binance API Documentation}
|
|
2349
2528
|
*/
|
|
2350
2529
|
repayFuturesNegativeBalance(requestParameters?: RepayFuturesNegativeBalanceRequest): Promise<RestApiResponse<RepayFuturesNegativeBalanceResponse>>;
|
|
2351
2530
|
/**
|
|
2352
2531
|
* Set the margin call level for a Portfolio Margin account. When the account's uniMMR drops to the specified level, a notification will be sent via email and SMS.
|
|
2353
2532
|
*
|
|
2354
|
-
* Weight: 1500
|
|
2533
|
+
* Weight(IP): 1500
|
|
2534
|
+
*
|
|
2535
|
+
* Security Type: USER_DATA
|
|
2355
2536
|
*
|
|
2356
2537
|
* @summary Set Margin Call Level (USER_DATA)
|
|
2357
2538
|
* @param {SetMarginCallLevelRequest} requestParameters Request parameters.
|
|
2358
2539
|
*
|
|
2359
2540
|
* @returns {Promise<RestApiResponse<SetMarginCallLevelResponse>>}
|
|
2360
2541
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2361
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2542
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#set-margin-call-level Binance API Documentation}
|
|
2362
2543
|
*/
|
|
2363
2544
|
setMarginCallLevel(requestParameters: SetMarginCallLevelRequest): Promise<RestApiResponse<SetMarginCallLevelResponse>>;
|
|
2364
2545
|
/**
|
|
2365
2546
|
* Switch the Delta mode for existing PM PRO / PM RETAIL accounts.
|
|
2366
2547
|
*
|
|
2367
|
-
* Weight: 1500
|
|
2548
|
+
* Weight(IP): 1500
|
|
2549
|
+
*
|
|
2550
|
+
* Security Type: TRADE
|
|
2368
2551
|
*
|
|
2369
|
-
* @summary Switch Delta Mode(TRADE)
|
|
2552
|
+
* @summary Switch Delta Mode (TRADE)
|
|
2370
2553
|
* @param {SwitchDeltaModeRequest} requestParameters Request parameters.
|
|
2371
2554
|
*
|
|
2372
2555
|
* @returns {Promise<RestApiResponse<SwitchDeltaModeResponse>>}
|
|
2373
2556
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2374
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2557
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#switch-delta-mode Binance API Documentation}
|
|
2375
2558
|
*/
|
|
2376
2559
|
switchDeltaMode(requestParameters: SwitchDeltaModeRequest): Promise<RestApiResponse<SwitchDeltaModeResponse>>;
|
|
2377
2560
|
/**
|
|
2378
2561
|
* Transfer LDUSDT/RWUSD as collateral for all types of Portfolio Margin account
|
|
2379
2562
|
*
|
|
2380
|
-
* Weight: 1500
|
|
2563
|
+
* Weight(UID): 1500
|
|
2564
|
+
*
|
|
2565
|
+
* Security Type: TRADE
|
|
2381
2566
|
*
|
|
2382
|
-
* @summary Transfer LDUSDT/RWUSD for Portfolio Margin(TRADE)
|
|
2567
|
+
* @summary Transfer LDUSDT/RWUSD for Portfolio Margin (TRADE)
|
|
2383
2568
|
* @param {TransferLdusdtRwusdForPortfolioMarginRequest} requestParameters Request parameters.
|
|
2384
2569
|
*
|
|
2385
2570
|
* @returns {Promise<RestApiResponse<TransferLdusdtRwusdForPortfolioMarginResponse>>}
|
|
2386
2571
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2387
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2572
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/account#transfer-ldusdt-rwusd-for-portfolio-margin Binance API Documentation}
|
|
2388
2573
|
*/
|
|
2389
2574
|
transferLdusdtRwusdForPortfolioMargin(requestParameters: TransferLdusdtRwusdForPortfolioMarginRequest): Promise<RestApiResponse<TransferLdusdtRwusdForPortfolioMarginResponse>>;
|
|
2390
2575
|
/**
|
|
2391
2576
|
* Get Portfolio Margin Asset Leverage
|
|
2392
2577
|
*
|
|
2393
|
-
* Weight: 50
|
|
2578
|
+
* Weight(IP): 50
|
|
2394
2579
|
*
|
|
2395
|
-
*
|
|
2580
|
+
* Security Type: USER_DATA
|
|
2581
|
+
*
|
|
2582
|
+
* @summary Get Portfolio Margin Asset Leverage (USER_DATA)
|
|
2396
2583
|
*
|
|
2397
2584
|
* @returns {Promise<RestApiResponse<GetPortfolioMarginAssetLeverageResponse>>}
|
|
2398
2585
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2399
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2586
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/market-data#get-portfolio-margin-asset-leverage Binance API Documentation}
|
|
2400
2587
|
*/
|
|
2401
2588
|
getPortfolioMarginAssetLeverage(): Promise<RestApiResponse<GetPortfolioMarginAssetLeverageResponse>>;
|
|
2402
2589
|
/**
|
|
2403
2590
|
* Portfolio Margin Collateral Rate
|
|
2404
2591
|
*
|
|
2405
|
-
* Weight: 50
|
|
2592
|
+
* Weight(IP): 50
|
|
2593
|
+
*
|
|
2594
|
+
* Security Type: MARKET_DATA
|
|
2406
2595
|
*
|
|
2407
|
-
* @summary Portfolio Margin Collateral Rate(MARKET_DATA)
|
|
2596
|
+
* @summary Portfolio Margin Collateral Rate (MARKET_DATA)
|
|
2408
2597
|
*
|
|
2409
2598
|
* @returns {Promise<RestApiResponse<PortfolioMarginCollateralRateResponse>>}
|
|
2410
2599
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2411
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2600
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/market-data#portfolio-margin-collateral-rate Binance API Documentation}
|
|
2412
2601
|
*/
|
|
2413
2602
|
portfolioMarginCollateralRate(): Promise<RestApiResponse<PortfolioMarginCollateralRateResponse>>;
|
|
2414
2603
|
/**
|
|
2415
2604
|
* Portfolio Margin PRO Tiered Collateral Rate
|
|
2416
2605
|
*
|
|
2417
|
-
* Weight: 50
|
|
2606
|
+
* Weight(IP): 50
|
|
2607
|
+
*
|
|
2608
|
+
* Security Type: USER_DATA
|
|
2418
2609
|
*
|
|
2419
|
-
* @summary Portfolio Margin Pro Tiered Collateral Rate(USER_DATA)
|
|
2610
|
+
* @summary Portfolio Margin Pro Tiered Collateral Rate (USER_DATA)
|
|
2420
2611
|
* @param {PortfolioMarginProTieredCollateralRateRequest} requestParameters Request parameters.
|
|
2421
2612
|
*
|
|
2422
2613
|
* @returns {Promise<RestApiResponse<PortfolioMarginProTieredCollateralRateResponse>>}
|
|
2423
2614
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2424
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2615
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/market-data#portfolio-margin-pro-tiered-collateral-rate Binance API Documentation}
|
|
2425
2616
|
*/
|
|
2426
2617
|
portfolioMarginProTieredCollateralRate(requestParameters?: PortfolioMarginProTieredCollateralRateRequest): Promise<RestApiResponse<PortfolioMarginProTieredCollateralRateResponse>>;
|
|
2427
2618
|
/**
|
|
2428
2619
|
* Query Portfolio Margin Asset Index Price
|
|
2429
2620
|
*
|
|
2430
|
-
* Weight: 1 if
|
|
2621
|
+
* Weight: - 1 if `asset` is sent
|
|
2622
|
+
* - 50 if `asset` is not sent
|
|
2623
|
+
*
|
|
2624
|
+
* Security Type: MARKET_DATA
|
|
2431
2625
|
*
|
|
2432
2626
|
* @summary Query Portfolio Margin Asset Index Price (MARKET_DATA)
|
|
2433
2627
|
* @param {QueryPortfolioMarginAssetIndexPriceRequest} requestParameters Request parameters.
|
|
2434
2628
|
*
|
|
2435
2629
|
* @returns {Promise<RestApiResponse<QueryPortfolioMarginAssetIndexPriceResponse>>}
|
|
2436
2630
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2437
|
-
* @see {@link https://developers.binance.com/docs/derivatives
|
|
2631
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/advanced-trading-derivatives-trading-portfolio-margin-pro/api/rest-api/market-data#query-portfolio-margin-asset-index-price Binance API Documentation}
|
|
2438
2632
|
*/
|
|
2439
2633
|
queryPortfolioMarginAssetIndexPrice(requestParameters?: QueryPortfolioMarginAssetIndexPriceRequest): Promise<RestApiResponse<QueryPortfolioMarginAssetIndexPriceResponse>>;
|
|
2440
2634
|
}
|
|
2441
2635
|
declare namespace index_d_exports {
|
|
2442
|
-
export { AccountApi, AccountApiInterface, BnbTransferRequest, BnbTransferResponse, ChangeAutoRepayFuturesStatusRequest, ChangeAutoRepayFuturesStatusResponse, DeleteMarginCallLevelRequest, DeleteMarginCallLevelResponse, FundAutoCollectionRequest, FundAutoCollectionResponse, FundCollectionByAssetRequest, FundCollectionByAssetResponse, GetAutoRepayFuturesStatusRequest, GetAutoRepayFuturesStatusResponse, GetDeltaModeStatusRequest, GetDeltaModeStatusResponse, GetMarginCallLevelRequest, GetMarginCallLevelResponse, GetPortfolioMarginAssetLeverageResponse, GetPortfolioMarginAssetLeverageResponseInner, GetPortfolioMarginProAccountBalanceRequest, GetPortfolioMarginProAccountBalanceResponse, GetPortfolioMarginProAccountBalanceResponseInner, GetPortfolioMarginProAccountInfoRequest, GetPortfolioMarginProAccountInfoResponse, GetPortfolioMarginProSpanAccountInfoRequest, GetPortfolioMarginProSpanAccountInfoResponse, GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner, GetTransferableEarnAssetBalanceForPortfolioMarginRequest, GetTransferableEarnAssetBalanceForPortfolioMarginResponse, MarketDataApi, MarketDataApiInterface, PortfolioMarginCollateralRateResponse, PortfolioMarginCollateralRateResponseInner, PortfolioMarginProBankruptcyLoanRepayRequest, PortfolioMarginProBankruptcyLoanRepayResponse, PortfolioMarginProTieredCollateralRateRequest, PortfolioMarginProTieredCollateralRateResponse, PortfolioMarginProTieredCollateralRateResponseInner, PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner, QueryPortfolioMarginAssetIndexPriceRequest, QueryPortfolioMarginAssetIndexPriceResponse, QueryPortfolioMarginAssetIndexPriceResponseInner, QueryPortfolioMarginProBankruptcyLoanAmountRequest, QueryPortfolioMarginProBankruptcyLoanAmountResponse, QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest, QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse, QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner, QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest, QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse, QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner, RepayFuturesNegativeBalanceRequest, RepayFuturesNegativeBalanceResponse, RestAPI, SetMarginCallLevelRequest, SetMarginCallLevelResponse, SwitchDeltaModeRequest, SwitchDeltaModeResponse, TransferLdusdtRwusdForPortfolioMarginRequest, TransferLdusdtRwusdForPortfolioMarginResponse };
|
|
2636
|
+
export { AccountApi, AccountApiInterface, BnbTransferRequest, BnbTransferResponse, BnbTransferTransferSideEnum, ChangeAutoRepayFuturesStatusAutoRepayEnum, ChangeAutoRepayFuturesStatusRequest, ChangeAutoRepayFuturesStatusResponse, DeleteMarginCallLevelRequest, DeleteMarginCallLevelResponse, FundAutoCollectionRequest, FundAutoCollectionResponse, FundCollectionByAssetRequest, FundCollectionByAssetResponse, GetAutoRepayFuturesStatusRequest, GetAutoRepayFuturesStatusResponse, GetDeltaModeStatusRequest, GetDeltaModeStatusResponse, GetMarginCallLevelRequest, GetMarginCallLevelResponse, GetPortfolioMarginAssetLeverageResponse, GetPortfolioMarginAssetLeverageResponseInner, GetPortfolioMarginProAccountBalanceRequest, GetPortfolioMarginProAccountBalanceResponse, GetPortfolioMarginProAccountBalanceResponseInner, GetPortfolioMarginProAccountInfoRequest, GetPortfolioMarginProAccountInfoResponse, GetPortfolioMarginProSpanAccountInfoRequest, GetPortfolioMarginProSpanAccountInfoResponse, GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner, GetTransferableEarnAssetBalanceForPortfolioMarginRequest, GetTransferableEarnAssetBalanceForPortfolioMarginResponse, GetTransferableEarnAssetBalanceForPortfolioMarginTransferTypeEnum, MarketDataApi, MarketDataApiInterface, PortfolioMarginCollateralRateResponse, PortfolioMarginCollateralRateResponseInner, PortfolioMarginProBankruptcyLoanRepayFromEnum, PortfolioMarginProBankruptcyLoanRepayRequest, PortfolioMarginProBankruptcyLoanRepayResponse, PortfolioMarginProTieredCollateralRateRequest, PortfolioMarginProTieredCollateralRateResponse, PortfolioMarginProTieredCollateralRateResponseInner, PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner, QueryPortfolioMarginAssetIndexPriceRequest, QueryPortfolioMarginAssetIndexPriceResponse, QueryPortfolioMarginAssetIndexPriceResponseInner, QueryPortfolioMarginProBankruptcyLoanAmountRequest, QueryPortfolioMarginProBankruptcyLoanAmountResponse, QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest, QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse, QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner, QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest, QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse, QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner, RepayFuturesNegativeBalanceFromEnum, RepayFuturesNegativeBalanceRequest, RepayFuturesNegativeBalanceResponse, RestAPI, SetMarginCallLevelRequest, SetMarginCallLevelResponse, SwitchDeltaModeDeltaEnabledEnum, SwitchDeltaModeRequest, SwitchDeltaModeResponse, TransferLdusdtRwusdForPortfolioMarginAssetEnum, TransferLdusdtRwusdForPortfolioMarginRequest, TransferLdusdtRwusdForPortfolioMarginResponse, TransferLdusdtRwusdForPortfolioMarginTransferTypeEnum };
|
|
2443
2637
|
}
|
|
2444
2638
|
//#endregion
|
|
2445
2639
|
//#region src/websocket-streams/types/pm-pro-account-update.d.ts
|
|
2446
2640
|
/**
|
|
2447
|
-
*
|
|
2641
|
+
* Portfolio Margin Pro WebSocket Market Streams
|
|
2448
2642
|
*
|
|
2449
|
-
*
|
|
2643
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
2450
2644
|
*
|
|
2451
2645
|
* The version of the OpenAPI document: 1.0.0
|
|
2452
2646
|
*
|
|
@@ -2456,55 +2650,55 @@ declare namespace index_d_exports {
|
|
|
2456
2650
|
* Do not edit the class manually.
|
|
2457
2651
|
*/
|
|
2458
2652
|
/**
|
|
2459
|
-
*
|
|
2653
|
+
* Pushed every 5 seconds with account asset status.
|
|
2460
2654
|
* @export
|
|
2461
2655
|
* @interface PmProAccountUpdate
|
|
2462
2656
|
*/
|
|
2463
2657
|
interface PmProAccountUpdate {
|
|
2464
2658
|
/**
|
|
2465
|
-
*
|
|
2659
|
+
* Event Time
|
|
2466
2660
|
* @type {number | bigint}
|
|
2467
2661
|
* @memberof PmProAccountUpdate
|
|
2468
2662
|
*/
|
|
2469
2663
|
E?: number | bigint;
|
|
2470
2664
|
/**
|
|
2471
|
-
*
|
|
2665
|
+
* uniMMR level
|
|
2472
2666
|
* @type {string}
|
|
2473
2667
|
* @memberof PmProAccountUpdate
|
|
2474
2668
|
*/
|
|
2475
2669
|
u?: string;
|
|
2476
2670
|
/**
|
|
2477
|
-
*
|
|
2671
|
+
* Account equity in USD
|
|
2478
2672
|
* @type {string}
|
|
2479
2673
|
* @memberof PmProAccountUpdate
|
|
2480
2674
|
*/
|
|
2481
2675
|
eq?: string;
|
|
2482
2676
|
/**
|
|
2483
|
-
*
|
|
2677
|
+
* Actual equity without collateral rate in USD
|
|
2484
2678
|
* @type {string}
|
|
2485
2679
|
* @memberof PmProAccountUpdate
|
|
2486
2680
|
*/
|
|
2487
2681
|
ae?: string;
|
|
2488
2682
|
/**
|
|
2489
|
-
*
|
|
2683
|
+
* Total initial margin in USD
|
|
2490
2684
|
* @type {string}
|
|
2491
2685
|
* @memberof PmProAccountUpdate
|
|
2492
2686
|
*/
|
|
2493
2687
|
im?: string;
|
|
2494
2688
|
/**
|
|
2495
|
-
*
|
|
2689
|
+
* Total maintenance margin in USD
|
|
2496
2690
|
* @type {string}
|
|
2497
2691
|
* @memberof PmProAccountUpdate
|
|
2498
2692
|
*/
|
|
2499
2693
|
mm?: string;
|
|
2500
2694
|
/**
|
|
2501
|
-
*
|
|
2695
|
+
* Total available balance in USD
|
|
2502
2696
|
* @type {string}
|
|
2503
2697
|
* @memberof PmProAccountUpdate
|
|
2504
2698
|
*/
|
|
2505
2699
|
avb?: string;
|
|
2506
2700
|
/**
|
|
2507
|
-
*
|
|
2701
|
+
* Virtual maxWithdraw amount in USD
|
|
2508
2702
|
* @type {string}
|
|
2509
2703
|
* @memberof PmProAccountUpdate
|
|
2510
2704
|
*/
|
|
@@ -2513,9 +2707,9 @@ interface PmProAccountUpdate {
|
|
|
2513
2707
|
//#endregion
|
|
2514
2708
|
//#region src/websocket-streams/types/risklevelchange.d.ts
|
|
2515
2709
|
/**
|
|
2516
|
-
*
|
|
2710
|
+
* Portfolio Margin Pro WebSocket Market Streams
|
|
2517
2711
|
*
|
|
2518
|
-
*
|
|
2712
|
+
* Access advanced account management and high-frequency trading with Binance Portfolio Margin Pro.
|
|
2519
2713
|
*
|
|
2520
2714
|
* The version of the OpenAPI document: 1.0.0
|
|
2521
2715
|
*
|
|
@@ -2531,37 +2725,37 @@ interface PmProAccountUpdate {
|
|
|
2531
2725
|
*/
|
|
2532
2726
|
interface Risklevelchange {
|
|
2533
2727
|
/**
|
|
2534
|
-
*
|
|
2728
|
+
* Event Time
|
|
2535
2729
|
* @type {number | bigint}
|
|
2536
2730
|
* @memberof Risklevelchange
|
|
2537
2731
|
*/
|
|
2538
2732
|
E?: number | bigint;
|
|
2539
2733
|
/**
|
|
2540
|
-
*
|
|
2734
|
+
* uniMMR level
|
|
2541
2735
|
* @type {string}
|
|
2542
2736
|
* @memberof Risklevelchange
|
|
2543
2737
|
*/
|
|
2544
2738
|
u?: string;
|
|
2545
2739
|
/**
|
|
2546
|
-
*
|
|
2740
|
+
* Risk level: MARGIN_CALL, REDUCE_ONLY, FORCE_LIQUIDATION
|
|
2547
2741
|
* @type {string}
|
|
2548
2742
|
* @memberof Risklevelchange
|
|
2549
2743
|
*/
|
|
2550
2744
|
s?: string;
|
|
2551
2745
|
/**
|
|
2552
|
-
*
|
|
2746
|
+
* Account equity in USD value
|
|
2553
2747
|
* @type {string}
|
|
2554
2748
|
* @memberof Risklevelchange
|
|
2555
2749
|
*/
|
|
2556
2750
|
eq?: string;
|
|
2557
2751
|
/**
|
|
2558
|
-
*
|
|
2752
|
+
* Actual equity without collateral rate in USD value
|
|
2559
2753
|
* @type {string}
|
|
2560
2754
|
* @memberof Risklevelchange
|
|
2561
2755
|
*/
|
|
2562
2756
|
ae?: string;
|
|
2563
2757
|
/**
|
|
2564
|
-
*
|
|
2758
|
+
* Total maintenance margin in USD value
|
|
2565
2759
|
* @type {string}
|
|
2566
2760
|
* @memberof Risklevelchange
|
|
2567
2761
|
*/
|
|
@@ -2571,7 +2765,6 @@ interface Risklevelchange {
|
|
|
2571
2765
|
//#region src/websocket-streams/types/user-data-stream-events-response.d.ts
|
|
2572
2766
|
/**
|
|
2573
2767
|
* @type UserDataStreamEventsResponse
|
|
2574
|
-
* @export
|
|
2575
2768
|
*/
|
|
2576
2769
|
type UserDataStreamEventsResponse = ({
|
|
2577
2770
|
e: 'PM_PRO_ACCOUNT_UPDATE';
|