@binance/margin-trading 3.0.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +152 -41
- package/dist/index.d.ts +152 -41
- package/dist/index.js +104 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +104 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -947,6 +947,65 @@ interface GetInterestHistoryResponse {
|
|
|
947
947
|
total?: number;
|
|
948
948
|
}
|
|
949
949
|
|
|
950
|
+
/**
|
|
951
|
+
* Binance Margin Trading REST API
|
|
952
|
+
*
|
|
953
|
+
* OpenAPI Specification for the Binance Margin Trading REST API
|
|
954
|
+
*
|
|
955
|
+
* The version of the OpenAPI document: 1.0.0
|
|
956
|
+
*
|
|
957
|
+
*
|
|
958
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
959
|
+
* https://openapi-generator.tech
|
|
960
|
+
* Do not edit the class manually.
|
|
961
|
+
*/
|
|
962
|
+
/**
|
|
963
|
+
*
|
|
964
|
+
* @export
|
|
965
|
+
* @interface GetListScheduleResponseInner
|
|
966
|
+
*/
|
|
967
|
+
interface GetListScheduleResponseInner {
|
|
968
|
+
/**
|
|
969
|
+
*
|
|
970
|
+
* @type {number}
|
|
971
|
+
* @memberof GetListScheduleResponseInner
|
|
972
|
+
*/
|
|
973
|
+
listTime?: number;
|
|
974
|
+
/**
|
|
975
|
+
*
|
|
976
|
+
* @type {Array<string>}
|
|
977
|
+
* @memberof GetListScheduleResponseInner
|
|
978
|
+
*/
|
|
979
|
+
crossMarginAssets?: Array<string>;
|
|
980
|
+
/**
|
|
981
|
+
*
|
|
982
|
+
* @type {Array<string>}
|
|
983
|
+
* @memberof GetListScheduleResponseInner
|
|
984
|
+
*/
|
|
985
|
+
isolatedMarginSymbols?: Array<string>;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Binance Margin Trading REST API
|
|
990
|
+
*
|
|
991
|
+
* OpenAPI Specification for the Binance Margin Trading REST API
|
|
992
|
+
*
|
|
993
|
+
* The version of the OpenAPI document: 1.0.0
|
|
994
|
+
*
|
|
995
|
+
*
|
|
996
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
997
|
+
* https://openapi-generator.tech
|
|
998
|
+
* Do not edit the class manually.
|
|
999
|
+
*/
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @export
|
|
1004
|
+
* @interface GetListScheduleResponse
|
|
1005
|
+
*/
|
|
1006
|
+
interface GetListScheduleResponse extends Array<GetListScheduleResponseInner> {
|
|
1007
|
+
}
|
|
1008
|
+
|
|
950
1009
|
/**
|
|
951
1010
|
* Binance Margin Trading REST API
|
|
952
1011
|
*
|
|
@@ -6289,6 +6348,18 @@ interface MarketDataApiInterface {
|
|
|
6289
6348
|
* @memberof MarketDataApiInterface
|
|
6290
6349
|
*/
|
|
6291
6350
|
getDelistSchedule(requestParameters?: GetDelistScheduleRequest): Promise<RestApiResponse<GetDelistScheduleResponse>>;
|
|
6351
|
+
/**
|
|
6352
|
+
* Get the upcoming tokens or symbols listing schedule for Cross Margin and Isolated Margin.
|
|
6353
|
+
*
|
|
6354
|
+
* Weight: 100
|
|
6355
|
+
*
|
|
6356
|
+
* @summary Get list Schedule (MARKET_DATA)
|
|
6357
|
+
* @param {GetListScheduleRequest} requestParameters Request parameters.
|
|
6358
|
+
*
|
|
6359
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
6360
|
+
* @memberof MarketDataApiInterface
|
|
6361
|
+
*/
|
|
6362
|
+
getListSchedule(requestParameters?: GetListScheduleRequest): Promise<RestApiResponse<GetListScheduleResponse>>;
|
|
6292
6363
|
/**
|
|
6293
6364
|
* Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
|
|
6294
6365
|
*
|
|
@@ -6391,6 +6462,18 @@ interface GetDelistScheduleRequest {
|
|
|
6391
6462
|
*/
|
|
6392
6463
|
readonly recvWindow?: number;
|
|
6393
6464
|
}
|
|
6465
|
+
/**
|
|
6466
|
+
* Request parameters for getListSchedule operation in MarketDataApi.
|
|
6467
|
+
* @interface GetListScheduleRequest
|
|
6468
|
+
*/
|
|
6469
|
+
interface GetListScheduleRequest {
|
|
6470
|
+
/**
|
|
6471
|
+
* No more than 60000
|
|
6472
|
+
* @type {number}
|
|
6473
|
+
* @memberof MarketDataApiGetListSchedule
|
|
6474
|
+
*/
|
|
6475
|
+
readonly recvWindow?: number;
|
|
6476
|
+
}
|
|
6394
6477
|
/**
|
|
6395
6478
|
* Request parameters for queryIsolatedMarginTierData operation in MarketDataApi.
|
|
6396
6479
|
* @interface QueryIsolatedMarginTierDataRequest
|
|
@@ -6511,6 +6594,19 @@ declare class MarketDataApi implements MarketDataApiInterface {
|
|
|
6511
6594
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Delist-Schedule Binance API Documentation}
|
|
6512
6595
|
*/
|
|
6513
6596
|
getDelistSchedule(requestParameters?: GetDelistScheduleRequest): Promise<RestApiResponse<GetDelistScheduleResponse>>;
|
|
6597
|
+
/**
|
|
6598
|
+
* Get the upcoming tokens or symbols listing schedule for Cross Margin and Isolated Margin.
|
|
6599
|
+
*
|
|
6600
|
+
* Weight: 100
|
|
6601
|
+
*
|
|
6602
|
+
* @summary Get list Schedule (MARKET_DATA)
|
|
6603
|
+
* @param {GetListScheduleRequest} requestParameters Request parameters.
|
|
6604
|
+
* @returns {Promise<RestApiResponse<GetListScheduleResponse>>}
|
|
6605
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
6606
|
+
* @memberof MarketDataApi
|
|
6607
|
+
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-list-Schedule Binance API Documentation}
|
|
6608
|
+
*/
|
|
6609
|
+
getListSchedule(requestParameters?: GetListScheduleRequest): Promise<RestApiResponse<GetListScheduleResponse>>;
|
|
6514
6610
|
/**
|
|
6515
6611
|
* Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
|
|
6516
6612
|
*
|
|
@@ -8683,46 +8779,39 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
8683
8779
|
*/
|
|
8684
8780
|
smallLiabilityExchange(requestParameters: SmallLiabilityExchangeRequest): Promise<RestApiResponse<void>>;
|
|
8685
8781
|
}
|
|
8686
|
-
declare
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
}
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
|
|
8693
|
-
|
|
8694
|
-
|
|
8695
|
-
|
|
8696
|
-
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
declare
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
}
|
|
8719
|
-
type MarginAccountNewOtoNewOrderRespTypeEnum = (typeof MarginAccountNewOtoNewOrderRespTypeEnum)[keyof typeof MarginAccountNewOtoNewOrderRespTypeEnum];
|
|
8720
|
-
declare const MarginAccountNewOtocoNewOrderRespTypeEnum: {
|
|
8721
|
-
readonly ACK: "ACK";
|
|
8722
|
-
readonly RESULT: "RESULT";
|
|
8723
|
-
readonly FULL: "FULL";
|
|
8724
|
-
};
|
|
8725
|
-
type MarginAccountNewOtocoNewOrderRespTypeEnum = (typeof MarginAccountNewOtocoNewOrderRespTypeEnum)[keyof typeof MarginAccountNewOtocoNewOrderRespTypeEnum];
|
|
8782
|
+
declare enum MarginAccountNewOcoSideEnum {
|
|
8783
|
+
BUY = "BUY",
|
|
8784
|
+
SELL = "SELL"
|
|
8785
|
+
}
|
|
8786
|
+
declare enum MarginAccountNewOcoNewOrderRespTypeEnum {
|
|
8787
|
+
ACK = "ACK",
|
|
8788
|
+
RESULT = "RESULT",
|
|
8789
|
+
FULL = "FULL"
|
|
8790
|
+
}
|
|
8791
|
+
declare enum MarginAccountNewOrderSideEnum {
|
|
8792
|
+
BUY = "BUY",
|
|
8793
|
+
SELL = "SELL"
|
|
8794
|
+
}
|
|
8795
|
+
declare enum MarginAccountNewOrderNewOrderRespTypeEnum {
|
|
8796
|
+
ACK = "ACK",
|
|
8797
|
+
RESULT = "RESULT",
|
|
8798
|
+
FULL = "FULL"
|
|
8799
|
+
}
|
|
8800
|
+
declare enum MarginAccountNewOrderTimeInForceEnum {
|
|
8801
|
+
GTC = "GTC",
|
|
8802
|
+
IOC = "IOC",
|
|
8803
|
+
FOK = "FOK"
|
|
8804
|
+
}
|
|
8805
|
+
declare enum MarginAccountNewOtoNewOrderRespTypeEnum {
|
|
8806
|
+
ACK = "ACK",
|
|
8807
|
+
RESULT = "RESULT",
|
|
8808
|
+
FULL = "FULL"
|
|
8809
|
+
}
|
|
8810
|
+
declare enum MarginAccountNewOtocoNewOrderRespTypeEnum {
|
|
8811
|
+
ACK = "ACK",
|
|
8812
|
+
RESULT = "RESULT",
|
|
8813
|
+
FULL = "FULL"
|
|
8814
|
+
}
|
|
8726
8815
|
|
|
8727
8816
|
/**
|
|
8728
8817
|
* Binance Margin Trading REST API
|
|
@@ -9473,6 +9562,18 @@ declare class RestAPI {
|
|
|
9473
9562
|
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-Delist-Schedule Binance API Documentation}
|
|
9474
9563
|
*/
|
|
9475
9564
|
getDelistSchedule(requestParameters?: GetDelistScheduleRequest): Promise<RestApiResponse<GetDelistScheduleResponse>>;
|
|
9565
|
+
/**
|
|
9566
|
+
* Get the upcoming tokens or symbols listing schedule for Cross Margin and Isolated Margin.
|
|
9567
|
+
*
|
|
9568
|
+
* Weight: 100
|
|
9569
|
+
*
|
|
9570
|
+
* @summary Get list Schedule (MARKET_DATA)
|
|
9571
|
+
* @param {GetListScheduleRequest} requestParameters Request parameters.
|
|
9572
|
+
* @returns {Promise<RestApiResponse<GetListScheduleResponse>>}
|
|
9573
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
9574
|
+
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-list-Schedule Binance API Documentation}
|
|
9575
|
+
*/
|
|
9576
|
+
getListSchedule(requestParameters?: GetListScheduleRequest): Promise<RestApiResponse<GetListScheduleResponse>>;
|
|
9476
9577
|
/**
|
|
9477
9578
|
* Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
|
|
9478
9579
|
*
|
|
@@ -10091,6 +10192,9 @@ type index_GetFutureHourlyInterestRateResponseInner = GetFutureHourlyInterestRat
|
|
|
10091
10192
|
type index_GetInterestHistoryRequest = GetInterestHistoryRequest;
|
|
10092
10193
|
type index_GetInterestHistoryResponse = GetInterestHistoryResponse;
|
|
10093
10194
|
type index_GetInterestHistoryResponseRowsInner = GetInterestHistoryResponseRowsInner;
|
|
10195
|
+
type index_GetListScheduleRequest = GetListScheduleRequest;
|
|
10196
|
+
type index_GetListScheduleResponse = GetListScheduleResponse;
|
|
10197
|
+
type index_GetListScheduleResponseInner = GetListScheduleResponseInner;
|
|
10094
10198
|
type index_GetSmallLiabilityExchangeCoinListRequest = GetSmallLiabilityExchangeCoinListRequest;
|
|
10095
10199
|
type index_GetSmallLiabilityExchangeCoinListResponse = GetSmallLiabilityExchangeCoinListResponse;
|
|
10096
10200
|
type index_GetSmallLiabilityExchangeCoinListResponseInner = GetSmallLiabilityExchangeCoinListResponseInner;
|
|
@@ -10116,23 +10220,30 @@ type index_MarginAccountCancelOcoResponseOrdersInner = MarginAccountCancelOcoRes
|
|
|
10116
10220
|
type index_MarginAccountCancelOrderRequest = MarginAccountCancelOrderRequest;
|
|
10117
10221
|
type index_MarginAccountCancelOrderResponse = MarginAccountCancelOrderResponse;
|
|
10118
10222
|
type index_MarginAccountNewOcoNewOrderRespTypeEnum = MarginAccountNewOcoNewOrderRespTypeEnum;
|
|
10223
|
+
declare const index_MarginAccountNewOcoNewOrderRespTypeEnum: typeof MarginAccountNewOcoNewOrderRespTypeEnum;
|
|
10119
10224
|
type index_MarginAccountNewOcoRequest = MarginAccountNewOcoRequest;
|
|
10120
10225
|
type index_MarginAccountNewOcoResponse = MarginAccountNewOcoResponse;
|
|
10121
10226
|
type index_MarginAccountNewOcoResponseOrderReportsInner = MarginAccountNewOcoResponseOrderReportsInner;
|
|
10122
10227
|
type index_MarginAccountNewOcoResponseOrdersInner = MarginAccountNewOcoResponseOrdersInner;
|
|
10123
10228
|
type index_MarginAccountNewOcoSideEnum = MarginAccountNewOcoSideEnum;
|
|
10229
|
+
declare const index_MarginAccountNewOcoSideEnum: typeof MarginAccountNewOcoSideEnum;
|
|
10124
10230
|
type index_MarginAccountNewOrderNewOrderRespTypeEnum = MarginAccountNewOrderNewOrderRespTypeEnum;
|
|
10231
|
+
declare const index_MarginAccountNewOrderNewOrderRespTypeEnum: typeof MarginAccountNewOrderNewOrderRespTypeEnum;
|
|
10125
10232
|
type index_MarginAccountNewOrderRequest = MarginAccountNewOrderRequest;
|
|
10126
10233
|
type index_MarginAccountNewOrderResponse = MarginAccountNewOrderResponse;
|
|
10127
10234
|
type index_MarginAccountNewOrderResponseFillsInner = MarginAccountNewOrderResponseFillsInner;
|
|
10128
10235
|
type index_MarginAccountNewOrderSideEnum = MarginAccountNewOrderSideEnum;
|
|
10236
|
+
declare const index_MarginAccountNewOrderSideEnum: typeof MarginAccountNewOrderSideEnum;
|
|
10129
10237
|
type index_MarginAccountNewOrderTimeInForceEnum = MarginAccountNewOrderTimeInForceEnum;
|
|
10238
|
+
declare const index_MarginAccountNewOrderTimeInForceEnum: typeof MarginAccountNewOrderTimeInForceEnum;
|
|
10130
10239
|
type index_MarginAccountNewOtoNewOrderRespTypeEnum = MarginAccountNewOtoNewOrderRespTypeEnum;
|
|
10240
|
+
declare const index_MarginAccountNewOtoNewOrderRespTypeEnum: typeof MarginAccountNewOtoNewOrderRespTypeEnum;
|
|
10131
10241
|
type index_MarginAccountNewOtoRequest = MarginAccountNewOtoRequest;
|
|
10132
10242
|
type index_MarginAccountNewOtoResponse = MarginAccountNewOtoResponse;
|
|
10133
10243
|
type index_MarginAccountNewOtoResponseOrderReportsInner = MarginAccountNewOtoResponseOrderReportsInner;
|
|
10134
10244
|
type index_MarginAccountNewOtoResponseOrdersInner = MarginAccountNewOtoResponseOrdersInner;
|
|
10135
10245
|
type index_MarginAccountNewOtocoNewOrderRespTypeEnum = MarginAccountNewOtocoNewOrderRespTypeEnum;
|
|
10246
|
+
declare const index_MarginAccountNewOtocoNewOrderRespTypeEnum: typeof MarginAccountNewOtocoNewOrderRespTypeEnum;
|
|
10136
10247
|
type index_MarginAccountNewOtocoRequest = MarginAccountNewOtocoRequest;
|
|
10137
10248
|
type index_MarginAccountNewOtocoResponse = MarginAccountNewOtocoResponse;
|
|
10138
10249
|
type index_MarginAccountNewOtocoResponseOrderReportsInner = MarginAccountNewOtocoResponseOrderReportsInner;
|
|
@@ -10233,7 +10344,7 @@ type index_TransferApi = TransferApi;
|
|
|
10233
10344
|
declare const index_TransferApi: typeof TransferApi;
|
|
10234
10345
|
type index_TransferApiInterface = TransferApiInterface;
|
|
10235
10346
|
declare namespace index {
|
|
10236
|
-
export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AdjustCrossMarginMaxLeverageRequest as AdjustCrossMarginMaxLeverageRequest, type index_AdjustCrossMarginMaxLeverageResponse as AdjustCrossMarginMaxLeverageResponse, index_BorrowRepayApi as BorrowRepayApi, type index_BorrowRepayApiInterface as BorrowRepayApiInterface, type index_CloseIsolatedMarginUserDataStreamRequest as CloseIsolatedMarginUserDataStreamRequest, type index_CloseMarginUserDataStreamRequest as CloseMarginUserDataStreamRequest, type index_CreateSpecialKeyRequest as CreateSpecialKeyRequest, type index_CreateSpecialKeyResponse as CreateSpecialKeyResponse, type index_CrossMarginCollateralRatioResponse as CrossMarginCollateralRatioResponse, type index_CrossMarginCollateralRatioResponseInner as CrossMarginCollateralRatioResponseInner, type index_CrossMarginCollateralRatioResponseInnerCollateralsInner as CrossMarginCollateralRatioResponseInnerCollateralsInner, type index_DeleteSpecialKeyRequest as DeleteSpecialKeyRequest, type index_DisableIsolatedMarginAccountRequest as DisableIsolatedMarginAccountRequest, type index_DisableIsolatedMarginAccountResponse as DisableIsolatedMarginAccountResponse, type index_EditIpForSpecialKeyRequest as EditIpForSpecialKeyRequest, type index_EnableIsolatedMarginAccountRequest as EnableIsolatedMarginAccountRequest, type index_EnableIsolatedMarginAccountResponse as EnableIsolatedMarginAccountResponse, type index_GetAllCrossMarginPairsRequest as GetAllCrossMarginPairsRequest, type index_GetAllCrossMarginPairsResponse as GetAllCrossMarginPairsResponse, type index_GetAllCrossMarginPairsResponseInner as GetAllCrossMarginPairsResponseInner, type index_GetAllIsolatedMarginSymbolRequest as GetAllIsolatedMarginSymbolRequest, type index_GetAllIsolatedMarginSymbolResponse as GetAllIsolatedMarginSymbolResponse, type index_GetAllIsolatedMarginSymbolResponseInner as GetAllIsolatedMarginSymbolResponseInner, type index_GetAllMarginAssetsRequest as GetAllMarginAssetsRequest, type index_GetAllMarginAssetsResponse as GetAllMarginAssetsResponse, type index_GetAllMarginAssetsResponseInner as GetAllMarginAssetsResponseInner, type index_GetBnbBurnStatusRequest as GetBnbBurnStatusRequest, type index_GetBnbBurnStatusResponse as GetBnbBurnStatusResponse, type index_GetCrossMarginTransferHistoryRequest as GetCrossMarginTransferHistoryRequest, type index_GetCrossMarginTransferHistoryResponse as GetCrossMarginTransferHistoryResponse, type index_GetCrossMarginTransferHistoryResponseRowsInner as GetCrossMarginTransferHistoryResponseRowsInner, type index_GetDelistScheduleRequest as GetDelistScheduleRequest, type index_GetDelistScheduleResponse as GetDelistScheduleResponse, type index_GetDelistScheduleResponseInner as GetDelistScheduleResponseInner, type index_GetForceLiquidationRecordRequest as GetForceLiquidationRecordRequest, type index_GetForceLiquidationRecordResponse as GetForceLiquidationRecordResponse, type index_GetForceLiquidationRecordResponseRowsInner as GetForceLiquidationRecordResponseRowsInner, type index_GetFutureHourlyInterestRateRequest as GetFutureHourlyInterestRateRequest, type index_GetFutureHourlyInterestRateResponse as GetFutureHourlyInterestRateResponse, type index_GetFutureHourlyInterestRateResponseInner as GetFutureHourlyInterestRateResponseInner, type index_GetInterestHistoryRequest as GetInterestHistoryRequest, type index_GetInterestHistoryResponse as GetInterestHistoryResponse, type index_GetInterestHistoryResponseRowsInner as GetInterestHistoryResponseRowsInner, type index_GetSmallLiabilityExchangeCoinListRequest as GetSmallLiabilityExchangeCoinListRequest, type index_GetSmallLiabilityExchangeCoinListResponse as GetSmallLiabilityExchangeCoinListResponse, type index_GetSmallLiabilityExchangeCoinListResponseInner as GetSmallLiabilityExchangeCoinListResponseInner, type index_GetSmallLiabilityExchangeHistoryRequest as GetSmallLiabilityExchangeHistoryRequest, type index_GetSmallLiabilityExchangeHistoryResponse as GetSmallLiabilityExchangeHistoryResponse, type index_GetSmallLiabilityExchangeHistoryResponseRowsInner as GetSmallLiabilityExchangeHistoryResponseRowsInner, type index_GetSummaryOfMarginAccountRequest as GetSummaryOfMarginAccountRequest, type index_GetSummaryOfMarginAccountResponse as GetSummaryOfMarginAccountResponse, type index_KeepaliveIsolatedMarginUserDataStreamRequest as KeepaliveIsolatedMarginUserDataStreamRequest, type index_KeepaliveMarginUserDataStreamRequest as KeepaliveMarginUserDataStreamRequest, type index_KeepaliveUserDataStreamRequest as KeepaliveUserDataStreamRequest, type index_MarginAccountBorrowRepayRequest as MarginAccountBorrowRepayRequest, type index_MarginAccountBorrowRepayResponse as MarginAccountBorrowRepayResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolRequest as MarginAccountCancelAllOpenOrdersOnASymbolRequest, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponse as MarginAccountCancelAllOpenOrdersOnASymbolResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, type index_MarginAccountCancelOcoRequest as MarginAccountCancelOcoRequest, type index_MarginAccountCancelOcoResponse as MarginAccountCancelOcoResponse, type index_MarginAccountCancelOcoResponseOrderReportsInner as MarginAccountCancelOcoResponseOrderReportsInner, type index_MarginAccountCancelOcoResponseOrdersInner as MarginAccountCancelOcoResponseOrdersInner, type index_MarginAccountCancelOrderRequest as MarginAccountCancelOrderRequest, type index_MarginAccountCancelOrderResponse as MarginAccountCancelOrderResponse, type index_MarginAccountNewOcoNewOrderRespTypeEnum as MarginAccountNewOcoNewOrderRespTypeEnum, type index_MarginAccountNewOcoRequest as MarginAccountNewOcoRequest, type index_MarginAccountNewOcoResponse as MarginAccountNewOcoResponse, type index_MarginAccountNewOcoResponseOrderReportsInner as MarginAccountNewOcoResponseOrderReportsInner, type index_MarginAccountNewOcoResponseOrdersInner as MarginAccountNewOcoResponseOrdersInner, type index_MarginAccountNewOcoSideEnum as MarginAccountNewOcoSideEnum, type index_MarginAccountNewOrderNewOrderRespTypeEnum as MarginAccountNewOrderNewOrderRespTypeEnum, type index_MarginAccountNewOrderRequest as MarginAccountNewOrderRequest, type index_MarginAccountNewOrderResponse as MarginAccountNewOrderResponse, type index_MarginAccountNewOrderResponseFillsInner as MarginAccountNewOrderResponseFillsInner, type index_MarginAccountNewOrderSideEnum as MarginAccountNewOrderSideEnum, type index_MarginAccountNewOrderTimeInForceEnum as MarginAccountNewOrderTimeInForceEnum, type index_MarginAccountNewOtoNewOrderRespTypeEnum as MarginAccountNewOtoNewOrderRespTypeEnum, type index_MarginAccountNewOtoRequest as MarginAccountNewOtoRequest, type index_MarginAccountNewOtoResponse as MarginAccountNewOtoResponse, type index_MarginAccountNewOtoResponseOrderReportsInner as MarginAccountNewOtoResponseOrderReportsInner, type index_MarginAccountNewOtoResponseOrdersInner as MarginAccountNewOtoResponseOrdersInner, type index_MarginAccountNewOtocoNewOrderRespTypeEnum as MarginAccountNewOtocoNewOrderRespTypeEnum, type index_MarginAccountNewOtocoRequest as MarginAccountNewOtocoRequest, type index_MarginAccountNewOtocoResponse as MarginAccountNewOtocoResponse, type index_MarginAccountNewOtocoResponseOrderReportsInner as MarginAccountNewOtocoResponseOrderReportsInner, type index_MarginAccountNewOtocoResponseOrdersInner as MarginAccountNewOtocoResponseOrdersInner, type index_MarginManualLiquidationRequest as MarginManualLiquidationRequest, type index_MarginManualLiquidationResponse as MarginManualLiquidationResponse, index_MarketDataApi as MarketDataApi, type index_MarketDataApiInterface as MarketDataApiInterface, type index_QueryBorrowRepayRecordsInMarginAccountRequest as QueryBorrowRepayRecordsInMarginAccountRequest, type index_QueryBorrowRepayRecordsInMarginAccountResponse as QueryBorrowRepayRecordsInMarginAccountResponse, type index_QueryBorrowRepayRecordsInMarginAccountResponseRowsInner as QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, type index_QueryCrossIsolatedMarginCapitalFlowRequest as QueryCrossIsolatedMarginCapitalFlowRequest, type index_QueryCrossIsolatedMarginCapitalFlowResponse as QueryCrossIsolatedMarginCapitalFlowResponse, type index_QueryCrossIsolatedMarginCapitalFlowResponseInner as QueryCrossIsolatedMarginCapitalFlowResponseInner, type index_QueryCrossMarginAccountDetailsRequest as QueryCrossMarginAccountDetailsRequest, type index_QueryCrossMarginAccountDetailsResponse as QueryCrossMarginAccountDetailsResponse, type index_QueryCrossMarginAccountDetailsResponseUserAssetsInner as QueryCrossMarginAccountDetailsResponseUserAssetsInner, type index_QueryCrossMarginFeeDataRequest as QueryCrossMarginFeeDataRequest, type index_QueryCrossMarginFeeDataResponse as QueryCrossMarginFeeDataResponse, type index_QueryCrossMarginFeeDataResponseInner as QueryCrossMarginFeeDataResponseInner, type index_QueryCurrentMarginOrderCountUsageRequest as QueryCurrentMarginOrderCountUsageRequest, type index_QueryCurrentMarginOrderCountUsageResponse as QueryCurrentMarginOrderCountUsageResponse, type index_QueryCurrentMarginOrderCountUsageResponseInner as QueryCurrentMarginOrderCountUsageResponseInner, type index_QueryEnabledIsolatedMarginAccountLimitRequest as QueryEnabledIsolatedMarginAccountLimitRequest, type index_QueryEnabledIsolatedMarginAccountLimitResponse as QueryEnabledIsolatedMarginAccountLimitResponse, type index_QueryIsolatedMarginAccountInfoRequest as QueryIsolatedMarginAccountInfoRequest, type index_QueryIsolatedMarginAccountInfoResponse as QueryIsolatedMarginAccountInfoResponse, type index_QueryIsolatedMarginAccountInfoResponseAssetsInner as QueryIsolatedMarginAccountInfoResponseAssetsInner, type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset, type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset, type index_QueryIsolatedMarginFeeDataRequest as QueryIsolatedMarginFeeDataRequest, type index_QueryIsolatedMarginFeeDataResponse as QueryIsolatedMarginFeeDataResponse, type index_QueryIsolatedMarginFeeDataResponseInner as QueryIsolatedMarginFeeDataResponseInner, type index_QueryIsolatedMarginFeeDataResponseInnerDataInner as QueryIsolatedMarginFeeDataResponseInnerDataInner, type index_QueryIsolatedMarginTierDataRequest as QueryIsolatedMarginTierDataRequest, type index_QueryIsolatedMarginTierDataResponse as QueryIsolatedMarginTierDataResponse, type index_QueryIsolatedMarginTierDataResponseInner as QueryIsolatedMarginTierDataResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, type index_QueryMarginAccountsAllOcoRequest as QueryMarginAccountsAllOcoRequest, type index_QueryMarginAccountsAllOcoResponse as QueryMarginAccountsAllOcoResponse, type index_QueryMarginAccountsAllOcoResponseInner as QueryMarginAccountsAllOcoResponseInner, type index_QueryMarginAccountsAllOcoResponseInnerOrdersInner as QueryMarginAccountsAllOcoResponseInnerOrdersInner, type index_QueryMarginAccountsAllOrdersRequest as QueryMarginAccountsAllOrdersRequest, type index_QueryMarginAccountsAllOrdersResponse as QueryMarginAccountsAllOrdersResponse, type index_QueryMarginAccountsAllOrdersResponseInner as QueryMarginAccountsAllOrdersResponseInner, type index_QueryMarginAccountsOcoRequest as QueryMarginAccountsOcoRequest, type index_QueryMarginAccountsOcoResponse as QueryMarginAccountsOcoResponse, type index_QueryMarginAccountsOcoResponseOrdersInner as QueryMarginAccountsOcoResponseOrdersInner, type index_QueryMarginAccountsOpenOcoRequest as QueryMarginAccountsOpenOcoRequest, type index_QueryMarginAccountsOpenOcoResponse as QueryMarginAccountsOpenOcoResponse, type index_QueryMarginAccountsOpenOcoResponseInner as QueryMarginAccountsOpenOcoResponseInner, type index_QueryMarginAccountsOpenOcoResponseInnerOrdersInner as QueryMarginAccountsOpenOcoResponseInnerOrdersInner, type index_QueryMarginAccountsOpenOrdersRequest as QueryMarginAccountsOpenOrdersRequest, type index_QueryMarginAccountsOpenOrdersResponse as QueryMarginAccountsOpenOrdersResponse, type index_QueryMarginAccountsOpenOrdersResponseInner as QueryMarginAccountsOpenOrdersResponseInner, type index_QueryMarginAccountsOrderRequest as QueryMarginAccountsOrderRequest, type index_QueryMarginAccountsOrderResponse as QueryMarginAccountsOrderResponse, type index_QueryMarginAccountsTradeListRequest as QueryMarginAccountsTradeListRequest, type index_QueryMarginAccountsTradeListResponse as QueryMarginAccountsTradeListResponse, type index_QueryMarginAccountsTradeListResponseInner as QueryMarginAccountsTradeListResponseInner, type index_QueryMarginAvailableInventoryRequest as QueryMarginAvailableInventoryRequest, type index_QueryMarginAvailableInventoryResponse as QueryMarginAvailableInventoryResponse, type index_QueryMarginAvailableInventoryResponseAssets as QueryMarginAvailableInventoryResponseAssets, type index_QueryMarginInterestRateHistoryRequest as QueryMarginInterestRateHistoryRequest, type index_QueryMarginInterestRateHistoryResponse as QueryMarginInterestRateHistoryResponse, type index_QueryMarginInterestRateHistoryResponseInner as QueryMarginInterestRateHistoryResponseInner, type index_QueryMarginPriceindexRequest as QueryMarginPriceindexRequest, type index_QueryMarginPriceindexResponse as QueryMarginPriceindexResponse, type index_QueryMaxBorrowRequest as QueryMaxBorrowRequest, type index_QueryMaxBorrowResponse as QueryMaxBorrowResponse, type index_QueryMaxTransferOutAmountRequest as QueryMaxTransferOutAmountRequest, type index_QueryMaxTransferOutAmountResponse as QueryMaxTransferOutAmountResponse, type index_QuerySpecialKeyListRequest as QuerySpecialKeyListRequest, type index_QuerySpecialKeyListResponse as QuerySpecialKeyListResponse, type index_QuerySpecialKeyListResponseInner as QuerySpecialKeyListResponseInner, type index_QuerySpecialKeyRequest as QuerySpecialKeyRequest, type index_QuerySpecialKeyResponse as QuerySpecialKeyResponse, index_RestAPI as RestAPI, index_RiskDataStreamApi as RiskDataStreamApi, type index_RiskDataStreamApiInterface as RiskDataStreamApiInterface, type index_SmallLiabilityExchangeRequest as SmallLiabilityExchangeRequest, type index_StartIsolatedMarginUserDataStreamRequest as StartIsolatedMarginUserDataStreamRequest, type index_StartIsolatedMarginUserDataStreamResponse as StartIsolatedMarginUserDataStreamResponse, type index_StartMarginUserDataStreamResponse as StartMarginUserDataStreamResponse, type index_StartUserDataStreamResponse as StartUserDataStreamResponse, index_TradeApi as TradeApi, type index_TradeApiInterface as TradeApiInterface, index_TradeDataStreamApi as TradeDataStreamApi, type index_TradeDataStreamApiInterface as TradeDataStreamApiInterface, index_TransferApi as TransferApi, type index_TransferApiInterface as TransferApiInterface };
|
|
10347
|
+
export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AdjustCrossMarginMaxLeverageRequest as AdjustCrossMarginMaxLeverageRequest, type index_AdjustCrossMarginMaxLeverageResponse as AdjustCrossMarginMaxLeverageResponse, index_BorrowRepayApi as BorrowRepayApi, type index_BorrowRepayApiInterface as BorrowRepayApiInterface, type index_CloseIsolatedMarginUserDataStreamRequest as CloseIsolatedMarginUserDataStreamRequest, type index_CloseMarginUserDataStreamRequest as CloseMarginUserDataStreamRequest, type index_CreateSpecialKeyRequest as CreateSpecialKeyRequest, type index_CreateSpecialKeyResponse as CreateSpecialKeyResponse, type index_CrossMarginCollateralRatioResponse as CrossMarginCollateralRatioResponse, type index_CrossMarginCollateralRatioResponseInner as CrossMarginCollateralRatioResponseInner, type index_CrossMarginCollateralRatioResponseInnerCollateralsInner as CrossMarginCollateralRatioResponseInnerCollateralsInner, type index_DeleteSpecialKeyRequest as DeleteSpecialKeyRequest, type index_DisableIsolatedMarginAccountRequest as DisableIsolatedMarginAccountRequest, type index_DisableIsolatedMarginAccountResponse as DisableIsolatedMarginAccountResponse, type index_EditIpForSpecialKeyRequest as EditIpForSpecialKeyRequest, type index_EnableIsolatedMarginAccountRequest as EnableIsolatedMarginAccountRequest, type index_EnableIsolatedMarginAccountResponse as EnableIsolatedMarginAccountResponse, type index_GetAllCrossMarginPairsRequest as GetAllCrossMarginPairsRequest, type index_GetAllCrossMarginPairsResponse as GetAllCrossMarginPairsResponse, type index_GetAllCrossMarginPairsResponseInner as GetAllCrossMarginPairsResponseInner, type index_GetAllIsolatedMarginSymbolRequest as GetAllIsolatedMarginSymbolRequest, type index_GetAllIsolatedMarginSymbolResponse as GetAllIsolatedMarginSymbolResponse, type index_GetAllIsolatedMarginSymbolResponseInner as GetAllIsolatedMarginSymbolResponseInner, type index_GetAllMarginAssetsRequest as GetAllMarginAssetsRequest, type index_GetAllMarginAssetsResponse as GetAllMarginAssetsResponse, type index_GetAllMarginAssetsResponseInner as GetAllMarginAssetsResponseInner, type index_GetBnbBurnStatusRequest as GetBnbBurnStatusRequest, type index_GetBnbBurnStatusResponse as GetBnbBurnStatusResponse, type index_GetCrossMarginTransferHistoryRequest as GetCrossMarginTransferHistoryRequest, type index_GetCrossMarginTransferHistoryResponse as GetCrossMarginTransferHistoryResponse, type index_GetCrossMarginTransferHistoryResponseRowsInner as GetCrossMarginTransferHistoryResponseRowsInner, type index_GetDelistScheduleRequest as GetDelistScheduleRequest, type index_GetDelistScheduleResponse as GetDelistScheduleResponse, type index_GetDelistScheduleResponseInner as GetDelistScheduleResponseInner, type index_GetForceLiquidationRecordRequest as GetForceLiquidationRecordRequest, type index_GetForceLiquidationRecordResponse as GetForceLiquidationRecordResponse, type index_GetForceLiquidationRecordResponseRowsInner as GetForceLiquidationRecordResponseRowsInner, type index_GetFutureHourlyInterestRateRequest as GetFutureHourlyInterestRateRequest, type index_GetFutureHourlyInterestRateResponse as GetFutureHourlyInterestRateResponse, type index_GetFutureHourlyInterestRateResponseInner as GetFutureHourlyInterestRateResponseInner, type index_GetInterestHistoryRequest as GetInterestHistoryRequest, type index_GetInterestHistoryResponse as GetInterestHistoryResponse, type index_GetInterestHistoryResponseRowsInner as GetInterestHistoryResponseRowsInner, type index_GetListScheduleRequest as GetListScheduleRequest, type index_GetListScheduleResponse as GetListScheduleResponse, type index_GetListScheduleResponseInner as GetListScheduleResponseInner, type index_GetSmallLiabilityExchangeCoinListRequest as GetSmallLiabilityExchangeCoinListRequest, type index_GetSmallLiabilityExchangeCoinListResponse as GetSmallLiabilityExchangeCoinListResponse, type index_GetSmallLiabilityExchangeCoinListResponseInner as GetSmallLiabilityExchangeCoinListResponseInner, type index_GetSmallLiabilityExchangeHistoryRequest as GetSmallLiabilityExchangeHistoryRequest, type index_GetSmallLiabilityExchangeHistoryResponse as GetSmallLiabilityExchangeHistoryResponse, type index_GetSmallLiabilityExchangeHistoryResponseRowsInner as GetSmallLiabilityExchangeHistoryResponseRowsInner, type index_GetSummaryOfMarginAccountRequest as GetSummaryOfMarginAccountRequest, type index_GetSummaryOfMarginAccountResponse as GetSummaryOfMarginAccountResponse, type index_KeepaliveIsolatedMarginUserDataStreamRequest as KeepaliveIsolatedMarginUserDataStreamRequest, type index_KeepaliveMarginUserDataStreamRequest as KeepaliveMarginUserDataStreamRequest, type index_KeepaliveUserDataStreamRequest as KeepaliveUserDataStreamRequest, type index_MarginAccountBorrowRepayRequest as MarginAccountBorrowRepayRequest, type index_MarginAccountBorrowRepayResponse as MarginAccountBorrowRepayResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolRequest as MarginAccountCancelAllOpenOrdersOnASymbolRequest, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponse as MarginAccountCancelAllOpenOrdersOnASymbolResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, type index_MarginAccountCancelOcoRequest as MarginAccountCancelOcoRequest, type index_MarginAccountCancelOcoResponse as MarginAccountCancelOcoResponse, type index_MarginAccountCancelOcoResponseOrderReportsInner as MarginAccountCancelOcoResponseOrderReportsInner, type index_MarginAccountCancelOcoResponseOrdersInner as MarginAccountCancelOcoResponseOrdersInner, type index_MarginAccountCancelOrderRequest as MarginAccountCancelOrderRequest, type index_MarginAccountCancelOrderResponse as MarginAccountCancelOrderResponse, index_MarginAccountNewOcoNewOrderRespTypeEnum as MarginAccountNewOcoNewOrderRespTypeEnum, type index_MarginAccountNewOcoRequest as MarginAccountNewOcoRequest, type index_MarginAccountNewOcoResponse as MarginAccountNewOcoResponse, type index_MarginAccountNewOcoResponseOrderReportsInner as MarginAccountNewOcoResponseOrderReportsInner, type index_MarginAccountNewOcoResponseOrdersInner as MarginAccountNewOcoResponseOrdersInner, index_MarginAccountNewOcoSideEnum as MarginAccountNewOcoSideEnum, index_MarginAccountNewOrderNewOrderRespTypeEnum as MarginAccountNewOrderNewOrderRespTypeEnum, type index_MarginAccountNewOrderRequest as MarginAccountNewOrderRequest, type index_MarginAccountNewOrderResponse as MarginAccountNewOrderResponse, type index_MarginAccountNewOrderResponseFillsInner as MarginAccountNewOrderResponseFillsInner, index_MarginAccountNewOrderSideEnum as MarginAccountNewOrderSideEnum, index_MarginAccountNewOrderTimeInForceEnum as MarginAccountNewOrderTimeInForceEnum, index_MarginAccountNewOtoNewOrderRespTypeEnum as MarginAccountNewOtoNewOrderRespTypeEnum, type index_MarginAccountNewOtoRequest as MarginAccountNewOtoRequest, type index_MarginAccountNewOtoResponse as MarginAccountNewOtoResponse, type index_MarginAccountNewOtoResponseOrderReportsInner as MarginAccountNewOtoResponseOrderReportsInner, type index_MarginAccountNewOtoResponseOrdersInner as MarginAccountNewOtoResponseOrdersInner, index_MarginAccountNewOtocoNewOrderRespTypeEnum as MarginAccountNewOtocoNewOrderRespTypeEnum, type index_MarginAccountNewOtocoRequest as MarginAccountNewOtocoRequest, type index_MarginAccountNewOtocoResponse as MarginAccountNewOtocoResponse, type index_MarginAccountNewOtocoResponseOrderReportsInner as MarginAccountNewOtocoResponseOrderReportsInner, type index_MarginAccountNewOtocoResponseOrdersInner as MarginAccountNewOtocoResponseOrdersInner, type index_MarginManualLiquidationRequest as MarginManualLiquidationRequest, type index_MarginManualLiquidationResponse as MarginManualLiquidationResponse, index_MarketDataApi as MarketDataApi, type index_MarketDataApiInterface as MarketDataApiInterface, type index_QueryBorrowRepayRecordsInMarginAccountRequest as QueryBorrowRepayRecordsInMarginAccountRequest, type index_QueryBorrowRepayRecordsInMarginAccountResponse as QueryBorrowRepayRecordsInMarginAccountResponse, type index_QueryBorrowRepayRecordsInMarginAccountResponseRowsInner as QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, type index_QueryCrossIsolatedMarginCapitalFlowRequest as QueryCrossIsolatedMarginCapitalFlowRequest, type index_QueryCrossIsolatedMarginCapitalFlowResponse as QueryCrossIsolatedMarginCapitalFlowResponse, type index_QueryCrossIsolatedMarginCapitalFlowResponseInner as QueryCrossIsolatedMarginCapitalFlowResponseInner, type index_QueryCrossMarginAccountDetailsRequest as QueryCrossMarginAccountDetailsRequest, type index_QueryCrossMarginAccountDetailsResponse as QueryCrossMarginAccountDetailsResponse, type index_QueryCrossMarginAccountDetailsResponseUserAssetsInner as QueryCrossMarginAccountDetailsResponseUserAssetsInner, type index_QueryCrossMarginFeeDataRequest as QueryCrossMarginFeeDataRequest, type index_QueryCrossMarginFeeDataResponse as QueryCrossMarginFeeDataResponse, type index_QueryCrossMarginFeeDataResponseInner as QueryCrossMarginFeeDataResponseInner, type index_QueryCurrentMarginOrderCountUsageRequest as QueryCurrentMarginOrderCountUsageRequest, type index_QueryCurrentMarginOrderCountUsageResponse as QueryCurrentMarginOrderCountUsageResponse, type index_QueryCurrentMarginOrderCountUsageResponseInner as QueryCurrentMarginOrderCountUsageResponseInner, type index_QueryEnabledIsolatedMarginAccountLimitRequest as QueryEnabledIsolatedMarginAccountLimitRequest, type index_QueryEnabledIsolatedMarginAccountLimitResponse as QueryEnabledIsolatedMarginAccountLimitResponse, type index_QueryIsolatedMarginAccountInfoRequest as QueryIsolatedMarginAccountInfoRequest, type index_QueryIsolatedMarginAccountInfoResponse as QueryIsolatedMarginAccountInfoResponse, type index_QueryIsolatedMarginAccountInfoResponseAssetsInner as QueryIsolatedMarginAccountInfoResponseAssetsInner, type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset, type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset, type index_QueryIsolatedMarginFeeDataRequest as QueryIsolatedMarginFeeDataRequest, type index_QueryIsolatedMarginFeeDataResponse as QueryIsolatedMarginFeeDataResponse, type index_QueryIsolatedMarginFeeDataResponseInner as QueryIsolatedMarginFeeDataResponseInner, type index_QueryIsolatedMarginFeeDataResponseInnerDataInner as QueryIsolatedMarginFeeDataResponseInnerDataInner, type index_QueryIsolatedMarginTierDataRequest as QueryIsolatedMarginTierDataRequest, type index_QueryIsolatedMarginTierDataResponse as QueryIsolatedMarginTierDataResponse, type index_QueryIsolatedMarginTierDataResponseInner as QueryIsolatedMarginTierDataResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, type index_QueryMarginAccountsAllOcoRequest as QueryMarginAccountsAllOcoRequest, type index_QueryMarginAccountsAllOcoResponse as QueryMarginAccountsAllOcoResponse, type index_QueryMarginAccountsAllOcoResponseInner as QueryMarginAccountsAllOcoResponseInner, type index_QueryMarginAccountsAllOcoResponseInnerOrdersInner as QueryMarginAccountsAllOcoResponseInnerOrdersInner, type index_QueryMarginAccountsAllOrdersRequest as QueryMarginAccountsAllOrdersRequest, type index_QueryMarginAccountsAllOrdersResponse as QueryMarginAccountsAllOrdersResponse, type index_QueryMarginAccountsAllOrdersResponseInner as QueryMarginAccountsAllOrdersResponseInner, type index_QueryMarginAccountsOcoRequest as QueryMarginAccountsOcoRequest, type index_QueryMarginAccountsOcoResponse as QueryMarginAccountsOcoResponse, type index_QueryMarginAccountsOcoResponseOrdersInner as QueryMarginAccountsOcoResponseOrdersInner, type index_QueryMarginAccountsOpenOcoRequest as QueryMarginAccountsOpenOcoRequest, type index_QueryMarginAccountsOpenOcoResponse as QueryMarginAccountsOpenOcoResponse, type index_QueryMarginAccountsOpenOcoResponseInner as QueryMarginAccountsOpenOcoResponseInner, type index_QueryMarginAccountsOpenOcoResponseInnerOrdersInner as QueryMarginAccountsOpenOcoResponseInnerOrdersInner, type index_QueryMarginAccountsOpenOrdersRequest as QueryMarginAccountsOpenOrdersRequest, type index_QueryMarginAccountsOpenOrdersResponse as QueryMarginAccountsOpenOrdersResponse, type index_QueryMarginAccountsOpenOrdersResponseInner as QueryMarginAccountsOpenOrdersResponseInner, type index_QueryMarginAccountsOrderRequest as QueryMarginAccountsOrderRequest, type index_QueryMarginAccountsOrderResponse as QueryMarginAccountsOrderResponse, type index_QueryMarginAccountsTradeListRequest as QueryMarginAccountsTradeListRequest, type index_QueryMarginAccountsTradeListResponse as QueryMarginAccountsTradeListResponse, type index_QueryMarginAccountsTradeListResponseInner as QueryMarginAccountsTradeListResponseInner, type index_QueryMarginAvailableInventoryRequest as QueryMarginAvailableInventoryRequest, type index_QueryMarginAvailableInventoryResponse as QueryMarginAvailableInventoryResponse, type index_QueryMarginAvailableInventoryResponseAssets as QueryMarginAvailableInventoryResponseAssets, type index_QueryMarginInterestRateHistoryRequest as QueryMarginInterestRateHistoryRequest, type index_QueryMarginInterestRateHistoryResponse as QueryMarginInterestRateHistoryResponse, type index_QueryMarginInterestRateHistoryResponseInner as QueryMarginInterestRateHistoryResponseInner, type index_QueryMarginPriceindexRequest as QueryMarginPriceindexRequest, type index_QueryMarginPriceindexResponse as QueryMarginPriceindexResponse, type index_QueryMaxBorrowRequest as QueryMaxBorrowRequest, type index_QueryMaxBorrowResponse as QueryMaxBorrowResponse, type index_QueryMaxTransferOutAmountRequest as QueryMaxTransferOutAmountRequest, type index_QueryMaxTransferOutAmountResponse as QueryMaxTransferOutAmountResponse, type index_QuerySpecialKeyListRequest as QuerySpecialKeyListRequest, type index_QuerySpecialKeyListResponse as QuerySpecialKeyListResponse, type index_QuerySpecialKeyListResponseInner as QuerySpecialKeyListResponseInner, type index_QuerySpecialKeyRequest as QuerySpecialKeyRequest, type index_QuerySpecialKeyResponse as QuerySpecialKeyResponse, index_RestAPI as RestAPI, index_RiskDataStreamApi as RiskDataStreamApi, type index_RiskDataStreamApiInterface as RiskDataStreamApiInterface, type index_SmallLiabilityExchangeRequest as SmallLiabilityExchangeRequest, type index_StartIsolatedMarginUserDataStreamRequest as StartIsolatedMarginUserDataStreamRequest, type index_StartIsolatedMarginUserDataStreamResponse as StartIsolatedMarginUserDataStreamResponse, type index_StartMarginUserDataStreamResponse as StartMarginUserDataStreamResponse, type index_StartUserDataStreamResponse as StartUserDataStreamResponse, index_TradeApi as TradeApi, type index_TradeApiInterface as TradeApiInterface, index_TradeDataStreamApi as TradeDataStreamApi, type index_TradeDataStreamApiInterface as TradeDataStreamApiInterface, index_TransferApi as TransferApi, type index_TransferApiInterface as TransferApiInterface };
|
|
10237
10348
|
}
|
|
10238
10349
|
|
|
10239
10350
|
interface ConfigurationMarginTrading {
|
package/dist/index.js
CHANGED
|
@@ -42,7 +42,7 @@ var import_common9 = require("@binance/common");
|
|
|
42
42
|
|
|
43
43
|
// package.json
|
|
44
44
|
var name = "@binance/margin-trading";
|
|
45
|
-
var version = "
|
|
45
|
+
var version = "5.0.0";
|
|
46
46
|
|
|
47
47
|
// src/rest-api/index.ts
|
|
48
48
|
var rest_api_exports = {};
|
|
@@ -1314,6 +1314,30 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
|
|
|
1314
1314
|
timeUnit: _timeUnit
|
|
1315
1315
|
};
|
|
1316
1316
|
},
|
|
1317
|
+
/**
|
|
1318
|
+
* Get the upcoming tokens or symbols listing schedule for Cross Margin and Isolated Margin.
|
|
1319
|
+
*
|
|
1320
|
+
* Weight: 100
|
|
1321
|
+
*
|
|
1322
|
+
* @summary Get list Schedule (MARKET_DATA)
|
|
1323
|
+
* @param {number} [recvWindow] No more than 60000
|
|
1324
|
+
*
|
|
1325
|
+
* @throws {RequiredError}
|
|
1326
|
+
*/
|
|
1327
|
+
getListSchedule: async (recvWindow) => {
|
|
1328
|
+
const localVarQueryParameter = {};
|
|
1329
|
+
if (recvWindow !== void 0 && recvWindow !== null) {
|
|
1330
|
+
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1331
|
+
}
|
|
1332
|
+
let _timeUnit;
|
|
1333
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1334
|
+
return {
|
|
1335
|
+
endpoint: "/sapi/v1/margin/list-schedule",
|
|
1336
|
+
method: "GET",
|
|
1337
|
+
params: localVarQueryParameter,
|
|
1338
|
+
timeUnit: _timeUnit
|
|
1339
|
+
};
|
|
1340
|
+
},
|
|
1317
1341
|
/**
|
|
1318
1342
|
* Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
|
|
1319
1343
|
*
|
|
@@ -1547,6 +1571,31 @@ var MarketDataApi = class {
|
|
|
1547
1571
|
{ isSigned: false }
|
|
1548
1572
|
);
|
|
1549
1573
|
}
|
|
1574
|
+
/**
|
|
1575
|
+
* Get the upcoming tokens or symbols listing schedule for Cross Margin and Isolated Margin.
|
|
1576
|
+
*
|
|
1577
|
+
* Weight: 100
|
|
1578
|
+
*
|
|
1579
|
+
* @summary Get list Schedule (MARKET_DATA)
|
|
1580
|
+
* @param {GetListScheduleRequest} requestParameters Request parameters.
|
|
1581
|
+
* @returns {Promise<RestApiResponse<GetListScheduleResponse>>}
|
|
1582
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1583
|
+
* @memberof MarketDataApi
|
|
1584
|
+
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-list-Schedule Binance API Documentation}
|
|
1585
|
+
*/
|
|
1586
|
+
async getListSchedule(requestParameters = {}) {
|
|
1587
|
+
const localVarAxiosArgs = await this.localVarAxiosParamCreator.getListSchedule(
|
|
1588
|
+
requestParameters?.recvWindow
|
|
1589
|
+
);
|
|
1590
|
+
return (0, import_common3.sendRequest)(
|
|
1591
|
+
this.configuration,
|
|
1592
|
+
localVarAxiosArgs.endpoint,
|
|
1593
|
+
localVarAxiosArgs.method,
|
|
1594
|
+
localVarAxiosArgs.params,
|
|
1595
|
+
localVarAxiosArgs?.timeUnit,
|
|
1596
|
+
{ isSigned: false }
|
|
1597
|
+
);
|
|
1598
|
+
}
|
|
1550
1599
|
/**
|
|
1551
1600
|
* Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
|
|
1552
1601
|
*
|
|
@@ -3972,39 +4021,46 @@ var TradeApi = class {
|
|
|
3972
4021
|
);
|
|
3973
4022
|
}
|
|
3974
4023
|
};
|
|
3975
|
-
var MarginAccountNewOcoSideEnum = {
|
|
3976
|
-
BUY
|
|
3977
|
-
SELL
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
};
|
|
4003
|
-
var
|
|
4004
|
-
ACK
|
|
4005
|
-
RESULT
|
|
4006
|
-
FULL
|
|
4007
|
-
|
|
4024
|
+
var MarginAccountNewOcoSideEnum = /* @__PURE__ */ ((MarginAccountNewOcoSideEnum2) => {
|
|
4025
|
+
MarginAccountNewOcoSideEnum2["BUY"] = "BUY";
|
|
4026
|
+
MarginAccountNewOcoSideEnum2["SELL"] = "SELL";
|
|
4027
|
+
return MarginAccountNewOcoSideEnum2;
|
|
4028
|
+
})(MarginAccountNewOcoSideEnum || {});
|
|
4029
|
+
var MarginAccountNewOcoNewOrderRespTypeEnum = /* @__PURE__ */ ((MarginAccountNewOcoNewOrderRespTypeEnum2) => {
|
|
4030
|
+
MarginAccountNewOcoNewOrderRespTypeEnum2["ACK"] = "ACK";
|
|
4031
|
+
MarginAccountNewOcoNewOrderRespTypeEnum2["RESULT"] = "RESULT";
|
|
4032
|
+
MarginAccountNewOcoNewOrderRespTypeEnum2["FULL"] = "FULL";
|
|
4033
|
+
return MarginAccountNewOcoNewOrderRespTypeEnum2;
|
|
4034
|
+
})(MarginAccountNewOcoNewOrderRespTypeEnum || {});
|
|
4035
|
+
var MarginAccountNewOrderSideEnum = /* @__PURE__ */ ((MarginAccountNewOrderSideEnum2) => {
|
|
4036
|
+
MarginAccountNewOrderSideEnum2["BUY"] = "BUY";
|
|
4037
|
+
MarginAccountNewOrderSideEnum2["SELL"] = "SELL";
|
|
4038
|
+
return MarginAccountNewOrderSideEnum2;
|
|
4039
|
+
})(MarginAccountNewOrderSideEnum || {});
|
|
4040
|
+
var MarginAccountNewOrderNewOrderRespTypeEnum = /* @__PURE__ */ ((MarginAccountNewOrderNewOrderRespTypeEnum2) => {
|
|
4041
|
+
MarginAccountNewOrderNewOrderRespTypeEnum2["ACK"] = "ACK";
|
|
4042
|
+
MarginAccountNewOrderNewOrderRespTypeEnum2["RESULT"] = "RESULT";
|
|
4043
|
+
MarginAccountNewOrderNewOrderRespTypeEnum2["FULL"] = "FULL";
|
|
4044
|
+
return MarginAccountNewOrderNewOrderRespTypeEnum2;
|
|
4045
|
+
})(MarginAccountNewOrderNewOrderRespTypeEnum || {});
|
|
4046
|
+
var MarginAccountNewOrderTimeInForceEnum = /* @__PURE__ */ ((MarginAccountNewOrderTimeInForceEnum2) => {
|
|
4047
|
+
MarginAccountNewOrderTimeInForceEnum2["GTC"] = "GTC";
|
|
4048
|
+
MarginAccountNewOrderTimeInForceEnum2["IOC"] = "IOC";
|
|
4049
|
+
MarginAccountNewOrderTimeInForceEnum2["FOK"] = "FOK";
|
|
4050
|
+
return MarginAccountNewOrderTimeInForceEnum2;
|
|
4051
|
+
})(MarginAccountNewOrderTimeInForceEnum || {});
|
|
4052
|
+
var MarginAccountNewOtoNewOrderRespTypeEnum = /* @__PURE__ */ ((MarginAccountNewOtoNewOrderRespTypeEnum2) => {
|
|
4053
|
+
MarginAccountNewOtoNewOrderRespTypeEnum2["ACK"] = "ACK";
|
|
4054
|
+
MarginAccountNewOtoNewOrderRespTypeEnum2["RESULT"] = "RESULT";
|
|
4055
|
+
MarginAccountNewOtoNewOrderRespTypeEnum2["FULL"] = "FULL";
|
|
4056
|
+
return MarginAccountNewOtoNewOrderRespTypeEnum2;
|
|
4057
|
+
})(MarginAccountNewOtoNewOrderRespTypeEnum || {});
|
|
4058
|
+
var MarginAccountNewOtocoNewOrderRespTypeEnum = /* @__PURE__ */ ((MarginAccountNewOtocoNewOrderRespTypeEnum2) => {
|
|
4059
|
+
MarginAccountNewOtocoNewOrderRespTypeEnum2["ACK"] = "ACK";
|
|
4060
|
+
MarginAccountNewOtocoNewOrderRespTypeEnum2["RESULT"] = "RESULT";
|
|
4061
|
+
MarginAccountNewOtocoNewOrderRespTypeEnum2["FULL"] = "FULL";
|
|
4062
|
+
return MarginAccountNewOtocoNewOrderRespTypeEnum2;
|
|
4063
|
+
})(MarginAccountNewOtocoNewOrderRespTypeEnum || {});
|
|
4008
4064
|
|
|
4009
4065
|
// src/rest-api/modules/trade-data-stream-api.ts
|
|
4010
4066
|
var import_common6 = require("@binance/common");
|
|
@@ -4863,6 +4919,20 @@ var RestAPI = class {
|
|
|
4863
4919
|
getDelistSchedule(requestParameters = {}) {
|
|
4864
4920
|
return this.marketDataApi.getDelistSchedule(requestParameters);
|
|
4865
4921
|
}
|
|
4922
|
+
/**
|
|
4923
|
+
* Get the upcoming tokens or symbols listing schedule for Cross Margin and Isolated Margin.
|
|
4924
|
+
*
|
|
4925
|
+
* Weight: 100
|
|
4926
|
+
*
|
|
4927
|
+
* @summary Get list Schedule (MARKET_DATA)
|
|
4928
|
+
* @param {GetListScheduleRequest} requestParameters Request parameters.
|
|
4929
|
+
* @returns {Promise<RestApiResponse<GetListScheduleResponse>>}
|
|
4930
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4931
|
+
* @see {@link https://developers.binance.com/docs/margin_trading/market-data/Get-list-Schedule Binance API Documentation}
|
|
4932
|
+
*/
|
|
4933
|
+
getListSchedule(requestParameters = {}) {
|
|
4934
|
+
return this.marketDataApi.getListSchedule(requestParameters);
|
|
4935
|
+
}
|
|
4866
4936
|
/**
|
|
4867
4937
|
* Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
|
|
4868
4938
|
*
|