@binance/margin-trading 11.0.0 → 12.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +250 -16
- package/dist/index.d.ts +250 -16
- package/dist/index.js +92 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +92 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -950,6 +950,39 @@ interface GetMarginAssetRiskBasedLiquidationRatioResponseInner {
|
|
|
950
950
|
*/
|
|
951
951
|
interface GetMarginAssetRiskBasedLiquidationRatioResponse extends Array<GetMarginAssetRiskBasedLiquidationRatioResponseInner> {}
|
|
952
952
|
//#endregion
|
|
953
|
+
//#region src/rest-api/types/get-margin-restricted-assets-response.d.ts
|
|
954
|
+
/**
|
|
955
|
+
* Binance Margin Trading REST API
|
|
956
|
+
*
|
|
957
|
+
* OpenAPI Specification for the Binance Margin Trading REST API
|
|
958
|
+
*
|
|
959
|
+
* The version of the OpenAPI document: 1.0.0
|
|
960
|
+
*
|
|
961
|
+
*
|
|
962
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
963
|
+
* https://openapi-generator.tech
|
|
964
|
+
* Do not edit the class manually.
|
|
965
|
+
*/
|
|
966
|
+
/**
|
|
967
|
+
*
|
|
968
|
+
* @export
|
|
969
|
+
* @interface GetMarginRestrictedAssetsResponse
|
|
970
|
+
*/
|
|
971
|
+
interface GetMarginRestrictedAssetsResponse {
|
|
972
|
+
/**
|
|
973
|
+
*
|
|
974
|
+
* @type {Array<string>}
|
|
975
|
+
* @memberof GetMarginRestrictedAssetsResponse
|
|
976
|
+
*/
|
|
977
|
+
openLongRestrictedAsset?: Array<string>;
|
|
978
|
+
/**
|
|
979
|
+
*
|
|
980
|
+
* @type {Array<string>}
|
|
981
|
+
* @memberof GetMarginRestrictedAssetsResponse
|
|
982
|
+
*/
|
|
983
|
+
maxCollateralExceededAsset?: Array<string>;
|
|
984
|
+
}
|
|
985
|
+
//#endregion
|
|
953
986
|
//#region src/rest-api/types/get-small-liability-exchange-coin-list-response-inner.d.ts
|
|
954
987
|
/**
|
|
955
988
|
* Binance Margin Trading REST API
|
|
@@ -4689,6 +4722,95 @@ interface QueryMaxTransferOutAmountResponse {
|
|
|
4689
4722
|
amount?: string;
|
|
4690
4723
|
}
|
|
4691
4724
|
//#endregion
|
|
4725
|
+
//#region src/rest-api/types/query-prevented-matches-response-inner.d.ts
|
|
4726
|
+
/**
|
|
4727
|
+
* Binance Margin Trading REST API
|
|
4728
|
+
*
|
|
4729
|
+
* OpenAPI Specification for the Binance Margin Trading REST API
|
|
4730
|
+
*
|
|
4731
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4732
|
+
*
|
|
4733
|
+
*
|
|
4734
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4735
|
+
* https://openapi-generator.tech
|
|
4736
|
+
* Do not edit the class manually.
|
|
4737
|
+
*/
|
|
4738
|
+
/**
|
|
4739
|
+
*
|
|
4740
|
+
* @export
|
|
4741
|
+
* @interface QueryPreventedMatchesResponseInner
|
|
4742
|
+
*/
|
|
4743
|
+
interface QueryPreventedMatchesResponseInner {
|
|
4744
|
+
/**
|
|
4745
|
+
*
|
|
4746
|
+
* @type {string}
|
|
4747
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4748
|
+
*/
|
|
4749
|
+
symbol?: string;
|
|
4750
|
+
/**
|
|
4751
|
+
*
|
|
4752
|
+
* @type {number | bigint}
|
|
4753
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4754
|
+
*/
|
|
4755
|
+
preventedMatchId?: number | bigint;
|
|
4756
|
+
/**
|
|
4757
|
+
*
|
|
4758
|
+
* @type {number | bigint}
|
|
4759
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4760
|
+
*/
|
|
4761
|
+
takerOrderId?: number | bigint;
|
|
4762
|
+
/**
|
|
4763
|
+
*
|
|
4764
|
+
* @type {string}
|
|
4765
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4766
|
+
*/
|
|
4767
|
+
makerSymbol?: string;
|
|
4768
|
+
/**
|
|
4769
|
+
*
|
|
4770
|
+
* @type {number | bigint}
|
|
4771
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4772
|
+
*/
|
|
4773
|
+
makerOrderId?: number | bigint;
|
|
4774
|
+
/**
|
|
4775
|
+
*
|
|
4776
|
+
* @type {number | bigint}
|
|
4777
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4778
|
+
*/
|
|
4779
|
+
tradeGroupId?: number | bigint;
|
|
4780
|
+
/**
|
|
4781
|
+
*
|
|
4782
|
+
* @type {string}
|
|
4783
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4784
|
+
*/
|
|
4785
|
+
selfTradePreventionMode?: string;
|
|
4786
|
+
/**
|
|
4787
|
+
*
|
|
4788
|
+
* @type {string}
|
|
4789
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4790
|
+
*/
|
|
4791
|
+
price?: string;
|
|
4792
|
+
/**
|
|
4793
|
+
*
|
|
4794
|
+
* @type {string}
|
|
4795
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4796
|
+
*/
|
|
4797
|
+
makerPreventedQuantity?: string;
|
|
4798
|
+
/**
|
|
4799
|
+
*
|
|
4800
|
+
* @type {number | bigint}
|
|
4801
|
+
* @memberof QueryPreventedMatchesResponseInner
|
|
4802
|
+
*/
|
|
4803
|
+
transactTime?: number | bigint;
|
|
4804
|
+
}
|
|
4805
|
+
//#endregion
|
|
4806
|
+
//#region src/rest-api/types/query-prevented-matches-response.d.ts
|
|
4807
|
+
/**
|
|
4808
|
+
*
|
|
4809
|
+
* @export
|
|
4810
|
+
* @interface QueryPreventedMatchesResponse
|
|
4811
|
+
*/
|
|
4812
|
+
interface QueryPreventedMatchesResponse extends Array<QueryPreventedMatchesResponseInner> {}
|
|
4813
|
+
//#endregion
|
|
4692
4814
|
//#region src/rest-api/types/query-special-key-list-response-inner.d.ts
|
|
4693
4815
|
/**
|
|
4694
4816
|
* Binance Margin Trading REST API
|
|
@@ -5887,6 +6009,17 @@ interface MarketDataApiInterface {
|
|
|
5887
6009
|
* @memberof MarketDataApiInterface
|
|
5888
6010
|
*/
|
|
5889
6011
|
getMarginAssetRiskBasedLiquidationRatio(): Promise<RestApiResponse<GetMarginAssetRiskBasedLiquidationRatioResponse>>;
|
|
6012
|
+
/**
|
|
6013
|
+
* Get Margin Restricted Assets
|
|
6014
|
+
*
|
|
6015
|
+
* Weight: 1
|
|
6016
|
+
*
|
|
6017
|
+
* @summary Get Margin Restricted Assets (MARKET_DATA)
|
|
6018
|
+
*
|
|
6019
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
6020
|
+
* @memberof MarketDataApiInterface
|
|
6021
|
+
*/
|
|
6022
|
+
getMarginRestrictedAssets(): Promise<RestApiResponse<GetMarginRestrictedAssetsResponse>>;
|
|
5890
6023
|
/**
|
|
5891
6024
|
* Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
|
|
5892
6025
|
*
|
|
@@ -6163,6 +6296,18 @@ declare class MarketDataApi implements MarketDataApiInterface {
|
|
|
6163
6296
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Margin-Asset-Risk-Based-Liquidation-Ratio Binance API Documentation}
|
|
6164
6297
|
*/
|
|
6165
6298
|
getMarginAssetRiskBasedLiquidationRatio(): Promise<RestApiResponse<GetMarginAssetRiskBasedLiquidationRatioResponse>>;
|
|
6299
|
+
/**
|
|
6300
|
+
* Get Margin Restricted Assets
|
|
6301
|
+
*
|
|
6302
|
+
* Weight: 1
|
|
6303
|
+
*
|
|
6304
|
+
* @summary Get Margin Restricted Assets (MARKET_DATA)
|
|
6305
|
+
* @returns {Promise<RestApiResponse<GetMarginRestrictedAssetsResponse>>}
|
|
6306
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
6307
|
+
* @memberof MarketDataApi
|
|
6308
|
+
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Margin-Restricted-Assets Binance API Documentation}
|
|
6309
|
+
*/
|
|
6310
|
+
getMarginRestrictedAssets(): Promise<RestApiResponse<GetMarginRestrictedAssetsResponse>>;
|
|
6166
6311
|
/**
|
|
6167
6312
|
* Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
|
|
6168
6313
|
*
|
|
@@ -6660,6 +6805,17 @@ interface TradeApiInterface {
|
|
|
6660
6805
|
* @memberof TradeApiInterface
|
|
6661
6806
|
*/
|
|
6662
6807
|
queryMarginAccountsTradeList(requestParameters: QueryMarginAccountsTradeListRequest): Promise<RestApiResponse<QueryMarginAccountsTradeListResponse>>;
|
|
6808
|
+
/**
|
|
6809
|
+
*
|
|
6810
|
+
* Weight: 10(IP)
|
|
6811
|
+
*
|
|
6812
|
+
* @summary Query Prevented Matches(USER_DATA)
|
|
6813
|
+
* @param {QueryPreventedMatchesRequest} requestParameters Request parameters.
|
|
6814
|
+
*
|
|
6815
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
6816
|
+
* @memberof TradeApiInterface
|
|
6817
|
+
*/
|
|
6818
|
+
queryPreventedMatches(requestParameters: QueryPreventedMatchesRequest): Promise<RestApiResponse<QueryPreventedMatchesResponse>>;
|
|
6663
6819
|
/**
|
|
6664
6820
|
* Query Special Key Information.
|
|
6665
6821
|
*
|
|
@@ -6895,7 +7051,7 @@ interface MarginAccountCancelAllOpenOrdersOnASymbolRequest {
|
|
|
6895
7051
|
*/
|
|
6896
7052
|
readonly symbol: string;
|
|
6897
7053
|
/**
|
|
6898
|
-
*
|
|
7054
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
6899
7055
|
* @type {string}
|
|
6900
7056
|
* @memberof TradeApiMarginAccountCancelAllOpenOrdersOnASymbol
|
|
6901
7057
|
*/
|
|
@@ -6919,7 +7075,7 @@ interface MarginAccountCancelOcoRequest {
|
|
|
6919
7075
|
*/
|
|
6920
7076
|
readonly symbol: string;
|
|
6921
7077
|
/**
|
|
6922
|
-
*
|
|
7078
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
6923
7079
|
* @type {string}
|
|
6924
7080
|
* @memberof TradeApiMarginAccountCancelOco
|
|
6925
7081
|
*/
|
|
@@ -6961,7 +7117,7 @@ interface MarginAccountCancelOrderRequest {
|
|
|
6961
7117
|
*/
|
|
6962
7118
|
readonly symbol: string;
|
|
6963
7119
|
/**
|
|
6964
|
-
*
|
|
7120
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
6965
7121
|
* @type {string}
|
|
6966
7122
|
* @memberof TradeApiMarginAccountCancelOrder
|
|
6967
7123
|
*/
|
|
@@ -7027,7 +7183,7 @@ interface MarginAccountNewOcoRequest {
|
|
|
7027
7183
|
*/
|
|
7028
7184
|
readonly stopPrice: number;
|
|
7029
7185
|
/**
|
|
7030
|
-
*
|
|
7186
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7031
7187
|
* @type {string}
|
|
7032
7188
|
* @memberof TradeApiMarginAccountNewOco
|
|
7033
7189
|
*/
|
|
@@ -7129,7 +7285,7 @@ interface MarginAccountNewOrderRequest {
|
|
|
7129
7285
|
*/
|
|
7130
7286
|
readonly type: string;
|
|
7131
7287
|
/**
|
|
7132
|
-
*
|
|
7288
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7133
7289
|
* @type {string}
|
|
7134
7290
|
* @memberof TradeApiMarginAccountNewOrder
|
|
7135
7291
|
*/
|
|
@@ -7267,7 +7423,7 @@ interface MarginAccountNewOtoRequest {
|
|
|
7267
7423
|
*/
|
|
7268
7424
|
readonly pendingQuantity: number;
|
|
7269
7425
|
/**
|
|
7270
|
-
*
|
|
7426
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7271
7427
|
* @type {string}
|
|
7272
7428
|
* @memberof TradeApiMarginAccountNewOto
|
|
7273
7429
|
*/
|
|
@@ -7405,7 +7561,7 @@ interface MarginAccountNewOtocoRequest {
|
|
|
7405
7561
|
*/
|
|
7406
7562
|
readonly pendingAboveType: string;
|
|
7407
7563
|
/**
|
|
7408
|
-
*
|
|
7564
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7409
7565
|
* @type {string}
|
|
7410
7566
|
* @memberof TradeApiMarginAccountNewOtoco
|
|
7411
7567
|
*/
|
|
@@ -7567,7 +7723,7 @@ interface MarginManualLiquidationRequest {
|
|
|
7567
7723
|
*/
|
|
7568
7724
|
interface QueryCurrentMarginOrderCountUsageRequest {
|
|
7569
7725
|
/**
|
|
7570
|
-
*
|
|
7726
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7571
7727
|
* @type {string}
|
|
7572
7728
|
* @memberof TradeApiQueryCurrentMarginOrderCountUsage
|
|
7573
7729
|
*/
|
|
@@ -7591,7 +7747,7 @@ interface QueryCurrentMarginOrderCountUsageRequest {
|
|
|
7591
7747
|
*/
|
|
7592
7748
|
interface QueryMarginAccountsAllOcoRequest {
|
|
7593
7749
|
/**
|
|
7594
|
-
*
|
|
7750
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7595
7751
|
* @type {string}
|
|
7596
7752
|
* @memberof TradeApiQueryMarginAccountsAllOco
|
|
7597
7753
|
*/
|
|
@@ -7645,7 +7801,7 @@ interface QueryMarginAccountsAllOrdersRequest {
|
|
|
7645
7801
|
*/
|
|
7646
7802
|
readonly symbol: string;
|
|
7647
7803
|
/**
|
|
7648
|
-
*
|
|
7804
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7649
7805
|
* @type {string}
|
|
7650
7806
|
* @memberof TradeApiQueryMarginAccountsAllOrders
|
|
7651
7807
|
*/
|
|
@@ -7687,7 +7843,7 @@ interface QueryMarginAccountsAllOrdersRequest {
|
|
|
7687
7843
|
*/
|
|
7688
7844
|
interface QueryMarginAccountsOcoRequest {
|
|
7689
7845
|
/**
|
|
7690
|
-
*
|
|
7846
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7691
7847
|
* @type {string}
|
|
7692
7848
|
* @memberof TradeApiQueryMarginAccountsOco
|
|
7693
7849
|
*/
|
|
@@ -7723,7 +7879,7 @@ interface QueryMarginAccountsOcoRequest {
|
|
|
7723
7879
|
*/
|
|
7724
7880
|
interface QueryMarginAccountsOpenOcoRequest {
|
|
7725
7881
|
/**
|
|
7726
|
-
*
|
|
7882
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7727
7883
|
* @type {string}
|
|
7728
7884
|
* @memberof TradeApiQueryMarginAccountsOpenOco
|
|
7729
7885
|
*/
|
|
@@ -7753,7 +7909,7 @@ interface QueryMarginAccountsOpenOrdersRequest {
|
|
|
7753
7909
|
*/
|
|
7754
7910
|
readonly symbol?: string;
|
|
7755
7911
|
/**
|
|
7756
|
-
*
|
|
7912
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7757
7913
|
* @type {string}
|
|
7758
7914
|
* @memberof TradeApiQueryMarginAccountsOpenOrders
|
|
7759
7915
|
*/
|
|
@@ -7777,7 +7933,7 @@ interface QueryMarginAccountsOrderRequest {
|
|
|
7777
7933
|
*/
|
|
7778
7934
|
readonly symbol: string;
|
|
7779
7935
|
/**
|
|
7780
|
-
*
|
|
7936
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7781
7937
|
* @type {string}
|
|
7782
7938
|
* @memberof TradeApiQueryMarginAccountsOrder
|
|
7783
7939
|
*/
|
|
@@ -7813,7 +7969,7 @@ interface QueryMarginAccountsTradeListRequest {
|
|
|
7813
7969
|
*/
|
|
7814
7970
|
readonly symbol: string;
|
|
7815
7971
|
/**
|
|
7816
|
-
*
|
|
7972
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
7817
7973
|
* @type {string}
|
|
7818
7974
|
* @memberof TradeApiQueryMarginAccountsTradeList
|
|
7819
7975
|
*/
|
|
@@ -7855,6 +8011,48 @@ interface QueryMarginAccountsTradeListRequest {
|
|
|
7855
8011
|
*/
|
|
7856
8012
|
readonly recvWindow?: number | bigint;
|
|
7857
8013
|
}
|
|
8014
|
+
/**
|
|
8015
|
+
* Request parameters for queryPreventedMatches operation in TradeApi.
|
|
8016
|
+
* @interface QueryPreventedMatchesRequest
|
|
8017
|
+
*/
|
|
8018
|
+
interface QueryPreventedMatchesRequest {
|
|
8019
|
+
/**
|
|
8020
|
+
*
|
|
8021
|
+
* @type {string}
|
|
8022
|
+
* @memberof TradeApiQueryPreventedMatches
|
|
8023
|
+
*/
|
|
8024
|
+
readonly symbol: string;
|
|
8025
|
+
/**
|
|
8026
|
+
*
|
|
8027
|
+
* @type {number | bigint}
|
|
8028
|
+
* @memberof TradeApiQueryPreventedMatches
|
|
8029
|
+
*/
|
|
8030
|
+
readonly preventedMatchId?: number | bigint;
|
|
8031
|
+
/**
|
|
8032
|
+
*
|
|
8033
|
+
* @type {number | bigint}
|
|
8034
|
+
* @memberof TradeApiQueryPreventedMatches
|
|
8035
|
+
*/
|
|
8036
|
+
readonly orderId?: number | bigint;
|
|
8037
|
+
/**
|
|
8038
|
+
*
|
|
8039
|
+
* @type {number | bigint}
|
|
8040
|
+
* @memberof TradeApiQueryPreventedMatches
|
|
8041
|
+
*/
|
|
8042
|
+
readonly fromPreventedMatchId?: number | bigint;
|
|
8043
|
+
/**
|
|
8044
|
+
* No more than 60000
|
|
8045
|
+
* @type {number | bigint}
|
|
8046
|
+
* @memberof TradeApiQueryPreventedMatches
|
|
8047
|
+
*/
|
|
8048
|
+
readonly recvWindow?: number | bigint;
|
|
8049
|
+
/**
|
|
8050
|
+
* For isolated margin or not, "TRUE", "FALSE", default "FALSE"
|
|
8051
|
+
* @type {string}
|
|
8052
|
+
* @memberof TradeApiQueryPreventedMatches
|
|
8053
|
+
*/
|
|
8054
|
+
readonly isIsolated?: string;
|
|
8055
|
+
}
|
|
7858
8056
|
/**
|
|
7859
8057
|
* Request parameters for querySpecialKey operation in TradeApi.
|
|
7860
8058
|
* @interface QuerySpecialKeyRequest
|
|
@@ -8277,6 +8475,18 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
8277
8475
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Trade-List Binance API Documentation}
|
|
8278
8476
|
*/
|
|
8279
8477
|
queryMarginAccountsTradeList(requestParameters: QueryMarginAccountsTradeListRequest): Promise<RestApiResponse<QueryMarginAccountsTradeListResponse>>;
|
|
8478
|
+
/**
|
|
8479
|
+
*
|
|
8480
|
+
* Weight: 10(IP)
|
|
8481
|
+
*
|
|
8482
|
+
* @summary Query Prevented Matches(USER_DATA)
|
|
8483
|
+
* @param {QueryPreventedMatchesRequest} requestParameters Request parameters.
|
|
8484
|
+
* @returns {Promise<RestApiResponse<QueryPreventedMatchesResponse>>}
|
|
8485
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
8486
|
+
* @memberof TradeApi
|
|
8487
|
+
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Prevented-Matches Binance API Documentation}
|
|
8488
|
+
*/
|
|
8489
|
+
queryPreventedMatches(requestParameters: QueryPreventedMatchesRequest): Promise<RestApiResponse<QueryPreventedMatchesResponse>>;
|
|
8280
8490
|
/**
|
|
8281
8491
|
* Query Special Key Information.
|
|
8282
8492
|
*
|
|
@@ -8898,6 +9108,18 @@ declare class RestAPI {
|
|
|
8898
9108
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Margin-Asset-Risk-Based-Liquidation-Ratio Binance API Documentation}
|
|
8899
9109
|
*/
|
|
8900
9110
|
getMarginAssetRiskBasedLiquidationRatio(): Promise<RestApiResponse<GetMarginAssetRiskBasedLiquidationRatioResponse>>;
|
|
9111
|
+
/**
|
|
9112
|
+
* Get Margin Restricted Assets
|
|
9113
|
+
*
|
|
9114
|
+
* Weight: 1
|
|
9115
|
+
*
|
|
9116
|
+
* @summary Get Margin Restricted Assets (MARKET_DATA)
|
|
9117
|
+
*
|
|
9118
|
+
* @returns {Promise<RestApiResponse<GetMarginRestrictedAssetsResponse>>}
|
|
9119
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9120
|
+
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Margin-Restricted-Assets Binance API Documentation}
|
|
9121
|
+
*/
|
|
9122
|
+
getMarginRestrictedAssets(): Promise<RestApiResponse<GetMarginRestrictedAssetsResponse>>;
|
|
8901
9123
|
/**
|
|
8902
9124
|
* Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
|
|
8903
9125
|
*
|
|
@@ -9346,6 +9568,18 @@ declare class RestAPI {
|
|
|
9346
9568
|
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Trade-List Binance API Documentation}
|
|
9347
9569
|
*/
|
|
9348
9570
|
queryMarginAccountsTradeList(requestParameters: QueryMarginAccountsTradeListRequest): Promise<RestApiResponse<QueryMarginAccountsTradeListResponse>>;
|
|
9571
|
+
/**
|
|
9572
|
+
*
|
|
9573
|
+
* Weight: 10(IP)
|
|
9574
|
+
*
|
|
9575
|
+
* @summary Query Prevented Matches(USER_DATA)
|
|
9576
|
+
* @param {QueryPreventedMatchesRequest} requestParameters Request parameters.
|
|
9577
|
+
*
|
|
9578
|
+
* @returns {Promise<RestApiResponse<QueryPreventedMatchesResponse>>}
|
|
9579
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9580
|
+
* @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Prevented-Matches Binance API Documentation}
|
|
9581
|
+
*/
|
|
9582
|
+
queryPreventedMatches(requestParameters: QueryPreventedMatchesRequest): Promise<RestApiResponse<QueryPreventedMatchesResponse>>;
|
|
9349
9583
|
/**
|
|
9350
9584
|
* Query Special Key Information.
|
|
9351
9585
|
*
|
|
@@ -9425,7 +9659,7 @@ declare class RestAPI {
|
|
|
9425
9659
|
queryMaxTransferOutAmount(requestParameters: QueryMaxTransferOutAmountRequest): Promise<RestApiResponse<QueryMaxTransferOutAmountResponse>>;
|
|
9426
9660
|
}
|
|
9427
9661
|
declare namespace index_d_exports {
|
|
9428
|
-
export { AccountApi, AccountApiInterface, AdjustCrossMarginMaxLeverageRequest, AdjustCrossMarginMaxLeverageResponse, BorrowRepayApi, BorrowRepayApiInterface, CreateSpecialKeyRequest, CreateSpecialKeyResponse, CrossMarginCollateralRatioResponse, CrossMarginCollateralRatioResponseInner, CrossMarginCollateralRatioResponseInnerCollateralsInner, DeleteSpecialKeyRequest, DisableIsolatedMarginAccountRequest, DisableIsolatedMarginAccountResponse, EditIpForSpecialKeyRequest, EnableIsolatedMarginAccountRequest, EnableIsolatedMarginAccountResponse, GetAllCrossMarginPairsRequest, GetAllCrossMarginPairsResponse, GetAllCrossMarginPairsResponseInner, GetAllIsolatedMarginSymbolRequest, GetAllIsolatedMarginSymbolResponse, GetAllIsolatedMarginSymbolResponseInner, GetAllMarginAssetsRequest, GetAllMarginAssetsResponse, GetAllMarginAssetsResponseInner, GetBnbBurnStatusRequest, GetBnbBurnStatusResponse, GetCrossMarginTransferHistoryRequest, GetCrossMarginTransferHistoryResponse, GetCrossMarginTransferHistoryResponseRowsInner, GetDelistScheduleRequest, GetDelistScheduleResponse, GetDelistScheduleResponseInner, GetForceLiquidationRecordRequest, GetForceLiquidationRecordResponse, GetForceLiquidationRecordResponseRowsInner, GetFutureHourlyInterestRateRequest, GetFutureHourlyInterestRateResponse, GetFutureHourlyInterestRateResponseInner, GetInterestHistoryRequest, GetInterestHistoryResponse, GetInterestHistoryResponseRowsInner, GetLimitPricePairsResponse, GetListScheduleRequest, GetListScheduleResponse, GetListScheduleResponseInner, GetMarginAssetRiskBasedLiquidationRatioResponse, GetMarginAssetRiskBasedLiquidationRatioResponseInner, GetSmallLiabilityExchangeCoinListRequest, GetSmallLiabilityExchangeCoinListResponse, GetSmallLiabilityExchangeCoinListResponseInner, GetSmallLiabilityExchangeHistoryRequest, GetSmallLiabilityExchangeHistoryResponse, GetSmallLiabilityExchangeHistoryResponseRowsInner, GetSummaryOfMarginAccountRequest, GetSummaryOfMarginAccountResponse, KeepaliveUserDataStreamRequest, MarginAccountBorrowRepayRequest, MarginAccountBorrowRepayResponse, MarginAccountCancelAllOpenOrdersOnASymbolRequest, MarginAccountCancelAllOpenOrdersOnASymbolResponse, MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, MarginAccountCancelOcoRequest, MarginAccountCancelOcoResponse, MarginAccountCancelOcoResponseOrderReportsInner, MarginAccountCancelOcoResponseOrdersInner, MarginAccountCancelOrderRequest, MarginAccountCancelOrderResponse, MarginAccountNewOcoNewOrderRespTypeEnum, MarginAccountNewOcoRequest, MarginAccountNewOcoResponse, MarginAccountNewOcoResponseOrderReportsInner, MarginAccountNewOcoResponseOrdersInner, MarginAccountNewOcoSideEnum, MarginAccountNewOrderNewOrderRespTypeEnum, MarginAccountNewOrderRequest, MarginAccountNewOrderResponse, MarginAccountNewOrderResponseFillsInner, MarginAccountNewOrderSideEnum, MarginAccountNewOrderTimeInForceEnum, MarginAccountNewOtoNewOrderRespTypeEnum, MarginAccountNewOtoRequest, MarginAccountNewOtoResponse, MarginAccountNewOtoResponseOrderReportsInner, MarginAccountNewOtoResponseOrdersInner, MarginAccountNewOtocoNewOrderRespTypeEnum, MarginAccountNewOtocoRequest, MarginAccountNewOtocoResponse, MarginAccountNewOtocoResponseOrderReportsInner, MarginAccountNewOtocoResponseOrdersInner, MarginManualLiquidationRequest, MarginManualLiquidationResponse, MarketDataApi, MarketDataApiInterface, QueryBorrowRepayRecordsInMarginAccountRequest, QueryBorrowRepayRecordsInMarginAccountResponse, QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, QueryCrossIsolatedMarginCapitalFlowRequest, QueryCrossIsolatedMarginCapitalFlowResponse, QueryCrossIsolatedMarginCapitalFlowResponseInner, QueryCrossMarginAccountDetailsRequest, QueryCrossMarginAccountDetailsResponse, QueryCrossMarginAccountDetailsResponseUserAssetsInner, QueryCrossMarginFeeDataRequest, QueryCrossMarginFeeDataResponse, QueryCrossMarginFeeDataResponseInner, QueryCurrentMarginOrderCountUsageRequest, QueryCurrentMarginOrderCountUsageResponse, QueryCurrentMarginOrderCountUsageResponseInner, QueryEnabledIsolatedMarginAccountLimitRequest, QueryEnabledIsolatedMarginAccountLimitResponse, QueryIsolatedMarginAccountInfoRequest, QueryIsolatedMarginAccountInfoResponse, QueryIsolatedMarginAccountInfoResponseAssetsInner, QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset, QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset, QueryIsolatedMarginFeeDataRequest, QueryIsolatedMarginFeeDataResponse, QueryIsolatedMarginFeeDataResponseInner, QueryIsolatedMarginFeeDataResponseInnerDataInner, QueryIsolatedMarginTierDataRequest, QueryIsolatedMarginTierDataResponse, QueryIsolatedMarginTierDataResponseInner, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, QueryMarginAccountsAllOcoRequest, QueryMarginAccountsAllOcoResponse, QueryMarginAccountsAllOcoResponseInner, QueryMarginAccountsAllOcoResponseInnerOrdersInner, QueryMarginAccountsAllOrdersRequest, QueryMarginAccountsAllOrdersResponse, QueryMarginAccountsAllOrdersResponseInner, QueryMarginAccountsOcoRequest, QueryMarginAccountsOcoResponse, QueryMarginAccountsOcoResponseOrdersInner, QueryMarginAccountsOpenOcoRequest, QueryMarginAccountsOpenOcoResponse, QueryMarginAccountsOpenOcoResponseInner, QueryMarginAccountsOpenOcoResponseInnerOrdersInner, QueryMarginAccountsOpenOrdersRequest, QueryMarginAccountsOpenOrdersResponse, QueryMarginAccountsOpenOrdersResponseInner, QueryMarginAccountsOrderRequest, QueryMarginAccountsOrderResponse, QueryMarginAccountsTradeListRequest, QueryMarginAccountsTradeListResponse, QueryMarginAccountsTradeListResponseInner, QueryMarginAvailableInventoryRequest, QueryMarginAvailableInventoryResponse, QueryMarginAvailableInventoryResponseAssets, QueryMarginInterestRateHistoryRequest, QueryMarginInterestRateHistoryResponse, QueryMarginInterestRateHistoryResponseInner, QueryMarginPriceindexRequest, QueryMarginPriceindexResponse, QueryMaxBorrowRequest, QueryMaxBorrowResponse, QueryMaxTransferOutAmountRequest, QueryMaxTransferOutAmountResponse, QuerySpecialKeyListRequest, QuerySpecialKeyListResponse, QuerySpecialKeyListResponseInner, QuerySpecialKeyRequest, QuerySpecialKeyResponse, RestAPI, RiskDataStreamApi, RiskDataStreamApiInterface, SmallLiabilityExchangeRequest, StartUserDataStreamResponse, TradeApi, TradeApiInterface, TransferApi, TransferApiInterface };
|
|
9662
|
+
export { AccountApi, AccountApiInterface, AdjustCrossMarginMaxLeverageRequest, AdjustCrossMarginMaxLeverageResponse, BorrowRepayApi, BorrowRepayApiInterface, CreateSpecialKeyRequest, CreateSpecialKeyResponse, CrossMarginCollateralRatioResponse, CrossMarginCollateralRatioResponseInner, CrossMarginCollateralRatioResponseInnerCollateralsInner, DeleteSpecialKeyRequest, DisableIsolatedMarginAccountRequest, DisableIsolatedMarginAccountResponse, EditIpForSpecialKeyRequest, EnableIsolatedMarginAccountRequest, EnableIsolatedMarginAccountResponse, GetAllCrossMarginPairsRequest, GetAllCrossMarginPairsResponse, GetAllCrossMarginPairsResponseInner, GetAllIsolatedMarginSymbolRequest, GetAllIsolatedMarginSymbolResponse, GetAllIsolatedMarginSymbolResponseInner, GetAllMarginAssetsRequest, GetAllMarginAssetsResponse, GetAllMarginAssetsResponseInner, GetBnbBurnStatusRequest, GetBnbBurnStatusResponse, GetCrossMarginTransferHistoryRequest, GetCrossMarginTransferHistoryResponse, GetCrossMarginTransferHistoryResponseRowsInner, GetDelistScheduleRequest, GetDelistScheduleResponse, GetDelistScheduleResponseInner, GetForceLiquidationRecordRequest, GetForceLiquidationRecordResponse, GetForceLiquidationRecordResponseRowsInner, GetFutureHourlyInterestRateRequest, GetFutureHourlyInterestRateResponse, GetFutureHourlyInterestRateResponseInner, GetInterestHistoryRequest, GetInterestHistoryResponse, GetInterestHistoryResponseRowsInner, GetLimitPricePairsResponse, GetListScheduleRequest, GetListScheduleResponse, GetListScheduleResponseInner, GetMarginAssetRiskBasedLiquidationRatioResponse, GetMarginAssetRiskBasedLiquidationRatioResponseInner, GetMarginRestrictedAssetsResponse, GetSmallLiabilityExchangeCoinListRequest, GetSmallLiabilityExchangeCoinListResponse, GetSmallLiabilityExchangeCoinListResponseInner, GetSmallLiabilityExchangeHistoryRequest, GetSmallLiabilityExchangeHistoryResponse, GetSmallLiabilityExchangeHistoryResponseRowsInner, GetSummaryOfMarginAccountRequest, GetSummaryOfMarginAccountResponse, KeepaliveUserDataStreamRequest, MarginAccountBorrowRepayRequest, MarginAccountBorrowRepayResponse, MarginAccountCancelAllOpenOrdersOnASymbolRequest, MarginAccountCancelAllOpenOrdersOnASymbolResponse, MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, MarginAccountCancelOcoRequest, MarginAccountCancelOcoResponse, MarginAccountCancelOcoResponseOrderReportsInner, MarginAccountCancelOcoResponseOrdersInner, MarginAccountCancelOrderRequest, MarginAccountCancelOrderResponse, MarginAccountNewOcoNewOrderRespTypeEnum, MarginAccountNewOcoRequest, MarginAccountNewOcoResponse, MarginAccountNewOcoResponseOrderReportsInner, MarginAccountNewOcoResponseOrdersInner, MarginAccountNewOcoSideEnum, MarginAccountNewOrderNewOrderRespTypeEnum, MarginAccountNewOrderRequest, MarginAccountNewOrderResponse, MarginAccountNewOrderResponseFillsInner, MarginAccountNewOrderSideEnum, MarginAccountNewOrderTimeInForceEnum, MarginAccountNewOtoNewOrderRespTypeEnum, MarginAccountNewOtoRequest, MarginAccountNewOtoResponse, MarginAccountNewOtoResponseOrderReportsInner, MarginAccountNewOtoResponseOrdersInner, MarginAccountNewOtocoNewOrderRespTypeEnum, MarginAccountNewOtocoRequest, MarginAccountNewOtocoResponse, MarginAccountNewOtocoResponseOrderReportsInner, MarginAccountNewOtocoResponseOrdersInner, MarginManualLiquidationRequest, MarginManualLiquidationResponse, MarketDataApi, MarketDataApiInterface, QueryBorrowRepayRecordsInMarginAccountRequest, QueryBorrowRepayRecordsInMarginAccountResponse, QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, QueryCrossIsolatedMarginCapitalFlowRequest, QueryCrossIsolatedMarginCapitalFlowResponse, QueryCrossIsolatedMarginCapitalFlowResponseInner, QueryCrossMarginAccountDetailsRequest, QueryCrossMarginAccountDetailsResponse, QueryCrossMarginAccountDetailsResponseUserAssetsInner, QueryCrossMarginFeeDataRequest, QueryCrossMarginFeeDataResponse, QueryCrossMarginFeeDataResponseInner, QueryCurrentMarginOrderCountUsageRequest, QueryCurrentMarginOrderCountUsageResponse, QueryCurrentMarginOrderCountUsageResponseInner, QueryEnabledIsolatedMarginAccountLimitRequest, QueryEnabledIsolatedMarginAccountLimitResponse, QueryIsolatedMarginAccountInfoRequest, QueryIsolatedMarginAccountInfoResponse, QueryIsolatedMarginAccountInfoResponseAssetsInner, QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset, QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset, QueryIsolatedMarginFeeDataRequest, QueryIsolatedMarginFeeDataResponse, QueryIsolatedMarginFeeDataResponseInner, QueryIsolatedMarginFeeDataResponseInnerDataInner, QueryIsolatedMarginTierDataRequest, QueryIsolatedMarginTierDataResponse, QueryIsolatedMarginTierDataResponseInner, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, QueryMarginAccountsAllOcoRequest, QueryMarginAccountsAllOcoResponse, QueryMarginAccountsAllOcoResponseInner, QueryMarginAccountsAllOcoResponseInnerOrdersInner, QueryMarginAccountsAllOrdersRequest, QueryMarginAccountsAllOrdersResponse, QueryMarginAccountsAllOrdersResponseInner, QueryMarginAccountsOcoRequest, QueryMarginAccountsOcoResponse, QueryMarginAccountsOcoResponseOrdersInner, QueryMarginAccountsOpenOcoRequest, QueryMarginAccountsOpenOcoResponse, QueryMarginAccountsOpenOcoResponseInner, QueryMarginAccountsOpenOcoResponseInnerOrdersInner, QueryMarginAccountsOpenOrdersRequest, QueryMarginAccountsOpenOrdersResponse, QueryMarginAccountsOpenOrdersResponseInner, QueryMarginAccountsOrderRequest, QueryMarginAccountsOrderResponse, QueryMarginAccountsTradeListRequest, QueryMarginAccountsTradeListResponse, QueryMarginAccountsTradeListResponseInner, QueryMarginAvailableInventoryRequest, QueryMarginAvailableInventoryResponse, QueryMarginAvailableInventoryResponseAssets, QueryMarginInterestRateHistoryRequest, QueryMarginInterestRateHistoryResponse, QueryMarginInterestRateHistoryResponseInner, QueryMarginPriceindexRequest, QueryMarginPriceindexResponse, QueryMaxBorrowRequest, QueryMaxBorrowResponse, QueryMaxTransferOutAmountRequest, QueryMaxTransferOutAmountResponse, QueryPreventedMatchesRequest, QueryPreventedMatchesResponse, QueryPreventedMatchesResponseInner, QuerySpecialKeyListRequest, QuerySpecialKeyListResponse, QuerySpecialKeyListResponseInner, QuerySpecialKeyRequest, QuerySpecialKeyResponse, RestAPI, RiskDataStreamApi, RiskDataStreamApiInterface, SmallLiabilityExchangeRequest, StartUserDataStreamResponse, TradeApi, TradeApiInterface, TransferApi, TransferApiInterface };
|
|
9429
9663
|
}
|
|
9430
9664
|
//#endregion
|
|
9431
9665
|
//#region src/websocket-streams/types/balanceupdate.d.ts
|