@binance/margin-trading 13.0.6 → 13.1.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.ts CHANGED
@@ -4444,6 +4444,116 @@ interface QueryMarginAccountsOpenOrdersResponseInner {
4444
4444
  */
4445
4445
  interface QueryMarginAccountsOpenOrdersResponse extends Array<QueryMarginAccountsOpenOrdersResponseInner> {}
4446
4446
  //#endregion
4447
+ //#region src/rest-api/types/query-margin-accounts-open-otootoco-order-lists-response-inner-orders-inner.d.ts
4448
+ /**
4449
+ * Margin REST API
4450
+ *
4451
+ * Access account information, borrow and repay assets, and trade with Binance Margin.
4452
+ *
4453
+ * The version of the OpenAPI document: 1.0.0
4454
+ *
4455
+ *
4456
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4457
+ * https://openapi-generator.tech
4458
+ * Do not edit the class manually.
4459
+ */
4460
+ /**
4461
+ *
4462
+ * @export
4463
+ * @interface QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
4464
+ */
4465
+ interface QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner {
4466
+ /**
4467
+ * symbol.
4468
+ * @type {string}
4469
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
4470
+ */
4471
+ symbol?: string;
4472
+ /**
4473
+ * order Id. Returns `null` if the working order is not filled yet.
4474
+ * @type {number | bigint}
4475
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
4476
+ */
4477
+ orderId?: number | bigint | null;
4478
+ /**
4479
+ * status.
4480
+ * @type {string}
4481
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
4482
+ */
4483
+ status?: string;
4484
+ /**
4485
+ * client Order Id.
4486
+ * @type {string}
4487
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
4488
+ */
4489
+ clientOrderId?: string;
4490
+ }
4491
+ //#endregion
4492
+ //#region src/rest-api/types/query-margin-accounts-open-otootoco-order-lists-response-inner.d.ts
4493
+ /**
4494
+ *
4495
+ * @export
4496
+ * @interface QueryMarginAccountsOpenOtootocoOrderListsResponseInner
4497
+ */
4498
+ interface QueryMarginAccountsOpenOtootocoOrderListsResponseInner {
4499
+ /**
4500
+ * order List Id.
4501
+ * @type {number | bigint}
4502
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
4503
+ */
4504
+ orderListId?: number | bigint;
4505
+ /**
4506
+ * contingency Type.
4507
+ * @type {string}
4508
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
4509
+ */
4510
+ contingencyType?: string;
4511
+ /**
4512
+ * list Status Type.
4513
+ * @type {string}
4514
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
4515
+ */
4516
+ listStatusType?: string;
4517
+ /**
4518
+ * list Order Status.
4519
+ * @type {string}
4520
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
4521
+ */
4522
+ listOrderStatus?: string;
4523
+ /**
4524
+ * list Client Order Id.
4525
+ * @type {string}
4526
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
4527
+ */
4528
+ listClientOrderId?: string;
4529
+ /**
4530
+ * transaction Time.
4531
+ * @type {number | bigint}
4532
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
4533
+ */
4534
+ transactionTime?: number | bigint;
4535
+ /**
4536
+ * symbol.
4537
+ * @type {string}
4538
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
4539
+ */
4540
+ symbol?: string;
4541
+ /**
4542
+ * orders list.
4543
+ * @type {Array<QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner>}
4544
+ * @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
4545
+ */
4546
+ orders?: Array<QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner>;
4547
+ }
4548
+ //#endregion
4549
+ //#region src/rest-api/types/query-margin-accounts-open-otootoco-order-lists-response.d.ts
4550
+ /**
4551
+ *
4552
+ * @export
4553
+ * @interface QueryMarginAccountsOpenOtootocoOrderListsResponse
4554
+ */
4555
+ interface QueryMarginAccountsOpenOtootocoOrderListsResponse extends Array<QueryMarginAccountsOpenOtootocoOrderListsResponseInner> {}
4556
+ //#endregion
4447
4557
  //#region src/rest-api/types/query-margin-accounts-order-response.d.ts
4448
4558
  /**
4449
4559
  * Margin REST API
@@ -5101,7 +5211,7 @@ interface AccountApiInterface {
5101
5211
  * Security Type: USER_DATA
5102
5212
  *
5103
5213
  * Notes:
5104
- * - The margin level need higher than the initial risk ratio of adjusted leverage, the initial risk ratio of 3x is 1.5 , the initial risk ratio of 5x is 1.25; The detail conditions on how to switch between Cross Margin Classic and Cross Margin Pro can refer to [the FAQ](https://www.binance.com/en/support/faq/how-to-activate-the-cross-margin-pro-mode-on-binance-e27786da05e743a694b8c625b3bc475d).
5214
+ * - The margin level need higher than the initial risk ratio of adjusted leverage, the initial risk ratio of 3x is 1.5 , the initial risk ratio of 5x is 1.25; The detail conditions on how to switch between Cross Margin Classic and Cross Margin Pro can refer to the FAQ.
5105
5215
  *
5106
5216
  * @summary Adjust cross margin max leverage (USER_DATA)
5107
5217
  * @param {AdjustCrossMarginMaxLeverageRequest} requestParameters Request parameters.
@@ -5512,7 +5622,7 @@ declare class AccountApi implements AccountApiInterface {
5512
5622
  * Security Type: USER_DATA
5513
5623
  *
5514
5624
  * Notes:
5515
- * - The margin level need higher than the initial risk ratio of adjusted leverage, the initial risk ratio of 3x is 1.5 , the initial risk ratio of 5x is 1.25; The detail conditions on how to switch between Cross Margin Classic and Cross Margin Pro can refer to [the FAQ](https://www.binance.com/en/support/faq/how-to-activate-the-cross-margin-pro-mode-on-binance-e27786da05e743a694b8c625b3bc475d).
5625
+ * - The margin level need higher than the initial risk ratio of adjusted leverage, the initial risk ratio of 3x is 1.5 , the initial risk ratio of 5x is 1.25; The detail conditions on how to switch between Cross Margin Classic and Cross Margin Pro can refer to the FAQ.
5516
5626
  *
5517
5627
  * @summary Adjust cross margin max leverage (USER_DATA)
5518
5628
  * @param {AdjustCrossMarginMaxLeverageRequest} requestParameters Request parameters.
@@ -5855,7 +5965,7 @@ interface BorrowRepayApiInterface {
5855
5965
  *
5856
5966
  * Notes:
5857
5967
  * - If isolatedSymbol is not sent, crossed margin data will be sent.
5858
- * - `borrowLimit` is also available from [https://www.binance.com/en/margin-fee](https://www.binance.com/en/margin-fee)
5968
+ * - `borrowLimit` is also available from https://www.binance.com/en/margin-fee
5859
5969
  *
5860
5970
  * @summary Query Max Borrow (USER_DATA)
5861
5971
  * @param {QueryMaxBorrowRequest} requestParameters Request parameters.
@@ -6234,7 +6344,7 @@ declare class BorrowRepayApi implements BorrowRepayApiInterface {
6234
6344
  *
6235
6345
  * Notes:
6236
6346
  * - If isolatedSymbol is not sent, crossed margin data will be sent.
6237
- * - `borrowLimit` is also available from [https://www.binance.com/en/margin-fee](https://www.binance.com/en/margin-fee)
6347
+ * - `borrowLimit` is also available from https://www.binance.com/en/margin-fee
6238
6348
  *
6239
6349
  * @summary Query Max Borrow (USER_DATA)
6240
6350
  * @param {QueryMaxBorrowRequest} requestParameters Request parameters.
@@ -6805,12 +6915,12 @@ interface TradeApiInterface {
6805
6915
  /**
6806
6916
  * **Eligibility**
6807
6917
  *
6808
- * - 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 7 or higher.
6918
+ * - Binance Margin offers low-latency trading through a special key, available exclusively to users with VIP level 7 or higher.
6809
6919
  * - If you are VIP level 6 or below, please contact your VIP manager for eligibility criterias.
6810
6920
  * - All new Margin Special Key users are required to read, understand, and agree to the Margin Special Key Supplemental Product Terms at the master account level before creating a Margin Special Key.
6811
6921
  * - Once signed at the master account level, the agreement applies to all sub-accounts. The master account and all sub-accounts (Cross Margin Classic and Portfolio Margin Pro) are authorized to create a Margin Special Key and are subject to the LiquidationLoan policy.
6812
6922
  *
6813
- * For more information, please refer to [FAQ](https://www.binance.com/en/support/faq/detail/3208663e900d4d2e9fec4140e1832f4e).
6923
+ * For more information, please refer to FAQ.
6814
6924
  *
6815
6925
  **Supported Products:**
6816
6926
  *
@@ -6828,7 +6938,7 @@ interface TradeApiInterface {
6828
6938
  * HMAC
6829
6939
  * RSA
6830
6940
  *
6831
- * 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) .
6941
+ * 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 .
6832
6942
  *
6833
6943
  **How to use the Margin Special Key**
6834
6944
  * - Use the below `sapi` endpoint to create your margin special API Key.
@@ -6836,7 +6946,7 @@ interface TradeApiInterface {
6836
6946
  * - For accessing the Isolated Margin account(s), pass the relevant `symbol` parameter in the API Key creation request.
6837
6947
  * - Use the generated API Key (and Secret key, if applicable) to perform margin trading and listenKey generation via **Spot** REST API (`https://api.binance.com/api/v3/*`) endpoints.
6838
6948
  *
6839
- * Read [REST API](/products/spot/rest-api#signed-trade-and-user_data-endpoint-security) or [WebSocket API](/products/spot/web-socket-api#request-security) documentation to learn how to use different API keys
6949
+ * Read REST API or WebSocket API documentation to learn how to use different API keys
6840
6950
  *
6841
6951
  * You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
6842
6952
  *
@@ -6916,7 +7026,7 @@ interface TradeApiInterface {
6916
7026
  * 2. All pre-execution margin checks (including Open-order-loss calculation) will revert to standard mode.
6917
7027
  * 3. A cooldown period (default: 24 hours) will be enforced, during which the account will not be permitted to create new Margin Special API Keys.
6918
7028
  *
6919
- * For more information, please refer to [FAQ](https://www.binance.com/en/support/faq/detail/3208663e900d4d2e9fec4140e1832f4e).
7029
+ * For more information, please refer to FAQ.
6920
7030
  *
6921
7031
  **Preconditions:**
6922
7032
  *
@@ -7135,7 +7245,6 @@ interface TradeApiInterface {
7135
7245
  /**
7136
7246
  * Post a new OTOCO order for margin account:
7137
7247
  *
7138
- *
7139
7248
  * - An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list
7140
7249
  * comprised of 3 orders.
7141
7250
  *
@@ -7145,7 +7254,7 @@ interface TradeApiInterface {
7145
7254
  * - OTOCO has 2 pending orders (pending above and pending below), forming
7146
7255
  * an OCO pair. The pending orders are only placed on the order book when
7147
7256
  * the working order gets **fully filled**.
7148
- * - The rules of the pending above and pending below follow the same rules as the [Order List OCO](https://developers.binance.com/en/docs/catalog/core-trading-margin-trading/api/rest-api/trade#margin-account-new-oco).
7257
+ * - The rules of the pending above and pending below follow the same rules as the Order List OCO.
7149
7258
  * - OTOCOs add **3 orders** against the unfilled order count,
7150
7259
  * `EXCHANGE_MAX_NUM_ORDERS` filter, and `MAX_NUM_ORDERS` filter.
7151
7260
  *
@@ -7317,6 +7426,26 @@ interface TradeApiInterface {
7317
7426
  * @memberof TradeApiInterface
7318
7427
  */
7319
7428
  queryMarginAccountsOpenOrders(requestParameters?: QueryMarginAccountsOpenOrdersRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOrdersResponse>>;
7429
+ /**
7430
+ * Retrieves all open OTO / OTOCO order lists of the margin account.
7431
+ *
7432
+ *
7433
+ * Notes:
7434
+ * - The returned list contains order lists whose `listOrderStatus` is `EXECUTING`, i.e. at least one order of the list is still open (`NEW` / `PARTIALLY_FILLED`).
7435
+ * - For OTO, the `orders` array contains 2 orders: the working order and the pending order.
7436
+ * - For OTOCO, the `orders` array contains 3 orders: the working order and the two pending orders (pending above / pending below).
7437
+ *
7438
+ * Weight(UID): 10
7439
+ *
7440
+ * Security Type: USER_DATA
7441
+ *
7442
+ * @summary Query Margin Account\'s Open OTO/OTOCO Order Lists (USER_DATA)
7443
+ * @param {QueryMarginAccountsOpenOtootocoOrderListsRequest} requestParameters Request parameters.
7444
+ *
7445
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
7446
+ * @memberof TradeApiInterface
7447
+ */
7448
+ queryMarginAccountsOpenOtootocoOrderLists(requestParameters?: QueryMarginAccountsOpenOtootocoOrderListsRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>;
7320
7449
  /**
7321
7450
  * Query Margin Account's Order
7322
7451
  *
@@ -8595,6 +8724,24 @@ interface QueryMarginAccountsOpenOrdersRequest {
8595
8724
  */
8596
8725
  readonly recvWindow?: number | bigint;
8597
8726
  }
8727
+ /**
8728
+ * Request parameters for queryMarginAccountsOpenOtootocoOrderLists operation in TradeApi.
8729
+ * @interface QueryMarginAccountsOpenOtootocoOrderListsRequest
8730
+ */
8731
+ interface QueryMarginAccountsOpenOtootocoOrderListsRequest {
8732
+ /**
8733
+ *
8734
+ * @type {string}
8735
+ * @memberof TradeApiQueryMarginAccountsOpenOtootocoOrderLists
8736
+ */
8737
+ readonly symbol?: string;
8738
+ /**
8739
+ *
8740
+ * @type {number | bigint}
8741
+ * @memberof TradeApiQueryMarginAccountsOpenOtootocoOrderLists
8742
+ */
8743
+ readonly recvWindow?: number | bigint;
8744
+ }
8598
8745
  /**
8599
8746
  * Request parameters for queryMarginAccountsOrder operation in TradeApi.
8600
8747
  * @interface QueryMarginAccountsOrderRequest
@@ -8792,12 +8939,12 @@ declare class TradeApi implements TradeApiInterface {
8792
8939
  /**
8793
8940
  * **Eligibility**
8794
8941
  *
8795
- * - 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 7 or higher.
8942
+ * - Binance Margin offers low-latency trading through a special key, available exclusively to users with VIP level 7 or higher.
8796
8943
  * - If you are VIP level 6 or below, please contact your VIP manager for eligibility criterias.
8797
8944
  * - All new Margin Special Key users are required to read, understand, and agree to the Margin Special Key Supplemental Product Terms at the master account level before creating a Margin Special Key.
8798
8945
  * - Once signed at the master account level, the agreement applies to all sub-accounts. The master account and all sub-accounts (Cross Margin Classic and Portfolio Margin Pro) are authorized to create a Margin Special Key and are subject to the LiquidationLoan policy.
8799
8946
  *
8800
- * For more information, please refer to [FAQ](https://www.binance.com/en/support/faq/detail/3208663e900d4d2e9fec4140e1832f4e).
8947
+ * For more information, please refer to FAQ.
8801
8948
  *
8802
8949
  **Supported Products:**
8803
8950
  *
@@ -8815,7 +8962,7 @@ declare class TradeApi implements TradeApiInterface {
8815
8962
  * HMAC
8816
8963
  * RSA
8817
8964
  *
8818
- * 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) .
8965
+ * 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 .
8819
8966
  *
8820
8967
  **How to use the Margin Special Key**
8821
8968
  * - Use the below `sapi` endpoint to create your margin special API Key.
@@ -8823,7 +8970,7 @@ declare class TradeApi implements TradeApiInterface {
8823
8970
  * - For accessing the Isolated Margin account(s), pass the relevant `symbol` parameter in the API Key creation request.
8824
8971
  * - Use the generated API Key (and Secret key, if applicable) to perform margin trading and listenKey generation via **Spot** REST API (`https://api.binance.com/api/v3/*`) endpoints.
8825
8972
  *
8826
- * Read [REST API](/products/spot/rest-api#signed-trade-and-user_data-endpoint-security) or [WebSocket API](/products/spot/web-socket-api#request-security) documentation to learn how to use different API keys
8973
+ * Read REST API or WebSocket API documentation to learn how to use different API keys
8827
8974
  *
8828
8975
  * You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
8829
8976
  *
@@ -8906,7 +9053,7 @@ declare class TradeApi implements TradeApiInterface {
8906
9053
  * 2. All pre-execution margin checks (including Open-order-loss calculation) will revert to standard mode.
8907
9054
  * 3. A cooldown period (default: 24 hours) will be enforced, during which the account will not be permitted to create new Margin Special API Keys.
8908
9055
  *
8909
- * For more information, please refer to [FAQ](https://www.binance.com/en/support/faq/detail/3208663e900d4d2e9fec4140e1832f4e).
9056
+ * For more information, please refer to FAQ.
8910
9057
  *
8911
9058
  **Preconditions:**
8912
9059
  *
@@ -9136,7 +9283,6 @@ declare class TradeApi implements TradeApiInterface {
9136
9283
  /**
9137
9284
  * Post a new OTOCO order for margin account:
9138
9285
  *
9139
- *
9140
9286
  * - An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list
9141
9287
  * comprised of 3 orders.
9142
9288
  *
@@ -9146,7 +9292,7 @@ declare class TradeApi implements TradeApiInterface {
9146
9292
  * - OTOCO has 2 pending orders (pending above and pending below), forming
9147
9293
  * an OCO pair. The pending orders are only placed on the order book when
9148
9294
  * the working order gets **fully filled**.
9149
- * - The rules of the pending above and pending below follow the same rules as the [Order List OCO](https://developers.binance.com/en/docs/catalog/core-trading-margin-trading/api/rest-api/trade#margin-account-new-oco).
9295
+ * - The rules of the pending above and pending below follow the same rules as the Order List OCO.
9150
9296
  * - OTOCOs add **3 orders** against the unfilled order count,
9151
9297
  * `EXCHANGE_MAX_NUM_ORDERS` filter, and `MAX_NUM_ORDERS` filter.
9152
9298
  *
@@ -9328,6 +9474,27 @@ declare class TradeApi implements TradeApiInterface {
9328
9474
  * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-margin-trading/api/rest-api/trade#query-margin-accounts-open-orders Binance API Documentation}
9329
9475
  */
9330
9476
  queryMarginAccountsOpenOrders(requestParameters?: QueryMarginAccountsOpenOrdersRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOrdersResponse>>;
9477
+ /**
9478
+ * Retrieves all open OTO / OTOCO order lists of the margin account.
9479
+ *
9480
+ *
9481
+ * Notes:
9482
+ * - The returned list contains order lists whose `listOrderStatus` is `EXECUTING`, i.e. at least one order of the list is still open (`NEW` / `PARTIALLY_FILLED`).
9483
+ * - For OTO, the `orders` array contains 2 orders: the working order and the pending order.
9484
+ * - For OTOCO, the `orders` array contains 3 orders: the working order and the two pending orders (pending above / pending below).
9485
+ *
9486
+ * Weight(UID): 10
9487
+ *
9488
+ * Security Type: USER_DATA
9489
+ *
9490
+ * @summary Query Margin Account\'s Open OTO/OTOCO Order Lists (USER_DATA)
9491
+ * @param {QueryMarginAccountsOpenOtootocoOrderListsRequest} requestParameters Request parameters.
9492
+ * @returns {Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>}
9493
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
9494
+ * @memberof TradeApi
9495
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-margin-trading/api/rest-api/trade#query-margin-accounts-open-otootoco-order-lists Binance API Documentation}
9496
+ */
9497
+ queryMarginAccountsOpenOtootocoOrderLists(requestParameters?: QueryMarginAccountsOpenOtootocoOrderListsRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>;
9331
9498
  /**
9332
9499
  * Query Margin Account's Order
9333
9500
  *
@@ -10014,7 +10181,7 @@ declare class RestAPI {
10014
10181
  * Security Type: USER_DATA
10015
10182
  *
10016
10183
  * Notes:
10017
- * - The margin level need higher than the initial risk ratio of adjusted leverage, the initial risk ratio of 3x is 1.5 , the initial risk ratio of 5x is 1.25; The detail conditions on how to switch between Cross Margin Classic and Cross Margin Pro can refer to [the FAQ](https://www.binance.com/en/support/faq/how-to-activate-the-cross-margin-pro-mode-on-binance-e27786da05e743a694b8c625b3bc475d).
10184
+ * - The margin level need higher than the initial risk ratio of adjusted leverage, the initial risk ratio of 3x is 1.5 , the initial risk ratio of 5x is 1.25; The detail conditions on how to switch between Cross Margin Classic and Cross Margin Pro can refer to the FAQ.
10018
10185
  *
10019
10186
  * @summary Adjust cross margin max leverage (USER_DATA)
10020
10187
  * @param {AdjustCrossMarginMaxLeverageRequest} requestParameters Request parameters.
@@ -10336,7 +10503,7 @@ declare class RestAPI {
10336
10503
  *
10337
10504
  * Notes:
10338
10505
  * - If isolatedSymbol is not sent, crossed margin data will be sent.
10339
- * - `borrowLimit` is also available from [https://www.binance.com/en/margin-fee](https://www.binance.com/en/margin-fee)
10506
+ * - `borrowLimit` is also available from https://www.binance.com/en/margin-fee
10340
10507
  *
10341
10508
  * @summary Query Max Borrow (USER_DATA)
10342
10509
  * @param {QueryMaxBorrowRequest} requestParameters Request parameters.
@@ -10555,12 +10722,12 @@ declare class RestAPI {
10555
10722
  /**
10556
10723
  * **Eligibility**
10557
10724
  *
10558
- * - 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 7 or higher.
10725
+ * - Binance Margin offers low-latency trading through a special key, available exclusively to users with VIP level 7 or higher.
10559
10726
  * - If you are VIP level 6 or below, please contact your VIP manager for eligibility criterias.
10560
10727
  * - All new Margin Special Key users are required to read, understand, and agree to the Margin Special Key Supplemental Product Terms at the master account level before creating a Margin Special Key.
10561
10728
  * - Once signed at the master account level, the agreement applies to all sub-accounts. The master account and all sub-accounts (Cross Margin Classic and Portfolio Margin Pro) are authorized to create a Margin Special Key and are subject to the LiquidationLoan policy.
10562
10729
  *
10563
- * For more information, please refer to [FAQ](https://www.binance.com/en/support/faq/detail/3208663e900d4d2e9fec4140e1832f4e).
10730
+ * For more information, please refer to FAQ.
10564
10731
  *
10565
10732
  **Supported Products:**
10566
10733
  *
@@ -10578,7 +10745,7 @@ declare class RestAPI {
10578
10745
  * HMAC
10579
10746
  * RSA
10580
10747
  *
10581
- * 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) .
10748
+ * 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 .
10582
10749
  *
10583
10750
  **How to use the Margin Special Key**
10584
10751
  * - Use the below `sapi` endpoint to create your margin special API Key.
@@ -10586,7 +10753,7 @@ declare class RestAPI {
10586
10753
  * - For accessing the Isolated Margin account(s), pass the relevant `symbol` parameter in the API Key creation request.
10587
10754
  * - Use the generated API Key (and Secret key, if applicable) to perform margin trading and listenKey generation via **Spot** REST API (`https://api.binance.com/api/v3/*`) endpoints.
10588
10755
  *
10589
- * Read [REST API](/products/spot/rest-api#signed-trade-and-user_data-endpoint-security) or [WebSocket API](/products/spot/web-socket-api#request-security) documentation to learn how to use different API keys
10756
+ * Read REST API or WebSocket API documentation to learn how to use different API keys
10590
10757
  *
10591
10758
  * You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
10592
10759
  *
@@ -10669,7 +10836,7 @@ declare class RestAPI {
10669
10836
  * 2. All pre-execution margin checks (including Open-order-loss calculation) will revert to standard mode.
10670
10837
  * 3. A cooldown period (default: 24 hours) will be enforced, during which the account will not be permitted to create new Margin Special API Keys.
10671
10838
  *
10672
- * For more information, please refer to [FAQ](https://www.binance.com/en/support/faq/detail/3208663e900d4d2e9fec4140e1832f4e).
10839
+ * For more information, please refer to FAQ.
10673
10840
  *
10674
10841
  **Preconditions:**
10675
10842
  *
@@ -10899,7 +11066,6 @@ declare class RestAPI {
10899
11066
  /**
10900
11067
  * Post a new OTOCO order for margin account:
10901
11068
  *
10902
- *
10903
11069
  * - An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list
10904
11070
  * comprised of 3 orders.
10905
11071
  *
@@ -10909,7 +11075,7 @@ declare class RestAPI {
10909
11075
  * - OTOCO has 2 pending orders (pending above and pending below), forming
10910
11076
  * an OCO pair. The pending orders are only placed on the order book when
10911
11077
  * the working order gets **fully filled**.
10912
- * - The rules of the pending above and pending below follow the same rules as the [Order List OCO](https://developers.binance.com/en/docs/catalog/core-trading-margin-trading/api/rest-api/trade#margin-account-new-oco).
11078
+ * - The rules of the pending above and pending below follow the same rules as the Order List OCO.
10913
11079
  * - OTOCOs add **3 orders** against the unfilled order count,
10914
11080
  * `EXCHANGE_MAX_NUM_ORDERS` filter, and `MAX_NUM_ORDERS` filter.
10915
11081
  *
@@ -11091,6 +11257,27 @@ declare class RestAPI {
11091
11257
  * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-margin-trading/api/rest-api/trade#query-margin-accounts-open-orders Binance API Documentation}
11092
11258
  */
11093
11259
  queryMarginAccountsOpenOrders(requestParameters?: QueryMarginAccountsOpenOrdersRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOrdersResponse>>;
11260
+ /**
11261
+ * Retrieves all open OTO / OTOCO order lists of the margin account.
11262
+ *
11263
+ *
11264
+ * Notes:
11265
+ * - The returned list contains order lists whose `listOrderStatus` is `EXECUTING`, i.e. at least one order of the list is still open (`NEW` / `PARTIALLY_FILLED`).
11266
+ * - For OTO, the `orders` array contains 2 orders: the working order and the pending order.
11267
+ * - For OTOCO, the `orders` array contains 3 orders: the working order and the two pending orders (pending above / pending below).
11268
+ *
11269
+ * Weight(UID): 10
11270
+ *
11271
+ * Security Type: USER_DATA
11272
+ *
11273
+ * @summary Query Margin Account\'s Open OTO/OTOCO Order Lists (USER_DATA)
11274
+ * @param {QueryMarginAccountsOpenOtootocoOrderListsRequest} requestParameters Request parameters.
11275
+ *
11276
+ * @returns {Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>}
11277
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
11278
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-margin-trading/api/rest-api/trade#query-margin-accounts-open-otootoco-order-lists Binance API Documentation}
11279
+ */
11280
+ queryMarginAccountsOpenOtootocoOrderLists(requestParameters?: QueryMarginAccountsOpenOtootocoOrderListsRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>;
11094
11281
  /**
11095
11282
  * Query Margin Account's Order
11096
11283
  *
@@ -11302,7 +11489,7 @@ declare class RestAPI {
11302
11489
  startUserDataStream(): Promise<RestApiResponse<StartUserDataStreamResponse>>;
11303
11490
  }
11304
11491
  declare namespace index_d_exports {
11305
- export { AccountApi, AccountApiInterface, AdjustCrossMarginMaxLeverageRequest, AdjustCrossMarginMaxLeverageResponse, BorrowRepayApi, BorrowRepayApiInterface, CreateSpecialKeyPermissionModeEnum, CreateSpecialKeyRequest, CreateSpecialKeyResponse, CrossMarginCollateralRatioResponse, CrossMarginCollateralRatioResponseInner, CrossMarginCollateralRatioResponseInnerCollateralsInner, DeleteSpecialKeyRequest, DisableIsolatedMarginAccountRequest, DisableIsolatedMarginAccountResponse, EditIpForSpecialKeyRequest, EnableIsolatedMarginAccountRequest, EnableIsolatedMarginAccountResponse, ExitSpecialKeyModeRequest, GetAllCrossMarginPairsRequest, GetAllCrossMarginPairsResponse, GetAllCrossMarginPairsResponseInner, GetAllIsolatedMarginSymbolRequest, GetAllIsolatedMarginSymbolResponse, GetAllIsolatedMarginSymbolResponseInner, GetAllMarginAssetsRequest, GetAllMarginAssetsResponse, GetAllMarginAssetsResponseInner, GetBnbBurnStatusRequest, GetBnbBurnStatusResponse, GetCrossMarginTransferHistoryRequest, GetCrossMarginTransferHistoryResponse, GetCrossMarginTransferHistoryResponseRowsInner, GetCrossMarginTransferHistoryTypeEnum, GetDelistScheduleRequest, GetDelistScheduleResponse, GetDelistScheduleResponseInner, GetForceLiquidationRecordRequest, GetForceLiquidationRecordResponse, GetForceLiquidationRecordResponseRowsInner, GetFutureHourlyInterestRateIsIsolatedEnum, GetFutureHourlyInterestRateRequest, GetFutureHourlyInterestRateResponse, GetFutureHourlyInterestRateResponseInner, GetInterestHistoryRequest, GetInterestHistoryResponse, GetInterestHistoryResponseRowsInner, GetLimitPricePairsResponse, GetListScheduleRequest, GetListScheduleResponse, GetListScheduleResponseInner, GetMarginAssetRiskBasedLiquidationRatioResponse, GetMarginAssetRiskBasedLiquidationRatioResponseInner, GetMarginRestrictedAssetsResponse, GetSmallLiabilityExchangeCoinListRequest, GetSmallLiabilityExchangeCoinListResponse, GetSmallLiabilityExchangeCoinListResponseInner, GetSmallLiabilityExchangeHistoryRequest, GetSmallLiabilityExchangeHistoryResponse, GetSmallLiabilityExchangeHistoryResponseRowsInner, GetSummaryOfMarginAccountRequest, GetSummaryOfMarginAccountResponse, KeepaliveUserDataStreamRequest, LiquidationLoanRepayRequest, LiquidationLoanRepayResponse, MarginAccountBorrowRepayIsIsolatedEnum, MarginAccountBorrowRepayRequest, MarginAccountBorrowRepayResponse, MarginAccountBorrowRepayTypeEnum, MarginAccountCancelAllOpenOrdersOnASymbolIsIsolatedEnum, MarginAccountCancelAllOpenOrdersOnASymbolRequest, MarginAccountCancelAllOpenOrdersOnASymbolResponse, MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, MarginAccountCancelOcoIsIsolatedEnum, MarginAccountCancelOcoRequest, MarginAccountCancelOcoResponse, MarginAccountCancelOcoResponseOrderReportsInner, MarginAccountCancelOcoResponseOrdersInner, MarginAccountCancelOrderIsIsolatedEnum, MarginAccountCancelOrderRequest, MarginAccountCancelOrderResponse, MarginAccountNewOcoIsIsolatedEnum, MarginAccountNewOcoNewOrderRespTypeEnum, MarginAccountNewOcoRequest, MarginAccountNewOcoResponse, MarginAccountNewOcoResponseOrderReportsInner, MarginAccountNewOcoResponseOrdersInner, MarginAccountNewOcoSelfTradePreventionModeEnum, MarginAccountNewOcoSideEffectTypeEnum, MarginAccountNewOcoSideEnum, MarginAccountNewOcoStopLimitTimeInForceEnum, MarginAccountNewOrderIsIsolatedEnum, MarginAccountNewOrderNewOrderRespTypeEnum, MarginAccountNewOrderRequest, MarginAccountNewOrderResponse, MarginAccountNewOrderResponseFillsInner, MarginAccountNewOrderSelfTradePreventionModeEnum, MarginAccountNewOrderSideEffectTypeEnum, MarginAccountNewOrderSideEnum, MarginAccountNewOrderTimeInForceEnum, MarginAccountNewOrderTypeEnum, MarginAccountNewOtoIsIsolatedEnum, MarginAccountNewOtoNewOrderRespTypeEnum, MarginAccountNewOtoPendingSideEnum, MarginAccountNewOtoPendingTimeInForceEnum, MarginAccountNewOtoPendingTypeEnum, MarginAccountNewOtoRequest, MarginAccountNewOtoResponse, MarginAccountNewOtoResponseOrderReportsInner, MarginAccountNewOtoResponseOrdersInner, MarginAccountNewOtoSelfTradePreventionModeEnum, MarginAccountNewOtoSideEffectTypeEnum, MarginAccountNewOtoWorkingSideEnum, MarginAccountNewOtoWorkingTimeInForceEnum, MarginAccountNewOtoWorkingTypeEnum, MarginAccountNewOtocoIsIsolatedEnum, MarginAccountNewOtocoNewOrderRespTypeEnum, MarginAccountNewOtocoPendingAboveTimeInForceEnum, MarginAccountNewOtocoPendingAboveTypeEnum, MarginAccountNewOtocoPendingBelowTimeInForceEnum, MarginAccountNewOtocoPendingBelowTypeEnum, MarginAccountNewOtocoPendingSideEnum, MarginAccountNewOtocoRequest, MarginAccountNewOtocoResponse, MarginAccountNewOtocoResponseOrderReportsInner, MarginAccountNewOtocoResponseOrdersInner, MarginAccountNewOtocoSelfTradePreventionModeEnum, MarginAccountNewOtocoSideEffectTypeEnum, MarginAccountNewOtocoWorkingSideEnum, MarginAccountNewOtocoWorkingTimeInForceEnum, MarginAccountNewOtocoWorkingTypeEnum, MarginManualLiquidationRequest, MarginManualLiquidationResponse, MarginManualLiquidationTypeEnum, MarketDataApi, MarketDataApiInterface, QueryBorrowRepayRecordsInMarginAccountRequest, QueryBorrowRepayRecordsInMarginAccountResponse, QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, QueryBorrowRepayRecordsInMarginAccountTypeEnum, QueryCrossIsolatedMarginCapitalFlowRequest, QueryCrossIsolatedMarginCapitalFlowResponse, QueryCrossIsolatedMarginCapitalFlowResponseInner, QueryCrossIsolatedMarginCapitalFlowTypeEnum, QueryCrossMarginAccountDetailsRequest, QueryCrossMarginAccountDetailsResponse, QueryCrossMarginAccountDetailsResponseUserAssetsInner, QueryCrossMarginFeeDataRequest, QueryCrossMarginFeeDataResponse, QueryCrossMarginFeeDataResponseInner, QueryCurrentMarginOrderCountUsageIsIsolatedEnum, QueryCurrentMarginOrderCountUsageRequest, QueryCurrentMarginOrderCountUsageResponse, QueryCurrentMarginOrderCountUsageResponseInner, QueryEnabledIsolatedMarginAccountLimitRequest, QueryEnabledIsolatedMarginAccountLimitResponse, QueryIsolatedMarginAccountInfoRequest, QueryIsolatedMarginAccountInfoResponse, QueryIsolatedMarginAccountInfoResponseAssetsInner, QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset, QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset, QueryIsolatedMarginFeeDataRequest, QueryIsolatedMarginFeeDataResponse, QueryIsolatedMarginFeeDataResponseInner, QueryIsolatedMarginFeeDataResponseInnerDataInner, QueryIsolatedMarginTierDataRequest, QueryIsolatedMarginTierDataResponse, QueryIsolatedMarginTierDataResponseInner, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, QueryLiquidationLoanRepayHistoryRequest, QueryLiquidationLoanRepayHistoryResponse, QueryLiquidationLoanRepayHistoryResponseRowsInner, QueryLiquidationLoanRequest, QueryLiquidationLoanResponse, QueryMarginAccountsAllOcoIsIsolatedEnum, QueryMarginAccountsAllOcoRequest, QueryMarginAccountsAllOcoResponse, QueryMarginAccountsAllOcoResponseInner, QueryMarginAccountsAllOcoResponseInnerOrdersInner, QueryMarginAccountsAllOrdersIsIsolatedEnum, QueryMarginAccountsAllOrdersRequest, QueryMarginAccountsAllOrdersResponse, QueryMarginAccountsAllOrdersResponseInner, QueryMarginAccountsOcoIsIsolatedEnum, QueryMarginAccountsOcoRequest, QueryMarginAccountsOcoResponse, QueryMarginAccountsOcoResponseOrdersInner, QueryMarginAccountsOpenOcoIsIsolatedEnum, QueryMarginAccountsOpenOcoRequest, QueryMarginAccountsOpenOcoResponse, QueryMarginAccountsOpenOcoResponseInner, QueryMarginAccountsOpenOcoResponseInnerOrdersInner, QueryMarginAccountsOpenOrdersIsIsolatedEnum, QueryMarginAccountsOpenOrdersRequest, QueryMarginAccountsOpenOrdersResponse, QueryMarginAccountsOpenOrdersResponseInner, QueryMarginAccountsOrderIsIsolatedEnum, QueryMarginAccountsOrderRequest, QueryMarginAccountsOrderResponse, QueryMarginAccountsTradeListIsIsolatedEnum, QueryMarginAccountsTradeListRequest, QueryMarginAccountsTradeListResponse, QueryMarginAccountsTradeListResponseInner, QueryMarginAvailableInventoryRequest, QueryMarginAvailableInventoryResponse, QueryMarginAvailableInventoryTypeEnum, QueryMarginInterestRateHistoryRequest, QueryMarginInterestRateHistoryResponse, QueryMarginInterestRateHistoryResponseInner, QueryMarginPriceindexRequest, QueryMarginPriceindexResponse, QueryMaxBorrowRequest, QueryMaxBorrowResponse, QueryMaxTransferOutAmountRequest, QueryMaxTransferOutAmountResponse, QueryPreventedMatchesIsIsolatedEnum, QueryPreventedMatchesRequest, QueryPreventedMatchesResponse, QueryPreventedMatchesResponseInner, QuerySpecialKeyListRequest, QuerySpecialKeyListResponse, QuerySpecialKeyListResponseInner, QuerySpecialKeyRequest, QuerySpecialKeyResponse, RestAPI, SmallLiabilityExchangeRequest, StartUserDataStreamResponse, TradeApi, TradeApiInterface, TransferApi, TransferApiInterface, UserDataStreamApi, UserDataStreamApiInterface };
11492
+ export { AccountApi, AccountApiInterface, AdjustCrossMarginMaxLeverageRequest, AdjustCrossMarginMaxLeverageResponse, BorrowRepayApi, BorrowRepayApiInterface, CreateSpecialKeyPermissionModeEnum, CreateSpecialKeyRequest, CreateSpecialKeyResponse, CrossMarginCollateralRatioResponse, CrossMarginCollateralRatioResponseInner, CrossMarginCollateralRatioResponseInnerCollateralsInner, DeleteSpecialKeyRequest, DisableIsolatedMarginAccountRequest, DisableIsolatedMarginAccountResponse, EditIpForSpecialKeyRequest, EnableIsolatedMarginAccountRequest, EnableIsolatedMarginAccountResponse, ExitSpecialKeyModeRequest, GetAllCrossMarginPairsRequest, GetAllCrossMarginPairsResponse, GetAllCrossMarginPairsResponseInner, GetAllIsolatedMarginSymbolRequest, GetAllIsolatedMarginSymbolResponse, GetAllIsolatedMarginSymbolResponseInner, GetAllMarginAssetsRequest, GetAllMarginAssetsResponse, GetAllMarginAssetsResponseInner, GetBnbBurnStatusRequest, GetBnbBurnStatusResponse, GetCrossMarginTransferHistoryRequest, GetCrossMarginTransferHistoryResponse, GetCrossMarginTransferHistoryResponseRowsInner, GetCrossMarginTransferHistoryTypeEnum, GetDelistScheduleRequest, GetDelistScheduleResponse, GetDelistScheduleResponseInner, GetForceLiquidationRecordRequest, GetForceLiquidationRecordResponse, GetForceLiquidationRecordResponseRowsInner, GetFutureHourlyInterestRateIsIsolatedEnum, GetFutureHourlyInterestRateRequest, GetFutureHourlyInterestRateResponse, GetFutureHourlyInterestRateResponseInner, GetInterestHistoryRequest, GetInterestHistoryResponse, GetInterestHistoryResponseRowsInner, GetLimitPricePairsResponse, GetListScheduleRequest, GetListScheduleResponse, GetListScheduleResponseInner, GetMarginAssetRiskBasedLiquidationRatioResponse, GetMarginAssetRiskBasedLiquidationRatioResponseInner, GetMarginRestrictedAssetsResponse, GetSmallLiabilityExchangeCoinListRequest, GetSmallLiabilityExchangeCoinListResponse, GetSmallLiabilityExchangeCoinListResponseInner, GetSmallLiabilityExchangeHistoryRequest, GetSmallLiabilityExchangeHistoryResponse, GetSmallLiabilityExchangeHistoryResponseRowsInner, GetSummaryOfMarginAccountRequest, GetSummaryOfMarginAccountResponse, KeepaliveUserDataStreamRequest, LiquidationLoanRepayRequest, LiquidationLoanRepayResponse, MarginAccountBorrowRepayIsIsolatedEnum, MarginAccountBorrowRepayRequest, MarginAccountBorrowRepayResponse, MarginAccountBorrowRepayTypeEnum, MarginAccountCancelAllOpenOrdersOnASymbolIsIsolatedEnum, MarginAccountCancelAllOpenOrdersOnASymbolRequest, MarginAccountCancelAllOpenOrdersOnASymbolResponse, MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, MarginAccountCancelOcoIsIsolatedEnum, MarginAccountCancelOcoRequest, MarginAccountCancelOcoResponse, MarginAccountCancelOcoResponseOrderReportsInner, MarginAccountCancelOcoResponseOrdersInner, MarginAccountCancelOrderIsIsolatedEnum, MarginAccountCancelOrderRequest, MarginAccountCancelOrderResponse, MarginAccountNewOcoIsIsolatedEnum, MarginAccountNewOcoNewOrderRespTypeEnum, MarginAccountNewOcoRequest, MarginAccountNewOcoResponse, MarginAccountNewOcoResponseOrderReportsInner, MarginAccountNewOcoResponseOrdersInner, MarginAccountNewOcoSelfTradePreventionModeEnum, MarginAccountNewOcoSideEffectTypeEnum, MarginAccountNewOcoSideEnum, MarginAccountNewOcoStopLimitTimeInForceEnum, MarginAccountNewOrderIsIsolatedEnum, MarginAccountNewOrderNewOrderRespTypeEnum, MarginAccountNewOrderRequest, MarginAccountNewOrderResponse, MarginAccountNewOrderResponseFillsInner, MarginAccountNewOrderSelfTradePreventionModeEnum, MarginAccountNewOrderSideEffectTypeEnum, MarginAccountNewOrderSideEnum, MarginAccountNewOrderTimeInForceEnum, MarginAccountNewOrderTypeEnum, MarginAccountNewOtoIsIsolatedEnum, MarginAccountNewOtoNewOrderRespTypeEnum, MarginAccountNewOtoPendingSideEnum, MarginAccountNewOtoPendingTimeInForceEnum, MarginAccountNewOtoPendingTypeEnum, MarginAccountNewOtoRequest, MarginAccountNewOtoResponse, MarginAccountNewOtoResponseOrderReportsInner, MarginAccountNewOtoResponseOrdersInner, MarginAccountNewOtoSelfTradePreventionModeEnum, MarginAccountNewOtoSideEffectTypeEnum, MarginAccountNewOtoWorkingSideEnum, MarginAccountNewOtoWorkingTimeInForceEnum, MarginAccountNewOtoWorkingTypeEnum, MarginAccountNewOtocoIsIsolatedEnum, MarginAccountNewOtocoNewOrderRespTypeEnum, MarginAccountNewOtocoPendingAboveTimeInForceEnum, MarginAccountNewOtocoPendingAboveTypeEnum, MarginAccountNewOtocoPendingBelowTimeInForceEnum, MarginAccountNewOtocoPendingBelowTypeEnum, MarginAccountNewOtocoPendingSideEnum, MarginAccountNewOtocoRequest, MarginAccountNewOtocoResponse, MarginAccountNewOtocoResponseOrderReportsInner, MarginAccountNewOtocoResponseOrdersInner, MarginAccountNewOtocoSelfTradePreventionModeEnum, MarginAccountNewOtocoSideEffectTypeEnum, MarginAccountNewOtocoWorkingSideEnum, MarginAccountNewOtocoWorkingTimeInForceEnum, MarginAccountNewOtocoWorkingTypeEnum, MarginManualLiquidationRequest, MarginManualLiquidationResponse, MarginManualLiquidationTypeEnum, MarketDataApi, MarketDataApiInterface, QueryBorrowRepayRecordsInMarginAccountRequest, QueryBorrowRepayRecordsInMarginAccountResponse, QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, QueryBorrowRepayRecordsInMarginAccountTypeEnum, QueryCrossIsolatedMarginCapitalFlowRequest, QueryCrossIsolatedMarginCapitalFlowResponse, QueryCrossIsolatedMarginCapitalFlowResponseInner, QueryCrossIsolatedMarginCapitalFlowTypeEnum, QueryCrossMarginAccountDetailsRequest, QueryCrossMarginAccountDetailsResponse, QueryCrossMarginAccountDetailsResponseUserAssetsInner, QueryCrossMarginFeeDataRequest, QueryCrossMarginFeeDataResponse, QueryCrossMarginFeeDataResponseInner, QueryCurrentMarginOrderCountUsageIsIsolatedEnum, QueryCurrentMarginOrderCountUsageRequest, QueryCurrentMarginOrderCountUsageResponse, QueryCurrentMarginOrderCountUsageResponseInner, QueryEnabledIsolatedMarginAccountLimitRequest, QueryEnabledIsolatedMarginAccountLimitResponse, QueryIsolatedMarginAccountInfoRequest, QueryIsolatedMarginAccountInfoResponse, QueryIsolatedMarginAccountInfoResponseAssetsInner, QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset, QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset, QueryIsolatedMarginFeeDataRequest, QueryIsolatedMarginFeeDataResponse, QueryIsolatedMarginFeeDataResponseInner, QueryIsolatedMarginFeeDataResponseInnerDataInner, QueryIsolatedMarginTierDataRequest, QueryIsolatedMarginTierDataResponse, QueryIsolatedMarginTierDataResponseInner, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, QueryLiquidationLoanRepayHistoryRequest, QueryLiquidationLoanRepayHistoryResponse, QueryLiquidationLoanRepayHistoryResponseRowsInner, QueryLiquidationLoanRequest, QueryLiquidationLoanResponse, QueryMarginAccountsAllOcoIsIsolatedEnum, QueryMarginAccountsAllOcoRequest, QueryMarginAccountsAllOcoResponse, QueryMarginAccountsAllOcoResponseInner, QueryMarginAccountsAllOcoResponseInnerOrdersInner, QueryMarginAccountsAllOrdersIsIsolatedEnum, QueryMarginAccountsAllOrdersRequest, QueryMarginAccountsAllOrdersResponse, QueryMarginAccountsAllOrdersResponseInner, QueryMarginAccountsOcoIsIsolatedEnum, QueryMarginAccountsOcoRequest, QueryMarginAccountsOcoResponse, QueryMarginAccountsOcoResponseOrdersInner, QueryMarginAccountsOpenOcoIsIsolatedEnum, QueryMarginAccountsOpenOcoRequest, QueryMarginAccountsOpenOcoResponse, QueryMarginAccountsOpenOcoResponseInner, QueryMarginAccountsOpenOcoResponseInnerOrdersInner, QueryMarginAccountsOpenOrdersIsIsolatedEnum, QueryMarginAccountsOpenOrdersRequest, QueryMarginAccountsOpenOrdersResponse, QueryMarginAccountsOpenOrdersResponseInner, QueryMarginAccountsOpenOtootocoOrderListsRequest, QueryMarginAccountsOpenOtootocoOrderListsResponse, QueryMarginAccountsOpenOtootocoOrderListsResponseInner, QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner, QueryMarginAccountsOrderIsIsolatedEnum, QueryMarginAccountsOrderRequest, QueryMarginAccountsOrderResponse, QueryMarginAccountsTradeListIsIsolatedEnum, QueryMarginAccountsTradeListRequest, QueryMarginAccountsTradeListResponse, QueryMarginAccountsTradeListResponseInner, QueryMarginAvailableInventoryRequest, QueryMarginAvailableInventoryResponse, QueryMarginAvailableInventoryTypeEnum, QueryMarginInterestRateHistoryRequest, QueryMarginInterestRateHistoryResponse, QueryMarginInterestRateHistoryResponseInner, QueryMarginPriceindexRequest, QueryMarginPriceindexResponse, QueryMaxBorrowRequest, QueryMaxBorrowResponse, QueryMaxTransferOutAmountRequest, QueryMaxTransferOutAmountResponse, QueryPreventedMatchesIsIsolatedEnum, QueryPreventedMatchesRequest, QueryPreventedMatchesResponse, QueryPreventedMatchesResponseInner, QuerySpecialKeyListRequest, QuerySpecialKeyListResponse, QuerySpecialKeyListResponseInner, QuerySpecialKeyRequest, QuerySpecialKeyResponse, RestAPI, SmallLiabilityExchangeRequest, StartUserDataStreamResponse, TradeApi, TradeApiInterface, TransferApi, TransferApiInterface, UserDataStreamApi, UserDataStreamApiInterface };
11306
11493
  }
11307
11494
  //#endregion
11308
11495
  //#region src/websocket-streams/types/balance-update.d.ts