@binance/derivatives-trading-portfolio-margin
Version:
Official Binance Derivatives Trading (COIN-M Futures) Connector - A lightweight library that provides a convenient interface to Binance's COINN-M Futures REST API, WebSocket API and WebSocket Streams.
2,199 lines (2,197 loc) • 662 kB
TypeScript
import { BadRequestError, ConfigurationRestAPI, ConfigurationWebsocketStreams, ConnectorClientError, DERIVATIVES_TRADING_PORTFOLIO_MARGIN_REST_API_PROD_URL, DERIVATIVES_TRADING_PORTFOLIO_MARGIN_REST_API_TESTNET_URL, DERIVATIVES_TRADING_PORTFOLIO_MARGIN_WS_STREAMS_PROD_URL, DERIVATIVES_TRADING_PORTFOLIO_MARGIN_WS_STREAMS_TESTNET_URL, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, ServerError, TooManyRequestsError, UnauthorizedError, WebsocketStream, WebsocketStreamsBase } from "@binance/common";
//#region rolldown:runtime
//#endregion
//#region src/rest-api/types/account-balance-response1-inner.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface AccountBalanceResponse1Inner
*/
interface AccountBalanceResponse1Inner {
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
asset?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
totalWalletBalance?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
crossMarginAsset?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
crossMarginBorrowed?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
crossMarginFree?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
crossMarginInterest?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
crossMarginLocked?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
umWalletBalance?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
umUnrealizedPNL?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
cmWalletBalance?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
cmUnrealizedPNL?: string;
/**
*
* @type {number | bigint}
* @memberof AccountBalanceResponse1Inner
*/
updateTime?: number | bigint;
/**
*
* @type {string}
* @memberof AccountBalanceResponse1Inner
*/
negativeBalance?: string;
}
//#endregion
//#region src/rest-api/types/account-balance-response1.d.ts
/**
*
* @export
* @interface AccountBalanceResponse1
*/
interface AccountBalanceResponse1 extends Array<AccountBalanceResponse1Inner> {}
//#endregion
//#region src/rest-api/types/account-balance-response2.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface AccountBalanceResponse2
*/
interface AccountBalanceResponse2 {
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
asset?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
totalWalletBalance?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
crossMarginBorrowed?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
crossMarginFree?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
crossMarginInterest?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
crossMarginLocked?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
umWalletBalance?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
umUnrealizedPNL?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
cmWalletBalance?: string;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
cmUnrealizedPNL?: string;
/**
*
* @type {number | bigint}
* @memberof AccountBalanceResponse2
*/
updateTime?: number | bigint;
/**
*
* @type {string}
* @memberof AccountBalanceResponse2
*/
negativeBalance?: string;
}
//#endregion
//#region src/rest-api/types/account-balance-response.d.ts
/**
* @type AccountBalanceResponse
* @export
*/
type AccountBalanceResponse = AccountBalanceResponse1 | AccountBalanceResponse2;
//#endregion
//#region src/rest-api/types/account-information-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface AccountInformationResponse
*/
interface AccountInformationResponse {
/**
*
* @type {string}
* @memberof AccountInformationResponse
*/
uniMMR?: string;
/**
*
* @type {string}
* @memberof AccountInformationResponse
*/
accountEquity?: string;
/**
*
* @type {string}
* @memberof AccountInformationResponse
*/
actualEquity?: string;
/**
*
* @type {string}
* @memberof AccountInformationResponse
*/
accountInitialMargin?: string;
/**
*
* @type {string}
* @memberof AccountInformationResponse
*/
accountMaintMargin?: string;
/**
*
* @type {string}
* @memberof AccountInformationResponse
*/
accountStatus?: string;
/**
*
* @type {string}
* @memberof AccountInformationResponse
*/
virtualMaxWithdrawAmount?: string;
/**
*
* @type {string}
* @memberof AccountInformationResponse
*/
totalAvailableBalance?: string;
/**
*
* @type {string}
* @memberof AccountInformationResponse
*/
totalMarginOpenLoss?: string;
/**
*
* @type {number | bigint}
* @memberof AccountInformationResponse
*/
updateTime?: number | bigint;
}
//#endregion
//#region src/rest-api/types/bnb-transfer-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface BnbTransferResponse
*/
interface BnbTransferResponse {
/**
*
* @type {number | bigint}
* @memberof BnbTransferResponse
*/
tranId?: number | bigint;
}
//#endregion
//#region src/rest-api/types/cancel-all-cm-open-conditional-orders-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelAllCmOpenConditionalOrdersResponse
*/
interface CancelAllCmOpenConditionalOrdersResponse {
/**
*
* @type {string}
* @memberof CancelAllCmOpenConditionalOrdersResponse
*/
code?: string;
/**
*
* @type {string}
* @memberof CancelAllCmOpenConditionalOrdersResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/cancel-all-cm-open-orders-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelAllCmOpenOrdersResponse
*/
interface CancelAllCmOpenOrdersResponse {
/**
*
* @type {number | bigint}
* @memberof CancelAllCmOpenOrdersResponse
*/
code?: number | bigint;
/**
*
* @type {string}
* @memberof CancelAllCmOpenOrdersResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/cancel-all-um-algo-open-orders-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelAllUmAlgoOpenOrdersResponse
*/
interface CancelAllUmAlgoOpenOrdersResponse {
/**
*
* @type {number | bigint}
* @memberof CancelAllUmAlgoOpenOrdersResponse
*/
code?: number | bigint;
/**
*
* @type {string}
* @memberof CancelAllUmAlgoOpenOrdersResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/cancel-all-um-open-conditional-orders-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelAllUmOpenConditionalOrdersResponse
*/
interface CancelAllUmOpenConditionalOrdersResponse {
/**
*
* @type {string}
* @memberof CancelAllUmOpenConditionalOrdersResponse
*/
code?: string;
/**
*
* @type {string}
* @memberof CancelAllUmOpenConditionalOrdersResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/cancel-all-um-open-orders-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelAllUmOpenOrdersResponse
*/
interface CancelAllUmOpenOrdersResponse {
/**
*
* @type {number | bigint}
* @memberof CancelAllUmOpenOrdersResponse
*/
code?: number | bigint;
/**
*
* @type {string}
* @memberof CancelAllUmOpenOrdersResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/cancel-cm-conditional-order-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelCmConditionalOrderResponse
*/
interface CancelCmConditionalOrderResponse {
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
newClientStrategyId?: string;
/**
*
* @type {number | bigint}
* @memberof CancelCmConditionalOrderResponse
*/
strategyId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
strategyStatus?: string;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
strategyType?: string;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
origQty?: string;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
price?: string;
/**
*
* @type {boolean}
* @memberof CancelCmConditionalOrderResponse
*/
reduceOnly?: boolean;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
side?: string;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
positionSide?: string;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
stopPrice?: string;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
symbol?: string;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
timeInForce?: string;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
activatePrice?: string;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
priceRate?: string;
/**
*
* @type {number | bigint}
* @memberof CancelCmConditionalOrderResponse
*/
bookTime?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CancelCmConditionalOrderResponse
*/
updateTime?: number | bigint;
/**
*
* @type {string}
* @memberof CancelCmConditionalOrderResponse
*/
workingType?: string;
/**
*
* @type {boolean}
* @memberof CancelCmConditionalOrderResponse
*/
priceProtect?: boolean;
}
//#endregion
//#region src/rest-api/types/cancel-cm-order-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelCmOrderResponse
*/
interface CancelCmOrderResponse {
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
avgPrice?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
clientOrderId?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
cumQty?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
cumBase?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
executedQty?: string;
/**
*
* @type {number | bigint}
* @memberof CancelCmOrderResponse
*/
orderId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
origQty?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
price?: string;
/**
*
* @type {boolean}
* @memberof CancelCmOrderResponse
*/
reduceOnly?: boolean;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
side?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
positionSide?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
status?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
symbol?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
pair?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
timeInForce?: string;
/**
*
* @type {string}
* @memberof CancelCmOrderResponse
*/
type?: string;
/**
*
* @type {number | bigint}
* @memberof CancelCmOrderResponse
*/
updateTime?: number | bigint;
}
//#endregion
//#region src/rest-api/types/cancel-margin-account-all-open-orders-on-asymbol-response-inner-order-reports-inner.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner {
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
symbol?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
origClientOrderId?: string;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
orderId?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
orderListId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
clientOrderId?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
price?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
origQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
executedQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
cummulativeQuoteQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
status?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
timeInForce?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
type?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
side?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
stopPrice?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner
*/
icebergQty?: string;
}
//#endregion
//#region src/rest-api/types/cancel-margin-account-all-open-orders-on-asymbol-response-inner-orders-inner.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrdersInner
*/
interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrdersInner {
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrdersInner
*/
symbol?: string;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrdersInner
*/
orderId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrdersInner
*/
clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/cancel-margin-account-all-open-orders-on-asymbol-response-inner.d.ts
/**
*
* @export
* @interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
interface CancelMarginAccountAllOpenOrdersOnASymbolResponseInner {
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
symbol?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
origClientOrderId?: string;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
orderId?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
orderListId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
clientOrderId?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
price?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
origQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
executedQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
cummulativeQuoteQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
status?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
timeInForce?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
type?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
side?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
contingencyType?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
listStatusType?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
listOrderStatus?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
listClientOrderId?: string;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
transactionTime?: number | bigint;
/**
*
* @type {Array<CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrdersInner>}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
orders?: Array<CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrdersInner>;
/**
*
* @type {Array<CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner>}
* @memberof CancelMarginAccountAllOpenOrdersOnASymbolResponseInner
*/
orderReports?: Array<CancelMarginAccountAllOpenOrdersOnASymbolResponseInnerOrderReportsInner>;
}
//#endregion
//#region src/rest-api/types/cancel-margin-account-all-open-orders-on-asymbol-response.d.ts
/**
*
* @export
* @interface CancelMarginAccountAllOpenOrdersOnASymbolResponse
*/
interface CancelMarginAccountAllOpenOrdersOnASymbolResponse extends Array<CancelMarginAccountAllOpenOrdersOnASymbolResponseInner> {}
//#endregion
//#region src/rest-api/types/cancel-margin-account-oco-orders-response-order-reports-inner.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
interface CancelMarginAccountOcoOrdersResponseOrderReportsInner {
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
symbol?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
origClientOrderId?: string;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
orderId?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
orderListId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
clientOrderId?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
price?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
origQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
executedQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
cummulativeQuoteQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
status?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
timeInForce?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
type?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
side?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrderReportsInner
*/
stopPrice?: string;
}
//#endregion
//#region src/rest-api/types/cancel-margin-account-oco-orders-response-orders-inner.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelMarginAccountOcoOrdersResponseOrdersInner
*/
interface CancelMarginAccountOcoOrdersResponseOrdersInner {
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrdersInner
*/
symbol?: string;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountOcoOrdersResponseOrdersInner
*/
orderId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponseOrdersInner
*/
clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/cancel-margin-account-oco-orders-response.d.ts
/**
*
* @export
* @interface CancelMarginAccountOcoOrdersResponse
*/
interface CancelMarginAccountOcoOrdersResponse {
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountOcoOrdersResponse
*/
orderListId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponse
*/
contingencyType?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponse
*/
listStatusType?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponse
*/
listOrderStatus?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponse
*/
listClientOrderId?: string;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountOcoOrdersResponse
*/
transactionTime?: number | bigint;
/**
*
* @type {string}
* @memberof CancelMarginAccountOcoOrdersResponse
*/
symbol?: string;
/**
*
* @type {Array<CancelMarginAccountOcoOrdersResponseOrdersInner>}
* @memberof CancelMarginAccountOcoOrdersResponse
*/
orders?: Array<CancelMarginAccountOcoOrdersResponseOrdersInner>;
/**
*
* @type {Array<CancelMarginAccountOcoOrdersResponseOrderReportsInner>}
* @memberof CancelMarginAccountOcoOrdersResponse
*/
orderReports?: Array<CancelMarginAccountOcoOrdersResponseOrderReportsInner>;
}
//#endregion
//#region src/rest-api/types/cancel-margin-account-order-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelMarginAccountOrderResponse
*/
interface CancelMarginAccountOrderResponse {
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
symbol?: string;
/**
*
* @type {number | bigint}
* @memberof CancelMarginAccountOrderResponse
*/
orderId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
origClientOrderId?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
clientOrderId?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
price?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
origQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
executedQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
cummulativeQuoteQty?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
status?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
timeInForce?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
type?: string;
/**
*
* @type {string}
* @memberof CancelMarginAccountOrderResponse
*/
side?: string;
}
//#endregion
//#region src/rest-api/types/cancel-um-algo-order-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelUmAlgoOrderResponse
*/
interface CancelUmAlgoOrderResponse {
/**
*
* @type {boolean}
* @memberof CancelUmAlgoOrderResponse
*/
complete?: boolean;
}
//#endregion
//#region src/rest-api/types/cancel-um-conditional-order-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelUmConditionalOrderResponse
*/
interface CancelUmConditionalOrderResponse {
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
newClientStrategyId?: string;
/**
*
* @type {number | bigint}
* @memberof CancelUmConditionalOrderResponse
*/
strategyId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
strategyStatus?: string;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
strategyType?: string;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
origQty?: string;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
price?: string;
/**
*
* @type {boolean}
* @memberof CancelUmConditionalOrderResponse
*/
reduceOnly?: boolean;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
side?: string;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
positionSide?: string;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
stopPrice?: string;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
symbol?: string;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
timeInForce?: string;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
activatePrice?: string;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
priceRate?: string;
/**
*
* @type {number | bigint}
* @memberof CancelUmConditionalOrderResponse
*/
bookTime?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CancelUmConditionalOrderResponse
*/
updateTime?: number | bigint;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
workingType?: string;
/**
*
* @type {boolean}
* @memberof CancelUmConditionalOrderResponse
*/
priceProtect?: boolean;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
selfTradePreventionMode?: string;
/**
*
* @type {number | bigint}
* @memberof CancelUmConditionalOrderResponse
*/
goodTillDate?: number | bigint;
/**
*
* @type {string}
* @memberof CancelUmConditionalOrderResponse
*/
priceMatch?: string;
}
//#endregion
//#region src/rest-api/types/cancel-um-order-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CancelUmOrderResponse
*/
interface CancelUmOrderResponse {
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
avgPrice?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
clientOrderId?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
cumQty?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
cumQuote?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
executedQty?: string;
/**
*
* @type {number | bigint}
* @memberof CancelUmOrderResponse
*/
orderId?: number | bigint;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
origQty?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
price?: string;
/**
*
* @type {boolean}
* @memberof CancelUmOrderResponse
*/
reduceOnly?: boolean;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
side?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
positionSide?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
status?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
symbol?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
timeInForce?: string;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
type?: string;
/**
*
* @type {number | bigint}
* @memberof CancelUmOrderResponse
*/
updateTime?: number | bigint;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
selfTradePreventionMode?: string;
/**
*
* @type {number | bigint}
* @memberof CancelUmOrderResponse
*/
goodTillDate?: number | bigint;
/**
*
* @type {string}
* @memberof CancelUmOrderResponse
*/
priceMatch?: string;
}
//#endregion
//#region src/rest-api/types/change-auto-repay-futures-status-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface ChangeAutoRepayFuturesStatusResponse
*/
interface ChangeAutoRepayFuturesStatusResponse {
/**
*
* @type {string}
* @memberof ChangeAutoRepayFuturesStatusResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/change-cm-initial-leverage-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface ChangeCmInitialLeverageResponse
*/
interface ChangeCmInitialLeverageResponse {
/**
*
* @type {number | bigint}
* @memberof ChangeCmInitialLeverageResponse
*/
leverage?: number | bigint;
/**
*
* @type {string}
* @memberof ChangeCmInitialLeverageResponse
*/
maxQty?: string;
/**
*
* @type {string}
* @memberof ChangeCmInitialLeverageResponse
*/
symbol?: string;
}
//#endregion
//#region src/rest-api/types/change-cm-position-mode-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface ChangeCmPositionModeResponse
*/
interface ChangeCmPositionModeResponse {
/**
*
* @type {number | bigint}
* @memberof ChangeCmPositionModeResponse
*/
code?: number | bigint;
/**
*
* @type {string}
* @memberof ChangeCmPositionModeResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/change-um-initial-leverage-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface ChangeUmInitialLeverageResponse
*/
interface ChangeUmInitialLeverageResponse {
/**
*
* @type {number | bigint}
* @memberof ChangeUmInitialLeverageResponse
*/
leverage?: number | bigint;
/**
*
* @type {string}
* @memberof ChangeUmInitialLeverageResponse
*/
maxNotionalValue?: string;
/**
*
* @type {string}
* @memberof ChangeUmInitialLeverageResponse
*/
symbol?: string;
}
//#endregion
//#region src/rest-api/types/change-um-position-mode-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface ChangeUmPositionModeResponse
*/
interface ChangeUmPositionModeResponse {
/**
*
* @type {number | bigint}
* @memberof ChangeUmPositionModeResponse
*/
code?: number | bigint;
/**
*
* @type {string}
* @memberof ChangeUmPositionModeResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/cm-account-trade-list-response-inner.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CmAccountTradeListResponseInner
*/
interface CmAccountTradeListResponseInner {
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
symbol?: string;
/**
*
* @type {number | bigint}
* @memberof CmAccountTradeListResponseInner
*/
id?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CmAccountTradeListResponseInner
*/
orderId?: number | bigint;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
pair?: string;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
side?: string;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
price?: string;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
qty?: string;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
realizedPnl?: string;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
marginAsset?: string;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
baseQty?: string;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
commission?: string;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
commissionAsset?: string;
/**
*
* @type {number | bigint}
* @memberof CmAccountTradeListResponseInner
*/
time?: number | bigint;
/**
*
* @type {string}
* @memberof CmAccountTradeListResponseInner
*/
positionSide?: string;
/**
*
* @type {boolean}
* @memberof CmAccountTradeListResponseInner
*/
buyer?: boolean;
/**
*
* @type {boolean}
* @memberof CmAccountTradeListResponseInner
*/
maker?: boolean;
}
//#endregion
//#region src/rest-api/types/cm-account-trade-list-response.d.ts
/**
*
* @export
* @interface CmAccountTradeListResponse
*/
interface CmAccountTradeListResponse extends Array<CmAccountTradeListResponseInner> {}
//#endregion
//#region src/rest-api/types/cm-notional-and-leverage-brackets-response-inner-brackets-inner.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CmNotionalAndLeverageBracketsResponseInnerBracketsInner
*/
interface CmNotionalAndLeverageBracketsResponseInnerBracketsInner {
/**
*
* @type {number | bigint}
* @memberof CmNotionalAndLeverageBracketsResponseInnerBracketsInner
*/
bracket?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CmNotionalAndLeverageBracketsResponseInnerBracketsInner
*/
initialLeverage?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CmNotionalAndLeverageBracketsResponseInnerBracketsInner
*/
qtyCap?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CmNotionalAndLeverageBracketsResponseInnerBracketsInner
*/
qtyFloor?: number | bigint;
/**
*
* @type {number}
* @memberof CmNotionalAndLeverageBracketsResponseInnerBracketsInner
*/
maintMarginRatio?: number;
/**
*
* @type {number}
* @memberof CmNotionalAndLeverageBracketsResponseInnerBracketsInner
*/
cum?: number;
}
//#endregion
//#region src/rest-api/types/cm-notional-and-leverage-brackets-response-inner.d.ts
/**
*
* @export
* @interface CmNotionalAndLeverageBracketsResponseInner
*/
interface CmNotionalAndLeverageBracketsResponseInner {
/**
*
* @type {string}
* @memberof CmNotionalAndLeverageBracketsResponseInner
*/
symbol?: string;
/**
*
* @type {Array<CmNotionalAndLeverageBracketsResponseInnerBracketsInner>}
* @memberof CmNotionalAndLeverageBracketsResponseInner
*/
brackets?: Array<CmNotionalAndLeverageBracketsResponseInnerBracketsInner>;
}
//#endregion
//#region src/rest-api/types/cm-notional-and-leverage-brackets-response.d.ts
/**
*
* @export
* @interface CmNotionalAndLeverageBracketsResponse
*/
interface CmNotionalAndLeverageBracketsResponse extends Array<CmNotionalAndLeverageBracketsResponseInner> {}
//#endregion
//#region src/rest-api/types/cm-position-adl-quantile-estimation-response-inner-adl-quantile.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CmPositionAdlQuantileEstimationResponseInnerAdlQuantile
*/
interface CmPositionAdlQuantileEstimationResponseInnerAdlQuantile {
/**
*
* @type {number | bigint}
* @memberof CmPositionAdlQuantileEstimationResponseInnerAdlQuantile
*/
LONG?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CmPositionAdlQuantileEstimationResponseInnerAdlQuantile
*/
SHORT?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CmPositionAdlQuantileEstimationResponseInnerAdlQuantile
*/
HEDGE?: number | bigint;
/**
*
* @type {number | bigint}
* @memberof CmPositionAdlQuantileEstimationResponseInnerAdlQuantile
*/
BOTH?: number | bigint;
}
//#endregion
//#region src/rest-api/types/cm-position-adl-quantile-estimation-response-inner.d.ts
/**
*
* @export
* @interface CmPositionAdlQuantileEstimationResponseInner
*/
interface CmPositionAdlQuantileEstimationResponseInner {
/**
*
* @type {string}
* @memberof CmPositionAdlQuantileEstimationResponseInner
*/
symbol?: string;
/**
*
* @type {CmPositionAdlQuantileEstimationResponseInnerAdlQuantile}
* @memberof CmPositionAdlQuantileEstimationResponseInner
*/
adlQuantile?: CmPositionAdlQuantileEstimationResponseInnerAdlQuantile;
}
//#endregion
//#region src/rest-api/types/cm-position-adl-quantile-estimation-response.d.ts
/**
*
* @export
* @interface CmPositionAdlQuantileEstimationResponse
*/
interface CmPositionAdlQuantileEstimationResponse extends Array<CmPositionAdlQuantileEstimationResponseInner> {}
//#endregion
//#region src/rest-api/types/fund-auto-collection-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface FundAutoCollectionResponse
*/
interface FundAutoCollectionResponse {
/**
*
* @type {string}
* @memberof FundAutoCollectionResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/fund-collection-by-asset-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface FundCollectionByAssetResponse
*/
interface FundCollectionByAssetResponse {
/**
*
* @type {string}
* @memberof FundCollectionByAssetResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/futures-tradfi-perps-contract-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface FuturesTradfiPerpsContractResponse
*/
interface FuturesTradfiPerpsContractResponse {
/**
*
* @type {number | bigint}
* @memberof FuturesTradfiPerpsContractResponse
*/
code?: number | bigint;
/**
*
* @type {string}
* @memberof FuturesTradfiPerpsContractResponse
*/
msg?: string;
}
//#endregion
//#region src/rest-api/types/get-auto-repay-futures-status-response.d.ts
/**
* Binance Derivatives Trading Portfolio Margin REST API
*
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface GetAutoRepayFuturesStatusResponse
*/
interface GetAutoRepayFuturesStatusResponse {
/**
*
* @type {boolean}
* @memberof GetAutoRepayFuturesStatusRespons