@binance/margin-trading 7.0.1 → 8.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.mjs CHANGED
@@ -15,7 +15,7 @@ import {
15
15
 
16
16
  // package.json
17
17
  var name = "@binance/margin-trading";
18
- var version = "7.0.1";
18
+ var version = "8.0.0";
19
19
 
20
20
  // src/rest-api/index.ts
21
21
  var rest_api_exports = {};
@@ -1889,9 +1889,19 @@ import {
1889
1889
  var TradeApiAxiosParamCreator = function(configuration) {
1890
1890
  return {
1891
1891
  /**
1892
- * **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. **
1892
+ * - 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.
1893
+ * - If you are VIP level 3 or below, please contact your VIP manager for eligibility criterias.**
1893
1894
  *
1894
- **If you are VIP level 3 or below, please contact your VIP manager for eligibility criterias.**
1895
+ **Supported Products:**
1896
+ *
1897
+ * - Cross Margin
1898
+ * - Isolated Margin
1899
+ * - Portfolio Margin Pro
1900
+ * - Cross Margin Pro (Additional agreement required and subject to meeting eligibility criteria)
1901
+ *
1902
+ **Unsupported Products:**
1903
+ *
1904
+ * - Portfolio Margin
1895
1905
  *
1896
1906
  * We support several types of API keys:
1897
1907
  *
@@ -1901,10 +1911,6 @@ var TradeApiAxiosParamCreator = function(configuration) {
1901
1911
  *
1902
1912
  * 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) .
1903
1913
  *
1904
- * 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
1905
- *
1906
- * You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
1907
- *
1908
1914
  * Weight: 1(UID)
1909
1915
  *
1910
1916
  * @summary Create Special Key(Low-Latency Trading)(TRADE)
@@ -3211,9 +3217,19 @@ var TradeApi = class {
3211
3217
  this.localVarAxiosParamCreator = TradeApiAxiosParamCreator(configuration);
3212
3218
  }
3213
3219
  /**
3214
- * **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. **
3220
+ * - 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.
3221
+ * - If you are VIP level 3 or below, please contact your VIP manager for eligibility criterias.**
3222
+ *
3223
+ **Supported Products:**
3224
+ *
3225
+ * - Cross Margin
3226
+ * - Isolated Margin
3227
+ * - Portfolio Margin Pro
3228
+ * - Cross Margin Pro (Additional agreement required and subject to meeting eligibility criteria)
3215
3229
  *
3216
- **If you are VIP level 3 or below, please contact your VIP manager for eligibility criterias.**
3230
+ **Unsupported Products:**
3231
+ *
3232
+ * - Portfolio Margin
3217
3233
  *
3218
3234
  * We support several types of API keys:
3219
3235
  *
@@ -3223,10 +3239,6 @@ var TradeApi = class {
3223
3239
  *
3224
3240
  * 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) .
3225
3241
  *
3226
- * 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
3227
- *
3228
- * You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
3229
- *
3230
3242
  * Weight: 1(UID)
3231
3243
  *
3232
3244
  * @summary Create Special Key(Low-Latency Trading)(TRADE)
@@ -4118,6 +4130,7 @@ var TradeDataStreamApiAxiosParamCreator = function(configuration) {
4118
4130
  * @param {string} symbol
4119
4131
  * @param {string} listenkey
4120
4132
  *
4133
+ * @deprecated
4121
4134
  * @throws {RequiredError}
4122
4135
  */
4123
4136
  closeIsolatedMarginUserDataStream: async (symbol, listenkey) => {
@@ -4147,6 +4160,7 @@ var TradeDataStreamApiAxiosParamCreator = function(configuration) {
4147
4160
  * @summary Close Margin User Data Stream (USER_STREAM)
4148
4161
  * @param {string} listenkey
4149
4162
  *
4163
+ * @deprecated
4150
4164
  * @throws {RequiredError}
4151
4165
  */
4152
4166
  closeMarginUserDataStream: async (listenkey) => {
@@ -4173,6 +4187,7 @@ var TradeDataStreamApiAxiosParamCreator = function(configuration) {
4173
4187
  * @param {string} symbol
4174
4188
  * @param {string} listenKey
4175
4189
  *
4190
+ * @deprecated
4176
4191
  * @throws {RequiredError}
4177
4192
  */
4178
4193
  keepaliveIsolatedMarginUserDataStream: async (symbol, listenKey) => {
@@ -4202,6 +4217,7 @@ var TradeDataStreamApiAxiosParamCreator = function(configuration) {
4202
4217
  * @summary Keepalive Margin User Data Stream (USER_STREAM)
4203
4218
  * @param {string} listenKey
4204
4219
  *
4220
+ * @deprecated
4205
4221
  * @throws {RequiredError}
4206
4222
  */
4207
4223
  keepaliveMarginUserDataStream: async (listenKey) => {
@@ -4227,6 +4243,7 @@ var TradeDataStreamApiAxiosParamCreator = function(configuration) {
4227
4243
  * @summary Start Isolated Margin User Data Stream (USER_STREAM)
4228
4244
  * @param {string} symbol
4229
4245
  *
4246
+ * @deprecated
4230
4247
  * @throws {RequiredError}
4231
4248
  */
4232
4249
  startIsolatedMarginUserDataStream: async (symbol) => {
@@ -4251,6 +4268,7 @@ var TradeDataStreamApiAxiosParamCreator = function(configuration) {
4251
4268
  *
4252
4269
  * @summary Start Margin User Data Stream (USER_STREAM)
4253
4270
  *
4271
+ * @deprecated
4254
4272
  * @throws {RequiredError}
4255
4273
  */
4256
4274
  startMarginUserDataStream: async () => {
@@ -4640,6 +4658,7 @@ var RestAPI = class {
4640
4658
  *
4641
4659
  * @summary Adjust cross margin max leverage (USER_DATA)
4642
4660
  * @param {AdjustCrossMarginMaxLeverageRequest} requestParameters Request parameters.
4661
+ *
4643
4662
  * @returns {Promise<RestApiResponse<AdjustCrossMarginMaxLeverageResponse>>}
4644
4663
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4645
4664
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Adjust-cross-margin-max-leverage Binance API Documentation}
@@ -4655,6 +4674,7 @@ var RestAPI = class {
4655
4674
  *
4656
4675
  * @summary Disable Isolated Margin Account (TRADE)
4657
4676
  * @param {DisableIsolatedMarginAccountRequest} requestParameters Request parameters.
4677
+ *
4658
4678
  * @returns {Promise<RestApiResponse<DisableIsolatedMarginAccountResponse>>}
4659
4679
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4660
4680
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Disable-Isolated-Margin-Account Binance API Documentation}
@@ -4669,6 +4689,7 @@ var RestAPI = class {
4669
4689
  *
4670
4690
  * @summary Enable Isolated Margin Account (TRADE)
4671
4691
  * @param {EnableIsolatedMarginAccountRequest} requestParameters Request parameters.
4692
+ *
4672
4693
  * @returns {Promise<RestApiResponse<EnableIsolatedMarginAccountResponse>>}
4673
4694
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4674
4695
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Enable-Isolated-Margin-Account Binance API Documentation}
@@ -4683,6 +4704,7 @@ var RestAPI = class {
4683
4704
  *
4684
4705
  * @summary Get BNB Burn Status (USER_DATA)
4685
4706
  * @param {GetBnbBurnStatusRequest} requestParameters Request parameters.
4707
+ *
4686
4708
  * @returns {Promise<RestApiResponse<GetBnbBurnStatusResponse>>}
4687
4709
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4688
4710
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Get-BNB-Burn-Status Binance API Documentation}
@@ -4697,6 +4719,7 @@ var RestAPI = class {
4697
4719
  *
4698
4720
  * @summary Get Summary of Margin account (USER_DATA)
4699
4721
  * @param {GetSummaryOfMarginAccountRequest} requestParameters Request parameters.
4722
+ *
4700
4723
  * @returns {Promise<RestApiResponse<GetSummaryOfMarginAccountResponse>>}
4701
4724
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4702
4725
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Get-Summary-of-Margin-account Binance API Documentation}
@@ -4711,6 +4734,7 @@ var RestAPI = class {
4711
4734
  *
4712
4735
  * @summary Query Cross Isolated Margin Capital Flow (USER_DATA)
4713
4736
  * @param {QueryCrossIsolatedMarginCapitalFlowRequest} requestParameters Request parameters.
4737
+ *
4714
4738
  * @returns {Promise<RestApiResponse<QueryCrossIsolatedMarginCapitalFlowResponse>>}
4715
4739
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4716
4740
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Cross-Isolated-Margin-Capital-Flow Binance API Documentation}
@@ -4725,6 +4749,7 @@ var RestAPI = class {
4725
4749
  *
4726
4750
  * @summary Query Cross Margin Account Details (USER_DATA)
4727
4751
  * @param {QueryCrossMarginAccountDetailsRequest} requestParameters Request parameters.
4752
+ *
4728
4753
  * @returns {Promise<RestApiResponse<QueryCrossMarginAccountDetailsResponse>>}
4729
4754
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4730
4755
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Cross-Margin-Account-Details Binance API Documentation}
@@ -4739,6 +4764,7 @@ var RestAPI = class {
4739
4764
  *
4740
4765
  * @summary Query Cross Margin Fee Data (USER_DATA)
4741
4766
  * @param {QueryCrossMarginFeeDataRequest} requestParameters Request parameters.
4767
+ *
4742
4768
  * @returns {Promise<RestApiResponse<QueryCrossMarginFeeDataResponse>>}
4743
4769
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4744
4770
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Cross-Margin-Fee-Data Binance API Documentation}
@@ -4753,6 +4779,7 @@ var RestAPI = class {
4753
4779
  *
4754
4780
  * @summary Query Enabled Isolated Margin Account Limit (USER_DATA)
4755
4781
  * @param {QueryEnabledIsolatedMarginAccountLimitRequest} requestParameters Request parameters.
4782
+ *
4756
4783
  * @returns {Promise<RestApiResponse<QueryEnabledIsolatedMarginAccountLimitResponse>>}
4757
4784
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4758
4785
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Enabled-Isolated-Margin-Account-Limit Binance API Documentation}
@@ -4770,6 +4797,7 @@ var RestAPI = class {
4770
4797
  *
4771
4798
  * @summary Query Isolated Margin Account Info (USER_DATA)
4772
4799
  * @param {QueryIsolatedMarginAccountInfoRequest} requestParameters Request parameters.
4800
+ *
4773
4801
  * @returns {Promise<RestApiResponse<QueryIsolatedMarginAccountInfoResponse>>}
4774
4802
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4775
4803
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Isolated-Margin-Account-Info Binance API Documentation}
@@ -4784,6 +4812,7 @@ var RestAPI = class {
4784
4812
  *
4785
4813
  * @summary Query Isolated Margin Fee Data (USER_DATA)
4786
4814
  * @param {QueryIsolatedMarginFeeDataRequest} requestParameters Request parameters.
4815
+ *
4787
4816
  * @returns {Promise<RestApiResponse<QueryIsolatedMarginFeeDataResponse>>}
4788
4817
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4789
4818
  * @see {@link https://developers.binance.com/docs/margin_trading/account/Query-Isolated-Margin-Fee-Data Binance API Documentation}
@@ -4798,6 +4827,7 @@ var RestAPI = class {
4798
4827
  *
4799
4828
  * @summary Get future hourly interest rate (USER_DATA)
4800
4829
  * @param {GetFutureHourlyInterestRateRequest} requestParameters Request parameters.
4830
+ *
4801
4831
  * @returns {Promise<RestApiResponse<GetFutureHourlyInterestRateResponse>>}
4802
4832
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4803
4833
  * @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Get-a-future-hourly-interest-rate Binance API Documentation}
@@ -4825,6 +4855,7 @@ var RestAPI = class {
4825
4855
  *
4826
4856
  * @summary Get Interest History (USER_DATA)
4827
4857
  * @param {GetInterestHistoryRequest} requestParameters Request parameters.
4858
+ *
4828
4859
  * @returns {Promise<RestApiResponse<GetInterestHistoryResponse>>}
4829
4860
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4830
4861
  * @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Get-Interest-History Binance API Documentation}
@@ -4839,6 +4870,7 @@ var RestAPI = class {
4839
4870
  *
4840
4871
  * @summary Margin account borrow/repay(MARGIN)
4841
4872
  * @param {MarginAccountBorrowRepayRequest} requestParameters Request parameters.
4873
+ *
4842
4874
  * @returns {Promise<RestApiResponse<MarginAccountBorrowRepayResponse>>}
4843
4875
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4844
4876
  * @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Margin-account-borrow-repay Binance API Documentation}
@@ -4858,6 +4890,7 @@ var RestAPI = class {
4858
4890
  *
4859
4891
  * @summary Query borrow/repay records in Margin account(USER_DATA)
4860
4892
  * @param {QueryBorrowRepayRecordsInMarginAccountRequest} requestParameters Request parameters.
4893
+ *
4861
4894
  * @returns {Promise<RestApiResponse<QueryBorrowRepayRecordsInMarginAccountResponse>>}
4862
4895
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4863
4896
  * @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Query-Borrow-Repay Binance API Documentation}
@@ -4872,6 +4905,7 @@ var RestAPI = class {
4872
4905
  *
4873
4906
  * @summary Query Margin Interest Rate History (USER_DATA)
4874
4907
  * @param {QueryMarginInterestRateHistoryRequest} requestParameters Request parameters.
4908
+ *
4875
4909
  * @returns {Promise<RestApiResponse<QueryMarginInterestRateHistoryResponse>>}
4876
4910
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4877
4911
  * @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Query-Margin-Interest-Rate-History Binance API Documentation}
@@ -4889,6 +4923,7 @@ var RestAPI = class {
4889
4923
  *
4890
4924
  * @summary Query Max Borrow (USER_DATA)
4891
4925
  * @param {QueryMaxBorrowRequest} requestParameters Request parameters.
4926
+ *
4892
4927
  * @returns {Promise<RestApiResponse<QueryMaxBorrowResponse>>}
4893
4928
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4894
4929
  * @see {@link https://developers.binance.com/docs/margin_trading/borrow-and-repay/Query-Max-Borrow Binance API Documentation}
@@ -4902,6 +4937,7 @@ var RestAPI = class {
4902
4937
  * Weight: 100(IP)
4903
4938
  *
4904
4939
  * @summary Cross margin collateral ratio (MARKET_DATA)
4940
+ *
4905
4941
  * @returns {Promise<RestApiResponse<CrossMarginCollateralRatioResponse>>}
4906
4942
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4907
4943
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Cross-margin-collateral-ratio Binance API Documentation}
@@ -4916,6 +4952,7 @@ var RestAPI = class {
4916
4952
  *
4917
4953
  * @summary Get All Cross Margin Pairs (MARKET_DATA)
4918
4954
  * @param {GetAllCrossMarginPairsRequest} requestParameters Request parameters.
4955
+ *
4919
4956
  * @returns {Promise<RestApiResponse<GetAllCrossMarginPairsResponse>>}
4920
4957
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4921
4958
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-All-Cross-Margin-Pairs Binance API Documentation}
@@ -4930,6 +4967,7 @@ var RestAPI = class {
4930
4967
  *
4931
4968
  * @summary Get All Isolated Margin Symbol(MARKET_DATA)
4932
4969
  * @param {GetAllIsolatedMarginSymbolRequest} requestParameters Request parameters.
4970
+ *
4933
4971
  * @returns {Promise<RestApiResponse<GetAllIsolatedMarginSymbolResponse>>}
4934
4972
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4935
4973
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-All-Isolated-Margin-Symbol Binance API Documentation}
@@ -4944,6 +4982,7 @@ var RestAPI = class {
4944
4982
  *
4945
4983
  * @summary Get All Margin Assets (MARKET_DATA)
4946
4984
  * @param {GetAllMarginAssetsRequest} requestParameters Request parameters.
4985
+ *
4947
4986
  * @returns {Promise<RestApiResponse<GetAllMarginAssetsResponse>>}
4948
4987
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4949
4988
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-All-Margin-Assets Binance API Documentation}
@@ -4958,6 +4997,7 @@ var RestAPI = class {
4958
4997
  *
4959
4998
  * @summary Get Delist Schedule (MARKET_DATA)
4960
4999
  * @param {GetDelistScheduleRequest} requestParameters Request parameters.
5000
+ *
4961
5001
  * @returns {Promise<RestApiResponse<GetDelistScheduleResponse>>}
4962
5002
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4963
5003
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Delist-Schedule Binance API Documentation}
@@ -4976,6 +5016,7 @@ var RestAPI = class {
4976
5016
  * Weight: 1
4977
5017
  *
4978
5018
  * @summary Get Limit Price Pairs(MARKET_DATA)
5019
+ *
4979
5020
  * @returns {Promise<RestApiResponse<GetLimitPricePairsResponse>>}
4980
5021
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4981
5022
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Limit-Price-Pairs Binance API Documentation}
@@ -4990,6 +5031,7 @@ var RestAPI = class {
4990
5031
  *
4991
5032
  * @summary Get list Schedule (MARKET_DATA)
4992
5033
  * @param {GetListScheduleRequest} requestParameters Request parameters.
5034
+ *
4993
5035
  * @returns {Promise<RestApiResponse<GetListScheduleResponse>>}
4994
5036
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4995
5037
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-list-Schedule Binance API Documentation}
@@ -5004,6 +5046,7 @@ var RestAPI = class {
5004
5046
  *
5005
5047
  * @summary Query Isolated Margin Tier Data (USER_DATA)
5006
5048
  * @param {QueryIsolatedMarginTierDataRequest} requestParameters Request parameters.
5049
+ *
5007
5050
  * @returns {Promise<RestApiResponse<QueryIsolatedMarginTierDataResponse>>}
5008
5051
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5009
5052
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Query-Isolated-Margin-Tier-Data Binance API Documentation}
@@ -5017,6 +5060,7 @@ var RestAPI = class {
5017
5060
  * Weight: 1
5018
5061
  *
5019
5062
  * @summary Query Liability Coin Leverage Bracket in Cross Margin Pro Mode(MARKET_DATA)
5063
+ *
5020
5064
  * @returns {Promise<RestApiResponse<QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse>>}
5021
5065
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5022
5066
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Query-Liability-Coin-Leverage-Bracket-in-Cross-Margin-Pro-Mode Binance API Documentation}
@@ -5031,6 +5075,7 @@ var RestAPI = class {
5031
5075
  *
5032
5076
  * @summary Query Margin Available Inventory(USER_DATA)
5033
5077
  * @param {QueryMarginAvailableInventoryRequest} requestParameters Request parameters.
5078
+ *
5034
5079
  * @returns {Promise<RestApiResponse<QueryMarginAvailableInventoryResponse>>}
5035
5080
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5036
5081
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Query-margin-avaliable-inventory Binance API Documentation}
@@ -5045,6 +5090,7 @@ var RestAPI = class {
5045
5090
  *
5046
5091
  * @summary Query Margin PriceIndex (MARKET_DATA)
5047
5092
  * @param {QueryMarginPriceindexRequest} requestParameters Request parameters.
5093
+ *
5048
5094
  * @returns {Promise<RestApiResponse<QueryMarginPriceindexResponse>>}
5049
5095
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5050
5096
  * @see {@link https://developers.binance.com/docs/margin_trading/market-data/Query-Margin-PriceIndex Binance API Documentation}
@@ -5058,6 +5104,7 @@ var RestAPI = class {
5058
5104
  * Weight: 3000
5059
5105
  *
5060
5106
  * @summary Close User Data Stream (USER_STREAM)
5107
+ *
5061
5108
  * @returns {Promise<RestApiResponse<void>>}
5062
5109
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5063
5110
  * @see {@link https://developers.binance.com/docs/margin_trading/risk-data-stream/Close-User-Data-Stream Binance API Documentation}
@@ -5072,6 +5119,7 @@ var RestAPI = class {
5072
5119
  *
5073
5120
  * @summary Keepalive User Data Stream (USER_STREAM)
5074
5121
  * @param {KeepaliveUserDataStreamRequest} requestParameters Request parameters.
5122
+ *
5075
5123
  * @returns {Promise<RestApiResponse<void>>}
5076
5124
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5077
5125
  * @see {@link https://developers.binance.com/docs/margin_trading/risk-data-stream/Keepalive-User-Data-Stream Binance API Documentation}
@@ -5085,6 +5133,7 @@ var RestAPI = class {
5085
5133
  * Weight: 1
5086
5134
  *
5087
5135
  * @summary Start User Data Stream (USER_STREAM)
5136
+ *
5088
5137
  * @returns {Promise<RestApiResponse<StartUserDataStreamResponse>>}
5089
5138
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5090
5139
  * @see {@link https://developers.binance.com/docs/margin_trading/risk-data-stream/Start-User-Data-Stream Binance API Documentation}
@@ -5093,9 +5142,19 @@ var RestAPI = class {
5093
5142
  return this.riskDataStreamApi.startUserDataStream();
5094
5143
  }
5095
5144
  /**
5096
- * **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. **
5145
+ * - 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.
5146
+ * - If you are VIP level 3 or below, please contact your VIP manager for eligibility criterias.**
5097
5147
  *
5098
- **If you are VIP level 3 or below, please contact your VIP manager for eligibility criterias.**
5148
+ **Supported Products:**
5149
+ *
5150
+ * - Cross Margin
5151
+ * - Isolated Margin
5152
+ * - Portfolio Margin Pro
5153
+ * - Cross Margin Pro (Additional agreement required and subject to meeting eligibility criteria)
5154
+ *
5155
+ **Unsupported Products:**
5156
+ *
5157
+ * - Portfolio Margin
5099
5158
  *
5100
5159
  * We support several types of API keys:
5101
5160
  *
@@ -5105,14 +5164,11 @@ var RestAPI = class {
5105
5164
  *
5106
5165
  * 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) .
5107
5166
  *
5108
- * 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
5109
- *
5110
- * You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
5111
- *
5112
5167
  * Weight: 1(UID)
5113
5168
  *
5114
5169
  * @summary Create Special Key(Low-Latency Trading)(TRADE)
5115
5170
  * @param {CreateSpecialKeyRequest} requestParameters Request parameters.
5171
+ *
5116
5172
  * @returns {Promise<RestApiResponse<CreateSpecialKeyResponse>>}
5117
5173
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5118
5174
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Create-Special-Key-of-Low-Latency-Trading Binance API Documentation}
@@ -5131,6 +5187,7 @@ var RestAPI = class {
5131
5187
  *
5132
5188
  * @summary Delete Special Key(Low-Latency Trading)(TRADE)
5133
5189
  * @param {DeleteSpecialKeyRequest} requestParameters Request parameters.
5190
+ *
5134
5191
  * @returns {Promise<RestApiResponse<void>>}
5135
5192
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5136
5193
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Delete-Special-Key-of-Low-Latency-Trading Binance API Documentation}
@@ -5147,6 +5204,7 @@ var RestAPI = class {
5147
5204
  *
5148
5205
  * @summary Edit ip for Special Key(Low-Latency Trading)(TRADE)
5149
5206
  * @param {EditIpForSpecialKeyRequest} requestParameters Request parameters.
5207
+ *
5150
5208
  * @returns {Promise<RestApiResponse<void>>}
5151
5209
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5152
5210
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Edit-ip-for-Special-Key-of-Low-Latency-Trading Binance API Documentation}
@@ -5163,6 +5221,7 @@ var RestAPI = class {
5163
5221
  *
5164
5222
  * @summary Get Force Liquidation Record (USER_DATA)
5165
5223
  * @param {GetForceLiquidationRecordRequest} requestParameters Request parameters.
5224
+ *
5166
5225
  * @returns {Promise<RestApiResponse<GetForceLiquidationRecordResponse>>}
5167
5226
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5168
5227
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Get-Force-Liquidation-Record Binance API Documentation}
@@ -5177,6 +5236,7 @@ var RestAPI = class {
5177
5236
  *
5178
5237
  * @summary Get Small Liability Exchange Coin List (USER_DATA)
5179
5238
  * @param {GetSmallLiabilityExchangeCoinListRequest} requestParameters Request parameters.
5239
+ *
5180
5240
  * @returns {Promise<RestApiResponse<GetSmallLiabilityExchangeCoinListResponse>>}
5181
5241
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5182
5242
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Get-Small-Liability-Exchange-Coin-List Binance API Documentation}
@@ -5191,6 +5251,7 @@ var RestAPI = class {
5191
5251
  *
5192
5252
  * @summary Get Small Liability Exchange History (USER_DATA)
5193
5253
  * @param {GetSmallLiabilityExchangeHistoryRequest} requestParameters Request parameters.
5254
+ *
5194
5255
  * @returns {Promise<RestApiResponse<GetSmallLiabilityExchangeHistoryResponse>>}
5195
5256
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5196
5257
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Get-Small-Liability-Exchange-History Binance API Documentation}
@@ -5206,6 +5267,7 @@ var RestAPI = class {
5206
5267
  *
5207
5268
  * @summary Margin Account Cancel all Open Orders on a Symbol (TRADE)
5208
5269
  * @param {MarginAccountCancelAllOpenOrdersOnASymbolRequest} requestParameters Request parameters.
5270
+ *
5209
5271
  * @returns {Promise<RestApiResponse<MarginAccountCancelAllOpenOrdersOnASymbolResponse>>}
5210
5272
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5211
5273
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-Cancel-All-Open-Orders Binance API Documentation}
@@ -5222,6 +5284,7 @@ var RestAPI = class {
5222
5284
  *
5223
5285
  * @summary Margin Account Cancel OCO (TRADE)
5224
5286
  * @param {MarginAccountCancelOcoRequest} requestParameters Request parameters.
5287
+ *
5225
5288
  * @returns {Promise<RestApiResponse<MarginAccountCancelOcoResponse>>}
5226
5289
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5227
5290
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-Cancel-OCO Binance API Documentation}
@@ -5238,6 +5301,7 @@ var RestAPI = class {
5238
5301
  *
5239
5302
  * @summary Margin Account Cancel Order (TRADE)
5240
5303
  * @param {MarginAccountCancelOrderRequest} requestParameters Request parameters.
5304
+ *
5241
5305
  * @returns {Promise<RestApiResponse<MarginAccountCancelOrderResponse>>}
5242
5306
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5243
5307
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-Cancel-Order Binance API Documentation}
@@ -5254,6 +5318,7 @@ var RestAPI = class {
5254
5318
  *
5255
5319
  * @summary Margin Account New OCO (TRADE)
5256
5320
  * @param {MarginAccountNewOcoRequest} requestParameters Request parameters.
5321
+ *
5257
5322
  * @returns {Promise<RestApiResponse<MarginAccountNewOcoResponse>>}
5258
5323
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5259
5324
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-OCO Binance API Documentation}
@@ -5270,6 +5335,7 @@ var RestAPI = class {
5270
5335
  *
5271
5336
  * @summary Margin Account New Order (TRADE)
5272
5337
  * @param {MarginAccountNewOrderRequest} requestParameters Request parameters.
5338
+ *
5273
5339
  * @returns {Promise<RestApiResponse<MarginAccountNewOrderResponse>>}
5274
5340
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5275
5341
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-Order Binance API Documentation}
@@ -5294,6 +5360,7 @@ var RestAPI = class {
5294
5360
  *
5295
5361
  * @summary Margin Account New OTO (TRADE)
5296
5362
  * @param {MarginAccountNewOtoRequest} requestParameters Request parameters.
5363
+ *
5297
5364
  * @returns {Promise<RestApiResponse<MarginAccountNewOtoResponse>>}
5298
5365
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5299
5366
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-OTO Binance API Documentation}
@@ -5318,6 +5385,7 @@ var RestAPI = class {
5318
5385
  *
5319
5386
  * @summary Margin Account New OTOCO (TRADE)
5320
5387
  * @param {MarginAccountNewOtocoRequest} requestParameters Request parameters.
5388
+ *
5321
5389
  * @returns {Promise<RestApiResponse<MarginAccountNewOtocoResponse>>}
5322
5390
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5323
5391
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-OTOCO Binance API Documentation}
@@ -5335,6 +5403,7 @@ var RestAPI = class {
5335
5403
  *
5336
5404
  * @summary Margin Manual Liquidation(MARGIN)
5337
5405
  * @param {MarginManualLiquidationRequest} requestParameters Request parameters.
5406
+ *
5338
5407
  * @returns {Promise<RestApiResponse<MarginManualLiquidationResponse>>}
5339
5408
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5340
5409
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Margin-Manual-Liquidation Binance API Documentation}
@@ -5349,6 +5418,7 @@ var RestAPI = class {
5349
5418
  *
5350
5419
  * @summary Query Current Margin Order Count Usage (TRADE)
5351
5420
  * @param {QueryCurrentMarginOrderCountUsageRequest} requestParameters Request parameters.
5421
+ *
5352
5422
  * @returns {Promise<RestApiResponse<QueryCurrentMarginOrderCountUsageResponse>>}
5353
5423
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5354
5424
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Current-Margin-Order-Count-Usage Binance API Documentation}
@@ -5363,6 +5433,7 @@ var RestAPI = class {
5363
5433
  *
5364
5434
  * @summary Query Margin Account\'s all OCO (USER_DATA)
5365
5435
  * @param {QueryMarginAccountsAllOcoRequest} requestParameters Request parameters.
5436
+ *
5366
5437
  * @returns {Promise<RestApiResponse<QueryMarginAccountsAllOcoResponse>>}
5367
5438
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5368
5439
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-all-OCO Binance API Documentation}
@@ -5381,6 +5452,7 @@ var RestAPI = class {
5381
5452
  *
5382
5453
  * @summary Query Margin Account\'s All Orders (USER_DATA)
5383
5454
  * @param {QueryMarginAccountsAllOrdersRequest} requestParameters Request parameters.
5455
+ *
5384
5456
  * @returns {Promise<RestApiResponse<QueryMarginAccountsAllOrdersResponse>>}
5385
5457
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5386
5458
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-All-Orders Binance API Documentation}
@@ -5395,6 +5467,7 @@ var RestAPI = class {
5395
5467
  *
5396
5468
  * @summary Query Margin Account\'s OCO (USER_DATA)
5397
5469
  * @param {QueryMarginAccountsOcoRequest} requestParameters Request parameters.
5470
+ *
5398
5471
  * @returns {Promise<RestApiResponse<QueryMarginAccountsOcoResponse>>}
5399
5472
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5400
5473
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-OCO Binance API Documentation}
@@ -5409,6 +5482,7 @@ var RestAPI = class {
5409
5482
  *
5410
5483
  * @summary Query Margin Account\'s Open OCO (USER_DATA)
5411
5484
  * @param {QueryMarginAccountsOpenOcoRequest} requestParameters Request parameters.
5485
+ *
5412
5486
  * @returns {Promise<RestApiResponse<QueryMarginAccountsOpenOcoResponse>>}
5413
5487
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5414
5488
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Open-OCO Binance API Documentation}
@@ -5427,6 +5501,7 @@ var RestAPI = class {
5427
5501
  *
5428
5502
  * @summary Query Margin Account\'s Open Orders (USER_DATA)
5429
5503
  * @param {QueryMarginAccountsOpenOrdersRequest} requestParameters Request parameters.
5504
+ *
5430
5505
  * @returns {Promise<RestApiResponse<QueryMarginAccountsOpenOrdersResponse>>}
5431
5506
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5432
5507
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Open-Orders Binance API Documentation}
@@ -5444,6 +5519,7 @@ var RestAPI = class {
5444
5519
  *
5445
5520
  * @summary Query Margin Account\'s Order (USER_DATA)
5446
5521
  * @param {QueryMarginAccountsOrderRequest} requestParameters Request parameters.
5522
+ *
5447
5523
  * @returns {Promise<RestApiResponse<QueryMarginAccountsOrderResponse>>}
5448
5524
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5449
5525
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Order Binance API Documentation}
@@ -5461,6 +5537,7 @@ var RestAPI = class {
5461
5537
  *
5462
5538
  * @summary Query Margin Account\'s Trade List (USER_DATA)
5463
5539
  * @param {QueryMarginAccountsTradeListRequest} requestParameters Request parameters.
5540
+ *
5464
5541
  * @returns {Promise<RestApiResponse<QueryMarginAccountsTradeListResponse>>}
5465
5542
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5466
5543
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Trade-List Binance API Documentation}
@@ -5477,6 +5554,7 @@ var RestAPI = class {
5477
5554
  *
5478
5555
  * @summary Query Special key(Low Latency Trading)(TRADE)
5479
5556
  * @param {QuerySpecialKeyRequest} requestParameters Request parameters.
5557
+ *
5480
5558
  * @returns {Promise<RestApiResponse<QuerySpecialKeyResponse>>}
5481
5559
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5482
5560
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Special-Key-of-Low-Latency-Trading Binance API Documentation}
@@ -5491,6 +5569,7 @@ var RestAPI = class {
5491
5569
  *
5492
5570
  * @summary Query Special key List(Low Latency Trading)(TRADE)
5493
5571
  * @param {QuerySpecialKeyListRequest} requestParameters Request parameters.
5572
+ *
5494
5573
  * @returns {Promise<RestApiResponse<QuerySpecialKeyListResponse>>}
5495
5574
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5496
5575
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Query-Special-Key-List-of-Low-Latency-Trading Binance API Documentation}
@@ -5509,6 +5588,7 @@ var RestAPI = class {
5509
5588
  *
5510
5589
  * @summary Small Liability Exchange (MARGIN)
5511
5590
  * @param {SmallLiabilityExchangeRequest} requestParameters Request parameters.
5591
+ *
5512
5592
  * @returns {Promise<RestApiResponse<void>>}
5513
5593
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5514
5594
  * @see {@link https://developers.binance.com/docs/margin_trading/trade/Small-Liability-Exchange Binance API Documentation}
@@ -5523,6 +5603,7 @@ var RestAPI = class {
5523
5603
  *
5524
5604
  * @summary Close Isolated Margin User Data Stream (USER_STREAM)
5525
5605
  * @param {CloseIsolatedMarginUserDataStreamRequest} requestParameters Request parameters.
5606
+ * @deprecated
5526
5607
  * @returns {Promise<RestApiResponse<void>>}
5527
5608
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5528
5609
  * @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Close-Isolated-Margin-User-Data-Stream Binance API Documentation}
@@ -5537,6 +5618,7 @@ var RestAPI = class {
5537
5618
  *
5538
5619
  * @summary Close Margin User Data Stream (USER_STREAM)
5539
5620
  * @param {CloseMarginUserDataStreamRequest} requestParameters Request parameters.
5621
+ * @deprecated
5540
5622
  * @returns {Promise<RestApiResponse<void>>}
5541
5623
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5542
5624
  * @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Close-Margin-User-Data-Stream Binance API Documentation}
@@ -5551,6 +5633,7 @@ var RestAPI = class {
5551
5633
  *
5552
5634
  * @summary Keepalive Isolated Margin User Data Stream (USER_STREAM)
5553
5635
  * @param {KeepaliveIsolatedMarginUserDataStreamRequest} requestParameters Request parameters.
5636
+ * @deprecated
5554
5637
  * @returns {Promise<RestApiResponse<void>>}
5555
5638
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5556
5639
  * @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Keepalive-Isolated-Margin-User-Data-Stream Binance API Documentation}
@@ -5565,6 +5648,7 @@ var RestAPI = class {
5565
5648
  *
5566
5649
  * @summary Keepalive Margin User Data Stream (USER_STREAM)
5567
5650
  * @param {KeepaliveMarginUserDataStreamRequest} requestParameters Request parameters.
5651
+ * @deprecated
5568
5652
  * @returns {Promise<RestApiResponse<void>>}
5569
5653
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5570
5654
  * @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Keepalive-Margin-User-Data-Stream Binance API Documentation}
@@ -5579,6 +5663,7 @@ var RestAPI = class {
5579
5663
  *
5580
5664
  * @summary Start Isolated Margin User Data Stream (USER_STREAM)
5581
5665
  * @param {StartIsolatedMarginUserDataStreamRequest} requestParameters Request parameters.
5666
+ * @deprecated
5582
5667
  * @returns {Promise<RestApiResponse<StartIsolatedMarginUserDataStreamResponse>>}
5583
5668
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5584
5669
  * @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Start-Isolated-Margin-User-Data-Stream Binance API Documentation}
@@ -5592,6 +5677,7 @@ var RestAPI = class {
5592
5677
  * Weight: 1
5593
5678
  *
5594
5679
  * @summary Start Margin User Data Stream (USER_STREAM)
5680
+ * @deprecated
5595
5681
  * @returns {Promise<RestApiResponse<StartMarginUserDataStreamResponse>>}
5596
5682
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5597
5683
  * @see {@link https://developers.binance.com/docs/margin_trading/trade-data-stream/Start-Margin-User-Data-Stream Binance API Documentation}
@@ -5610,6 +5696,7 @@ var RestAPI = class {
5610
5696
  *
5611
5697
  * @summary Get Cross Margin Transfer History (USER_DATA)
5612
5698
  * @param {GetCrossMarginTransferHistoryRequest} requestParameters Request parameters.
5699
+ *
5613
5700
  * @returns {Promise<RestApiResponse<GetCrossMarginTransferHistoryResponse>>}
5614
5701
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5615
5702
  * @see {@link https://developers.binance.com/docs/margin_trading/transfer/Get-Cross-Margin-Transfer-History Binance API Documentation}
@@ -5626,6 +5713,7 @@ var RestAPI = class {
5626
5713
  *
5627
5714
  * @summary Query Max Transfer-Out Amount (USER_DATA)
5628
5715
  * @param {QueryMaxTransferOutAmountRequest} requestParameters Request parameters.
5716
+ *
5629
5717
  * @returns {Promise<RestApiResponse<QueryMaxTransferOutAmountResponse>>}
5630
5718
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5631
5719
  * @see {@link https://developers.binance.com/docs/margin_trading/transfer/Query-Max-Transfer-Out-Amount Binance API Documentation}