@binance/margin-trading 7.0.2 → 9.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 +324 -236
- package/dist/index.d.ts +324 -236
- package/dist/index.js +107 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +107 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -247,10 +247,10 @@ interface GetAllCrossMarginPairsResponseInner {
|
|
|
247
247
|
base?: string;
|
|
248
248
|
/**
|
|
249
249
|
*
|
|
250
|
-
* @type {number}
|
|
250
|
+
* @type {number | bigint}
|
|
251
251
|
* @memberof GetAllCrossMarginPairsResponseInner
|
|
252
252
|
*/
|
|
253
|
-
id?: number;
|
|
253
|
+
id?: number | bigint;
|
|
254
254
|
/**
|
|
255
255
|
*
|
|
256
256
|
* @type {boolean}
|
|
@@ -283,10 +283,10 @@ interface GetAllCrossMarginPairsResponseInner {
|
|
|
283
283
|
symbol?: string;
|
|
284
284
|
/**
|
|
285
285
|
*
|
|
286
|
-
* @type {number}
|
|
286
|
+
* @type {number | bigint}
|
|
287
287
|
* @memberof GetAllCrossMarginPairsResponseInner
|
|
288
288
|
*/
|
|
289
|
-
delistTime?: number;
|
|
289
|
+
delistTime?: number | bigint;
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
/**
|
|
@@ -443,10 +443,10 @@ interface GetAllMarginAssetsResponseInner {
|
|
|
443
443
|
userMinRepay?: string;
|
|
444
444
|
/**
|
|
445
445
|
*
|
|
446
|
-
* @type {number}
|
|
446
|
+
* @type {number | bigint}
|
|
447
447
|
* @memberof GetAllMarginAssetsResponseInner
|
|
448
448
|
*/
|
|
449
|
-
delistTime?: number;
|
|
449
|
+
delistTime?: number | bigint;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
452
|
/**
|
|
@@ -540,16 +540,16 @@ interface GetCrossMarginTransferHistoryResponseRowsInner {
|
|
|
540
540
|
status?: string;
|
|
541
541
|
/**
|
|
542
542
|
*
|
|
543
|
-
* @type {number}
|
|
543
|
+
* @type {number | bigint}
|
|
544
544
|
* @memberof GetCrossMarginTransferHistoryResponseRowsInner
|
|
545
545
|
*/
|
|
546
|
-
timestamp?: number;
|
|
546
|
+
timestamp?: number | bigint;
|
|
547
547
|
/**
|
|
548
548
|
*
|
|
549
|
-
* @type {number}
|
|
549
|
+
* @type {number | bigint}
|
|
550
550
|
* @memberof GetCrossMarginTransferHistoryResponseRowsInner
|
|
551
551
|
*/
|
|
552
|
-
txId?: number;
|
|
552
|
+
txId?: number | bigint;
|
|
553
553
|
/**
|
|
554
554
|
*
|
|
555
555
|
* @type {string}
|
|
@@ -609,10 +609,10 @@ interface GetCrossMarginTransferHistoryResponse {
|
|
|
609
609
|
rows?: Array<GetCrossMarginTransferHistoryResponseRowsInner>;
|
|
610
610
|
/**
|
|
611
611
|
*
|
|
612
|
-
* @type {number}
|
|
612
|
+
* @type {number | bigint}
|
|
613
613
|
* @memberof GetCrossMarginTransferHistoryResponse
|
|
614
614
|
*/
|
|
615
|
-
total?: number;
|
|
615
|
+
total?: number | bigint;
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
/**
|
|
@@ -635,10 +635,10 @@ interface GetCrossMarginTransferHistoryResponse {
|
|
|
635
635
|
interface GetDelistScheduleResponseInner {
|
|
636
636
|
/**
|
|
637
637
|
*
|
|
638
|
-
* @type {number}
|
|
638
|
+
* @type {number | bigint}
|
|
639
639
|
* @memberof GetDelistScheduleResponseInner
|
|
640
640
|
*/
|
|
641
|
-
delistTime?: number;
|
|
641
|
+
delistTime?: number | bigint;
|
|
642
642
|
/**
|
|
643
643
|
*
|
|
644
644
|
* @type {Array<string>}
|
|
@@ -706,10 +706,10 @@ interface GetForceLiquidationRecordResponseRowsInner {
|
|
|
706
706
|
executedQty?: string;
|
|
707
707
|
/**
|
|
708
708
|
*
|
|
709
|
-
* @type {number}
|
|
709
|
+
* @type {number | bigint}
|
|
710
710
|
* @memberof GetForceLiquidationRecordResponseRowsInner
|
|
711
711
|
*/
|
|
712
|
-
orderId?: number;
|
|
712
|
+
orderId?: number | bigint;
|
|
713
713
|
/**
|
|
714
714
|
*
|
|
715
715
|
* @type {string}
|
|
@@ -748,10 +748,10 @@ interface GetForceLiquidationRecordResponseRowsInner {
|
|
|
748
748
|
isIsolated?: boolean;
|
|
749
749
|
/**
|
|
750
750
|
*
|
|
751
|
-
* @type {number}
|
|
751
|
+
* @type {number | bigint}
|
|
752
752
|
* @memberof GetForceLiquidationRecordResponseRowsInner
|
|
753
753
|
*/
|
|
754
|
-
updatedTime?: number;
|
|
754
|
+
updatedTime?: number | bigint;
|
|
755
755
|
}
|
|
756
756
|
|
|
757
757
|
/**
|
|
@@ -781,10 +781,10 @@ interface GetForceLiquidationRecordResponse {
|
|
|
781
781
|
rows?: Array<GetForceLiquidationRecordResponseRowsInner>;
|
|
782
782
|
/**
|
|
783
783
|
*
|
|
784
|
-
* @type {number}
|
|
784
|
+
* @type {number | bigint}
|
|
785
785
|
* @memberof GetForceLiquidationRecordResponse
|
|
786
786
|
*/
|
|
787
|
-
total?: number;
|
|
787
|
+
total?: number | bigint;
|
|
788
788
|
}
|
|
789
789
|
|
|
790
790
|
/**
|
|
@@ -860,16 +860,16 @@ interface GetFutureHourlyInterestRateResponse extends Array<GetFutureHourlyInter
|
|
|
860
860
|
interface GetInterestHistoryResponseRowsInner {
|
|
861
861
|
/**
|
|
862
862
|
*
|
|
863
|
-
* @type {number}
|
|
863
|
+
* @type {number | bigint}
|
|
864
864
|
* @memberof GetInterestHistoryResponseRowsInner
|
|
865
865
|
*/
|
|
866
|
-
txId?: number;
|
|
866
|
+
txId?: number | bigint;
|
|
867
867
|
/**
|
|
868
868
|
*
|
|
869
|
-
* @type {number}
|
|
869
|
+
* @type {number | bigint}
|
|
870
870
|
* @memberof GetInterestHistoryResponseRowsInner
|
|
871
871
|
*/
|
|
872
|
-
interestAccuredTime?: number;
|
|
872
|
+
interestAccuredTime?: number | bigint;
|
|
873
873
|
/**
|
|
874
874
|
*
|
|
875
875
|
* @type {string}
|
|
@@ -941,10 +941,10 @@ interface GetInterestHistoryResponse {
|
|
|
941
941
|
rows?: Array<GetInterestHistoryResponseRowsInner>;
|
|
942
942
|
/**
|
|
943
943
|
*
|
|
944
|
-
* @type {number}
|
|
944
|
+
* @type {number | bigint}
|
|
945
945
|
* @memberof GetInterestHistoryResponse
|
|
946
946
|
*/
|
|
947
|
-
total?: number;
|
|
947
|
+
total?: number | bigint;
|
|
948
948
|
}
|
|
949
949
|
|
|
950
950
|
/**
|
|
@@ -993,10 +993,10 @@ interface GetLimitPricePairsResponse {
|
|
|
993
993
|
interface GetListScheduleResponseInner {
|
|
994
994
|
/**
|
|
995
995
|
*
|
|
996
|
-
* @type {number}
|
|
996
|
+
* @type {number | bigint}
|
|
997
997
|
* @memberof GetListScheduleResponseInner
|
|
998
998
|
*/
|
|
999
|
-
listTime?: number;
|
|
999
|
+
listTime?: number | bigint;
|
|
1000
1000
|
/**
|
|
1001
1001
|
*
|
|
1002
1002
|
* @type {Array<string>}
|
|
@@ -1153,10 +1153,10 @@ interface GetSmallLiabilityExchangeHistoryResponseRowsInner {
|
|
|
1153
1153
|
bizType?: string;
|
|
1154
1154
|
/**
|
|
1155
1155
|
*
|
|
1156
|
-
* @type {number}
|
|
1156
|
+
* @type {number | bigint}
|
|
1157
1157
|
* @memberof GetSmallLiabilityExchangeHistoryResponseRowsInner
|
|
1158
1158
|
*/
|
|
1159
|
-
timestamp?: number;
|
|
1159
|
+
timestamp?: number | bigint;
|
|
1160
1160
|
}
|
|
1161
1161
|
|
|
1162
1162
|
/**
|
|
@@ -1180,10 +1180,10 @@ interface GetSmallLiabilityExchangeHistoryResponseRowsInner {
|
|
|
1180
1180
|
interface GetSmallLiabilityExchangeHistoryResponse {
|
|
1181
1181
|
/**
|
|
1182
1182
|
*
|
|
1183
|
-
* @type {number}
|
|
1183
|
+
* @type {number | bigint}
|
|
1184
1184
|
* @memberof GetSmallLiabilityExchangeHistoryResponse
|
|
1185
1185
|
*/
|
|
1186
|
-
total?: number;
|
|
1186
|
+
total?: number | bigint;
|
|
1187
1187
|
/**
|
|
1188
1188
|
*
|
|
1189
1189
|
* @type {Array<GetSmallLiabilityExchangeHistoryResponseRowsInner>}
|
|
@@ -1250,10 +1250,10 @@ interface GetSummaryOfMarginAccountResponse {
|
|
|
1250
1250
|
interface MarginAccountBorrowRepayResponse {
|
|
1251
1251
|
/**
|
|
1252
1252
|
*
|
|
1253
|
-
* @type {number}
|
|
1253
|
+
* @type {number | bigint}
|
|
1254
1254
|
* @memberof MarginAccountBorrowRepayResponse
|
|
1255
1255
|
*/
|
|
1256
|
-
tranId?: number;
|
|
1256
|
+
tranId?: number | bigint;
|
|
1257
1257
|
}
|
|
1258
1258
|
|
|
1259
1259
|
/**
|
|
@@ -1288,16 +1288,16 @@ interface MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInne
|
|
|
1288
1288
|
origClientOrderId?: string;
|
|
1289
1289
|
/**
|
|
1290
1290
|
*
|
|
1291
|
-
* @type {number}
|
|
1291
|
+
* @type {number | bigint}
|
|
1292
1292
|
* @memberof MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
|
|
1293
1293
|
*/
|
|
1294
|
-
orderId?: number;
|
|
1294
|
+
orderId?: number | bigint;
|
|
1295
1295
|
/**
|
|
1296
1296
|
*
|
|
1297
|
-
* @type {number}
|
|
1297
|
+
* @type {number | bigint}
|
|
1298
1298
|
* @memberof MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
|
|
1299
1299
|
*/
|
|
1300
|
-
orderListId?: number;
|
|
1300
|
+
orderListId?: number | bigint;
|
|
1301
1301
|
/**
|
|
1302
1302
|
*
|
|
1303
1303
|
* @type {string}
|
|
@@ -1392,10 +1392,10 @@ interface MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner {
|
|
|
1392
1392
|
symbol?: string;
|
|
1393
1393
|
/**
|
|
1394
1394
|
*
|
|
1395
|
-
* @type {number}
|
|
1395
|
+
* @type {number | bigint}
|
|
1396
1396
|
* @memberof MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner
|
|
1397
1397
|
*/
|
|
1398
|
-
orderId?: number;
|
|
1398
|
+
orderId?: number | bigint;
|
|
1399
1399
|
/**
|
|
1400
1400
|
*
|
|
1401
1401
|
* @type {string}
|
|
@@ -1443,16 +1443,16 @@ interface MarginAccountCancelAllOpenOrdersOnASymbolResponseInner {
|
|
|
1443
1443
|
origClientOrderId?: string;
|
|
1444
1444
|
/**
|
|
1445
1445
|
*
|
|
1446
|
-
* @type {number}
|
|
1446
|
+
* @type {number | bigint}
|
|
1447
1447
|
* @memberof MarginAccountCancelAllOpenOrdersOnASymbolResponseInner
|
|
1448
1448
|
*/
|
|
1449
|
-
orderId?: number;
|
|
1449
|
+
orderId?: number | bigint;
|
|
1450
1450
|
/**
|
|
1451
1451
|
*
|
|
1452
|
-
* @type {number}
|
|
1452
|
+
* @type {number | bigint}
|
|
1453
1453
|
* @memberof MarginAccountCancelAllOpenOrdersOnASymbolResponseInner
|
|
1454
1454
|
*/
|
|
1455
|
-
orderListId?: number;
|
|
1455
|
+
orderListId?: number | bigint;
|
|
1456
1456
|
/**
|
|
1457
1457
|
*
|
|
1458
1458
|
* @type {string}
|
|
@@ -1539,10 +1539,10 @@ interface MarginAccountCancelAllOpenOrdersOnASymbolResponseInner {
|
|
|
1539
1539
|
listClientOrderId?: string;
|
|
1540
1540
|
/**
|
|
1541
1541
|
*
|
|
1542
|
-
* @type {number}
|
|
1542
|
+
* @type {number | bigint}
|
|
1543
1543
|
* @memberof MarginAccountCancelAllOpenOrdersOnASymbolResponseInner
|
|
1544
1544
|
*/
|
|
1545
|
-
transactionTime?: number;
|
|
1545
|
+
transactionTime?: number | bigint;
|
|
1546
1546
|
/**
|
|
1547
1547
|
*
|
|
1548
1548
|
* @type {Array<MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner>}
|
|
@@ -1610,16 +1610,16 @@ interface MarginAccountCancelOcoResponseOrderReportsInner {
|
|
|
1610
1610
|
origClientOrderId?: string;
|
|
1611
1611
|
/**
|
|
1612
1612
|
*
|
|
1613
|
-
* @type {number}
|
|
1613
|
+
* @type {number | bigint}
|
|
1614
1614
|
* @memberof MarginAccountCancelOcoResponseOrderReportsInner
|
|
1615
1615
|
*/
|
|
1616
|
-
orderId?: number;
|
|
1616
|
+
orderId?: number | bigint;
|
|
1617
1617
|
/**
|
|
1618
1618
|
*
|
|
1619
|
-
* @type {number}
|
|
1619
|
+
* @type {number | bigint}
|
|
1620
1620
|
* @memberof MarginAccountCancelOcoResponseOrderReportsInner
|
|
1621
1621
|
*/
|
|
1622
|
-
orderListId?: number;
|
|
1622
|
+
orderListId?: number | bigint;
|
|
1623
1623
|
/**
|
|
1624
1624
|
*
|
|
1625
1625
|
* @type {string}
|
|
@@ -1714,10 +1714,10 @@ interface MarginAccountCancelOcoResponseOrdersInner {
|
|
|
1714
1714
|
symbol?: string;
|
|
1715
1715
|
/**
|
|
1716
1716
|
*
|
|
1717
|
-
* @type {number}
|
|
1717
|
+
* @type {number | bigint}
|
|
1718
1718
|
* @memberof MarginAccountCancelOcoResponseOrdersInner
|
|
1719
1719
|
*/
|
|
1720
|
-
orderId?: number;
|
|
1720
|
+
orderId?: number | bigint;
|
|
1721
1721
|
/**
|
|
1722
1722
|
*
|
|
1723
1723
|
* @type {string}
|
|
@@ -1747,10 +1747,10 @@ interface MarginAccountCancelOcoResponseOrdersInner {
|
|
|
1747
1747
|
interface MarginAccountCancelOcoResponse {
|
|
1748
1748
|
/**
|
|
1749
1749
|
*
|
|
1750
|
-
* @type {number}
|
|
1750
|
+
* @type {number | bigint}
|
|
1751
1751
|
* @memberof MarginAccountCancelOcoResponse
|
|
1752
1752
|
*/
|
|
1753
|
-
orderListId?: number;
|
|
1753
|
+
orderListId?: number | bigint;
|
|
1754
1754
|
/**
|
|
1755
1755
|
*
|
|
1756
1756
|
* @type {string}
|
|
@@ -1777,10 +1777,10 @@ interface MarginAccountCancelOcoResponse {
|
|
|
1777
1777
|
listClientOrderId?: string;
|
|
1778
1778
|
/**
|
|
1779
1779
|
*
|
|
1780
|
-
* @type {number}
|
|
1780
|
+
* @type {number | bigint}
|
|
1781
1781
|
* @memberof MarginAccountCancelOcoResponse
|
|
1782
1782
|
*/
|
|
1783
|
-
transactionTime?: number;
|
|
1783
|
+
transactionTime?: number | bigint;
|
|
1784
1784
|
/**
|
|
1785
1785
|
*
|
|
1786
1786
|
* @type {string}
|
|
@@ -1931,16 +1931,16 @@ interface MarginAccountNewOcoResponseOrderReportsInner {
|
|
|
1931
1931
|
symbol?: string;
|
|
1932
1932
|
/**
|
|
1933
1933
|
*
|
|
1934
|
-
* @type {number}
|
|
1934
|
+
* @type {number | bigint}
|
|
1935
1935
|
* @memberof MarginAccountNewOcoResponseOrderReportsInner
|
|
1936
1936
|
*/
|
|
1937
|
-
orderId?: number;
|
|
1937
|
+
orderId?: number | bigint;
|
|
1938
1938
|
/**
|
|
1939
1939
|
*
|
|
1940
|
-
* @type {number}
|
|
1940
|
+
* @type {number | bigint}
|
|
1941
1941
|
* @memberof MarginAccountNewOcoResponseOrderReportsInner
|
|
1942
1942
|
*/
|
|
1943
|
-
orderListId?: number;
|
|
1943
|
+
orderListId?: number | bigint;
|
|
1944
1944
|
/**
|
|
1945
1945
|
*
|
|
1946
1946
|
* @type {string}
|
|
@@ -1949,10 +1949,10 @@ interface MarginAccountNewOcoResponseOrderReportsInner {
|
|
|
1949
1949
|
clientOrderId?: string;
|
|
1950
1950
|
/**
|
|
1951
1951
|
*
|
|
1952
|
-
* @type {number}
|
|
1952
|
+
* @type {number | bigint}
|
|
1953
1953
|
* @memberof MarginAccountNewOcoResponseOrderReportsInner
|
|
1954
1954
|
*/
|
|
1955
|
-
transactTime?: number;
|
|
1955
|
+
transactTime?: number | bigint;
|
|
1956
1956
|
/**
|
|
1957
1957
|
*
|
|
1958
1958
|
* @type {string}
|
|
@@ -2041,10 +2041,10 @@ interface MarginAccountNewOcoResponseOrdersInner {
|
|
|
2041
2041
|
symbol?: string;
|
|
2042
2042
|
/**
|
|
2043
2043
|
*
|
|
2044
|
-
* @type {number}
|
|
2044
|
+
* @type {number | bigint}
|
|
2045
2045
|
* @memberof MarginAccountNewOcoResponseOrdersInner
|
|
2046
2046
|
*/
|
|
2047
|
-
orderId?: number;
|
|
2047
|
+
orderId?: number | bigint;
|
|
2048
2048
|
/**
|
|
2049
2049
|
*
|
|
2050
2050
|
* @type {string}
|
|
@@ -2074,10 +2074,10 @@ interface MarginAccountNewOcoResponseOrdersInner {
|
|
|
2074
2074
|
interface MarginAccountNewOcoResponse {
|
|
2075
2075
|
/**
|
|
2076
2076
|
*
|
|
2077
|
-
* @type {number}
|
|
2077
|
+
* @type {number | bigint}
|
|
2078
2078
|
* @memberof MarginAccountNewOcoResponse
|
|
2079
2079
|
*/
|
|
2080
|
-
orderListId?: number;
|
|
2080
|
+
orderListId?: number | bigint;
|
|
2081
2081
|
/**
|
|
2082
2082
|
*
|
|
2083
2083
|
* @type {string}
|
|
@@ -2104,10 +2104,10 @@ interface MarginAccountNewOcoResponse {
|
|
|
2104
2104
|
listClientOrderId?: string;
|
|
2105
2105
|
/**
|
|
2106
2106
|
*
|
|
2107
|
-
* @type {number}
|
|
2107
|
+
* @type {number | bigint}
|
|
2108
2108
|
* @memberof MarginAccountNewOcoResponse
|
|
2109
2109
|
*/
|
|
2110
|
-
transactionTime?: number;
|
|
2110
|
+
transactionTime?: number | bigint;
|
|
2111
2111
|
/**
|
|
2112
2112
|
*
|
|
2113
2113
|
* @type {string}
|
|
@@ -2190,10 +2190,10 @@ interface MarginAccountNewOrderResponseFillsInner {
|
|
|
2190
2190
|
commissionAsset?: string;
|
|
2191
2191
|
/**
|
|
2192
2192
|
*
|
|
2193
|
-
* @type {number}
|
|
2193
|
+
* @type {number | bigint}
|
|
2194
2194
|
* @memberof MarginAccountNewOrderResponseFillsInner
|
|
2195
2195
|
*/
|
|
2196
|
-
tradeId?: number;
|
|
2196
|
+
tradeId?: number | bigint;
|
|
2197
2197
|
}
|
|
2198
2198
|
|
|
2199
2199
|
/**
|
|
@@ -2223,10 +2223,10 @@ interface MarginAccountNewOrderResponse {
|
|
|
2223
2223
|
symbol?: string;
|
|
2224
2224
|
/**
|
|
2225
2225
|
*
|
|
2226
|
-
* @type {number}
|
|
2226
|
+
* @type {number | bigint}
|
|
2227
2227
|
* @memberof MarginAccountNewOrderResponse
|
|
2228
2228
|
*/
|
|
2229
|
-
orderId?: number;
|
|
2229
|
+
orderId?: number | bigint;
|
|
2230
2230
|
/**
|
|
2231
2231
|
*
|
|
2232
2232
|
* @type {string}
|
|
@@ -2241,10 +2241,10 @@ interface MarginAccountNewOrderResponse {
|
|
|
2241
2241
|
isIsolated?: boolean;
|
|
2242
2242
|
/**
|
|
2243
2243
|
*
|
|
2244
|
-
* @type {number}
|
|
2244
|
+
* @type {number | bigint}
|
|
2245
2245
|
* @memberof MarginAccountNewOrderResponse
|
|
2246
2246
|
*/
|
|
2247
|
-
transactTime?: number;
|
|
2247
|
+
transactTime?: number | bigint;
|
|
2248
2248
|
/**
|
|
2249
2249
|
*
|
|
2250
2250
|
* @type {string}
|
|
@@ -2301,10 +2301,10 @@ interface MarginAccountNewOrderResponse {
|
|
|
2301
2301
|
selfTradePreventionMode?: string;
|
|
2302
2302
|
/**
|
|
2303
2303
|
*
|
|
2304
|
-
* @type {number}
|
|
2304
|
+
* @type {number | bigint}
|
|
2305
2305
|
* @memberof MarginAccountNewOrderResponse
|
|
2306
2306
|
*/
|
|
2307
|
-
marginBuyBorrowAmount?: number;
|
|
2307
|
+
marginBuyBorrowAmount?: number | bigint;
|
|
2308
2308
|
/**
|
|
2309
2309
|
*
|
|
2310
2310
|
* @type {string}
|
|
@@ -2345,16 +2345,16 @@ interface MarginAccountNewOtoResponseOrderReportsInner {
|
|
|
2345
2345
|
symbol?: string;
|
|
2346
2346
|
/**
|
|
2347
2347
|
*
|
|
2348
|
-
* @type {number}
|
|
2348
|
+
* @type {number | bigint}
|
|
2349
2349
|
* @memberof MarginAccountNewOtoResponseOrderReportsInner
|
|
2350
2350
|
*/
|
|
2351
|
-
orderId?: number;
|
|
2351
|
+
orderId?: number | bigint;
|
|
2352
2352
|
/**
|
|
2353
2353
|
*
|
|
2354
|
-
* @type {number}
|
|
2354
|
+
* @type {number | bigint}
|
|
2355
2355
|
* @memberof MarginAccountNewOtoResponseOrderReportsInner
|
|
2356
2356
|
*/
|
|
2357
|
-
orderListId?: number;
|
|
2357
|
+
orderListId?: number | bigint;
|
|
2358
2358
|
/**
|
|
2359
2359
|
*
|
|
2360
2360
|
* @type {string}
|
|
@@ -2363,10 +2363,10 @@ interface MarginAccountNewOtoResponseOrderReportsInner {
|
|
|
2363
2363
|
clientOrderId?: string;
|
|
2364
2364
|
/**
|
|
2365
2365
|
*
|
|
2366
|
-
* @type {number}
|
|
2366
|
+
* @type {number | bigint}
|
|
2367
2367
|
* @memberof MarginAccountNewOtoResponseOrderReportsInner
|
|
2368
2368
|
*/
|
|
2369
|
-
transactTime?: number;
|
|
2369
|
+
transactTime?: number | bigint;
|
|
2370
2370
|
/**
|
|
2371
2371
|
*
|
|
2372
2372
|
* @type {string}
|
|
@@ -2449,10 +2449,10 @@ interface MarginAccountNewOtoResponseOrdersInner {
|
|
|
2449
2449
|
symbol?: string;
|
|
2450
2450
|
/**
|
|
2451
2451
|
*
|
|
2452
|
-
* @type {number}
|
|
2452
|
+
* @type {number | bigint}
|
|
2453
2453
|
* @memberof MarginAccountNewOtoResponseOrdersInner
|
|
2454
2454
|
*/
|
|
2455
|
-
orderId?: number;
|
|
2455
|
+
orderId?: number | bigint;
|
|
2456
2456
|
/**
|
|
2457
2457
|
*
|
|
2458
2458
|
* @type {string}
|
|
@@ -2482,10 +2482,10 @@ interface MarginAccountNewOtoResponseOrdersInner {
|
|
|
2482
2482
|
interface MarginAccountNewOtoResponse {
|
|
2483
2483
|
/**
|
|
2484
2484
|
*
|
|
2485
|
-
* @type {number}
|
|
2485
|
+
* @type {number | bigint}
|
|
2486
2486
|
* @memberof MarginAccountNewOtoResponse
|
|
2487
2487
|
*/
|
|
2488
|
-
orderListId?: number;
|
|
2488
|
+
orderListId?: number | bigint;
|
|
2489
2489
|
/**
|
|
2490
2490
|
*
|
|
2491
2491
|
* @type {string}
|
|
@@ -2512,10 +2512,10 @@ interface MarginAccountNewOtoResponse {
|
|
|
2512
2512
|
listClientOrderId?: string;
|
|
2513
2513
|
/**
|
|
2514
2514
|
*
|
|
2515
|
-
* @type {number}
|
|
2515
|
+
* @type {number | bigint}
|
|
2516
2516
|
* @memberof MarginAccountNewOtoResponse
|
|
2517
2517
|
*/
|
|
2518
|
-
transactionTime?: number;
|
|
2518
|
+
transactionTime?: number | bigint;
|
|
2519
2519
|
/**
|
|
2520
2520
|
*
|
|
2521
2521
|
* @type {string}
|
|
@@ -2568,16 +2568,16 @@ interface MarginAccountNewOtocoResponseOrderReportsInner {
|
|
|
2568
2568
|
symbol?: string;
|
|
2569
2569
|
/**
|
|
2570
2570
|
*
|
|
2571
|
-
* @type {number}
|
|
2571
|
+
* @type {number | bigint}
|
|
2572
2572
|
* @memberof MarginAccountNewOtocoResponseOrderReportsInner
|
|
2573
2573
|
*/
|
|
2574
|
-
orderId?: number;
|
|
2574
|
+
orderId?: number | bigint;
|
|
2575
2575
|
/**
|
|
2576
2576
|
*
|
|
2577
|
-
* @type {number}
|
|
2577
|
+
* @type {number | bigint}
|
|
2578
2578
|
* @memberof MarginAccountNewOtocoResponseOrderReportsInner
|
|
2579
2579
|
*/
|
|
2580
|
-
orderListId?: number;
|
|
2580
|
+
orderListId?: number | bigint;
|
|
2581
2581
|
/**
|
|
2582
2582
|
*
|
|
2583
2583
|
* @type {string}
|
|
@@ -2586,10 +2586,10 @@ interface MarginAccountNewOtocoResponseOrderReportsInner {
|
|
|
2586
2586
|
clientOrderId?: string;
|
|
2587
2587
|
/**
|
|
2588
2588
|
*
|
|
2589
|
-
* @type {number}
|
|
2589
|
+
* @type {number | bigint}
|
|
2590
2590
|
* @memberof MarginAccountNewOtocoResponseOrderReportsInner
|
|
2591
2591
|
*/
|
|
2592
|
-
transactTime?: number;
|
|
2592
|
+
transactTime?: number | bigint;
|
|
2593
2593
|
/**
|
|
2594
2594
|
*
|
|
2595
2595
|
* @type {string}
|
|
@@ -2678,10 +2678,10 @@ interface MarginAccountNewOtocoResponseOrdersInner {
|
|
|
2678
2678
|
symbol?: string;
|
|
2679
2679
|
/**
|
|
2680
2680
|
*
|
|
2681
|
-
* @type {number}
|
|
2681
|
+
* @type {number | bigint}
|
|
2682
2682
|
* @memberof MarginAccountNewOtocoResponseOrdersInner
|
|
2683
2683
|
*/
|
|
2684
|
-
orderId?: number;
|
|
2684
|
+
orderId?: number | bigint;
|
|
2685
2685
|
/**
|
|
2686
2686
|
*
|
|
2687
2687
|
* @type {string}
|
|
@@ -2711,10 +2711,10 @@ interface MarginAccountNewOtocoResponseOrdersInner {
|
|
|
2711
2711
|
interface MarginAccountNewOtocoResponse {
|
|
2712
2712
|
/**
|
|
2713
2713
|
*
|
|
2714
|
-
* @type {number}
|
|
2714
|
+
* @type {number | bigint}
|
|
2715
2715
|
* @memberof MarginAccountNewOtocoResponse
|
|
2716
2716
|
*/
|
|
2717
|
-
orderListId?: number;
|
|
2717
|
+
orderListId?: number | bigint;
|
|
2718
2718
|
/**
|
|
2719
2719
|
*
|
|
2720
2720
|
* @type {string}
|
|
@@ -2741,10 +2741,10 @@ interface MarginAccountNewOtocoResponse {
|
|
|
2741
2741
|
listClientOrderId?: string;
|
|
2742
2742
|
/**
|
|
2743
2743
|
*
|
|
2744
|
-
* @type {number}
|
|
2744
|
+
* @type {number | bigint}
|
|
2745
2745
|
* @memberof MarginAccountNewOtocoResponse
|
|
2746
2746
|
*/
|
|
2747
|
-
transactionTime?: number;
|
|
2747
|
+
transactionTime?: number | bigint;
|
|
2748
2748
|
/**
|
|
2749
2749
|
*
|
|
2750
2750
|
* @type {string}
|
|
@@ -2883,16 +2883,16 @@ interface QueryBorrowRepayRecordsInMarginAccountResponseRowsInner {
|
|
|
2883
2883
|
status?: string;
|
|
2884
2884
|
/**
|
|
2885
2885
|
*
|
|
2886
|
-
* @type {number}
|
|
2886
|
+
* @type {number | bigint}
|
|
2887
2887
|
* @memberof QueryBorrowRepayRecordsInMarginAccountResponseRowsInner
|
|
2888
2888
|
*/
|
|
2889
|
-
timestamp?: number;
|
|
2889
|
+
timestamp?: number | bigint;
|
|
2890
2890
|
/**
|
|
2891
2891
|
*
|
|
2892
|
-
* @type {number}
|
|
2892
|
+
* @type {number | bigint}
|
|
2893
2893
|
* @memberof QueryBorrowRepayRecordsInMarginAccountResponseRowsInner
|
|
2894
2894
|
*/
|
|
2895
|
-
txId?: number;
|
|
2895
|
+
txId?: number | bigint;
|
|
2896
2896
|
}
|
|
2897
2897
|
|
|
2898
2898
|
/**
|
|
@@ -2922,10 +2922,10 @@ interface QueryBorrowRepayRecordsInMarginAccountResponse {
|
|
|
2922
2922
|
rows?: Array<QueryBorrowRepayRecordsInMarginAccountResponseRowsInner>;
|
|
2923
2923
|
/**
|
|
2924
2924
|
*
|
|
2925
|
-
* @type {number}
|
|
2925
|
+
* @type {number | bigint}
|
|
2926
2926
|
* @memberof QueryBorrowRepayRecordsInMarginAccountResponse
|
|
2927
2927
|
*/
|
|
2928
|
-
total?: number;
|
|
2928
|
+
total?: number | bigint;
|
|
2929
2929
|
}
|
|
2930
2930
|
|
|
2931
2931
|
/**
|
|
@@ -2948,22 +2948,22 @@ interface QueryBorrowRepayRecordsInMarginAccountResponse {
|
|
|
2948
2948
|
interface QueryCrossIsolatedMarginCapitalFlowResponseInner {
|
|
2949
2949
|
/**
|
|
2950
2950
|
*
|
|
2951
|
-
* @type {number}
|
|
2951
|
+
* @type {number | bigint}
|
|
2952
2952
|
* @memberof QueryCrossIsolatedMarginCapitalFlowResponseInner
|
|
2953
2953
|
*/
|
|
2954
|
-
id?: number;
|
|
2954
|
+
id?: number | bigint;
|
|
2955
2955
|
/**
|
|
2956
2956
|
*
|
|
2957
|
-
* @type {number}
|
|
2957
|
+
* @type {number | bigint}
|
|
2958
2958
|
* @memberof QueryCrossIsolatedMarginCapitalFlowResponseInner
|
|
2959
2959
|
*/
|
|
2960
|
-
tranId?: number;
|
|
2960
|
+
tranId?: number | bigint;
|
|
2961
2961
|
/**
|
|
2962
2962
|
*
|
|
2963
|
-
* @type {number}
|
|
2963
|
+
* @type {number | bigint}
|
|
2964
2964
|
* @memberof QueryCrossIsolatedMarginCapitalFlowResponseInner
|
|
2965
2965
|
*/
|
|
2966
|
-
timestamp?: number;
|
|
2966
|
+
timestamp?: number | bigint;
|
|
2967
2967
|
/**
|
|
2968
2968
|
*
|
|
2969
2969
|
* @type {string}
|
|
@@ -3192,10 +3192,10 @@ interface QueryCrossMarginAccountDetailsResponse {
|
|
|
3192
3192
|
interface QueryCrossMarginFeeDataResponseInner {
|
|
3193
3193
|
/**
|
|
3194
3194
|
*
|
|
3195
|
-
* @type {number}
|
|
3195
|
+
* @type {number | bigint}
|
|
3196
3196
|
* @memberof QueryCrossMarginFeeDataResponseInner
|
|
3197
3197
|
*/
|
|
3198
|
-
vipLevel?: number;
|
|
3198
|
+
vipLevel?: number | bigint;
|
|
3199
3199
|
/**
|
|
3200
3200
|
*
|
|
3201
3201
|
* @type {string}
|
|
@@ -3293,22 +3293,22 @@ interface QueryCurrentMarginOrderCountUsageResponseInner {
|
|
|
3293
3293
|
interval?: string;
|
|
3294
3294
|
/**
|
|
3295
3295
|
*
|
|
3296
|
-
* @type {number}
|
|
3296
|
+
* @type {number | bigint}
|
|
3297
3297
|
* @memberof QueryCurrentMarginOrderCountUsageResponseInner
|
|
3298
3298
|
*/
|
|
3299
|
-
intervalNum?: number;
|
|
3299
|
+
intervalNum?: number | bigint;
|
|
3300
3300
|
/**
|
|
3301
3301
|
*
|
|
3302
|
-
* @type {number}
|
|
3302
|
+
* @type {number | bigint}
|
|
3303
3303
|
* @memberof QueryCurrentMarginOrderCountUsageResponseInner
|
|
3304
3304
|
*/
|
|
3305
|
-
limit?: number;
|
|
3305
|
+
limit?: number | bigint;
|
|
3306
3306
|
/**
|
|
3307
3307
|
*
|
|
3308
|
-
* @type {number}
|
|
3308
|
+
* @type {number | bigint}
|
|
3309
3309
|
* @memberof QueryCurrentMarginOrderCountUsageResponseInner
|
|
3310
3310
|
*/
|
|
3311
|
-
count?: number;
|
|
3311
|
+
count?: number | bigint;
|
|
3312
3312
|
}
|
|
3313
3313
|
|
|
3314
3314
|
/**
|
|
@@ -3352,16 +3352,16 @@ interface QueryCurrentMarginOrderCountUsageResponse extends Array<QueryCurrentMa
|
|
|
3352
3352
|
interface QueryEnabledIsolatedMarginAccountLimitResponse {
|
|
3353
3353
|
/**
|
|
3354
3354
|
*
|
|
3355
|
-
* @type {number}
|
|
3355
|
+
* @type {number | bigint}
|
|
3356
3356
|
* @memberof QueryEnabledIsolatedMarginAccountLimitResponse
|
|
3357
3357
|
*/
|
|
3358
|
-
enabledAccount?: number;
|
|
3358
|
+
enabledAccount?: number | bigint;
|
|
3359
3359
|
/**
|
|
3360
3360
|
*
|
|
3361
|
-
* @type {number}
|
|
3361
|
+
* @type {number | bigint}
|
|
3362
3362
|
* @memberof QueryEnabledIsolatedMarginAccountLimitResponse
|
|
3363
3363
|
*/
|
|
3364
|
-
maxAccount?: number;
|
|
3364
|
+
maxAccount?: number | bigint;
|
|
3365
3365
|
}
|
|
3366
3366
|
|
|
3367
3367
|
/**
|
|
@@ -3721,10 +3721,10 @@ interface QueryIsolatedMarginFeeDataResponseInnerDataInner {
|
|
|
3721
3721
|
interface QueryIsolatedMarginFeeDataResponseInner {
|
|
3722
3722
|
/**
|
|
3723
3723
|
*
|
|
3724
|
-
* @type {number}
|
|
3724
|
+
* @type {number | bigint}
|
|
3725
3725
|
* @memberof QueryIsolatedMarginFeeDataResponseInner
|
|
3726
3726
|
*/
|
|
3727
|
-
vipLevel?: number;
|
|
3727
|
+
vipLevel?: number | bigint;
|
|
3728
3728
|
/**
|
|
3729
3729
|
*
|
|
3730
3730
|
* @type {string}
|
|
@@ -3792,10 +3792,10 @@ interface QueryIsolatedMarginTierDataResponseInner {
|
|
|
3792
3792
|
symbol?: string;
|
|
3793
3793
|
/**
|
|
3794
3794
|
*
|
|
3795
|
-
* @type {number}
|
|
3795
|
+
* @type {number | bigint}
|
|
3796
3796
|
* @memberof QueryIsolatedMarginTierDataResponseInner
|
|
3797
3797
|
*/
|
|
3798
|
-
tier?: number;
|
|
3798
|
+
tier?: number | bigint;
|
|
3799
3799
|
/**
|
|
3800
3800
|
*
|
|
3801
3801
|
* @type {string}
|
|
@@ -3869,10 +3869,10 @@ interface QueryIsolatedMarginTierDataResponse extends Array<QueryIsolatedMarginT
|
|
|
3869
3869
|
interface QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner {
|
|
3870
3870
|
/**
|
|
3871
3871
|
*
|
|
3872
|
-
* @type {number}
|
|
3872
|
+
* @type {number | bigint}
|
|
3873
3873
|
* @memberof QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner
|
|
3874
3874
|
*/
|
|
3875
|
-
leverage?: number;
|
|
3875
|
+
leverage?: number | bigint;
|
|
3876
3876
|
/**
|
|
3877
3877
|
*
|
|
3878
3878
|
* @type {number}
|
|
@@ -3926,10 +3926,10 @@ interface QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner {
|
|
|
3926
3926
|
assetNames?: Array<string>;
|
|
3927
3927
|
/**
|
|
3928
3928
|
*
|
|
3929
|
-
* @type {number}
|
|
3929
|
+
* @type {number | bigint}
|
|
3930
3930
|
* @memberof QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner
|
|
3931
3931
|
*/
|
|
3932
|
-
rank?: number;
|
|
3932
|
+
rank?: number | bigint;
|
|
3933
3933
|
/**
|
|
3934
3934
|
*
|
|
3935
3935
|
* @type {Array<QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner>}
|
|
@@ -3985,10 +3985,10 @@ interface QueryMarginAccountsAllOcoResponseInnerOrdersInner {
|
|
|
3985
3985
|
symbol?: string;
|
|
3986
3986
|
/**
|
|
3987
3987
|
*
|
|
3988
|
-
* @type {number}
|
|
3988
|
+
* @type {number | bigint}
|
|
3989
3989
|
* @memberof QueryMarginAccountsAllOcoResponseInnerOrdersInner
|
|
3990
3990
|
*/
|
|
3991
|
-
orderId?: number;
|
|
3991
|
+
orderId?: number | bigint;
|
|
3992
3992
|
/**
|
|
3993
3993
|
*
|
|
3994
3994
|
* @type {string}
|
|
@@ -4018,10 +4018,10 @@ interface QueryMarginAccountsAllOcoResponseInnerOrdersInner {
|
|
|
4018
4018
|
interface QueryMarginAccountsAllOcoResponseInner {
|
|
4019
4019
|
/**
|
|
4020
4020
|
*
|
|
4021
|
-
* @type {number}
|
|
4021
|
+
* @type {number | bigint}
|
|
4022
4022
|
* @memberof QueryMarginAccountsAllOcoResponseInner
|
|
4023
4023
|
*/
|
|
4024
|
-
orderListId?: number;
|
|
4024
|
+
orderListId?: number | bigint;
|
|
4025
4025
|
/**
|
|
4026
4026
|
*
|
|
4027
4027
|
* @type {string}
|
|
@@ -4048,10 +4048,10 @@ interface QueryMarginAccountsAllOcoResponseInner {
|
|
|
4048
4048
|
listClientOrderId?: string;
|
|
4049
4049
|
/**
|
|
4050
4050
|
*
|
|
4051
|
-
* @type {number}
|
|
4051
|
+
* @type {number | bigint}
|
|
4052
4052
|
* @memberof QueryMarginAccountsAllOcoResponseInner
|
|
4053
4053
|
*/
|
|
4054
|
-
transactionTime?: number;
|
|
4054
|
+
transactionTime?: number | bigint;
|
|
4055
4055
|
/**
|
|
4056
4056
|
*
|
|
4057
4057
|
* @type {string}
|
|
@@ -4143,10 +4143,10 @@ interface QueryMarginAccountsAllOrdersResponseInner {
|
|
|
4143
4143
|
isWorking?: boolean;
|
|
4144
4144
|
/**
|
|
4145
4145
|
*
|
|
4146
|
-
* @type {number}
|
|
4146
|
+
* @type {number | bigint}
|
|
4147
4147
|
* @memberof QueryMarginAccountsAllOrdersResponseInner
|
|
4148
4148
|
*/
|
|
4149
|
-
orderId?: number;
|
|
4149
|
+
orderId?: number | bigint;
|
|
4150
4150
|
/**
|
|
4151
4151
|
*
|
|
4152
4152
|
* @type {string}
|
|
@@ -4191,10 +4191,10 @@ interface QueryMarginAccountsAllOrdersResponseInner {
|
|
|
4191
4191
|
isIsolated?: boolean;
|
|
4192
4192
|
/**
|
|
4193
4193
|
*
|
|
4194
|
-
* @type {number}
|
|
4194
|
+
* @type {number | bigint}
|
|
4195
4195
|
* @memberof QueryMarginAccountsAllOrdersResponseInner
|
|
4196
4196
|
*/
|
|
4197
|
-
time?: number;
|
|
4197
|
+
time?: number | bigint;
|
|
4198
4198
|
/**
|
|
4199
4199
|
*
|
|
4200
4200
|
* @type {string}
|
|
@@ -4215,10 +4215,10 @@ interface QueryMarginAccountsAllOrdersResponseInner {
|
|
|
4215
4215
|
selfTradePreventionMode?: string;
|
|
4216
4216
|
/**
|
|
4217
4217
|
*
|
|
4218
|
-
* @type {number}
|
|
4218
|
+
* @type {number | bigint}
|
|
4219
4219
|
* @memberof QueryMarginAccountsAllOrdersResponseInner
|
|
4220
4220
|
*/
|
|
4221
|
-
updateTime?: number;
|
|
4221
|
+
updateTime?: number | bigint;
|
|
4222
4222
|
}
|
|
4223
4223
|
|
|
4224
4224
|
/**
|
|
@@ -4268,10 +4268,10 @@ interface QueryMarginAccountsOcoResponseOrdersInner {
|
|
|
4268
4268
|
symbol?: string;
|
|
4269
4269
|
/**
|
|
4270
4270
|
*
|
|
4271
|
-
* @type {number}
|
|
4271
|
+
* @type {number | bigint}
|
|
4272
4272
|
* @memberof QueryMarginAccountsOcoResponseOrdersInner
|
|
4273
4273
|
*/
|
|
4274
|
-
orderId?: number;
|
|
4274
|
+
orderId?: number | bigint;
|
|
4275
4275
|
/**
|
|
4276
4276
|
*
|
|
4277
4277
|
* @type {string}
|
|
@@ -4301,10 +4301,10 @@ interface QueryMarginAccountsOcoResponseOrdersInner {
|
|
|
4301
4301
|
interface QueryMarginAccountsOcoResponse {
|
|
4302
4302
|
/**
|
|
4303
4303
|
*
|
|
4304
|
-
* @type {number}
|
|
4304
|
+
* @type {number | bigint}
|
|
4305
4305
|
* @memberof QueryMarginAccountsOcoResponse
|
|
4306
4306
|
*/
|
|
4307
|
-
orderListId?: number;
|
|
4307
|
+
orderListId?: number | bigint;
|
|
4308
4308
|
/**
|
|
4309
4309
|
*
|
|
4310
4310
|
* @type {string}
|
|
@@ -4331,10 +4331,10 @@ interface QueryMarginAccountsOcoResponse {
|
|
|
4331
4331
|
listClientOrderId?: string;
|
|
4332
4332
|
/**
|
|
4333
4333
|
*
|
|
4334
|
-
* @type {number}
|
|
4334
|
+
* @type {number | bigint}
|
|
4335
4335
|
* @memberof QueryMarginAccountsOcoResponse
|
|
4336
4336
|
*/
|
|
4337
|
-
transactionTime?: number;
|
|
4337
|
+
transactionTime?: number | bigint;
|
|
4338
4338
|
/**
|
|
4339
4339
|
*
|
|
4340
4340
|
* @type {string}
|
|
@@ -4381,10 +4381,10 @@ interface QueryMarginAccountsOpenOcoResponseInnerOrdersInner {
|
|
|
4381
4381
|
symbol?: string;
|
|
4382
4382
|
/**
|
|
4383
4383
|
*
|
|
4384
|
-
* @type {number}
|
|
4384
|
+
* @type {number | bigint}
|
|
4385
4385
|
* @memberof QueryMarginAccountsOpenOcoResponseInnerOrdersInner
|
|
4386
4386
|
*/
|
|
4387
|
-
orderId?: number;
|
|
4387
|
+
orderId?: number | bigint;
|
|
4388
4388
|
/**
|
|
4389
4389
|
*
|
|
4390
4390
|
* @type {string}
|
|
@@ -4414,10 +4414,10 @@ interface QueryMarginAccountsOpenOcoResponseInnerOrdersInner {
|
|
|
4414
4414
|
interface QueryMarginAccountsOpenOcoResponseInner {
|
|
4415
4415
|
/**
|
|
4416
4416
|
*
|
|
4417
|
-
* @type {number}
|
|
4417
|
+
* @type {number | bigint}
|
|
4418
4418
|
* @memberof QueryMarginAccountsOpenOcoResponseInner
|
|
4419
4419
|
*/
|
|
4420
|
-
orderListId?: number;
|
|
4420
|
+
orderListId?: number | bigint;
|
|
4421
4421
|
/**
|
|
4422
4422
|
*
|
|
4423
4423
|
* @type {string}
|
|
@@ -4444,10 +4444,10 @@ interface QueryMarginAccountsOpenOcoResponseInner {
|
|
|
4444
4444
|
listClientOrderId?: string;
|
|
4445
4445
|
/**
|
|
4446
4446
|
*
|
|
4447
|
-
* @type {number}
|
|
4447
|
+
* @type {number | bigint}
|
|
4448
4448
|
* @memberof QueryMarginAccountsOpenOcoResponseInner
|
|
4449
4449
|
*/
|
|
4450
|
-
transactionTime?: number;
|
|
4450
|
+
transactionTime?: number | bigint;
|
|
4451
4451
|
/**
|
|
4452
4452
|
*
|
|
4453
4453
|
* @type {string}
|
|
@@ -4539,10 +4539,10 @@ interface QueryMarginAccountsOpenOrdersResponseInner {
|
|
|
4539
4539
|
isWorking?: boolean;
|
|
4540
4540
|
/**
|
|
4541
4541
|
*
|
|
4542
|
-
* @type {number}
|
|
4542
|
+
* @type {number | bigint}
|
|
4543
4543
|
* @memberof QueryMarginAccountsOpenOrdersResponseInner
|
|
4544
4544
|
*/
|
|
4545
|
-
orderId?: number;
|
|
4545
|
+
orderId?: number | bigint;
|
|
4546
4546
|
/**
|
|
4547
4547
|
*
|
|
4548
4548
|
* @type {string}
|
|
@@ -4587,10 +4587,10 @@ interface QueryMarginAccountsOpenOrdersResponseInner {
|
|
|
4587
4587
|
isIsolated?: boolean;
|
|
4588
4588
|
/**
|
|
4589
4589
|
*
|
|
4590
|
-
* @type {number}
|
|
4590
|
+
* @type {number | bigint}
|
|
4591
4591
|
* @memberof QueryMarginAccountsOpenOrdersResponseInner
|
|
4592
4592
|
*/
|
|
4593
|
-
time?: number;
|
|
4593
|
+
time?: number | bigint;
|
|
4594
4594
|
/**
|
|
4595
4595
|
*
|
|
4596
4596
|
* @type {string}
|
|
@@ -4611,10 +4611,10 @@ interface QueryMarginAccountsOpenOrdersResponseInner {
|
|
|
4611
4611
|
selfTradePreventionMode?: string;
|
|
4612
4612
|
/**
|
|
4613
4613
|
*
|
|
4614
|
-
* @type {number}
|
|
4614
|
+
* @type {number | bigint}
|
|
4615
4615
|
* @memberof QueryMarginAccountsOpenOrdersResponseInner
|
|
4616
4616
|
*/
|
|
4617
|
-
updateTime?: number;
|
|
4617
|
+
updateTime?: number | bigint;
|
|
4618
4618
|
}
|
|
4619
4619
|
|
|
4620
4620
|
/**
|
|
@@ -4688,10 +4688,10 @@ interface QueryMarginAccountsOrderResponse {
|
|
|
4688
4688
|
isWorking?: boolean;
|
|
4689
4689
|
/**
|
|
4690
4690
|
*
|
|
4691
|
-
* @type {number}
|
|
4691
|
+
* @type {number | bigint}
|
|
4692
4692
|
* @memberof QueryMarginAccountsOrderResponse
|
|
4693
4693
|
*/
|
|
4694
|
-
orderId?: number;
|
|
4694
|
+
orderId?: number | bigint;
|
|
4695
4695
|
/**
|
|
4696
4696
|
*
|
|
4697
4697
|
* @type {string}
|
|
@@ -4736,10 +4736,10 @@ interface QueryMarginAccountsOrderResponse {
|
|
|
4736
4736
|
isIsolated?: boolean;
|
|
4737
4737
|
/**
|
|
4738
4738
|
*
|
|
4739
|
-
* @type {number}
|
|
4739
|
+
* @type {number | bigint}
|
|
4740
4740
|
* @memberof QueryMarginAccountsOrderResponse
|
|
4741
4741
|
*/
|
|
4742
|
-
time?: number;
|
|
4742
|
+
time?: number | bigint;
|
|
4743
4743
|
/**
|
|
4744
4744
|
*
|
|
4745
4745
|
* @type {string}
|
|
@@ -4760,10 +4760,10 @@ interface QueryMarginAccountsOrderResponse {
|
|
|
4760
4760
|
selfTradePreventionMode?: string;
|
|
4761
4761
|
/**
|
|
4762
4762
|
*
|
|
4763
|
-
* @type {number}
|
|
4763
|
+
* @type {number | bigint}
|
|
4764
4764
|
* @memberof QueryMarginAccountsOrderResponse
|
|
4765
4765
|
*/
|
|
4766
|
-
updateTime?: number;
|
|
4766
|
+
updateTime?: number | bigint;
|
|
4767
4767
|
}
|
|
4768
4768
|
|
|
4769
4769
|
/**
|
|
@@ -4798,10 +4798,10 @@ interface QueryMarginAccountsTradeListResponseInner {
|
|
|
4798
4798
|
commissionAsset?: string;
|
|
4799
4799
|
/**
|
|
4800
4800
|
*
|
|
4801
|
-
* @type {number}
|
|
4801
|
+
* @type {number | bigint}
|
|
4802
4802
|
* @memberof QueryMarginAccountsTradeListResponseInner
|
|
4803
4803
|
*/
|
|
4804
|
-
id?: number;
|
|
4804
|
+
id?: number | bigint;
|
|
4805
4805
|
/**
|
|
4806
4806
|
*
|
|
4807
4807
|
* @type {boolean}
|
|
@@ -4822,10 +4822,10 @@ interface QueryMarginAccountsTradeListResponseInner {
|
|
|
4822
4822
|
isMaker?: boolean;
|
|
4823
4823
|
/**
|
|
4824
4824
|
*
|
|
4825
|
-
* @type {number}
|
|
4825
|
+
* @type {number | bigint}
|
|
4826
4826
|
* @memberof QueryMarginAccountsTradeListResponseInner
|
|
4827
4827
|
*/
|
|
4828
|
-
orderId?: number;
|
|
4828
|
+
orderId?: number | bigint;
|
|
4829
4829
|
/**
|
|
4830
4830
|
*
|
|
4831
4831
|
* @type {string}
|
|
@@ -4852,10 +4852,10 @@ interface QueryMarginAccountsTradeListResponseInner {
|
|
|
4852
4852
|
isIsolated?: boolean;
|
|
4853
4853
|
/**
|
|
4854
4854
|
*
|
|
4855
|
-
* @type {number}
|
|
4855
|
+
* @type {number | bigint}
|
|
4856
4856
|
* @memberof QueryMarginAccountsTradeListResponseInner
|
|
4857
4857
|
*/
|
|
4858
|
-
time?: number;
|
|
4858
|
+
time?: number | bigint;
|
|
4859
4859
|
}
|
|
4860
4860
|
|
|
4861
4861
|
/**
|
|
@@ -4950,10 +4950,10 @@ interface QueryMarginAvailableInventoryResponse {
|
|
|
4950
4950
|
assets?: QueryMarginAvailableInventoryResponseAssets;
|
|
4951
4951
|
/**
|
|
4952
4952
|
*
|
|
4953
|
-
* @type {number}
|
|
4953
|
+
* @type {number | bigint}
|
|
4954
4954
|
* @memberof QueryMarginAvailableInventoryResponse
|
|
4955
4955
|
*/
|
|
4956
|
-
updateTime?: number;
|
|
4956
|
+
updateTime?: number | bigint;
|
|
4957
4957
|
}
|
|
4958
4958
|
|
|
4959
4959
|
/**
|
|
@@ -4988,16 +4988,16 @@ interface QueryMarginInterestRateHistoryResponseInner {
|
|
|
4988
4988
|
dailyInterestRate?: string;
|
|
4989
4989
|
/**
|
|
4990
4990
|
*
|
|
4991
|
-
* @type {number}
|
|
4991
|
+
* @type {number | bigint}
|
|
4992
4992
|
* @memberof QueryMarginInterestRateHistoryResponseInner
|
|
4993
4993
|
*/
|
|
4994
|
-
timestamp?: number;
|
|
4994
|
+
timestamp?: number | bigint;
|
|
4995
4995
|
/**
|
|
4996
4996
|
*
|
|
4997
|
-
* @type {number}
|
|
4997
|
+
* @type {number | bigint}
|
|
4998
4998
|
* @memberof QueryMarginInterestRateHistoryResponseInner
|
|
4999
4999
|
*/
|
|
5000
|
-
vipLevel?: number;
|
|
5000
|
+
vipLevel?: number | bigint;
|
|
5001
5001
|
}
|
|
5002
5002
|
|
|
5003
5003
|
/**
|
|
@@ -5041,10 +5041,10 @@ interface QueryMarginInterestRateHistoryResponse extends Array<QueryMarginIntere
|
|
|
5041
5041
|
interface QueryMarginPriceindexResponse {
|
|
5042
5042
|
/**
|
|
5043
5043
|
*
|
|
5044
|
-
* @type {number}
|
|
5044
|
+
* @type {number | bigint}
|
|
5045
5045
|
* @memberof QueryMarginPriceindexResponse
|
|
5046
5046
|
*/
|
|
5047
|
-
calcTime?: number;
|
|
5047
|
+
calcTime?: number | bigint;
|
|
5048
5048
|
/**
|
|
5049
5049
|
*
|
|
5050
5050
|
* @type {string}
|
|
@@ -6850,9 +6850,19 @@ declare class RiskDataStreamApi implements RiskDataStreamApiInterface {
|
|
|
6850
6850
|
*/
|
|
6851
6851
|
interface TradeApiInterface {
|
|
6852
6852
|
/**
|
|
6853
|
-
*
|
|
6853
|
+
* - Binance Margin offers low-latency trading through a [special key](https://www.binance.com/en/support/faq/frequently-asked-questions-on-margin-special-api-key-3208663e900d4d2e9fec4140e1832f4e), available exclusively to users with VIP level 4 or higher.
|
|
6854
|
+
* - If you are VIP level 3 or below, please contact your VIP manager for eligibility criterias.**
|
|
6855
|
+
*
|
|
6856
|
+
**Supported Products:**
|
|
6857
|
+
*
|
|
6858
|
+
* - Cross Margin
|
|
6859
|
+
* - Isolated Margin
|
|
6860
|
+
* - Portfolio Margin Pro
|
|
6861
|
+
* - Cross Margin Pro (Additional agreement required and subject to meeting eligibility criteria)
|
|
6854
6862
|
*
|
|
6855
|
-
**
|
|
6863
|
+
**Unsupported Products:**
|
|
6864
|
+
*
|
|
6865
|
+
* - Portfolio Margin
|
|
6856
6866
|
*
|
|
6857
6867
|
* We support several types of API keys:
|
|
6858
6868
|
*
|
|
@@ -6862,10 +6872,6 @@ interface TradeApiInterface {
|
|
|
6862
6872
|
*
|
|
6863
6873
|
* We recommend to **use Ed25519 API keys** as it should provide the best performance and security out of all supported key types. We accept PKCS#8 (BEGIN PUBLIC KEY). For how to generate an RSA key pair to send API requests on Binance. Please refer to the document below [FAQ](https://www.binance.com/en/support/faq/how-to-generate-an-rsa-key-pair-to-send-api-requests-on-binance-2b79728f331e43079b27440d9d15c5db) .
|
|
6864
6874
|
*
|
|
6865
|
-
* Read [REST API](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#signed-trade-and-user_data-endpoint-security) or [WebSocket API](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md#request-security) documentation to learn how to use different API keys
|
|
6866
|
-
*
|
|
6867
|
-
* You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
|
|
6868
|
-
*
|
|
6869
6875
|
* Weight: 1(UID)
|
|
6870
6876
|
*
|
|
6871
6877
|
* @summary Create Special Key(Low-Latency Trading)(TRADE)
|
|
@@ -8439,9 +8445,19 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
8439
8445
|
private localVarAxiosParamCreator;
|
|
8440
8446
|
constructor(configuration: ConfigurationRestAPI);
|
|
8441
8447
|
/**
|
|
8442
|
-
*
|
|
8448
|
+
* - Binance Margin offers low-latency trading through a [special key](https://www.binance.com/en/support/faq/frequently-asked-questions-on-margin-special-api-key-3208663e900d4d2e9fec4140e1832f4e), available exclusively to users with VIP level 4 or higher.
|
|
8449
|
+
* - If you are VIP level 3 or below, please contact your VIP manager for eligibility criterias.**
|
|
8450
|
+
*
|
|
8451
|
+
**Supported Products:**
|
|
8452
|
+
*
|
|
8453
|
+
* - Cross Margin
|
|
8454
|
+
* - Isolated Margin
|
|
8455
|
+
* - Portfolio Margin Pro
|
|
8456
|
+
* - Cross Margin Pro (Additional agreement required and subject to meeting eligibility criteria)
|
|
8443
8457
|
*
|
|
8444
|
-
**
|
|
8458
|
+
**Unsupported Products:**
|
|
8459
|
+
*
|
|
8460
|
+
* - Portfolio Margin
|
|
8445
8461
|
*
|
|
8446
8462
|
* We support several types of API keys:
|
|
8447
8463
|
*
|
|
@@ -8451,10 +8467,6 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
8451
8467
|
*
|
|
8452
8468
|
* We recommend to **use Ed25519 API keys** as it should provide the best performance and security out of all supported key types. We accept PKCS#8 (BEGIN PUBLIC KEY). For how to generate an RSA key pair to send API requests on Binance. Please refer to the document below [FAQ](https://www.binance.com/en/support/faq/how-to-generate-an-rsa-key-pair-to-send-api-requests-on-binance-2b79728f331e43079b27440d9d15c5db) .
|
|
8453
8469
|
*
|
|
8454
|
-
* Read [REST API](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#signed-trade-and-user_data-endpoint-security) or [WebSocket API](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md#request-security) documentation to learn how to use different API keys
|
|
8455
|
-
*
|
|
8456
|
-
* You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
|
|
8457
|
-
*
|
|
8458
8470
|
* Weight: 1(UID)
|
|
8459
8471
|
*
|
|
8460
8472
|
* @summary Create Special Key(Low-Latency Trading)(TRADE)
|
|
@@ -8898,6 +8910,7 @@ interface TradeDataStreamApiInterface {
|
|
|
8898
8910
|
* @summary Close Isolated Margin User Data Stream (USER_STREAM)
|
|
8899
8911
|
* @param {CloseIsolatedMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
8900
8912
|
*
|
|
8913
|
+
* @deprecated
|
|
8901
8914
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8902
8915
|
* @memberof TradeDataStreamApiInterface
|
|
8903
8916
|
*/
|
|
@@ -8910,6 +8923,7 @@ interface TradeDataStreamApiInterface {
|
|
|
8910
8923
|
* @summary Close Margin User Data Stream (USER_STREAM)
|
|
8911
8924
|
* @param {CloseMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
8912
8925
|
*
|
|
8926
|
+
* @deprecated
|
|
8913
8927
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8914
8928
|
* @memberof TradeDataStreamApiInterface
|
|
8915
8929
|
*/
|
|
@@ -8922,6 +8936,7 @@ interface TradeDataStreamApiInterface {
|
|
|
8922
8936
|
* @summary Keepalive Isolated Margin User Data Stream (USER_STREAM)
|
|
8923
8937
|
* @param {KeepaliveIsolatedMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
8924
8938
|
*
|
|
8939
|
+
* @deprecated
|
|
8925
8940
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8926
8941
|
* @memberof TradeDataStreamApiInterface
|
|
8927
8942
|
*/
|
|
@@ -8934,6 +8949,7 @@ interface TradeDataStreamApiInterface {
|
|
|
8934
8949
|
* @summary Keepalive Margin User Data Stream (USER_STREAM)
|
|
8935
8950
|
* @param {KeepaliveMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
8936
8951
|
*
|
|
8952
|
+
* @deprecated
|
|
8937
8953
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8938
8954
|
* @memberof TradeDataStreamApiInterface
|
|
8939
8955
|
*/
|
|
@@ -8946,6 +8962,7 @@ interface TradeDataStreamApiInterface {
|
|
|
8946
8962
|
* @summary Start Isolated Margin User Data Stream (USER_STREAM)
|
|
8947
8963
|
* @param {StartIsolatedMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
8948
8964
|
*
|
|
8965
|
+
* @deprecated
|
|
8949
8966
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8950
8967
|
* @memberof TradeDataStreamApiInterface
|
|
8951
8968
|
*/
|
|
@@ -8957,6 +8974,7 @@ interface TradeDataStreamApiInterface {
|
|
|
8957
8974
|
*
|
|
8958
8975
|
* @summary Start Margin User Data Stream (USER_STREAM)
|
|
8959
8976
|
*
|
|
8977
|
+
* @deprecated
|
|
8960
8978
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8961
8979
|
* @memberof TradeDataStreamApiInterface
|
|
8962
8980
|
*/
|
|
@@ -9340,6 +9358,7 @@ declare class RestAPI {
|
|
|
9340
9358
|
*
|
|
9341
9359
|
* @summary Adjust cross margin max leverage (USER_DATA)
|
|
9342
9360
|
* @param {AdjustCrossMarginMaxLeverageRequest} requestParameters Request parameters.
|
|
9361
|
+
*
|
|
9343
9362
|
* @returns {Promise<RestApiResponse<AdjustCrossMarginMaxLeverageResponse>>}
|
|
9344
9363
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9345
9364
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Adjust-cross-margin-max-leverage Binance API Documentation}
|
|
@@ -9353,6 +9372,7 @@ declare class RestAPI {
|
|
|
9353
9372
|
*
|
|
9354
9373
|
* @summary Disable Isolated Margin Account (TRADE)
|
|
9355
9374
|
* @param {DisableIsolatedMarginAccountRequest} requestParameters Request parameters.
|
|
9375
|
+
*
|
|
9356
9376
|
* @returns {Promise<RestApiResponse<DisableIsolatedMarginAccountResponse>>}
|
|
9357
9377
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9358
9378
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Disable-Isolated-Margin-Account Binance API Documentation}
|
|
@@ -9365,6 +9385,7 @@ declare class RestAPI {
|
|
|
9365
9385
|
*
|
|
9366
9386
|
* @summary Enable Isolated Margin Account (TRADE)
|
|
9367
9387
|
* @param {EnableIsolatedMarginAccountRequest} requestParameters Request parameters.
|
|
9388
|
+
*
|
|
9368
9389
|
* @returns {Promise<RestApiResponse<EnableIsolatedMarginAccountResponse>>}
|
|
9369
9390
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9370
9391
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Enable-Isolated-Margin-Account Binance API Documentation}
|
|
@@ -9377,6 +9398,7 @@ declare class RestAPI {
|
|
|
9377
9398
|
*
|
|
9378
9399
|
* @summary Get BNB Burn Status (USER_DATA)
|
|
9379
9400
|
* @param {GetBnbBurnStatusRequest} requestParameters Request parameters.
|
|
9401
|
+
*
|
|
9380
9402
|
* @returns {Promise<RestApiResponse<GetBnbBurnStatusResponse>>}
|
|
9381
9403
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9382
9404
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Get-BNB-Burn-Status Binance API Documentation}
|
|
@@ -9389,6 +9411,7 @@ declare class RestAPI {
|
|
|
9389
9411
|
*
|
|
9390
9412
|
* @summary Get Summary of Margin account (USER_DATA)
|
|
9391
9413
|
* @param {GetSummaryOfMarginAccountRequest} requestParameters Request parameters.
|
|
9414
|
+
*
|
|
9392
9415
|
* @returns {Promise<RestApiResponse<GetSummaryOfMarginAccountResponse>>}
|
|
9393
9416
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9394
9417
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Get-Summary-of-Margin-account Binance API Documentation}
|
|
@@ -9401,6 +9424,7 @@ declare class RestAPI {
|
|
|
9401
9424
|
*
|
|
9402
9425
|
* @summary Query Cross Isolated Margin Capital Flow (USER_DATA)
|
|
9403
9426
|
* @param {QueryCrossIsolatedMarginCapitalFlowRequest} requestParameters Request parameters.
|
|
9427
|
+
*
|
|
9404
9428
|
* @returns {Promise<RestApiResponse<QueryCrossIsolatedMarginCapitalFlowResponse>>}
|
|
9405
9429
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9406
9430
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Cross-Isolated-Margin-Capital-Flow Binance API Documentation}
|
|
@@ -9413,6 +9437,7 @@ declare class RestAPI {
|
|
|
9413
9437
|
*
|
|
9414
9438
|
* @summary Query Cross Margin Account Details (USER_DATA)
|
|
9415
9439
|
* @param {QueryCrossMarginAccountDetailsRequest} requestParameters Request parameters.
|
|
9440
|
+
*
|
|
9416
9441
|
* @returns {Promise<RestApiResponse<QueryCrossMarginAccountDetailsResponse>>}
|
|
9417
9442
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9418
9443
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Cross-Margin-Account-Details Binance API Documentation}
|
|
@@ -9425,6 +9450,7 @@ declare class RestAPI {
|
|
|
9425
9450
|
*
|
|
9426
9451
|
* @summary Query Cross Margin Fee Data (USER_DATA)
|
|
9427
9452
|
* @param {QueryCrossMarginFeeDataRequest} requestParameters Request parameters.
|
|
9453
|
+
*
|
|
9428
9454
|
* @returns {Promise<RestApiResponse<QueryCrossMarginFeeDataResponse>>}
|
|
9429
9455
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9430
9456
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Cross-Margin-Fee-Data Binance API Documentation}
|
|
@@ -9437,6 +9463,7 @@ declare class RestAPI {
|
|
|
9437
9463
|
*
|
|
9438
9464
|
* @summary Query Enabled Isolated Margin Account Limit (USER_DATA)
|
|
9439
9465
|
* @param {QueryEnabledIsolatedMarginAccountLimitRequest} requestParameters Request parameters.
|
|
9466
|
+
*
|
|
9440
9467
|
* @returns {Promise<RestApiResponse<QueryEnabledIsolatedMarginAccountLimitResponse>>}
|
|
9441
9468
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9442
9469
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Enabled-Isolated-Margin-Account-Limit Binance API Documentation}
|
|
@@ -9452,6 +9479,7 @@ declare class RestAPI {
|
|
|
9452
9479
|
*
|
|
9453
9480
|
* @summary Query Isolated Margin Account Info (USER_DATA)
|
|
9454
9481
|
* @param {QueryIsolatedMarginAccountInfoRequest} requestParameters Request parameters.
|
|
9482
|
+
*
|
|
9455
9483
|
* @returns {Promise<RestApiResponse<QueryIsolatedMarginAccountInfoResponse>>}
|
|
9456
9484
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9457
9485
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Isolated-Margin-Account-Info Binance API Documentation}
|
|
@@ -9464,6 +9492,7 @@ declare class RestAPI {
|
|
|
9464
9492
|
*
|
|
9465
9493
|
* @summary Query Isolated Margin Fee Data (USER_DATA)
|
|
9466
9494
|
* @param {QueryIsolatedMarginFeeDataRequest} requestParameters Request parameters.
|
|
9495
|
+
*
|
|
9467
9496
|
* @returns {Promise<RestApiResponse<QueryIsolatedMarginFeeDataResponse>>}
|
|
9468
9497
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9469
9498
|
* @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Isolated-Margin-Fee-Data Binance API Documentation}
|
|
@@ -9476,6 +9505,7 @@ declare class RestAPI {
|
|
|
9476
9505
|
*
|
|
9477
9506
|
* @summary Get future hourly interest rate (USER_DATA)
|
|
9478
9507
|
* @param {GetFutureHourlyInterestRateRequest} requestParameters Request parameters.
|
|
9508
|
+
*
|
|
9479
9509
|
* @returns {Promise<RestApiResponse<GetFutureHourlyInterestRateResponse>>}
|
|
9480
9510
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9481
9511
|
* @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Get-a-future-hourly-interest-rate Binance API Documentation}
|
|
@@ -9501,6 +9531,7 @@ declare class RestAPI {
|
|
|
9501
9531
|
*
|
|
9502
9532
|
* @summary Get Interest History (USER_DATA)
|
|
9503
9533
|
* @param {GetInterestHistoryRequest} requestParameters Request parameters.
|
|
9534
|
+
*
|
|
9504
9535
|
* @returns {Promise<RestApiResponse<GetInterestHistoryResponse>>}
|
|
9505
9536
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9506
9537
|
* @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Get-Interest-History Binance API Documentation}
|
|
@@ -9513,6 +9544,7 @@ declare class RestAPI {
|
|
|
9513
9544
|
*
|
|
9514
9545
|
* @summary Margin account borrow/repay(MARGIN)
|
|
9515
9546
|
* @param {MarginAccountBorrowRepayRequest} requestParameters Request parameters.
|
|
9547
|
+
*
|
|
9516
9548
|
* @returns {Promise<RestApiResponse<MarginAccountBorrowRepayResponse>>}
|
|
9517
9549
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9518
9550
|
* @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Margin-account-borrow-repay Binance API Documentation}
|
|
@@ -9530,6 +9562,7 @@ declare class RestAPI {
|
|
|
9530
9562
|
*
|
|
9531
9563
|
* @summary Query borrow/repay records in Margin account(USER_DATA)
|
|
9532
9564
|
* @param {QueryBorrowRepayRecordsInMarginAccountRequest} requestParameters Request parameters.
|
|
9565
|
+
*
|
|
9533
9566
|
* @returns {Promise<RestApiResponse<QueryBorrowRepayRecordsInMarginAccountResponse>>}
|
|
9534
9567
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9535
9568
|
* @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Query-Borrow-Repay Binance API Documentation}
|
|
@@ -9542,6 +9575,7 @@ declare class RestAPI {
|
|
|
9542
9575
|
*
|
|
9543
9576
|
* @summary Query Margin Interest Rate History (USER_DATA)
|
|
9544
9577
|
* @param {QueryMarginInterestRateHistoryRequest} requestParameters Request parameters.
|
|
9578
|
+
*
|
|
9545
9579
|
* @returns {Promise<RestApiResponse<QueryMarginInterestRateHistoryResponse>>}
|
|
9546
9580
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9547
9581
|
* @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Query-Margin-Interest-Rate-History Binance API Documentation}
|
|
@@ -9557,6 +9591,7 @@ declare class RestAPI {
|
|
|
9557
9591
|
*
|
|
9558
9592
|
* @summary Query Max Borrow (USER_DATA)
|
|
9559
9593
|
* @param {QueryMaxBorrowRequest} requestParameters Request parameters.
|
|
9594
|
+
*
|
|
9560
9595
|
* @returns {Promise<RestApiResponse<QueryMaxBorrowResponse>>}
|
|
9561
9596
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9562
9597
|
* @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Query-Max-Borrow Binance API Documentation}
|
|
@@ -9568,6 +9603,7 @@ declare class RestAPI {
|
|
|
9568
9603
|
* Weight: 100(IP)
|
|
9569
9604
|
*
|
|
9570
9605
|
* @summary Cross margin collateral ratio (MARKET_DATA)
|
|
9606
|
+
*
|
|
9571
9607
|
* @returns {Promise<RestApiResponse<CrossMarginCollateralRatioResponse>>}
|
|
9572
9608
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9573
9609
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Cross-margin-collateral-ratio Binance API Documentation}
|
|
@@ -9580,6 +9616,7 @@ declare class RestAPI {
|
|
|
9580
9616
|
*
|
|
9581
9617
|
* @summary Get All Cross Margin Pairs (MARKET_DATA)
|
|
9582
9618
|
* @param {GetAllCrossMarginPairsRequest} requestParameters Request parameters.
|
|
9619
|
+
*
|
|
9583
9620
|
* @returns {Promise<RestApiResponse<GetAllCrossMarginPairsResponse>>}
|
|
9584
9621
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9585
9622
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-All-Cross-Margin-Pairs Binance API Documentation}
|
|
@@ -9592,6 +9629,7 @@ declare class RestAPI {
|
|
|
9592
9629
|
*
|
|
9593
9630
|
* @summary Get All Isolated Margin Symbol(MARKET_DATA)
|
|
9594
9631
|
* @param {GetAllIsolatedMarginSymbolRequest} requestParameters Request parameters.
|
|
9632
|
+
*
|
|
9595
9633
|
* @returns {Promise<RestApiResponse<GetAllIsolatedMarginSymbolResponse>>}
|
|
9596
9634
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9597
9635
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-All-Isolated-Margin-Symbol Binance API Documentation}
|
|
@@ -9604,6 +9642,7 @@ declare class RestAPI {
|
|
|
9604
9642
|
*
|
|
9605
9643
|
* @summary Get All Margin Assets (MARKET_DATA)
|
|
9606
9644
|
* @param {GetAllMarginAssetsRequest} requestParameters Request parameters.
|
|
9645
|
+
*
|
|
9607
9646
|
* @returns {Promise<RestApiResponse<GetAllMarginAssetsResponse>>}
|
|
9608
9647
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9609
9648
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-All-Margin-Assets Binance API Documentation}
|
|
@@ -9616,6 +9655,7 @@ declare class RestAPI {
|
|
|
9616
9655
|
*
|
|
9617
9656
|
* @summary Get Delist Schedule (MARKET_DATA)
|
|
9618
9657
|
* @param {GetDelistScheduleRequest} requestParameters Request parameters.
|
|
9658
|
+
*
|
|
9619
9659
|
* @returns {Promise<RestApiResponse<GetDelistScheduleResponse>>}
|
|
9620
9660
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9621
9661
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Delist-Schedule Binance API Documentation}
|
|
@@ -9632,6 +9672,7 @@ declare class RestAPI {
|
|
|
9632
9672
|
* Weight: 1
|
|
9633
9673
|
*
|
|
9634
9674
|
* @summary Get Limit Price Pairs(MARKET_DATA)
|
|
9675
|
+
*
|
|
9635
9676
|
* @returns {Promise<RestApiResponse<GetLimitPricePairsResponse>>}
|
|
9636
9677
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9637
9678
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Limit-Price-Pairs Binance API Documentation}
|
|
@@ -9644,6 +9685,7 @@ declare class RestAPI {
|
|
|
9644
9685
|
*
|
|
9645
9686
|
* @summary Get list Schedule (MARKET_DATA)
|
|
9646
9687
|
* @param {GetListScheduleRequest} requestParameters Request parameters.
|
|
9688
|
+
*
|
|
9647
9689
|
* @returns {Promise<RestApiResponse<GetListScheduleResponse>>}
|
|
9648
9690
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9649
9691
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-list-Schedule Binance API Documentation}
|
|
@@ -9656,6 +9698,7 @@ declare class RestAPI {
|
|
|
9656
9698
|
*
|
|
9657
9699
|
* @summary Query Isolated Margin Tier Data (USER_DATA)
|
|
9658
9700
|
* @param {QueryIsolatedMarginTierDataRequest} requestParameters Request parameters.
|
|
9701
|
+
*
|
|
9659
9702
|
* @returns {Promise<RestApiResponse<QueryIsolatedMarginTierDataResponse>>}
|
|
9660
9703
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9661
9704
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Query-Isolated-Margin-Tier-Data Binance API Documentation}
|
|
@@ -9667,6 +9710,7 @@ declare class RestAPI {
|
|
|
9667
9710
|
* Weight: 1
|
|
9668
9711
|
*
|
|
9669
9712
|
* @summary Query Liability Coin Leverage Bracket in Cross Margin Pro Mode(MARKET_DATA)
|
|
9713
|
+
*
|
|
9670
9714
|
* @returns {Promise<RestApiResponse<QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse>>}
|
|
9671
9715
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9672
9716
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Query-Liability-Coin-Leverage-Bracket-in-Cross-Margin-Pro-Mode Binance API Documentation}
|
|
@@ -9679,6 +9723,7 @@ declare class RestAPI {
|
|
|
9679
9723
|
*
|
|
9680
9724
|
* @summary Query Margin Available Inventory(USER_DATA)
|
|
9681
9725
|
* @param {QueryMarginAvailableInventoryRequest} requestParameters Request parameters.
|
|
9726
|
+
*
|
|
9682
9727
|
* @returns {Promise<RestApiResponse<QueryMarginAvailableInventoryResponse>>}
|
|
9683
9728
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9684
9729
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Query-margin-avaliable-inventory Binance API Documentation}
|
|
@@ -9691,6 +9736,7 @@ declare class RestAPI {
|
|
|
9691
9736
|
*
|
|
9692
9737
|
* @summary Query Margin PriceIndex (MARKET_DATA)
|
|
9693
9738
|
* @param {QueryMarginPriceindexRequest} requestParameters Request parameters.
|
|
9739
|
+
*
|
|
9694
9740
|
* @returns {Promise<RestApiResponse<QueryMarginPriceindexResponse>>}
|
|
9695
9741
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9696
9742
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Query-Margin-PriceIndex Binance API Documentation}
|
|
@@ -9702,6 +9748,7 @@ declare class RestAPI {
|
|
|
9702
9748
|
* Weight: 3000
|
|
9703
9749
|
*
|
|
9704
9750
|
* @summary Close User Data Stream (USER_STREAM)
|
|
9751
|
+
*
|
|
9705
9752
|
* @returns {Promise<RestApiResponse<void>>}
|
|
9706
9753
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9707
9754
|
* @see {@link https://developers.binance.com/docs/margin_trading/risk-data-stream/Close-User-Data-Stream Binance API Documentation}
|
|
@@ -9714,6 +9761,7 @@ declare class RestAPI {
|
|
|
9714
9761
|
*
|
|
9715
9762
|
* @summary Keepalive User Data Stream (USER_STREAM)
|
|
9716
9763
|
* @param {KeepaliveUserDataStreamRequest} requestParameters Request parameters.
|
|
9764
|
+
*
|
|
9717
9765
|
* @returns {Promise<RestApiResponse<void>>}
|
|
9718
9766
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9719
9767
|
* @see {@link https://developers.binance.com/docs/margin_trading/risk-data-stream/Keepalive-User-Data-Stream Binance API Documentation}
|
|
@@ -9725,15 +9773,26 @@ declare class RestAPI {
|
|
|
9725
9773
|
* Weight: 1
|
|
9726
9774
|
*
|
|
9727
9775
|
* @summary Start User Data Stream (USER_STREAM)
|
|
9776
|
+
*
|
|
9728
9777
|
* @returns {Promise<RestApiResponse<StartUserDataStreamResponse>>}
|
|
9729
9778
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9730
9779
|
* @see {@link https://developers.binance.com/docs/margin_trading/risk-data-stream/Start-User-Data-Stream Binance API Documentation}
|
|
9731
9780
|
*/
|
|
9732
9781
|
startUserDataStream(): Promise<RestApiResponse<StartUserDataStreamResponse>>;
|
|
9733
9782
|
/**
|
|
9734
|
-
*
|
|
9783
|
+
* - Binance Margin offers low-latency trading through a [special key](https://www.binance.com/en/support/faq/frequently-asked-questions-on-margin-special-api-key-3208663e900d4d2e9fec4140e1832f4e), available exclusively to users with VIP level 4 or higher.
|
|
9784
|
+
* - If you are VIP level 3 or below, please contact your VIP manager for eligibility criterias.**
|
|
9735
9785
|
*
|
|
9736
|
-
**
|
|
9786
|
+
**Supported Products:**
|
|
9787
|
+
*
|
|
9788
|
+
* - Cross Margin
|
|
9789
|
+
* - Isolated Margin
|
|
9790
|
+
* - Portfolio Margin Pro
|
|
9791
|
+
* - Cross Margin Pro (Additional agreement required and subject to meeting eligibility criteria)
|
|
9792
|
+
*
|
|
9793
|
+
**Unsupported Products:**
|
|
9794
|
+
*
|
|
9795
|
+
* - Portfolio Margin
|
|
9737
9796
|
*
|
|
9738
9797
|
* We support several types of API keys:
|
|
9739
9798
|
*
|
|
@@ -9743,14 +9802,11 @@ declare class RestAPI {
|
|
|
9743
9802
|
*
|
|
9744
9803
|
* We recommend to **use Ed25519 API keys** as it should provide the best performance and security out of all supported key types. We accept PKCS#8 (BEGIN PUBLIC KEY). For how to generate an RSA key pair to send API requests on Binance. Please refer to the document below [FAQ](https://www.binance.com/en/support/faq/how-to-generate-an-rsa-key-pair-to-send-api-requests-on-binance-2b79728f331e43079b27440d9d15c5db) .
|
|
9745
9804
|
*
|
|
9746
|
-
* Read [REST API](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#signed-trade-and-user_data-endpoint-security) or [WebSocket API](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md#request-security) documentation to learn how to use different API keys
|
|
9747
|
-
*
|
|
9748
|
-
* You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
|
|
9749
|
-
*
|
|
9750
9805
|
* Weight: 1(UID)
|
|
9751
9806
|
*
|
|
9752
9807
|
* @summary Create Special Key(Low-Latency Trading)(TRADE)
|
|
9753
9808
|
* @param {CreateSpecialKeyRequest} requestParameters Request parameters.
|
|
9809
|
+
*
|
|
9754
9810
|
* @returns {Promise<RestApiResponse<CreateSpecialKeyResponse>>}
|
|
9755
9811
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9756
9812
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Create-Special-Key-of-Low-Latency-Trading Binance API Documentation}
|
|
@@ -9767,6 +9823,7 @@ declare class RestAPI {
|
|
|
9767
9823
|
*
|
|
9768
9824
|
* @summary Delete Special Key(Low-Latency Trading)(TRADE)
|
|
9769
9825
|
* @param {DeleteSpecialKeyRequest} requestParameters Request parameters.
|
|
9826
|
+
*
|
|
9770
9827
|
* @returns {Promise<RestApiResponse<void>>}
|
|
9771
9828
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9772
9829
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Delete-Special-Key-of-Low-Latency-Trading Binance API Documentation}
|
|
@@ -9781,6 +9838,7 @@ declare class RestAPI {
|
|
|
9781
9838
|
*
|
|
9782
9839
|
* @summary Edit ip for Special Key(Low-Latency Trading)(TRADE)
|
|
9783
9840
|
* @param {EditIpForSpecialKeyRequest} requestParameters Request parameters.
|
|
9841
|
+
*
|
|
9784
9842
|
* @returns {Promise<RestApiResponse<void>>}
|
|
9785
9843
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9786
9844
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Edit-ip-for-Special-Key-of-Low-Latency-Trading Binance API Documentation}
|
|
@@ -9795,6 +9853,7 @@ declare class RestAPI {
|
|
|
9795
9853
|
*
|
|
9796
9854
|
* @summary Get Force Liquidation Record (USER_DATA)
|
|
9797
9855
|
* @param {GetForceLiquidationRecordRequest} requestParameters Request parameters.
|
|
9856
|
+
*
|
|
9798
9857
|
* @returns {Promise<RestApiResponse<GetForceLiquidationRecordResponse>>}
|
|
9799
9858
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9800
9859
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Get-Force-Liquidation-Record Binance API Documentation}
|
|
@@ -9807,6 +9866,7 @@ declare class RestAPI {
|
|
|
9807
9866
|
*
|
|
9808
9867
|
* @summary Get Small Liability Exchange Coin List (USER_DATA)
|
|
9809
9868
|
* @param {GetSmallLiabilityExchangeCoinListRequest} requestParameters Request parameters.
|
|
9869
|
+
*
|
|
9810
9870
|
* @returns {Promise<RestApiResponse<GetSmallLiabilityExchangeCoinListResponse>>}
|
|
9811
9871
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9812
9872
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Get-Small-Liability-Exchange-Coin-List Binance API Documentation}
|
|
@@ -9819,6 +9879,7 @@ declare class RestAPI {
|
|
|
9819
9879
|
*
|
|
9820
9880
|
* @summary Get Small Liability Exchange History (USER_DATA)
|
|
9821
9881
|
* @param {GetSmallLiabilityExchangeHistoryRequest} requestParameters Request parameters.
|
|
9882
|
+
*
|
|
9822
9883
|
* @returns {Promise<RestApiResponse<GetSmallLiabilityExchangeHistoryResponse>>}
|
|
9823
9884
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9824
9885
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Get-Small-Liability-Exchange-History Binance API Documentation}
|
|
@@ -9832,6 +9893,7 @@ declare class RestAPI {
|
|
|
9832
9893
|
*
|
|
9833
9894
|
* @summary Margin Account Cancel all Open Orders on a Symbol (TRADE)
|
|
9834
9895
|
* @param {MarginAccountCancelAllOpenOrdersOnASymbolRequest} requestParameters Request parameters.
|
|
9896
|
+
*
|
|
9835
9897
|
* @returns {Promise<RestApiResponse<MarginAccountCancelAllOpenOrdersOnASymbolResponse>>}
|
|
9836
9898
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9837
9899
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-Cancel-All-Open-Orders Binance API Documentation}
|
|
@@ -9846,6 +9908,7 @@ declare class RestAPI {
|
|
|
9846
9908
|
*
|
|
9847
9909
|
* @summary Margin Account Cancel OCO (TRADE)
|
|
9848
9910
|
* @param {MarginAccountCancelOcoRequest} requestParameters Request parameters.
|
|
9911
|
+
*
|
|
9849
9912
|
* @returns {Promise<RestApiResponse<MarginAccountCancelOcoResponse>>}
|
|
9850
9913
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9851
9914
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-Cancel-OCO Binance API Documentation}
|
|
@@ -9860,6 +9923,7 @@ declare class RestAPI {
|
|
|
9860
9923
|
*
|
|
9861
9924
|
* @summary Margin Account Cancel Order (TRADE)
|
|
9862
9925
|
* @param {MarginAccountCancelOrderRequest} requestParameters Request parameters.
|
|
9926
|
+
*
|
|
9863
9927
|
* @returns {Promise<RestApiResponse<MarginAccountCancelOrderResponse>>}
|
|
9864
9928
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9865
9929
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-Cancel-Order Binance API Documentation}
|
|
@@ -9874,6 +9938,7 @@ declare class RestAPI {
|
|
|
9874
9938
|
*
|
|
9875
9939
|
* @summary Margin Account New OCO (TRADE)
|
|
9876
9940
|
* @param {MarginAccountNewOcoRequest} requestParameters Request parameters.
|
|
9941
|
+
*
|
|
9877
9942
|
* @returns {Promise<RestApiResponse<MarginAccountNewOcoResponse>>}
|
|
9878
9943
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9879
9944
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-OCO Binance API Documentation}
|
|
@@ -9888,6 +9953,7 @@ declare class RestAPI {
|
|
|
9888
9953
|
*
|
|
9889
9954
|
* @summary Margin Account New Order (TRADE)
|
|
9890
9955
|
* @param {MarginAccountNewOrderRequest} requestParameters Request parameters.
|
|
9956
|
+
*
|
|
9891
9957
|
* @returns {Promise<RestApiResponse<MarginAccountNewOrderResponse>>}
|
|
9892
9958
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9893
9959
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-Order Binance API Documentation}
|
|
@@ -9910,6 +9976,7 @@ declare class RestAPI {
|
|
|
9910
9976
|
*
|
|
9911
9977
|
* @summary Margin Account New OTO (TRADE)
|
|
9912
9978
|
* @param {MarginAccountNewOtoRequest} requestParameters Request parameters.
|
|
9979
|
+
*
|
|
9913
9980
|
* @returns {Promise<RestApiResponse<MarginAccountNewOtoResponse>>}
|
|
9914
9981
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9915
9982
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-OTO Binance API Documentation}
|
|
@@ -9932,6 +9999,7 @@ declare class RestAPI {
|
|
|
9932
9999
|
*
|
|
9933
10000
|
* @summary Margin Account New OTOCO (TRADE)
|
|
9934
10001
|
* @param {MarginAccountNewOtocoRequest} requestParameters Request parameters.
|
|
10002
|
+
*
|
|
9935
10003
|
* @returns {Promise<RestApiResponse<MarginAccountNewOtocoResponse>>}
|
|
9936
10004
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9937
10005
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-OTOCO Binance API Documentation}
|
|
@@ -9947,6 +10015,7 @@ declare class RestAPI {
|
|
|
9947
10015
|
*
|
|
9948
10016
|
* @summary Margin Manual Liquidation(MARGIN)
|
|
9949
10017
|
* @param {MarginManualLiquidationRequest} requestParameters Request parameters.
|
|
10018
|
+
*
|
|
9950
10019
|
* @returns {Promise<RestApiResponse<MarginManualLiquidationResponse>>}
|
|
9951
10020
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9952
10021
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Manual-Liquidation Binance API Documentation}
|
|
@@ -9959,6 +10028,7 @@ declare class RestAPI {
|
|
|
9959
10028
|
*
|
|
9960
10029
|
* @summary Query Current Margin Order Count Usage (TRADE)
|
|
9961
10030
|
* @param {QueryCurrentMarginOrderCountUsageRequest} requestParameters Request parameters.
|
|
10031
|
+
*
|
|
9962
10032
|
* @returns {Promise<RestApiResponse<QueryCurrentMarginOrderCountUsageResponse>>}
|
|
9963
10033
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9964
10034
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Current-Margin-Order-Count-Usage Binance API Documentation}
|
|
@@ -9971,6 +10041,7 @@ declare class RestAPI {
|
|
|
9971
10041
|
*
|
|
9972
10042
|
* @summary Query Margin Account\'s all OCO (USER_DATA)
|
|
9973
10043
|
* @param {QueryMarginAccountsAllOcoRequest} requestParameters Request parameters.
|
|
10044
|
+
*
|
|
9974
10045
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsAllOcoResponse>>}
|
|
9975
10046
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9976
10047
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-all-OCO Binance API Documentation}
|
|
@@ -9987,6 +10058,7 @@ declare class RestAPI {
|
|
|
9987
10058
|
*
|
|
9988
10059
|
* @summary Query Margin Account\'s All Orders (USER_DATA)
|
|
9989
10060
|
* @param {QueryMarginAccountsAllOrdersRequest} requestParameters Request parameters.
|
|
10061
|
+
*
|
|
9990
10062
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsAllOrdersResponse>>}
|
|
9991
10063
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9992
10064
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-All-Orders Binance API Documentation}
|
|
@@ -9999,6 +10071,7 @@ declare class RestAPI {
|
|
|
9999
10071
|
*
|
|
10000
10072
|
* @summary Query Margin Account\'s OCO (USER_DATA)
|
|
10001
10073
|
* @param {QueryMarginAccountsOcoRequest} requestParameters Request parameters.
|
|
10074
|
+
*
|
|
10002
10075
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsOcoResponse>>}
|
|
10003
10076
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10004
10077
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-OCO Binance API Documentation}
|
|
@@ -10011,6 +10084,7 @@ declare class RestAPI {
|
|
|
10011
10084
|
*
|
|
10012
10085
|
* @summary Query Margin Account\'s Open OCO (USER_DATA)
|
|
10013
10086
|
* @param {QueryMarginAccountsOpenOcoRequest} requestParameters Request parameters.
|
|
10087
|
+
*
|
|
10014
10088
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsOpenOcoResponse>>}
|
|
10015
10089
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10016
10090
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Open-OCO Binance API Documentation}
|
|
@@ -10027,6 +10101,7 @@ declare class RestAPI {
|
|
|
10027
10101
|
*
|
|
10028
10102
|
* @summary Query Margin Account\'s Open Orders (USER_DATA)
|
|
10029
10103
|
* @param {QueryMarginAccountsOpenOrdersRequest} requestParameters Request parameters.
|
|
10104
|
+
*
|
|
10030
10105
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsOpenOrdersResponse>>}
|
|
10031
10106
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10032
10107
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Open-Orders Binance API Documentation}
|
|
@@ -10042,6 +10117,7 @@ declare class RestAPI {
|
|
|
10042
10117
|
*
|
|
10043
10118
|
* @summary Query Margin Account\'s Order (USER_DATA)
|
|
10044
10119
|
* @param {QueryMarginAccountsOrderRequest} requestParameters Request parameters.
|
|
10120
|
+
*
|
|
10045
10121
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsOrderResponse>>}
|
|
10046
10122
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10047
10123
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Order Binance API Documentation}
|
|
@@ -10057,6 +10133,7 @@ declare class RestAPI {
|
|
|
10057
10133
|
*
|
|
10058
10134
|
* @summary Query Margin Account\'s Trade List (USER_DATA)
|
|
10059
10135
|
* @param {QueryMarginAccountsTradeListRequest} requestParameters Request parameters.
|
|
10136
|
+
*
|
|
10060
10137
|
* @returns {Promise<RestApiResponse<QueryMarginAccountsTradeListResponse>>}
|
|
10061
10138
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10062
10139
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Trade-List Binance API Documentation}
|
|
@@ -10071,6 +10148,7 @@ declare class RestAPI {
|
|
|
10071
10148
|
*
|
|
10072
10149
|
* @summary Query Special key(Low Latency Trading)(TRADE)
|
|
10073
10150
|
* @param {QuerySpecialKeyRequest} requestParameters Request parameters.
|
|
10151
|
+
*
|
|
10074
10152
|
* @returns {Promise<RestApiResponse<QuerySpecialKeyResponse>>}
|
|
10075
10153
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10076
10154
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Special-Key-of-Low-Latency-Trading Binance API Documentation}
|
|
@@ -10083,6 +10161,7 @@ declare class RestAPI {
|
|
|
10083
10161
|
*
|
|
10084
10162
|
* @summary Query Special key List(Low Latency Trading)(TRADE)
|
|
10085
10163
|
* @param {QuerySpecialKeyListRequest} requestParameters Request parameters.
|
|
10164
|
+
*
|
|
10086
10165
|
* @returns {Promise<RestApiResponse<QuerySpecialKeyListResponse>>}
|
|
10087
10166
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10088
10167
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Special-Key-List-of-Low-Latency-Trading Binance API Documentation}
|
|
@@ -10099,6 +10178,7 @@ declare class RestAPI {
|
|
|
10099
10178
|
*
|
|
10100
10179
|
* @summary Small Liability Exchange (MARGIN)
|
|
10101
10180
|
* @param {SmallLiabilityExchangeRequest} requestParameters Request parameters.
|
|
10181
|
+
*
|
|
10102
10182
|
* @returns {Promise<RestApiResponse<void>>}
|
|
10103
10183
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10104
10184
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Small-Liability-Exchange Binance API Documentation}
|
|
@@ -10111,6 +10191,7 @@ declare class RestAPI {
|
|
|
10111
10191
|
*
|
|
10112
10192
|
* @summary Close Isolated Margin User Data Stream (USER_STREAM)
|
|
10113
10193
|
* @param {CloseIsolatedMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
10194
|
+
* @deprecated
|
|
10114
10195
|
* @returns {Promise<RestApiResponse<void>>}
|
|
10115
10196
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10116
10197
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Close-Isolated-Margin-User-Data-Stream Binance API Documentation}
|
|
@@ -10123,6 +10204,7 @@ declare class RestAPI {
|
|
|
10123
10204
|
*
|
|
10124
10205
|
* @summary Close Margin User Data Stream (USER_STREAM)
|
|
10125
10206
|
* @param {CloseMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
10207
|
+
* @deprecated
|
|
10126
10208
|
* @returns {Promise<RestApiResponse<void>>}
|
|
10127
10209
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10128
10210
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Close-Margin-User-Data-Stream Binance API Documentation}
|
|
@@ -10135,6 +10217,7 @@ declare class RestAPI {
|
|
|
10135
10217
|
*
|
|
10136
10218
|
* @summary Keepalive Isolated Margin User Data Stream (USER_STREAM)
|
|
10137
10219
|
* @param {KeepaliveIsolatedMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
10220
|
+
* @deprecated
|
|
10138
10221
|
* @returns {Promise<RestApiResponse<void>>}
|
|
10139
10222
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10140
10223
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Keepalive-Isolated-Margin-User-Data-Stream Binance API Documentation}
|
|
@@ -10147,6 +10230,7 @@ declare class RestAPI {
|
|
|
10147
10230
|
*
|
|
10148
10231
|
* @summary Keepalive Margin User Data Stream (USER_STREAM)
|
|
10149
10232
|
* @param {KeepaliveMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
10233
|
+
* @deprecated
|
|
10150
10234
|
* @returns {Promise<RestApiResponse<void>>}
|
|
10151
10235
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10152
10236
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Keepalive-Margin-User-Data-Stream Binance API Documentation}
|
|
@@ -10159,6 +10243,7 @@ declare class RestAPI {
|
|
|
10159
10243
|
*
|
|
10160
10244
|
* @summary Start Isolated Margin User Data Stream (USER_STREAM)
|
|
10161
10245
|
* @param {StartIsolatedMarginUserDataStreamRequest} requestParameters Request parameters.
|
|
10246
|
+
* @deprecated
|
|
10162
10247
|
* @returns {Promise<RestApiResponse<StartIsolatedMarginUserDataStreamResponse>>}
|
|
10163
10248
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10164
10249
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Start-Isolated-Margin-User-Data-Stream Binance API Documentation}
|
|
@@ -10170,6 +10255,7 @@ declare class RestAPI {
|
|
|
10170
10255
|
* Weight: 1
|
|
10171
10256
|
*
|
|
10172
10257
|
* @summary Start Margin User Data Stream (USER_STREAM)
|
|
10258
|
+
* @deprecated
|
|
10173
10259
|
* @returns {Promise<RestApiResponse<StartMarginUserDataStreamResponse>>}
|
|
10174
10260
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10175
10261
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Start-Margin-User-Data-Stream Binance API Documentation}
|
|
@@ -10186,6 +10272,7 @@ declare class RestAPI {
|
|
|
10186
10272
|
*
|
|
10187
10273
|
* @summary Get Cross Margin Transfer History (USER_DATA)
|
|
10188
10274
|
* @param {GetCrossMarginTransferHistoryRequest} requestParameters Request parameters.
|
|
10275
|
+
*
|
|
10189
10276
|
* @returns {Promise<RestApiResponse<GetCrossMarginTransferHistoryResponse>>}
|
|
10190
10277
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10191
10278
|
* @see {@link https://developers.binance.com/docs/margin_trading/transfer/Get-Cross-Margin-Transfer-History Binance API Documentation}
|
|
@@ -10200,6 +10287,7 @@ declare class RestAPI {
|
|
|
10200
10287
|
*
|
|
10201
10288
|
* @summary Query Max Transfer-Out Amount (USER_DATA)
|
|
10202
10289
|
* @param {QueryMaxTransferOutAmountRequest} requestParameters Request parameters.
|
|
10290
|
+
*
|
|
10203
10291
|
* @returns {Promise<RestApiResponse<QueryMaxTransferOutAmountResponse>>}
|
|
10204
10292
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
10205
10293
|
* @see {@link https://developers.binance.com/docs/margin_trading/transfer/Query-Max-Transfer-Out-Amount Binance API Documentation}
|
|
@@ -10443,10 +10531,10 @@ declare namespace index$1 {
|
|
|
10443
10531
|
interface Balanceupdate {
|
|
10444
10532
|
/**
|
|
10445
10533
|
*
|
|
10446
|
-
* @type {number}
|
|
10534
|
+
* @type {number | bigint}
|
|
10447
10535
|
* @memberof Balanceupdate
|
|
10448
10536
|
*/
|
|
10449
|
-
E?: number;
|
|
10537
|
+
E?: number | bigint;
|
|
10450
10538
|
/**
|
|
10451
10539
|
*
|
|
10452
10540
|
* @type {string}
|
|
@@ -10461,10 +10549,10 @@ interface Balanceupdate {
|
|
|
10461
10549
|
d?: string;
|
|
10462
10550
|
/**
|
|
10463
10551
|
*
|
|
10464
|
-
* @type {number}
|
|
10552
|
+
* @type {number | bigint}
|
|
10465
10553
|
* @memberof Balanceupdate
|
|
10466
10554
|
*/
|
|
10467
|
-
T?: number;
|
|
10555
|
+
T?: number | bigint;
|
|
10468
10556
|
}
|
|
10469
10557
|
|
|
10470
10558
|
/**
|
|
@@ -10487,10 +10575,10 @@ interface Balanceupdate {
|
|
|
10487
10575
|
interface Executionreport {
|
|
10488
10576
|
/**
|
|
10489
10577
|
*
|
|
10490
|
-
* @type {number}
|
|
10578
|
+
* @type {number | bigint}
|
|
10491
10579
|
* @memberof Executionreport
|
|
10492
10580
|
*/
|
|
10493
|
-
E?: number;
|
|
10581
|
+
E?: number | bigint;
|
|
10494
10582
|
/**
|
|
10495
10583
|
*
|
|
10496
10584
|
* @type {string}
|
|
@@ -10547,10 +10635,10 @@ interface Executionreport {
|
|
|
10547
10635
|
F?: string;
|
|
10548
10636
|
/**
|
|
10549
10637
|
*
|
|
10550
|
-
* @type {number}
|
|
10638
|
+
* @type {number | bigint}
|
|
10551
10639
|
* @memberof Executionreport
|
|
10552
10640
|
*/
|
|
10553
|
-
g?: number;
|
|
10641
|
+
g?: number | bigint;
|
|
10554
10642
|
/**
|
|
10555
10643
|
*
|
|
10556
10644
|
* @type {string}
|
|
@@ -10577,10 +10665,10 @@ interface Executionreport {
|
|
|
10577
10665
|
r?: string;
|
|
10578
10666
|
/**
|
|
10579
10667
|
*
|
|
10580
|
-
* @type {number}
|
|
10668
|
+
* @type {number | bigint}
|
|
10581
10669
|
* @memberof Executionreport
|
|
10582
10670
|
*/
|
|
10583
|
-
i?: number;
|
|
10671
|
+
i?: number | bigint;
|
|
10584
10672
|
/**
|
|
10585
10673
|
*
|
|
10586
10674
|
* @type {string}
|
|
@@ -10613,22 +10701,22 @@ interface Executionreport {
|
|
|
10613
10701
|
N?: string;
|
|
10614
10702
|
/**
|
|
10615
10703
|
*
|
|
10616
|
-
* @type {number}
|
|
10704
|
+
* @type {number | bigint}
|
|
10617
10705
|
* @memberof Executionreport
|
|
10618
10706
|
*/
|
|
10619
|
-
T?: number;
|
|
10707
|
+
T?: number | bigint;
|
|
10620
10708
|
/**
|
|
10621
10709
|
*
|
|
10622
|
-
* @type {number}
|
|
10710
|
+
* @type {number | bigint}
|
|
10623
10711
|
* @memberof Executionreport
|
|
10624
10712
|
*/
|
|
10625
|
-
t?: number;
|
|
10713
|
+
t?: number | bigint;
|
|
10626
10714
|
/**
|
|
10627
10715
|
*
|
|
10628
|
-
* @type {number}
|
|
10716
|
+
* @type {number | bigint}
|
|
10629
10717
|
* @memberof Executionreport
|
|
10630
10718
|
*/
|
|
10631
|
-
I?: number;
|
|
10719
|
+
I?: number | bigint;
|
|
10632
10720
|
/**
|
|
10633
10721
|
*
|
|
10634
10722
|
* @type {boolean}
|
|
@@ -10649,10 +10737,10 @@ interface Executionreport {
|
|
|
10649
10737
|
M?: boolean;
|
|
10650
10738
|
/**
|
|
10651
10739
|
*
|
|
10652
|
-
* @type {number}
|
|
10740
|
+
* @type {number | bigint}
|
|
10653
10741
|
* @memberof Executionreport
|
|
10654
10742
|
*/
|
|
10655
|
-
O?: number;
|
|
10743
|
+
O?: number | bigint;
|
|
10656
10744
|
/**
|
|
10657
10745
|
*
|
|
10658
10746
|
* @type {string}
|
|
@@ -10673,10 +10761,10 @@ interface Executionreport {
|
|
|
10673
10761
|
Q?: string;
|
|
10674
10762
|
/**
|
|
10675
10763
|
*
|
|
10676
|
-
* @type {number}
|
|
10764
|
+
* @type {number | bigint}
|
|
10677
10765
|
* @memberof Executionreport
|
|
10678
10766
|
*/
|
|
10679
|
-
W?: number;
|
|
10767
|
+
W?: number | bigint;
|
|
10680
10768
|
/**
|
|
10681
10769
|
*
|
|
10682
10770
|
* @type {string}
|
|
@@ -10845,10 +10933,10 @@ interface ListstatusOInner {
|
|
|
10845
10933
|
s?: string;
|
|
10846
10934
|
/**
|
|
10847
10935
|
*
|
|
10848
|
-
* @type {number}
|
|
10936
|
+
* @type {number | bigint}
|
|
10849
10937
|
* @memberof ListstatusOInner
|
|
10850
10938
|
*/
|
|
10851
|
-
i?: number;
|
|
10939
|
+
i?: number | bigint;
|
|
10852
10940
|
/**
|
|
10853
10941
|
*
|
|
10854
10942
|
* @type {string}
|
|
@@ -10878,10 +10966,10 @@ interface ListstatusOInner {
|
|
|
10878
10966
|
interface Liststatus {
|
|
10879
10967
|
/**
|
|
10880
10968
|
*
|
|
10881
|
-
* @type {number}
|
|
10969
|
+
* @type {number | bigint}
|
|
10882
10970
|
* @memberof Liststatus
|
|
10883
10971
|
*/
|
|
10884
|
-
E?: number;
|
|
10972
|
+
E?: number | bigint;
|
|
10885
10973
|
/**
|
|
10886
10974
|
*
|
|
10887
10975
|
* @type {string}
|
|
@@ -10890,10 +10978,10 @@ interface Liststatus {
|
|
|
10890
10978
|
s?: string;
|
|
10891
10979
|
/**
|
|
10892
10980
|
*
|
|
10893
|
-
* @type {number}
|
|
10981
|
+
* @type {number | bigint}
|
|
10894
10982
|
* @memberof Liststatus
|
|
10895
10983
|
*/
|
|
10896
|
-
g?: number;
|
|
10984
|
+
g?: number | bigint;
|
|
10897
10985
|
/**
|
|
10898
10986
|
*
|
|
10899
10987
|
* @type {string}
|
|
@@ -10926,10 +11014,10 @@ interface Liststatus {
|
|
|
10926
11014
|
C?: string;
|
|
10927
11015
|
/**
|
|
10928
11016
|
*
|
|
10929
|
-
* @type {number}
|
|
11017
|
+
* @type {number | bigint}
|
|
10930
11018
|
* @memberof Liststatus
|
|
10931
11019
|
*/
|
|
10932
|
-
T?: number;
|
|
11020
|
+
T?: number | bigint;
|
|
10933
11021
|
/**
|
|
10934
11022
|
*
|
|
10935
11023
|
* @type {Array<ListstatusOInner>}
|
|
@@ -10958,10 +11046,10 @@ interface Liststatus {
|
|
|
10958
11046
|
interface MarginLevelStatusChange {
|
|
10959
11047
|
/**
|
|
10960
11048
|
*
|
|
10961
|
-
* @type {number}
|
|
11049
|
+
* @type {number | bigint}
|
|
10962
11050
|
* @memberof MarginLevelStatusChange
|
|
10963
11051
|
*/
|
|
10964
|
-
E?: number;
|
|
11052
|
+
E?: number | bigint;
|
|
10965
11053
|
/**
|
|
10966
11054
|
*
|
|
10967
11055
|
* @type {string}
|
|
@@ -11035,16 +11123,16 @@ interface OutboundaccountpositionBInner {
|
|
|
11035
11123
|
interface Outboundaccountposition {
|
|
11036
11124
|
/**
|
|
11037
11125
|
*
|
|
11038
|
-
* @type {number}
|
|
11126
|
+
* @type {number | bigint}
|
|
11039
11127
|
* @memberof Outboundaccountposition
|
|
11040
11128
|
*/
|
|
11041
|
-
E?: number;
|
|
11129
|
+
E?: number | bigint;
|
|
11042
11130
|
/**
|
|
11043
11131
|
*
|
|
11044
|
-
* @type {number}
|
|
11132
|
+
* @type {number | bigint}
|
|
11045
11133
|
* @memberof Outboundaccountposition
|
|
11046
11134
|
*/
|
|
11047
|
-
u?: number;
|
|
11135
|
+
u?: number | bigint;
|
|
11048
11136
|
/**
|
|
11049
11137
|
*
|
|
11050
11138
|
* @type {Array<OutboundaccountpositionBInner>}
|
|
@@ -11073,10 +11161,10 @@ interface Outboundaccountposition {
|
|
|
11073
11161
|
interface UserLiabilityChange {
|
|
11074
11162
|
/**
|
|
11075
11163
|
*
|
|
11076
|
-
* @type {number}
|
|
11164
|
+
* @type {number | bigint}
|
|
11077
11165
|
* @memberof UserLiabilityChange
|
|
11078
11166
|
*/
|
|
11079
|
-
E?: number;
|
|
11167
|
+
E?: number | bigint;
|
|
11080
11168
|
/**
|
|
11081
11169
|
*
|
|
11082
11170
|
* @type {string}
|