@binance/margin-trading 13.0.6 → 13.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +215 -28
- package/dist/index.d.ts +215 -28
- package/dist/index.js +81 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +81 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -4442,6 +4442,116 @@ interface QueryMarginAccountsOpenOrdersResponseInner {
|
|
|
4442
4442
|
*/
|
|
4443
4443
|
interface QueryMarginAccountsOpenOrdersResponse extends Array<QueryMarginAccountsOpenOrdersResponseInner> {}
|
|
4444
4444
|
//#endregion
|
|
4445
|
+
//#region src/rest-api/types/query-margin-accounts-open-otootoco-order-lists-response-inner-orders-inner.d.ts
|
|
4446
|
+
/**
|
|
4447
|
+
* Margin REST API
|
|
4448
|
+
*
|
|
4449
|
+
* Access account information, borrow and repay assets, and trade with Binance Margin.
|
|
4450
|
+
*
|
|
4451
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4452
|
+
*
|
|
4453
|
+
*
|
|
4454
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4455
|
+
* https://openapi-generator.tech
|
|
4456
|
+
* Do not edit the class manually.
|
|
4457
|
+
*/
|
|
4458
|
+
/**
|
|
4459
|
+
*
|
|
4460
|
+
* @export
|
|
4461
|
+
* @interface QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
|
|
4462
|
+
*/
|
|
4463
|
+
interface QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner {
|
|
4464
|
+
/**
|
|
4465
|
+
* symbol.
|
|
4466
|
+
* @type {string}
|
|
4467
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
|
|
4468
|
+
*/
|
|
4469
|
+
symbol?: string;
|
|
4470
|
+
/**
|
|
4471
|
+
* order Id. Returns `null` if the working order is not filled yet.
|
|
4472
|
+
* @type {number | bigint}
|
|
4473
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
|
|
4474
|
+
*/
|
|
4475
|
+
orderId?: number | bigint | null;
|
|
4476
|
+
/**
|
|
4477
|
+
* status.
|
|
4478
|
+
* @type {string}
|
|
4479
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
|
|
4480
|
+
*/
|
|
4481
|
+
status?: string;
|
|
4482
|
+
/**
|
|
4483
|
+
* client Order Id.
|
|
4484
|
+
* @type {string}
|
|
4485
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner
|
|
4486
|
+
*/
|
|
4487
|
+
clientOrderId?: string;
|
|
4488
|
+
}
|
|
4489
|
+
//#endregion
|
|
4490
|
+
//#region src/rest-api/types/query-margin-accounts-open-otootoco-order-lists-response-inner.d.ts
|
|
4491
|
+
/**
|
|
4492
|
+
*
|
|
4493
|
+
* @export
|
|
4494
|
+
* @interface QueryMarginAccountsOpenOtootocoOrderListsResponseInner
|
|
4495
|
+
*/
|
|
4496
|
+
interface QueryMarginAccountsOpenOtootocoOrderListsResponseInner {
|
|
4497
|
+
/**
|
|
4498
|
+
* order List Id.
|
|
4499
|
+
* @type {number | bigint}
|
|
4500
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
|
|
4501
|
+
*/
|
|
4502
|
+
orderListId?: number | bigint;
|
|
4503
|
+
/**
|
|
4504
|
+
* contingency Type.
|
|
4505
|
+
* @type {string}
|
|
4506
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
|
|
4507
|
+
*/
|
|
4508
|
+
contingencyType?: string;
|
|
4509
|
+
/**
|
|
4510
|
+
* list Status Type.
|
|
4511
|
+
* @type {string}
|
|
4512
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
|
|
4513
|
+
*/
|
|
4514
|
+
listStatusType?: string;
|
|
4515
|
+
/**
|
|
4516
|
+
* list Order Status.
|
|
4517
|
+
* @type {string}
|
|
4518
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
|
|
4519
|
+
*/
|
|
4520
|
+
listOrderStatus?: string;
|
|
4521
|
+
/**
|
|
4522
|
+
* list Client Order Id.
|
|
4523
|
+
* @type {string}
|
|
4524
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
|
|
4525
|
+
*/
|
|
4526
|
+
listClientOrderId?: string;
|
|
4527
|
+
/**
|
|
4528
|
+
* transaction Time.
|
|
4529
|
+
* @type {number | bigint}
|
|
4530
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
|
|
4531
|
+
*/
|
|
4532
|
+
transactionTime?: number | bigint;
|
|
4533
|
+
/**
|
|
4534
|
+
* symbol.
|
|
4535
|
+
* @type {string}
|
|
4536
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
|
|
4537
|
+
*/
|
|
4538
|
+
symbol?: string;
|
|
4539
|
+
/**
|
|
4540
|
+
* orders list.
|
|
4541
|
+
* @type {Array<QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner>}
|
|
4542
|
+
* @memberof QueryMarginAccountsOpenOtootocoOrderListsResponseInner
|
|
4543
|
+
*/
|
|
4544
|
+
orders?: Array<QueryMarginAccountsOpenOtootocoOrderListsResponseInnerOrdersInner>;
|
|
4545
|
+
}
|
|
4546
|
+
//#endregion
|
|
4547
|
+
//#region src/rest-api/types/query-margin-accounts-open-otootoco-order-lists-response.d.ts
|
|
4548
|
+
/**
|
|
4549
|
+
*
|
|
4550
|
+
* @export
|
|
4551
|
+
* @interface QueryMarginAccountsOpenOtootocoOrderListsResponse
|
|
4552
|
+
*/
|
|
4553
|
+
interface QueryMarginAccountsOpenOtootocoOrderListsResponse extends Array<QueryMarginAccountsOpenOtootocoOrderListsResponseInner> {}
|
|
4554
|
+
//#endregion
|
|
4445
4555
|
//#region src/rest-api/types/query-margin-accounts-order-response.d.ts
|
|
4446
4556
|
/**
|
|
4447
4557
|
* Margin REST API
|
|
@@ -5099,7 +5209,7 @@ interface AccountApiInterface {
|
|
|
5099
5209
|
* Security Type: USER_DATA
|
|
5100
5210
|
*
|
|
5101
5211
|
* Notes:
|
|
5102
|
-
* - 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
|
|
5212
|
+
* - 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.
|
|
5103
5213
|
*
|
|
5104
5214
|
* @summary Adjust cross margin max leverage (USER_DATA)
|
|
5105
5215
|
* @param {AdjustCrossMarginMaxLeverageRequest} requestParameters Request parameters.
|
|
@@ -5510,7 +5620,7 @@ declare class AccountApi implements AccountApiInterface {
|
|
|
5510
5620
|
* Security Type: USER_DATA
|
|
5511
5621
|
*
|
|
5512
5622
|
* Notes:
|
|
5513
|
-
* - 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
|
|
5623
|
+
* - 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.
|
|
5514
5624
|
*
|
|
5515
5625
|
* @summary Adjust cross margin max leverage (USER_DATA)
|
|
5516
5626
|
* @param {AdjustCrossMarginMaxLeverageRequest} requestParameters Request parameters.
|
|
@@ -5853,7 +5963,7 @@ interface BorrowRepayApiInterface {
|
|
|
5853
5963
|
*
|
|
5854
5964
|
* Notes:
|
|
5855
5965
|
* - If isolatedSymbol is not sent, crossed margin data will be sent.
|
|
5856
|
-
* - `borrowLimit` is also available from
|
|
5966
|
+
* - `borrowLimit` is also available from https://www.binance.com/en/margin-fee
|
|
5857
5967
|
*
|
|
5858
5968
|
* @summary Query Max Borrow (USER_DATA)
|
|
5859
5969
|
* @param {QueryMaxBorrowRequest} requestParameters Request parameters.
|
|
@@ -6232,7 +6342,7 @@ declare class BorrowRepayApi implements BorrowRepayApiInterface {
|
|
|
6232
6342
|
*
|
|
6233
6343
|
* Notes:
|
|
6234
6344
|
* - If isolatedSymbol is not sent, crossed margin data will be sent.
|
|
6235
|
-
* - `borrowLimit` is also available from
|
|
6345
|
+
* - `borrowLimit` is also available from https://www.binance.com/en/margin-fee
|
|
6236
6346
|
*
|
|
6237
6347
|
* @summary Query Max Borrow (USER_DATA)
|
|
6238
6348
|
* @param {QueryMaxBorrowRequest} requestParameters Request parameters.
|
|
@@ -6803,12 +6913,12 @@ interface TradeApiInterface {
|
|
|
6803
6913
|
/**
|
|
6804
6914
|
* **Eligibility**
|
|
6805
6915
|
*
|
|
6806
|
-
* - Binance Margin offers low-latency trading through a
|
|
6916
|
+
* - Binance Margin offers low-latency trading through a special key, available exclusively to users with VIP level 7 or higher.
|
|
6807
6917
|
* - If you are VIP level 6 or below, please contact your VIP manager for eligibility criterias.
|
|
6808
6918
|
* - 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.
|
|
6809
6919
|
* - 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.
|
|
6810
6920
|
*
|
|
6811
|
-
* For more information, please refer to
|
|
6921
|
+
* For more information, please refer to FAQ.
|
|
6812
6922
|
*
|
|
6813
6923
|
**Supported Products:**
|
|
6814
6924
|
*
|
|
@@ -6826,7 +6936,7 @@ interface TradeApiInterface {
|
|
|
6826
6936
|
* HMAC
|
|
6827
6937
|
* RSA
|
|
6828
6938
|
*
|
|
6829
|
-
* 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
|
|
6939
|
+
* 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 .
|
|
6830
6940
|
*
|
|
6831
6941
|
**How to use the Margin Special Key**
|
|
6832
6942
|
* - Use the below `sapi` endpoint to create your margin special API Key.
|
|
@@ -6834,7 +6944,7 @@ interface TradeApiInterface {
|
|
|
6834
6944
|
* - For accessing the Isolated Margin account(s), pass the relevant `symbol` parameter in the API Key creation request.
|
|
6835
6945
|
* - 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.
|
|
6836
6946
|
*
|
|
6837
|
-
* Read
|
|
6947
|
+
* Read REST API or WebSocket API documentation to learn how to use different API keys
|
|
6838
6948
|
*
|
|
6839
6949
|
* You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
|
|
6840
6950
|
*
|
|
@@ -6914,7 +7024,7 @@ interface TradeApiInterface {
|
|
|
6914
7024
|
* 2. All pre-execution margin checks (including Open-order-loss calculation) will revert to standard mode.
|
|
6915
7025
|
* 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.
|
|
6916
7026
|
*
|
|
6917
|
-
* For more information, please refer to
|
|
7027
|
+
* For more information, please refer to FAQ.
|
|
6918
7028
|
*
|
|
6919
7029
|
**Preconditions:**
|
|
6920
7030
|
*
|
|
@@ -7133,7 +7243,6 @@ interface TradeApiInterface {
|
|
|
7133
7243
|
/**
|
|
7134
7244
|
* Post a new OTOCO order for margin account:
|
|
7135
7245
|
*
|
|
7136
|
-
*
|
|
7137
7246
|
* - An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list
|
|
7138
7247
|
* comprised of 3 orders.
|
|
7139
7248
|
*
|
|
@@ -7143,7 +7252,7 @@ interface TradeApiInterface {
|
|
|
7143
7252
|
* - OTOCO has 2 pending orders (pending above and pending below), forming
|
|
7144
7253
|
* an OCO pair. The pending orders are only placed on the order book when
|
|
7145
7254
|
* the working order gets **fully filled**.
|
|
7146
|
-
* - The rules of the pending above and pending below follow the same rules as the
|
|
7255
|
+
* - The rules of the pending above and pending below follow the same rules as the Order List OCO.
|
|
7147
7256
|
* - OTOCOs add **3 orders** against the unfilled order count,
|
|
7148
7257
|
* `EXCHANGE_MAX_NUM_ORDERS` filter, and `MAX_NUM_ORDERS` filter.
|
|
7149
7258
|
*
|
|
@@ -7315,6 +7424,26 @@ interface TradeApiInterface {
|
|
|
7315
7424
|
* @memberof TradeApiInterface
|
|
7316
7425
|
*/
|
|
7317
7426
|
queryMarginAccountsOpenOrders(requestParameters?: QueryMarginAccountsOpenOrdersRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOrdersResponse>>;
|
|
7427
|
+
/**
|
|
7428
|
+
* Retrieves all open OTO / OTOCO order lists of the margin account.
|
|
7429
|
+
*
|
|
7430
|
+
*
|
|
7431
|
+
* Notes:
|
|
7432
|
+
* - 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`).
|
|
7433
|
+
* - For OTO, the `orders` array contains 2 orders: the working order and the pending order.
|
|
7434
|
+
* - For OTOCO, the `orders` array contains 3 orders: the working order and the two pending orders (pending above / pending below).
|
|
7435
|
+
*
|
|
7436
|
+
* Weight(UID): 10
|
|
7437
|
+
*
|
|
7438
|
+
* Security Type: USER_DATA
|
|
7439
|
+
*
|
|
7440
|
+
* @summary Query Margin Account\'s Open OTO/OTOCO Order Lists (USER_DATA)
|
|
7441
|
+
* @param {QueryMarginAccountsOpenOtootocoOrderListsRequest} requestParameters Request parameters.
|
|
7442
|
+
*
|
|
7443
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
7444
|
+
* @memberof TradeApiInterface
|
|
7445
|
+
*/
|
|
7446
|
+
queryMarginAccountsOpenOtootocoOrderLists(requestParameters?: QueryMarginAccountsOpenOtootocoOrderListsRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>;
|
|
7318
7447
|
/**
|
|
7319
7448
|
* Query Margin Account's Order
|
|
7320
7449
|
*
|
|
@@ -8593,6 +8722,24 @@ interface QueryMarginAccountsOpenOrdersRequest {
|
|
|
8593
8722
|
*/
|
|
8594
8723
|
readonly recvWindow?: number | bigint;
|
|
8595
8724
|
}
|
|
8725
|
+
/**
|
|
8726
|
+
* Request parameters for queryMarginAccountsOpenOtootocoOrderLists operation in TradeApi.
|
|
8727
|
+
* @interface QueryMarginAccountsOpenOtootocoOrderListsRequest
|
|
8728
|
+
*/
|
|
8729
|
+
interface QueryMarginAccountsOpenOtootocoOrderListsRequest {
|
|
8730
|
+
/**
|
|
8731
|
+
*
|
|
8732
|
+
* @type {string}
|
|
8733
|
+
* @memberof TradeApiQueryMarginAccountsOpenOtootocoOrderLists
|
|
8734
|
+
*/
|
|
8735
|
+
readonly symbol?: string;
|
|
8736
|
+
/**
|
|
8737
|
+
*
|
|
8738
|
+
* @type {number | bigint}
|
|
8739
|
+
* @memberof TradeApiQueryMarginAccountsOpenOtootocoOrderLists
|
|
8740
|
+
*/
|
|
8741
|
+
readonly recvWindow?: number | bigint;
|
|
8742
|
+
}
|
|
8596
8743
|
/**
|
|
8597
8744
|
* Request parameters for queryMarginAccountsOrder operation in TradeApi.
|
|
8598
8745
|
* @interface QueryMarginAccountsOrderRequest
|
|
@@ -8790,12 +8937,12 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
8790
8937
|
/**
|
|
8791
8938
|
* **Eligibility**
|
|
8792
8939
|
*
|
|
8793
|
-
* - Binance Margin offers low-latency trading through a
|
|
8940
|
+
* - Binance Margin offers low-latency trading through a special key, available exclusively to users with VIP level 7 or higher.
|
|
8794
8941
|
* - If you are VIP level 6 or below, please contact your VIP manager for eligibility criterias.
|
|
8795
8942
|
* - 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.
|
|
8796
8943
|
* - 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.
|
|
8797
8944
|
*
|
|
8798
|
-
* For more information, please refer to
|
|
8945
|
+
* For more information, please refer to FAQ.
|
|
8799
8946
|
*
|
|
8800
8947
|
**Supported Products:**
|
|
8801
8948
|
*
|
|
@@ -8813,7 +8960,7 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
8813
8960
|
* HMAC
|
|
8814
8961
|
* RSA
|
|
8815
8962
|
*
|
|
8816
|
-
* 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
|
|
8963
|
+
* 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 .
|
|
8817
8964
|
*
|
|
8818
8965
|
**How to use the Margin Special Key**
|
|
8819
8966
|
* - Use the below `sapi` endpoint to create your margin special API Key.
|
|
@@ -8821,7 +8968,7 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
8821
8968
|
* - For accessing the Isolated Margin account(s), pass the relevant `symbol` parameter in the API Key creation request.
|
|
8822
8969
|
* - 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.
|
|
8823
8970
|
*
|
|
8824
|
-
* Read
|
|
8971
|
+
* Read REST API or WebSocket API documentation to learn how to use different API keys
|
|
8825
8972
|
*
|
|
8826
8973
|
* You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
|
|
8827
8974
|
*
|
|
@@ -8904,7 +9051,7 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
8904
9051
|
* 2. All pre-execution margin checks (including Open-order-loss calculation) will revert to standard mode.
|
|
8905
9052
|
* 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.
|
|
8906
9053
|
*
|
|
8907
|
-
* For more information, please refer to
|
|
9054
|
+
* For more information, please refer to FAQ.
|
|
8908
9055
|
*
|
|
8909
9056
|
**Preconditions:**
|
|
8910
9057
|
*
|
|
@@ -9134,7 +9281,6 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
9134
9281
|
/**
|
|
9135
9282
|
* Post a new OTOCO order for margin account:
|
|
9136
9283
|
*
|
|
9137
|
-
*
|
|
9138
9284
|
* - An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list
|
|
9139
9285
|
* comprised of 3 orders.
|
|
9140
9286
|
*
|
|
@@ -9144,7 +9290,7 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
9144
9290
|
* - OTOCO has 2 pending orders (pending above and pending below), forming
|
|
9145
9291
|
* an OCO pair. The pending orders are only placed on the order book when
|
|
9146
9292
|
* the working order gets **fully filled**.
|
|
9147
|
-
* - The rules of the pending above and pending below follow the same rules as the
|
|
9293
|
+
* - The rules of the pending above and pending below follow the same rules as the Order List OCO.
|
|
9148
9294
|
* - OTOCOs add **3 orders** against the unfilled order count,
|
|
9149
9295
|
* `EXCHANGE_MAX_NUM_ORDERS` filter, and `MAX_NUM_ORDERS` filter.
|
|
9150
9296
|
*
|
|
@@ -9326,6 +9472,27 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
9326
9472
|
* @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}
|
|
9327
9473
|
*/
|
|
9328
9474
|
queryMarginAccountsOpenOrders(requestParameters?: QueryMarginAccountsOpenOrdersRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOrdersResponse>>;
|
|
9475
|
+
/**
|
|
9476
|
+
* Retrieves all open OTO / OTOCO order lists of the margin account.
|
|
9477
|
+
*
|
|
9478
|
+
*
|
|
9479
|
+
* Notes:
|
|
9480
|
+
* - 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`).
|
|
9481
|
+
* - For OTO, the `orders` array contains 2 orders: the working order and the pending order.
|
|
9482
|
+
* - For OTOCO, the `orders` array contains 3 orders: the working order and the two pending orders (pending above / pending below).
|
|
9483
|
+
*
|
|
9484
|
+
* Weight(UID): 10
|
|
9485
|
+
*
|
|
9486
|
+
* Security Type: USER_DATA
|
|
9487
|
+
*
|
|
9488
|
+
* @summary Query Margin Account\'s Open OTO/OTOCO Order Lists (USER_DATA)
|
|
9489
|
+
* @param {QueryMarginAccountsOpenOtootocoOrderListsRequest} requestParameters Request parameters.
|
|
9490
|
+
* @returns {Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>}
|
|
9491
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9492
|
+
* @memberof TradeApi
|
|
9493
|
+
* @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}
|
|
9494
|
+
*/
|
|
9495
|
+
queryMarginAccountsOpenOtootocoOrderLists(requestParameters?: QueryMarginAccountsOpenOtootocoOrderListsRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>;
|
|
9329
9496
|
/**
|
|
9330
9497
|
* Query Margin Account's Order
|
|
9331
9498
|
*
|
|
@@ -10012,7 +10179,7 @@ declare class RestAPI {
|
|
|
10012
10179
|
* Security Type: USER_DATA
|
|
10013
10180
|
*
|
|
10014
10181
|
* Notes:
|
|
10015
|
-
* - 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
|
|
10182
|
+
* - 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.
|
|
10016
10183
|
*
|
|
10017
10184
|
* @summary Adjust cross margin max leverage (USER_DATA)
|
|
10018
10185
|
* @param {AdjustCrossMarginMaxLeverageRequest} requestParameters Request parameters.
|
|
@@ -10334,7 +10501,7 @@ declare class RestAPI {
|
|
|
10334
10501
|
*
|
|
10335
10502
|
* Notes:
|
|
10336
10503
|
* - If isolatedSymbol is not sent, crossed margin data will be sent.
|
|
10337
|
-
* - `borrowLimit` is also available from
|
|
10504
|
+
* - `borrowLimit` is also available from https://www.binance.com/en/margin-fee
|
|
10338
10505
|
*
|
|
10339
10506
|
* @summary Query Max Borrow (USER_DATA)
|
|
10340
10507
|
* @param {QueryMaxBorrowRequest} requestParameters Request parameters.
|
|
@@ -10553,12 +10720,12 @@ declare class RestAPI {
|
|
|
10553
10720
|
/**
|
|
10554
10721
|
* **Eligibility**
|
|
10555
10722
|
*
|
|
10556
|
-
* - Binance Margin offers low-latency trading through a
|
|
10723
|
+
* - Binance Margin offers low-latency trading through a special key, available exclusively to users with VIP level 7 or higher.
|
|
10557
10724
|
* - If you are VIP level 6 or below, please contact your VIP manager for eligibility criterias.
|
|
10558
10725
|
* - 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.
|
|
10559
10726
|
* - 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.
|
|
10560
10727
|
*
|
|
10561
|
-
* For more information, please refer to
|
|
10728
|
+
* For more information, please refer to FAQ.
|
|
10562
10729
|
*
|
|
10563
10730
|
**Supported Products:**
|
|
10564
10731
|
*
|
|
@@ -10576,7 +10743,7 @@ declare class RestAPI {
|
|
|
10576
10743
|
* HMAC
|
|
10577
10744
|
* RSA
|
|
10578
10745
|
*
|
|
10579
|
-
* 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
|
|
10746
|
+
* 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 .
|
|
10580
10747
|
*
|
|
10581
10748
|
**How to use the Margin Special Key**
|
|
10582
10749
|
* - Use the below `sapi` endpoint to create your margin special API Key.
|
|
@@ -10584,7 +10751,7 @@ declare class RestAPI {
|
|
|
10584
10751
|
* - For accessing the Isolated Margin account(s), pass the relevant `symbol` parameter in the API Key creation request.
|
|
10585
10752
|
* - 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.
|
|
10586
10753
|
*
|
|
10587
|
-
* Read
|
|
10754
|
+
* Read REST API or WebSocket API documentation to learn how to use different API keys
|
|
10588
10755
|
*
|
|
10589
10756
|
* You need to enable Permits “Enable Spot & Margin Trading” option for the API Key which requests this endpoint.
|
|
10590
10757
|
*
|
|
@@ -10667,7 +10834,7 @@ declare class RestAPI {
|
|
|
10667
10834
|
* 2. All pre-execution margin checks (including Open-order-loss calculation) will revert to standard mode.
|
|
10668
10835
|
* 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.
|
|
10669
10836
|
*
|
|
10670
|
-
* For more information, please refer to
|
|
10837
|
+
* For more information, please refer to FAQ.
|
|
10671
10838
|
*
|
|
10672
10839
|
**Preconditions:**
|
|
10673
10840
|
*
|
|
@@ -10897,7 +11064,6 @@ declare class RestAPI {
|
|
|
10897
11064
|
/**
|
|
10898
11065
|
* Post a new OTOCO order for margin account:
|
|
10899
11066
|
*
|
|
10900
|
-
*
|
|
10901
11067
|
* - An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list
|
|
10902
11068
|
* comprised of 3 orders.
|
|
10903
11069
|
*
|
|
@@ -10907,7 +11073,7 @@ declare class RestAPI {
|
|
|
10907
11073
|
* - OTOCO has 2 pending orders (pending above and pending below), forming
|
|
10908
11074
|
* an OCO pair. The pending orders are only placed on the order book when
|
|
10909
11075
|
* the working order gets **fully filled**.
|
|
10910
|
-
* - The rules of the pending above and pending below follow the same rules as the
|
|
11076
|
+
* - The rules of the pending above and pending below follow the same rules as the Order List OCO.
|
|
10911
11077
|
* - OTOCOs add **3 orders** against the unfilled order count,
|
|
10912
11078
|
* `EXCHANGE_MAX_NUM_ORDERS` filter, and `MAX_NUM_ORDERS` filter.
|
|
10913
11079
|
*
|
|
@@ -11089,6 +11255,27 @@ declare class RestAPI {
|
|
|
11089
11255
|
* @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}
|
|
11090
11256
|
*/
|
|
11091
11257
|
queryMarginAccountsOpenOrders(requestParameters?: QueryMarginAccountsOpenOrdersRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOrdersResponse>>;
|
|
11258
|
+
/**
|
|
11259
|
+
* Retrieves all open OTO / OTOCO order lists of the margin account.
|
|
11260
|
+
*
|
|
11261
|
+
*
|
|
11262
|
+
* Notes:
|
|
11263
|
+
* - 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`).
|
|
11264
|
+
* - For OTO, the `orders` array contains 2 orders: the working order and the pending order.
|
|
11265
|
+
* - For OTOCO, the `orders` array contains 3 orders: the working order and the two pending orders (pending above / pending below).
|
|
11266
|
+
*
|
|
11267
|
+
* Weight(UID): 10
|
|
11268
|
+
*
|
|
11269
|
+
* Security Type: USER_DATA
|
|
11270
|
+
*
|
|
11271
|
+
* @summary Query Margin Account\'s Open OTO/OTOCO Order Lists (USER_DATA)
|
|
11272
|
+
* @param {QueryMarginAccountsOpenOtootocoOrderListsRequest} requestParameters Request parameters.
|
|
11273
|
+
*
|
|
11274
|
+
* @returns {Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>}
|
|
11275
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
11276
|
+
* @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}
|
|
11277
|
+
*/
|
|
11278
|
+
queryMarginAccountsOpenOtootocoOrderLists(requestParameters?: QueryMarginAccountsOpenOtootocoOrderListsRequest): Promise<RestApiResponse<QueryMarginAccountsOpenOtootocoOrderListsResponse>>;
|
|
11092
11279
|
/**
|
|
11093
11280
|
* Query Margin Account's Order
|
|
11094
11281
|
*
|
|
@@ -11300,7 +11487,7 @@ declare class RestAPI {
|
|
|
11300
11487
|
startUserDataStream(): Promise<RestApiResponse<StartUserDataStreamResponse>>;
|
|
11301
11488
|
}
|
|
11302
11489
|
declare namespace index_d_exports {
|
|
11303
|
-
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 };
|
|
11490
|
+
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 };
|
|
11304
11491
|
}
|
|
11305
11492
|
//#endregion
|
|
11306
11493
|
//#region src/websocket-streams/types/balance-update.d.ts
|