import { RestApiResponse, ConfigurationRestAPI, WebsocketApiResponse, WebsocketAPIBase, WebsocketSendMsgOptions, ConfigurationWebsocketAPI, WebsocketStream, WebsocketStreamsBase, ConfigurationWebsocketStreams } from '@binance/common';
export { BadRequestError, ConnectorClientError, DERIVATIVES_TRADING_USDS_FUTURES_REST_API_PROD_URL, DERIVATIVES_TRADING_USDS_FUTURES_REST_API_TESTNET_URL, DERIVATIVES_TRADING_USDS_FUTURES_WS_API_PROD_URL, DERIVATIVES_TRADING_USDS_FUTURES_WS_API_TESTNET_URL, DERIVATIVES_TRADING_USDS_FUTURES_WS_STREAMS_PROD_URL, DERIVATIVES_TRADING_USDS_FUTURES_WS_STREAMS_TESTNET_URL, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AcceptTheOfferedQuoteResponse
 */
interface AcceptTheOfferedQuoteResponse {
    /**
     *
     * @type {string}
     * @memberof AcceptTheOfferedQuoteResponse
     */
    orderId?: string;
    /**
     *
     * @type {number}
     * @memberof AcceptTheOfferedQuoteResponse
     */
    createTime?: number;
    /**
     *
     * @type {string}
     * @memberof AcceptTheOfferedQuoteResponse
     */
    orderStatus?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountInformationV2Response1AssetsInner
 */
interface AccountInformationV2Response1AssetsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    walletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    marginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    crossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    crossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    marginAvailable?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1AssetsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountInformationV2Response1PositionsInner
 */
interface AccountInformationV2Response1PositionsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    leverage?: string;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    isolated?: boolean;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    maxNotional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    bidNotional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    askNotional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    positionAmt?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1PositionsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountInformationV2Response1
 */
interface AccountInformationV2Response1$1 {
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1
     */
    feeTier?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response1
     */
    feeBurn?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response1
     */
    canDeposit?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response1
     */
    canWithdraw?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response1
     */
    multiAssetsMargin?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1
     */
    tradeGroupId?: number;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    totalInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    totalMaintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    totalWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    totalUnrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    totalMarginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    totalPositionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    totalOpenOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    totalCrossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    totalCrossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {Array<AccountInformationV2Response1AssetsInner>}
     * @memberof AccountInformationV2Response1
     */
    assets?: Array<AccountInformationV2Response1AssetsInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1PositionsInner>}
     * @memberof AccountInformationV2Response1
     */
    positions?: Array<AccountInformationV2Response1PositionsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountInformationV2Response2AssetsInner
 */
interface AccountInformationV2Response2AssetsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    walletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    marginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    crossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    crossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    marginAvailable?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response2AssetsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountInformationV2Response2
 */
interface AccountInformationV2Response2$1 {
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response2
     */
    feeTier?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response2
     */
    feeBurn?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response2
     */
    canTrade?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response2
     */
    canDeposit?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response2
     */
    canWithdraw?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response2
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response2
     */
    multiAssetsMargin?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response2
     */
    tradeGroupId?: number;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    totalInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    totalMaintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    totalWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    totalUnrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    totalMarginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    totalPositionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    totalOpenOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    totalCrossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    totalCrossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {Array<AccountInformationV2Response2AssetsInner>}
     * @memberof AccountInformationV2Response2
     */
    assets?: Array<AccountInformationV2Response2AssetsInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1PositionsInner>}
     * @memberof AccountInformationV2Response2
     */
    positions?: Array<AccountInformationV2Response1PositionsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type AccountInformationV2Response
 * @export
 */
type AccountInformationV2Response$1 = AccountInformationV2Response1$1 | AccountInformationV2Response2$1;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountInformationV3Response1AssetsInner
 */
interface AccountInformationV3Response1AssetsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    walletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    marginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    crossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    crossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV3Response1AssetsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountInformationV3Response1PositionsInner
 */
interface AccountInformationV3Response1PositionsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV3Response1PositionsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountInformationV3Response1
 */
interface AccountInformationV3Response1 {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    totalInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    totalMaintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    totalWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    totalUnrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    totalMarginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    totalPositionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    totalOpenOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    totalCrossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    totalCrossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response1
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {Array<AccountInformationV3Response1AssetsInner>}
     * @memberof AccountInformationV3Response1
     */
    assets?: Array<AccountInformationV3Response1AssetsInner>;
    /**
     *
     * @type {Array<AccountInformationV3Response1PositionsInner>}
     * @memberof AccountInformationV3Response1
     */
    positions?: Array<AccountInformationV3Response1PositionsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountInformationV3Response2
 */
interface AccountInformationV3Response2 {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    totalInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    totalMaintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    totalWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    totalUnrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    totalMarginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    totalPositionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    totalOpenOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    totalCrossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    totalCrossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV3Response2
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {Array<AccountInformationV2Response2AssetsInner>}
     * @memberof AccountInformationV3Response2
     */
    assets?: Array<AccountInformationV2Response2AssetsInner>;
    /**
     *
     * @type {Array<AccountInformationV3Response1PositionsInner>}
     * @memberof AccountInformationV3Response2
     */
    positions?: Array<AccountInformationV3Response1PositionsInner>;
}

/**
 * @type AccountInformationV3Response
 * @export
 */
type AccountInformationV3Response = AccountInformationV3Response1 | AccountInformationV3Response2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountTradeListResponseInner
 */
interface AccountTradeListResponseInner {
    /**
     *
     * @type {boolean}
     * @memberof AccountTradeListResponseInner
     */
    buyer?: boolean;
    /**
     *
     * @type {string}
     * @memberof AccountTradeListResponseInner
     */
    commission?: string;
    /**
     *
     * @type {string}
     * @memberof AccountTradeListResponseInner
     */
    commissionAsset?: string;
    /**
     *
     * @type {number}
     * @memberof AccountTradeListResponseInner
     */
    id?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountTradeListResponseInner
     */
    maker?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountTradeListResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof AccountTradeListResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof AccountTradeListResponseInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof AccountTradeListResponseInner
     */
    quoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof AccountTradeListResponseInner
     */
    realizedPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountTradeListResponseInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof AccountTradeListResponseInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof AccountTradeListResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof AccountTradeListResponseInner
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AccountTradeListResponse
 */
interface AccountTradeListResponse extends Array<AccountTradeListResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AllOrdersResponseInner
 */
interface AllOrdersResponseInner {
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof AllOrdersResponseInner
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    stopPrice?: string;
    /**
     *
     * @type {boolean}
     * @memberof AllOrdersResponseInner
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseInner
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseInner
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof AllOrdersResponseInner
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseInner
     */
    goodTillDate?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AllOrdersResponse
 */
interface AllOrdersResponse extends Array<AllOrdersResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 AutoCancelAllOpenOrdersResponse
 */
interface AutoCancelAllOpenOrdersResponse {
    /**
     *
     * @type {string}
     * @memberof AutoCancelAllOpenOrdersResponse
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof AutoCancelAllOpenOrdersResponse
     */
    countdownTime?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 BadRequest
 */
interface BadRequest {
    /**
     *
     * @type {number}
     * @memberof BadRequest
     */
    code: number;
    /**
     *
     * @type {string}
     * @memberof BadRequest
     */
    message: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 BasisResponseInner
 */
interface BasisResponseInner {
    /**
     *
     * @type {string}
     * @memberof BasisResponseInner
     */
    indexPrice?: string;
    /**
     *
     * @type {string}
     * @memberof BasisResponseInner
     */
    contractType?: string;
    /**
     *
     * @type {string}
     * @memberof BasisResponseInner
     */
    basisRate?: string;
    /**
     *
     * @type {string}
     * @memberof BasisResponseInner
     */
    futuresPrice?: string;
    /**
     *
     * @type {string}
     * @memberof BasisResponseInner
     */
    annualizedBasisRate?: string;
    /**
     *
     * @type {string}
     * @memberof BasisResponseInner
     */
    basis?: string;
    /**
     *
     * @type {string}
     * @memberof BasisResponseInner
     */
    pair?: string;
    /**
     *
     * @type {number}
     * @memberof BasisResponseInner
     */
    timestamp?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 BasisResponse
 */
interface BasisResponse extends Array<BasisResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CancelAllOpenOrdersResponse
 */
interface CancelAllOpenOrdersResponse {
    /**
     *
     * @type {number}
     * @memberof CancelAllOpenOrdersResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof CancelAllOpenOrdersResponse
     */
    msg?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CancelMultipleOrdersResponseInner
 */
interface CancelMultipleOrdersResponseInner {
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof CancelMultipleOrdersResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelMultipleOrdersResponseInner
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    stopPrice?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelMultipleOrdersResponseInner
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof CancelMultipleOrdersResponseInner
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelMultipleOrdersResponseInner
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof CancelMultipleOrdersResponseInner
     */
    goodTillDate?: number;
    /**
     *
     * @type {number}
     * @memberof CancelMultipleOrdersResponseInner
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof CancelMultipleOrdersResponseInner
     */
    msg?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CancelMultipleOrdersResponse
 */
interface CancelMultipleOrdersResponse extends Array<CancelMultipleOrdersResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CancelOrderResponse
 */
interface CancelOrderResponse$1 {
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelOrderResponse
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    stopPrice?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelOrderResponse
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponse
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelOrderResponse
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponse
     */
    goodTillDate?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ChangeInitialLeverageResponse
 */
interface ChangeInitialLeverageResponse {
    /**
     *
     * @type {number}
     * @memberof ChangeInitialLeverageResponse
     */
    leverage?: number;
    /**
     *
     * @type {string}
     * @memberof ChangeInitialLeverageResponse
     */
    maxNotionalValue?: string;
    /**
     *
     * @type {string}
     * @memberof ChangeInitialLeverageResponse
     */
    symbol?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ChangeMarginTypeResponse
 */
interface ChangeMarginTypeResponse {
    /**
     *
     * @type {number}
     * @memberof ChangeMarginTypeResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof ChangeMarginTypeResponse
     */
    msg?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ChangeMultiAssetsModeResponse
 */
interface ChangeMultiAssetsModeResponse {
    /**
     *
     * @type {number}
     * @memberof ChangeMultiAssetsModeResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof ChangeMultiAssetsModeResponse
     */
    msg?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ChangePositionModeResponse
 */
interface ChangePositionModeResponse {
    /**
     *
     * @type {number}
     * @memberof ChangePositionModeResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof ChangePositionModeResponse
     */
    msg?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CheckServerTimeResponse
 */
interface CheckServerTimeResponse {
    /**
     *
     * @type {number}
     * @memberof CheckServerTimeResponse
     */
    serverTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ClassicPortfolioMarginAccountInformationResponse
 */
interface ClassicPortfolioMarginAccountInformationResponse {
    /**
     *
     * @type {string}
     * @memberof ClassicPortfolioMarginAccountInformationResponse
     */
    maxWithdrawAmountUSD?: string;
    /**
     *
     * @type {string}
     * @memberof ClassicPortfolioMarginAccountInformationResponse
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof ClassicPortfolioMarginAccountInformationResponse
     */
    maxWithdrawAmount?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CompositeIndexSymbolInformationResponseInnerBaseAssetListInner
 */
interface CompositeIndexSymbolInformationResponseInnerBaseAssetListInner {
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationResponseInnerBaseAssetListInner
     */
    baseAsset?: string;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationResponseInnerBaseAssetListInner
     */
    quoteAsset?: string;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationResponseInnerBaseAssetListInner
     */
    weightInQuantity?: string;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationResponseInnerBaseAssetListInner
     */
    weightInPercentage?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CompositeIndexSymbolInformationResponseInner
 */
interface CompositeIndexSymbolInformationResponseInner {
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof CompositeIndexSymbolInformationResponseInner
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationResponseInner
     */
    component?: string;
    /**
     *
     * @type {Array<CompositeIndexSymbolInformationResponseInnerBaseAssetListInner>}
     * @memberof CompositeIndexSymbolInformationResponseInner
     */
    baseAssetList?: Array<CompositeIndexSymbolInformationResponseInnerBaseAssetListInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CompositeIndexSymbolInformationResponse
 */
interface CompositeIndexSymbolInformationResponse extends Array<CompositeIndexSymbolInformationResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CompressedAggregateTradesListResponseInner
 */
interface CompressedAggregateTradesListResponseInner {
    /**
     *
     * @type {number}
     * @memberof CompressedAggregateTradesListResponseInner
     */
    a?: number;
    /**
     *
     * @type {string}
     * @memberof CompressedAggregateTradesListResponseInner
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof CompressedAggregateTradesListResponseInner
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof CompressedAggregateTradesListResponseInner
     */
    f?: number;
    /**
     *
     * @type {number}
     * @memberof CompressedAggregateTradesListResponseInner
     */
    l?: number;
    /**
     *
     * @type {number}
     * @memberof CompressedAggregateTradesListResponseInner
     */
    T?: number;
    /**
     *
     * @type {boolean}
     * @memberof CompressedAggregateTradesListResponseInner
     */
    m?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CompressedAggregateTradesListResponse
 */
interface CompressedAggregateTradesListResponse extends Array<CompressedAggregateTradesListResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */
/**
 * @type ContinuousContractKlineCandlestickDataResponseItemInner
 * @export
 */
type ContinuousContractKlineCandlestickDataResponseItemInner = number | string;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ContinuousContractKlineCandlestickDataResponseItem
 */
interface ContinuousContractKlineCandlestickDataResponseItem extends Array<ContinuousContractKlineCandlestickDataResponseItemInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ContinuousContractKlineCandlestickDataResponse
 */
interface ContinuousContractKlineCandlestickDataResponse extends Array<ContinuousContractKlineCandlestickDataResponseItem> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 CurrentAllOpenOrdersResponse
 */
interface CurrentAllOpenOrdersResponse extends Array<AllOrdersResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ExchangeInformationResponseAssetsInner
 */
interface ExchangeInformationResponseAssetsInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseAssetsInner
     */
    asset?: string;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInformationResponseAssetsInner
     */
    marginAvailable?: boolean;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseAssetsInner
     */
    autoAssetExchange?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ExchangeInformationResponseRateLimitsInner
 */
interface ExchangeInformationResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseRateLimitsInner
     */
    rateLimitType?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ExchangeInformationResponseSymbolsInnerFiltersInner
 */
interface ExchangeInformationResponseSymbolsInnerFiltersInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    filterType?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    maxPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    minPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    tickSize?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    maxQty?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    minQty?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    stepSize?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    limit?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    multiplierUp?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    multiplierDown?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseSymbolsInnerFiltersInner
     */
    multiplierDecimal?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ExchangeInformationResponseSymbolsInner
 */
interface ExchangeInformationResponseSymbolsInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    pair?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    contractType?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    deliveryDate?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    onboardDate?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    maintMarginPercent?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    requiredMarginPercent?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    baseAsset?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    quoteAsset?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    marginAsset?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    pricePrecision?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    quantityPrecision?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    baseAssetPrecision?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    quotePrecision?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    underlyingType?: string;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    underlyingSubType?: Array<string>;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    settlePlan?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    triggerProtect?: string;
    /**
     *
     * @type {Array<ExchangeInformationResponseSymbolsInnerFiltersInner>}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    filters?: Array<ExchangeInformationResponseSymbolsInnerFiltersInner>;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    OrderType?: Array<string>;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    timeInForce?: Array<string>;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    liquidationFee?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponseSymbolsInner
     */
    marketTakeBound?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ExchangeInformationResponse
 */
interface ExchangeInformationResponse {
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInformationResponse
     */
    exchangeFilters?: Array<string>;
    /**
     *
     * @type {Array<ExchangeInformationResponseRateLimitsInner>}
     * @memberof ExchangeInformationResponse
     */
    rateLimits?: Array<ExchangeInformationResponseRateLimitsInner>;
    /**
     *
     * @type {number}
     * @memberof ExchangeInformationResponse
     */
    serverTime?: number;
    /**
     *
     * @type {Array<ExchangeInformationResponseAssetsInner>}
     * @memberof ExchangeInformationResponse
     */
    assets?: Array<ExchangeInformationResponseAssetsInner>;
    /**
     *
     * @type {Array<ExchangeInformationResponseSymbolsInner>}
     * @memberof ExchangeInformationResponse
     */
    symbols?: Array<ExchangeInformationResponseSymbolsInner>;
    /**
     *
     * @type {string}
     * @memberof ExchangeInformationResponse
     */
    timezone?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesAccountBalanceV2ResponseInner
 */
interface FuturesAccountBalanceV2ResponseInner {
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseInner
     */
    accountAlias?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseInner
     */
    balance?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseInner
     */
    crossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseInner
     */
    crossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseInner
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseInner
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {boolean}
     * @memberof FuturesAccountBalanceV2ResponseInner
     */
    marginAvailable?: boolean;
    /**
     *
     * @type {number}
     * @memberof FuturesAccountBalanceV2ResponseInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesAccountBalanceV2Response
 */
interface FuturesAccountBalanceV2Response$1 extends Array<FuturesAccountBalanceV2ResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesAccountBalanceV3Response
 */
interface FuturesAccountBalanceV3Response extends Array<FuturesAccountBalanceV2ResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesAccountConfigurationResponse
 */
interface FuturesAccountConfigurationResponse {
    /**
     *
     * @type {number}
     * @memberof FuturesAccountConfigurationResponse
     */
    feeTier?: number;
    /**
     *
     * @type {boolean}
     * @memberof FuturesAccountConfigurationResponse
     */
    canTrade?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof FuturesAccountConfigurationResponse
     */
    canDeposit?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof FuturesAccountConfigurationResponse
     */
    canWithdraw?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof FuturesAccountConfigurationResponse
     */
    dualSidePosition?: boolean;
    /**
     *
     * @type {number}
     * @memberof FuturesAccountConfigurationResponse
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof FuturesAccountConfigurationResponse
     */
    multiAssetsMargin?: boolean;
    /**
     *
     * @type {number}
     * @memberof FuturesAccountConfigurationResponse
     */
    tradeGroupId?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner
 */
interface FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner {
    /**
     *
     * @type {boolean}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner
     */
    isLocked?: boolean;
    /**
     *
     * @type {number}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner
     */
    plannedRecoverTime?: number;
    /**
     *
     * @type {string}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner
     */
    indicator?: string;
    /**
     *
     * @type {number}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner
     */
    value?: number;
    /**
     *
     * @type {number}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner
     */
    triggerValue?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators
 */
interface FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators {
    /**
     *
     * @type {Array<FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner>}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators
     */
    BTCUSDT?: Array<FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner>;
    /**
     *
     * @type {Array<FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner>}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators
     */
    ETHUSDT?: Array<FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesTradingQuantitativeRulesIndicatorsResponse1
 */
interface FuturesTradingQuantitativeRulesIndicatorsResponse1 {
    /**
     *
     * @type {FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse1
     */
    indicators?: FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators;
    /**
     *
     * @type {number}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse1
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner
 */
interface FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner {
    /**
     *
     * @type {string}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner
     */
    indicator?: string;
    /**
     *
     * @type {number}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner
     */
    value?: number;
    /**
     *
     * @type {number}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner
     */
    triggerValue?: number;
    /**
     *
     * @type {number}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner
     */
    plannedRecoverTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner
     */
    isLocked?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesTradingQuantitativeRulesIndicatorsResponse2Indicators
 */
interface FuturesTradingQuantitativeRulesIndicatorsResponse2Indicators {
    /**
     *
     * @type {Array<FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner>}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse2Indicators
     */
    ACCOUNT?: Array<FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 FuturesTradingQuantitativeRulesIndicatorsResponse2
 */
interface FuturesTradingQuantitativeRulesIndicatorsResponse2 {
    /**
     *
     * @type {FuturesTradingQuantitativeRulesIndicatorsResponse2Indicators}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse2
     */
    indicators?: FuturesTradingQuantitativeRulesIndicatorsResponse2Indicators;
    /**
     *
     * @type {number}
     * @memberof FuturesTradingQuantitativeRulesIndicatorsResponse2
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type FuturesTradingQuantitativeRulesIndicatorsResponse
 * @export
 */
type FuturesTradingQuantitativeRulesIndicatorsResponse = FuturesTradingQuantitativeRulesIndicatorsResponse1 | FuturesTradingQuantitativeRulesIndicatorsResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetBnbBurnStatusResponse
 */
interface GetBnbBurnStatusResponse {
    /**
     *
     * @type {boolean}
     * @memberof GetBnbBurnStatusResponse
     */
    feeBurn?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetCurrentMultiAssetsModeResponse
 */
interface GetCurrentMultiAssetsModeResponse {
    /**
     *
     * @type {boolean}
     * @memberof GetCurrentMultiAssetsModeResponse
     */
    multiAssetsMargin?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetCurrentPositionModeResponse
 */
interface GetCurrentPositionModeResponse {
    /**
     *
     * @type {boolean}
     * @memberof GetCurrentPositionModeResponse
     */
    dualSidePosition?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetDownloadIdForFuturesOrderHistoryResponse
 */
interface GetDownloadIdForFuturesOrderHistoryResponse {
    /**
     *
     * @type {number}
     * @memberof GetDownloadIdForFuturesOrderHistoryResponse
     */
    avgCostTimestampOfLast30d?: number;
    /**
     *
     * @type {string}
     * @memberof GetDownloadIdForFuturesOrderHistoryResponse
     */
    downloadId?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetDownloadIdForFuturesTradeHistoryResponse
 */
interface GetDownloadIdForFuturesTradeHistoryResponse {
    /**
     *
     * @type {number}
     * @memberof GetDownloadIdForFuturesTradeHistoryResponse
     */
    avgCostTimestampOfLast30d?: number;
    /**
     *
     * @type {string}
     * @memberof GetDownloadIdForFuturesTradeHistoryResponse
     */
    downloadId?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetDownloadIdForFuturesTransactionHistoryResponse
 */
interface GetDownloadIdForFuturesTransactionHistoryResponse {
    /**
     *
     * @type {number}
     * @memberof GetDownloadIdForFuturesTransactionHistoryResponse
     */
    avgCostTimestampOfLast30d?: number;
    /**
     *
     * @type {string}
     * @memberof GetDownloadIdForFuturesTransactionHistoryResponse
     */
    downloadId?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFundingRateHistoryResponseInner
 */
interface GetFundingRateHistoryResponseInner {
    /**
     *
     * @type {string}
     * @memberof GetFundingRateHistoryResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof GetFundingRateHistoryResponseInner
     */
    fundingRate?: string;
    /**
     *
     * @type {number}
     * @memberof GetFundingRateHistoryResponseInner
     */
    fundingTime?: number;
    /**
     *
     * @type {string}
     * @memberof GetFundingRateHistoryResponseInner
     */
    markPrice?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFundingRateHistoryResponse
 */
interface GetFundingRateHistoryResponse extends Array<GetFundingRateHistoryResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFundingRateInfoResponseInner
 */
interface GetFundingRateInfoResponseInner {
    /**
     *
     * @type {string}
     * @memberof GetFundingRateInfoResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof GetFundingRateInfoResponseInner
     */
    adjustedFundingRateCap?: string;
    /**
     *
     * @type {string}
     * @memberof GetFundingRateInfoResponseInner
     */
    adjustedFundingRateFloor?: string;
    /**
     *
     * @type {number}
     * @memberof GetFundingRateInfoResponseInner
     */
    fundingIntervalHours?: number;
    /**
     *
     * @type {boolean}
     * @memberof GetFundingRateInfoResponseInner
     */
    disclaimer?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFundingRateInfoResponse
 */
interface GetFundingRateInfoResponse extends Array<GetFundingRateInfoResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFuturesOrderHistoryDownloadLinkByIdResponse1
 */
interface GetFuturesOrderHistoryDownloadLinkByIdResponse1 {
    /**
     *
     * @type {string}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse1
     */
    downloadId?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse1
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse1
     */
    url?: string;
    /**
     *
     * @type {boolean}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse1
     */
    notified?: boolean;
    /**
     *
     * @type {number}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse1
     */
    expirationTimestamp?: number;
    /**
     *
     * @type {string}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse1
     */
    isExpired?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFuturesOrderHistoryDownloadLinkByIdResponse2
 */
interface GetFuturesOrderHistoryDownloadLinkByIdResponse2 {
    /**
     *
     * @type {string}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse2
     */
    downloadId?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse2
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse2
     */
    url?: string;
    /**
     *
     * @type {boolean}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse2
     */
    notified?: boolean;
    /**
     *
     * @type {number}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse2
     */
    expirationTimestamp?: number;
    /**
     *
     * @type {string}
     * @memberof GetFuturesOrderHistoryDownloadLinkByIdResponse2
     */
    isExpired?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type GetFuturesOrderHistoryDownloadLinkByIdResponse
 * @export
 */
type GetFuturesOrderHistoryDownloadLinkByIdResponse = GetFuturesOrderHistoryDownloadLinkByIdResponse1 | GetFuturesOrderHistoryDownloadLinkByIdResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFuturesTradeDownloadLinkByIdResponse1
 */
interface GetFuturesTradeDownloadLinkByIdResponse1 {
    /**
     *
     * @type {string}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse1
     */
    downloadId?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse1
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse1
     */
    url?: string;
    /**
     *
     * @type {boolean}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse1
     */
    notified?: boolean;
    /**
     *
     * @type {number}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse1
     */
    expirationTimestamp?: number;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse1
     */
    isExpired?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFuturesTradeDownloadLinkByIdResponse2
 */
interface GetFuturesTradeDownloadLinkByIdResponse2 {
    /**
     *
     * @type {string}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse2
     */
    downloadId?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse2
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse2
     */
    url?: string;
    /**
     *
     * @type {boolean}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse2
     */
    notified?: boolean;
    /**
     *
     * @type {number}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse2
     */
    expirationTimestamp?: number;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTradeDownloadLinkByIdResponse2
     */
    isExpired?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type GetFuturesTradeDownloadLinkByIdResponse
 * @export
 */
type GetFuturesTradeDownloadLinkByIdResponse = GetFuturesTradeDownloadLinkByIdResponse1 | GetFuturesTradeDownloadLinkByIdResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFuturesTransactionHistoryDownloadLinkByIdResponse1
 */
interface GetFuturesTransactionHistoryDownloadLinkByIdResponse1 {
    /**
     *
     * @type {string}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse1
     */
    downloadId?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse1
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse1
     */
    url?: string;
    /**
     *
     * @type {boolean}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse1
     */
    notified?: boolean;
    /**
     *
     * @type {number}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse1
     */
    expirationTimestamp?: number;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse1
     */
    isExpired?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetFuturesTransactionHistoryDownloadLinkByIdResponse2
 */
interface GetFuturesTransactionHistoryDownloadLinkByIdResponse2 {
    /**
     *
     * @type {string}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse2
     */
    downloadId?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse2
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse2
     */
    url?: string;
    /**
     *
     * @type {boolean}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse2
     */
    notified?: boolean;
    /**
     *
     * @type {number}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse2
     */
    expirationTimestamp?: number;
    /**
     *
     * @type {string}
     * @memberof GetFuturesTransactionHistoryDownloadLinkByIdResponse2
     */
    isExpired?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type GetFuturesTransactionHistoryDownloadLinkByIdResponse
 * @export
 */
type GetFuturesTransactionHistoryDownloadLinkByIdResponse = GetFuturesTransactionHistoryDownloadLinkByIdResponse1 | GetFuturesTransactionHistoryDownloadLinkByIdResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetIncomeHistoryResponseInner
 */
interface GetIncomeHistoryResponseInner {
    /**
     *
     * @type {string}
     * @memberof GetIncomeHistoryResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof GetIncomeHistoryResponseInner
     */
    incomeType?: string;
    /**
     *
     * @type {string}
     * @memberof GetIncomeHistoryResponseInner
     */
    income?: string;
    /**
     *
     * @type {string}
     * @memberof GetIncomeHistoryResponseInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof GetIncomeHistoryResponseInner
     */
    info?: string;
    /**
     *
     * @type {number}
     * @memberof GetIncomeHistoryResponseInner
     */
    time?: number;
    /**
     *
     * @type {number}
     * @memberof GetIncomeHistoryResponseInner
     */
    tranId?: number;
    /**
     *
     * @type {string}
     * @memberof GetIncomeHistoryResponseInner
     */
    tradeId?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetIncomeHistoryResponse
 */
interface GetIncomeHistoryResponse extends Array<GetIncomeHistoryResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetOrderModifyHistoryResponseInnerAmendmentOrigQty
 */
interface GetOrderModifyHistoryResponseInnerAmendmentOrigQty {
    /**
     *
     * @type {string}
     * @memberof GetOrderModifyHistoryResponseInnerAmendmentOrigQty
     */
    before?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderModifyHistoryResponseInnerAmendmentOrigQty
     */
    after?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetOrderModifyHistoryResponseInnerAmendmentPrice
 */
interface GetOrderModifyHistoryResponseInnerAmendmentPrice {
    /**
     *
     * @type {string}
     * @memberof GetOrderModifyHistoryResponseInnerAmendmentPrice
     */
    before?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderModifyHistoryResponseInnerAmendmentPrice
     */
    after?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetOrderModifyHistoryResponseInnerAmendment
 */
interface GetOrderModifyHistoryResponseInnerAmendment {
    /**
     *
     * @type {GetOrderModifyHistoryResponseInnerAmendmentPrice}
     * @memberof GetOrderModifyHistoryResponseInnerAmendment
     */
    price?: GetOrderModifyHistoryResponseInnerAmendmentPrice;
    /**
     *
     * @type {GetOrderModifyHistoryResponseInnerAmendmentOrigQty}
     * @memberof GetOrderModifyHistoryResponseInnerAmendment
     */
    origQty?: GetOrderModifyHistoryResponseInnerAmendmentOrigQty;
    /**
     *
     * @type {number}
     * @memberof GetOrderModifyHistoryResponseInnerAmendment
     */
    count?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetOrderModifyHistoryResponseInner
 */
interface GetOrderModifyHistoryResponseInner {
    /**
     *
     * @type {number}
     * @memberof GetOrderModifyHistoryResponseInner
     */
    amendmentId?: number;
    /**
     *
     * @type {string}
     * @memberof GetOrderModifyHistoryResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderModifyHistoryResponseInner
     */
    pair?: string;
    /**
     *
     * @type {number}
     * @memberof GetOrderModifyHistoryResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof GetOrderModifyHistoryResponseInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof GetOrderModifyHistoryResponseInner
     */
    time?: number;
    /**
     *
     * @type {GetOrderModifyHistoryResponseInnerAmendment}
     * @memberof GetOrderModifyHistoryResponseInner
     */
    amendment?: GetOrderModifyHistoryResponseInnerAmendment;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetOrderModifyHistoryResponse
 */
interface GetOrderModifyHistoryResponse extends Array<GetOrderModifyHistoryResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetPositionMarginChangeHistoryResponseInner
 */
interface GetPositionMarginChangeHistoryResponseInner {
    /**
     *
     * @type {string}
     * @memberof GetPositionMarginChangeHistoryResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof GetPositionMarginChangeHistoryResponseInner
     */
    type?: number;
    /**
     *
     * @type {string}
     * @memberof GetPositionMarginChangeHistoryResponseInner
     */
    deltaType?: string;
    /**
     *
     * @type {string}
     * @memberof GetPositionMarginChangeHistoryResponseInner
     */
    amount?: string;
    /**
     *
     * @type {string}
     * @memberof GetPositionMarginChangeHistoryResponseInner
     */
    asset?: string;
    /**
     *
     * @type {number}
     * @memberof GetPositionMarginChangeHistoryResponseInner
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof GetPositionMarginChangeHistoryResponseInner
     */
    positionSide?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 GetPositionMarginChangeHistoryResponse
 */
interface GetPositionMarginChangeHistoryResponse extends Array<GetPositionMarginChangeHistoryResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */
/**
 * @type HistoricalBlvtNavKlineCandlestickResponseItemInner
 * @export
 */
type HistoricalBlvtNavKlineCandlestickResponseItemInner = number | string;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 HistoricalBlvtNavKlineCandlestickResponseItem
 */
interface HistoricalBlvtNavKlineCandlestickResponseItem extends Array<HistoricalBlvtNavKlineCandlestickResponseItemInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 HistoricalBlvtNavKlineCandlestickResponse
 */
interface HistoricalBlvtNavKlineCandlestickResponse extends Array<HistoricalBlvtNavKlineCandlestickResponseItem> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */
/**
 * @type IndexPriceKlineCandlestickDataResponseItemInner
 * @export
 */
type IndexPriceKlineCandlestickDataResponseItemInner = number | string;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 IndexPriceKlineCandlestickDataResponseItem
 */
interface IndexPriceKlineCandlestickDataResponseItem extends Array<IndexPriceKlineCandlestickDataResponseItemInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 IndexPriceKlineCandlestickDataResponse
 */
interface IndexPriceKlineCandlestickDataResponse extends Array<IndexPriceKlineCandlestickDataResponseItem> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 KeepaliveUserDataStreamResponse
 */
interface KeepaliveUserDataStreamResponse$1 {
    /**
     *
     * @type {string}
     * @memberof KeepaliveUserDataStreamResponse
     */
    listenKey?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */
/**
 * @type KlineCandlestickDataResponseItemInner
 * @export
 */
type KlineCandlestickDataResponseItemInner = number | string;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 KlineCandlestickDataResponseItem
 */
interface KlineCandlestickDataResponseItem extends Array<KlineCandlestickDataResponseItemInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 KlineCandlestickDataResponse
 */
interface KlineCandlestickDataResponse extends Array<KlineCandlestickDataResponseItem> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ListAllConvertPairsResponseInner
 */
interface ListAllConvertPairsResponseInner {
    /**
     *
     * @type {string}
     * @memberof ListAllConvertPairsResponseInner
     */
    fromAsset?: string;
    /**
     *
     * @type {string}
     * @memberof ListAllConvertPairsResponseInner
     */
    toAsset?: string;
    /**
     *
     * @type {string}
     * @memberof ListAllConvertPairsResponseInner
     */
    fromAssetMinAmount?: string;
    /**
     *
     * @type {string}
     * @memberof ListAllConvertPairsResponseInner
     */
    fromAssetMaxAmount?: string;
    /**
     *
     * @type {string}
     * @memberof ListAllConvertPairsResponseInner
     */
    toAssetMinAmount?: string;
    /**
     *
     * @type {string}
     * @memberof ListAllConvertPairsResponseInner
     */
    toAssetMaxAmount?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ListAllConvertPairsResponse
 */
interface ListAllConvertPairsResponse extends Array<ListAllConvertPairsResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 LongShortRatioResponseInner
 */
interface LongShortRatioResponseInner {
    /**
     *
     * @type {string}
     * @memberof LongShortRatioResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof LongShortRatioResponseInner
     */
    longShortRatio?: string;
    /**
     *
     * @type {string}
     * @memberof LongShortRatioResponseInner
     */
    longAccount?: string;
    /**
     *
     * @type {string}
     * @memberof LongShortRatioResponseInner
     */
    shortAccount?: string;
    /**
     *
     * @type {string}
     * @memberof LongShortRatioResponseInner
     */
    timestamp?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 LongShortRatioResponse
 */
interface LongShortRatioResponse extends Array<LongShortRatioResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */
/**
 * @type MarkPriceKlineCandlestickDataResponseItemInner
 * @export
 */
type MarkPriceKlineCandlestickDataResponseItemInner = number | string;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 MarkPriceKlineCandlestickDataResponseItem
 */
interface MarkPriceKlineCandlestickDataResponseItem extends Array<MarkPriceKlineCandlestickDataResponseItemInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 MarkPriceKlineCandlestickDataResponse
 */
interface MarkPriceKlineCandlestickDataResponse extends Array<MarkPriceKlineCandlestickDataResponseItem> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 MarkPriceResponse1
 */
interface MarkPriceResponse1 {
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse1
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse1
     */
    indexPrice?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse1
     */
    estimatedSettlePrice?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse1
     */
    lastFundingRate?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse1
     */
    interestRate?: string;
    /**
     *
     * @type {number}
     * @memberof MarkPriceResponse1
     */
    nextFundingTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarkPriceResponse1
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 MarkPriceResponse2Inner
 */
interface MarkPriceResponse2Inner {
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse2Inner
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse2Inner
     */
    indexPrice?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse2Inner
     */
    estimatedSettlePrice?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse2Inner
     */
    lastFundingRate?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceResponse2Inner
     */
    interestRate?: string;
    /**
     *
     * @type {number}
     * @memberof MarkPriceResponse2Inner
     */
    nextFundingTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarkPriceResponse2Inner
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 MarkPriceResponse2
 */
interface MarkPriceResponse2 extends Array<MarkPriceResponse2Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type MarkPriceResponse
 * @export
 */
type MarkPriceResponse = MarkPriceResponse1 | MarkPriceResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ModifyIsolatedPositionMarginResponse
 */
interface ModifyIsolatedPositionMarginResponse {
    /**
     *
     * @type {number}
     * @memberof ModifyIsolatedPositionMarginResponse
     */
    amount?: number;
    /**
     *
     * @type {number}
     * @memberof ModifyIsolatedPositionMarginResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof ModifyIsolatedPositionMarginResponse
     */
    msg?: string;
    /**
     *
     * @type {number}
     * @memberof ModifyIsolatedPositionMarginResponse
     */
    type?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ModifyMultipleOrdersBatchOrdersParameterInner
 */
interface ModifyMultipleOrdersBatchOrdersParameterInner {
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    side?: ModifyMultipleOrdersBatchOrdersParameterInnerSideEnum;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    positionSide?: ModifyMultipleOrdersBatchOrdersParameterInnerPositionSideEnum;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    timeInForce?: ModifyMultipleOrdersBatchOrdersParameterInnerTimeInForceEnum;
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    quantity?: number;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    reduceOnly?: string;
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    price?: number;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    newClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    stopPrice?: number;
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    activationPrice?: number;
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    callbackRate?: number;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    workingType?: ModifyMultipleOrdersBatchOrdersParameterInnerWorkingTypeEnum;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    priceProtect?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    newOrderRespType?: ModifyMultipleOrdersBatchOrdersParameterInnerNewOrderRespTypeEnum;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    priceMatch?: ModifyMultipleOrdersBatchOrdersParameterInnerPriceMatchEnum;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    selfTradePreventionMode?: ModifyMultipleOrdersBatchOrdersParameterInnerSelfTradePreventionModeEnum;
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersBatchOrdersParameterInner
     */
    goodTillDate?: number;
}
declare const ModifyMultipleOrdersBatchOrdersParameterInnerSideEnum: {
    readonly BUY: "BUY";
    readonly SELL: "SELL";
};
type ModifyMultipleOrdersBatchOrdersParameterInnerSideEnum = (typeof ModifyMultipleOrdersBatchOrdersParameterInnerSideEnum)[keyof typeof ModifyMultipleOrdersBatchOrdersParameterInnerSideEnum];
declare const ModifyMultipleOrdersBatchOrdersParameterInnerPositionSideEnum: {
    readonly BOTH: "BOTH";
    readonly LONG: "LONG";
    readonly SHORT: "SHORT";
};
type ModifyMultipleOrdersBatchOrdersParameterInnerPositionSideEnum = (typeof ModifyMultipleOrdersBatchOrdersParameterInnerPositionSideEnum)[keyof typeof ModifyMultipleOrdersBatchOrdersParameterInnerPositionSideEnum];
declare const ModifyMultipleOrdersBatchOrdersParameterInnerTimeInForceEnum: {
    readonly GTC: "GTC";
    readonly IOC: "IOC";
    readonly FOK: "FOK";
    readonly GTX: "GTX";
    readonly GTD: "GTD";
};
type ModifyMultipleOrdersBatchOrdersParameterInnerTimeInForceEnum = (typeof ModifyMultipleOrdersBatchOrdersParameterInnerTimeInForceEnum)[keyof typeof ModifyMultipleOrdersBatchOrdersParameterInnerTimeInForceEnum];
declare const ModifyMultipleOrdersBatchOrdersParameterInnerWorkingTypeEnum: {
    readonly MARK_PRICE: "MARK_PRICE";
    readonly CONTRACT_PRICE: "CONTRACT_PRICE";
};
type ModifyMultipleOrdersBatchOrdersParameterInnerWorkingTypeEnum = (typeof ModifyMultipleOrdersBatchOrdersParameterInnerWorkingTypeEnum)[keyof typeof ModifyMultipleOrdersBatchOrdersParameterInnerWorkingTypeEnum];
declare const ModifyMultipleOrdersBatchOrdersParameterInnerNewOrderRespTypeEnum: {
    readonly ACK: "ACK";
    readonly RESULT: "RESULT";
};
type ModifyMultipleOrdersBatchOrdersParameterInnerNewOrderRespTypeEnum = (typeof ModifyMultipleOrdersBatchOrdersParameterInnerNewOrderRespTypeEnum)[keyof typeof ModifyMultipleOrdersBatchOrdersParameterInnerNewOrderRespTypeEnum];
declare const ModifyMultipleOrdersBatchOrdersParameterInnerPriceMatchEnum: {
    readonly NONE: "NONE";
    readonly OPPONENT: "OPPONENT";
    readonly OPPONENT_5: "OPPONENT_5";
    readonly OPPONENT_10: "OPPONENT_10";
    readonly OPPONENT_20: "OPPONENT_20";
    readonly QUEUE: "QUEUE";
    readonly QUEUE_5: "QUEUE_5";
    readonly QUEUE_10: "QUEUE_10";
    readonly QUEUE_20: "QUEUE_20";
};
type ModifyMultipleOrdersBatchOrdersParameterInnerPriceMatchEnum = (typeof ModifyMultipleOrdersBatchOrdersParameterInnerPriceMatchEnum)[keyof typeof ModifyMultipleOrdersBatchOrdersParameterInnerPriceMatchEnum];
declare const ModifyMultipleOrdersBatchOrdersParameterInnerSelfTradePreventionModeEnum: {
    readonly EXPIRE_TAKER: "EXPIRE_TAKER";
    readonly EXPIRE_BOTH: "EXPIRE_BOTH";
    readonly EXPIRE_MAKER: "EXPIRE_MAKER";
};
type ModifyMultipleOrdersBatchOrdersParameterInnerSelfTradePreventionModeEnum = (typeof ModifyMultipleOrdersBatchOrdersParameterInnerSelfTradePreventionModeEnum)[keyof typeof ModifyMultipleOrdersBatchOrdersParameterInnerSelfTradePreventionModeEnum];

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ModifyMultipleOrdersResponseInner
 */
interface ModifyMultipleOrdersResponseInner {
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    pair?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    cumBase?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    type?: string;
    /**
     *
     * @type {boolean}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    goodTillDate?: number;
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    updateTime?: number;
    /**
     *
     * @type {number}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof ModifyMultipleOrdersResponseInner
     */
    msg?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ModifyMultipleOrdersResponse
 */
interface ModifyMultipleOrdersResponse extends Array<ModifyMultipleOrdersResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ModifyOrderResponse
 */
interface ModifyOrderResponse$1 {
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    pair?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    cumBase?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    type?: string;
    /**
     *
     * @type {boolean}
     * @memberof ModifyOrderResponse
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ModifyOrderResponse
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof ModifyOrderResponse
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponse
     */
    goodTillDate?: number;
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponse
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 MultiAssetsModeAssetIndexResponse1
 */
interface MultiAssetsModeAssetIndexResponse1 {
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    index?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    bidBuffer?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    askBuffer?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    bidRate?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    askRate?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    autoExchangeBidBuffer?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    autoExchangeAskBuffer?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    autoExchangeBidRate?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse1
     */
    autoExchangeAskRate?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 MultiAssetsModeAssetIndexResponse2Inner
 */
interface MultiAssetsModeAssetIndexResponse2Inner {
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    index?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    bidBuffer?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    askBuffer?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    bidRate?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    askRate?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    autoExchangeBidBuffer?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    autoExchangeAskBuffer?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    autoExchangeBidRate?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponse2Inner
     */
    autoExchangeAskRate?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 MultiAssetsModeAssetIndexResponse2
 */
interface MultiAssetsModeAssetIndexResponse2 extends Array<MultiAssetsModeAssetIndexResponse2Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type MultiAssetsModeAssetIndexResponse
 * @export
 */
type MultiAssetsModeAssetIndexResponse$1 = MultiAssetsModeAssetIndexResponse1 | MultiAssetsModeAssetIndexResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 NewOrderResponse
 */
interface NewOrderResponse$1 {
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof NewOrderResponse
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    stopPrice?: string;
    /**
     *
     * @type {boolean}
     * @memberof NewOrderResponse
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponse
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof NewOrderResponse
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponse
     */
    goodTillDate?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 NotionalAndLeverageBracketsResponse1InnerBracketsInner
 */
interface NotionalAndLeverageBracketsResponse1InnerBracketsInner {
    /**
     *
     * @type {number}
     * @memberof NotionalAndLeverageBracketsResponse1InnerBracketsInner
     */
    bracket?: number;
    /**
     *
     * @type {number}
     * @memberof NotionalAndLeverageBracketsResponse1InnerBracketsInner
     */
    initialLeverage?: number;
    /**
     *
     * @type {number}
     * @memberof NotionalAndLeverageBracketsResponse1InnerBracketsInner
     */
    notionalCap?: number;
    /**
     *
     * @type {number}
     * @memberof NotionalAndLeverageBracketsResponse1InnerBracketsInner
     */
    notionalFloor?: number;
    /**
     *
     * @type {number}
     * @memberof NotionalAndLeverageBracketsResponse1InnerBracketsInner
     */
    maintMarginRatio?: number;
    /**
     *
     * @type {number}
     * @memberof NotionalAndLeverageBracketsResponse1InnerBracketsInner
     */
    cum?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 NotionalAndLeverageBracketsResponse1Inner
 */
interface NotionalAndLeverageBracketsResponse1Inner {
    /**
     *
     * @type {string}
     * @memberof NotionalAndLeverageBracketsResponse1Inner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof NotionalAndLeverageBracketsResponse1Inner
     */
    notionalCoef?: number;
    /**
     *
     * @type {Array<NotionalAndLeverageBracketsResponse1InnerBracketsInner>}
     * @memberof NotionalAndLeverageBracketsResponse1Inner
     */
    brackets?: Array<NotionalAndLeverageBracketsResponse1InnerBracketsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 NotionalAndLeverageBracketsResponse1
 */
interface NotionalAndLeverageBracketsResponse1 extends Array<NotionalAndLeverageBracketsResponse1Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 NotionalAndLeverageBracketsResponse2
 */
interface NotionalAndLeverageBracketsResponse2 {
    /**
     *
     * @type {string}
     * @memberof NotionalAndLeverageBracketsResponse2
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof NotionalAndLeverageBracketsResponse2
     */
    notionalCoef?: number;
    /**
     *
     * @type {Array<NotionalAndLeverageBracketsResponse1InnerBracketsInner>}
     * @memberof NotionalAndLeverageBracketsResponse2
     */
    brackets?: Array<NotionalAndLeverageBracketsResponse1InnerBracketsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type NotionalAndLeverageBracketsResponse
 * @export
 */
type NotionalAndLeverageBracketsResponse = NotionalAndLeverageBracketsResponse1 | NotionalAndLeverageBracketsResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 OldTradesLookupResponseInner
 */
interface OldTradesLookupResponseInner {
    /**
     *
     * @type {number}
     * @memberof OldTradesLookupResponseInner
     */
    id?: number;
    /**
     *
     * @type {string}
     * @memberof OldTradesLookupResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OldTradesLookupResponseInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof OldTradesLookupResponseInner
     */
    quoteQty?: string;
    /**
     *
     * @type {number}
     * @memberof OldTradesLookupResponseInner
     */
    time?: number;
    /**
     *
     * @type {boolean}
     * @memberof OldTradesLookupResponseInner
     */
    isBuyerMaker?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 OldTradesLookupResponse
 */
interface OldTradesLookupResponse extends Array<OldTradesLookupResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 OpenInterestResponse
 */
interface OpenInterestResponse {
    /**
     *
     * @type {string}
     * @memberof OpenInterestResponse
     */
    openInterest?: string;
    /**
     *
     * @type {string}
     * @memberof OpenInterestResponse
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OpenInterestResponse
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 OpenInterestStatisticsResponseInner
 */
interface OpenInterestStatisticsResponseInner {
    /**
     *
     * @type {string}
     * @memberof OpenInterestStatisticsResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof OpenInterestStatisticsResponseInner
     */
    sumOpenInterest?: string;
    /**
     *
     * @type {string}
     * @memberof OpenInterestStatisticsResponseInner
     */
    sumOpenInterestValue?: string;
    /**
     *
     * @type {string}
     * @memberof OpenInterestStatisticsResponseInner
     */
    timestamp?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 OpenInterestStatisticsResponse
 */
interface OpenInterestStatisticsResponse extends Array<OpenInterestStatisticsResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 OrderBookResponseAsksItem
 */
interface OrderBookResponseAsksItem extends Array<string> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 OrderBookResponseBidsItem
 */
interface OrderBookResponseBidsItem extends Array<string> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 OrderBookResponse
 */
interface OrderBookResponse$1 {
    /**
     *
     * @type {number}
     * @memberof OrderBookResponse
     */
    lastUpdateId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderBookResponse
     */
    E?: number;
    /**
     *
     * @type {number}
     * @memberof OrderBookResponse
     */
    T?: number;
    /**
     *
     * @type {Array<OrderBookResponseBidsItem>}
     * @memberof OrderBookResponse
     */
    bids?: Array<OrderBookResponseBidsItem>;
    /**
     *
     * @type {Array<OrderBookResponseAsksItem>}
     * @memberof OrderBookResponse
     */
    asks?: Array<OrderBookResponseAsksItem>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 OrderStatusResponse
 */
interface OrderStatusResponse {
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponse
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponse
     */
    orderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponse
     */
    fromAsset?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponse
     */
    fromAmount?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponse
     */
    toAsset?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponse
     */
    toAmount?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponse
     */
    ratio?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponse
     */
    inverseRatio?: string;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponse
     */
    createTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PlaceMultipleOrdersResponseInner
 */
interface PlaceMultipleOrdersResponseInner {
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    goodTillDate?: number;
    /**
     *
     * @type {number}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof PlaceMultipleOrdersResponseInner
     */
    msg?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PlaceMultipleOrdersResponse
 */
interface PlaceMultipleOrdersResponse extends Array<PlaceMultipleOrdersResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionAdlQuantileEstimationResponseInnerAdlQuantile
 */
interface PositionAdlQuantileEstimationResponseInnerAdlQuantile {
    /**
     *
     * @type {number}
     * @memberof PositionAdlQuantileEstimationResponseInnerAdlQuantile
     */
    LONG?: number;
    /**
     *
     * @type {number}
     * @memberof PositionAdlQuantileEstimationResponseInnerAdlQuantile
     */
    SHORT?: number;
    /**
     *
     * @type {number}
     * @memberof PositionAdlQuantileEstimationResponseInnerAdlQuantile
     */
    HEDGE?: number;
    /**
     *
     * @type {number}
     * @memberof PositionAdlQuantileEstimationResponseInnerAdlQuantile
     */
    BOTH?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionAdlQuantileEstimationResponseInner
 */
interface PositionAdlQuantileEstimationResponseInner {
    /**
     *
     * @type {string}
     * @memberof PositionAdlQuantileEstimationResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {PositionAdlQuantileEstimationResponseInnerAdlQuantile}
     * @memberof PositionAdlQuantileEstimationResponseInner
     */
    adlQuantile?: PositionAdlQuantileEstimationResponseInnerAdlQuantile;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionAdlQuantileEstimationResponse
 */
interface PositionAdlQuantileEstimationResponse extends Array<PositionAdlQuantileEstimationResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionInformationV2Response1Inner
 */
interface PositionInformationV2Response1Inner {
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    breakEvenPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    marginType?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    isAutoAddMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    leverage?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    liquidationPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    maxNotionalValue?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    unRealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1Inner
     */
    positionSide?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV2Response1Inner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionInformationV2Response1
 */
interface PositionInformationV2Response1$1 extends Array<PositionInformationV2Response1Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionInformationV2Response2Inner
 */
interface PositionInformationV2Response2Inner {
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    breakEvenPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    unRealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    liquidationPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    leverage?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    maxNotionalValue?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    marginType?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    isAutoAddMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2Inner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV2Response2Inner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionInformationV2Response2
 */
interface PositionInformationV2Response2$1 extends Array<PositionInformationV2Response2Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type PositionInformationV2Response
 * @export
 */
type PositionInformationV2Response$1 = PositionInformationV2Response1$1 | PositionInformationV2Response2$1;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionInformationV3Response1Inner
 */
interface PositionInformationV3Response1Inner {
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    breakEvenPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    unRealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    liquidationPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    marginAsset?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV3Response1Inner
     */
    adl?: number;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    bidNotional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response1Inner
     */
    askNotional?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV3Response1Inner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionInformationV3Response1
 */
interface PositionInformationV3Response1 extends Array<PositionInformationV3Response1Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionInformationV3Response2Inner
 */
interface PositionInformationV3Response2Inner {
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    breakEvenPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    unRealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    liquidationPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    marginAsset?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV3Response2Inner
     */
    adl?: number;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    bidNotional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV3Response2Inner
     */
    askNotional?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV3Response2Inner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PositionInformationV3Response2
 */
interface PositionInformationV3Response2 extends Array<PositionInformationV3Response2Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type PositionInformationV3Response
 * @export
 */
type PositionInformationV3Response = PositionInformationV3Response1 | PositionInformationV3Response2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */
/**
 * @type PremiumIndexKlineDataResponseItemInner
 * @export
 */
type PremiumIndexKlineDataResponseItemInner = number | string;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PremiumIndexKlineDataResponseItem
 */
interface PremiumIndexKlineDataResponseItem extends Array<PremiumIndexKlineDataResponseItemInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 PremiumIndexKlineDataResponse
 */
interface PremiumIndexKlineDataResponse extends Array<PremiumIndexKlineDataResponseItem> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 QuarterlyContractSettlementPriceResponseInner
 */
interface QuarterlyContractSettlementPriceResponseInner {
    /**
     *
     * @type {number}
     * @memberof QuarterlyContractSettlementPriceResponseInner
     */
    deliveryTime?: number;
    /**
     *
     * @type {number}
     * @memberof QuarterlyContractSettlementPriceResponseInner
     */
    deliveryPrice?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 QuarterlyContractSettlementPriceResponse
 */
interface QuarterlyContractSettlementPriceResponse extends Array<QuarterlyContractSettlementPriceResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 QueryCurrentOpenOrderResponse
 */
interface QueryCurrentOpenOrderResponse {
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof QueryCurrentOpenOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof QueryCurrentOpenOrderResponse
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    stopPrice?: string;
    /**
     *
     * @type {boolean}
     * @memberof QueryCurrentOpenOrderResponse
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof QueryCurrentOpenOrderResponse
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof QueryCurrentOpenOrderResponse
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof QueryCurrentOpenOrderResponse
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof QueryCurrentOpenOrderResponse
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof QueryCurrentOpenOrderResponse
     */
    goodTillDate?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 QueryIndexPriceConstituentsResponseConstituentsInner
 */
interface QueryIndexPriceConstituentsResponseConstituentsInner {
    /**
     *
     * @type {string}
     * @memberof QueryIndexPriceConstituentsResponseConstituentsInner
     */
    exchange?: string;
    /**
     *
     * @type {string}
     * @memberof QueryIndexPriceConstituentsResponseConstituentsInner
     */
    symbol?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 QueryIndexPriceConstituentsResponse
 */
interface QueryIndexPriceConstituentsResponse {
    /**
     *
     * @type {string}
     * @memberof QueryIndexPriceConstituentsResponse
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof QueryIndexPriceConstituentsResponse
     */
    time?: number;
    /**
     *
     * @type {Array<QueryIndexPriceConstituentsResponseConstituentsInner>}
     * @memberof QueryIndexPriceConstituentsResponse
     */
    constituents?: Array<QueryIndexPriceConstituentsResponseConstituentsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 QueryOrderResponse
 */
interface QueryOrderResponse$1 {
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof QueryOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof QueryOrderResponse
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    stopPrice?: string;
    /**
     *
     * @type {boolean}
     * @memberof QueryOrderResponse
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof QueryOrderResponse
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof QueryOrderResponse
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof QueryOrderResponse
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof QueryOrderResponse
     */
    goodTillDate?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 QueryUserRateLimitResponseInner
 */
interface QueryUserRateLimitResponseInner {
    /**
     *
     * @type {string}
     * @memberof QueryUserRateLimitResponseInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof QueryUserRateLimitResponseInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof QueryUserRateLimitResponseInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof QueryUserRateLimitResponseInner
     */
    limit?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 QueryUserRateLimitResponse
 */
interface QueryUserRateLimitResponse extends Array<QueryUserRateLimitResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 RecentTradesListResponseInner
 */
interface RecentTradesListResponseInner {
    /**
     *
     * @type {number}
     * @memberof RecentTradesListResponseInner
     */
    id?: number;
    /**
     *
     * @type {string}
     * @memberof RecentTradesListResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof RecentTradesListResponseInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof RecentTradesListResponseInner
     */
    quoteQty?: string;
    /**
     *
     * @type {number}
     * @memberof RecentTradesListResponseInner
     */
    time?: number;
    /**
     *
     * @type {boolean}
     * @memberof RecentTradesListResponseInner
     */
    isBuyerMaker?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 RecentTradesListResponse
 */
interface RecentTradesListResponse extends Array<RecentTradesListResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SendQuoteRequestResponse
 */
interface SendQuoteRequestResponse {
    /**
     *
     * @type {string}
     * @memberof SendQuoteRequestResponse
     */
    quoteId?: string;
    /**
     *
     * @type {string}
     * @memberof SendQuoteRequestResponse
     */
    ratio?: string;
    /**
     *
     * @type {string}
     * @memberof SendQuoteRequestResponse
     */
    inverseRatio?: string;
    /**
     *
     * @type {number}
     * @memberof SendQuoteRequestResponse
     */
    validTimestamp?: number;
    /**
     *
     * @type {string}
     * @memberof SendQuoteRequestResponse
     */
    toAmount?: string;
    /**
     *
     * @type {string}
     * @memberof SendQuoteRequestResponse
     */
    fromAmount?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 StartUserDataStreamResponse
 */
interface StartUserDataStreamResponse$1 {
    /**
     *
     * @type {string}
     * @memberof StartUserDataStreamResponse
     */
    listenKey?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolConfigurationResponseInner
 */
interface SymbolConfigurationResponseInner {
    /**
     *
     * @type {string}
     * @memberof SymbolConfigurationResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolConfigurationResponseInner
     */
    marginType?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolConfigurationResponseInner
     */
    isAutoAddMargin?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolConfigurationResponseInner
     */
    leverage?: number;
    /**
     *
     * @type {string}
     * @memberof SymbolConfigurationResponseInner
     */
    maxNotionalValue?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolConfigurationResponse
 */
interface SymbolConfigurationResponse extends Array<SymbolConfigurationResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolOrderBookTickerResponse1
 */
interface SymbolOrderBookTickerResponse1$1 {
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1
     */
    bidPrice?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1
     */
    bidQty?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1
     */
    askPrice?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1
     */
    askQty?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolOrderBookTickerResponse1
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolOrderBookTickerResponse2Inner
 */
interface SymbolOrderBookTickerResponse2Inner {
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse2Inner
     */
    bidPrice?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse2Inner
     */
    bidQty?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse2Inner
     */
    askPrice?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse2Inner
     */
    askQty?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolOrderBookTickerResponse2Inner
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolOrderBookTickerResponse2
 */
interface SymbolOrderBookTickerResponse2$1 extends Array<SymbolOrderBookTickerResponse2Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type SymbolOrderBookTickerResponse
 * @export
 */
type SymbolOrderBookTickerResponse$1 = SymbolOrderBookTickerResponse1$1 | SymbolOrderBookTickerResponse2$1;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolPriceTickerResponse1
 */
interface SymbolPriceTickerResponse1$1 {
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerResponse1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerResponse1
     */
    price?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolPriceTickerResponse1
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolPriceTickerV2Response2Inner
 */
interface SymbolPriceTickerV2Response2Inner {
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerV2Response2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerV2Response2Inner
     */
    price?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolPriceTickerV2Response2Inner
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolPriceTickerResponse2
 */
interface SymbolPriceTickerResponse2$1 extends Array<SymbolPriceTickerV2Response2Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type SymbolPriceTickerResponse
 * @export
 */
type SymbolPriceTickerResponse$1 = SymbolPriceTickerResponse1$1 | SymbolPriceTickerResponse2$1;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolPriceTickerV2Response1
 */
interface SymbolPriceTickerV2Response1 {
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerV2Response1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerV2Response1
     */
    price?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolPriceTickerV2Response1
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 SymbolPriceTickerV2Response2
 */
interface SymbolPriceTickerV2Response2 extends Array<SymbolPriceTickerV2Response2Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type SymbolPriceTickerV2Response
 * @export
 */
type SymbolPriceTickerV2Response = SymbolPriceTickerV2Response1 | SymbolPriceTickerV2Response2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 TakerBuySellVolumeResponseInner
 */
interface TakerBuySellVolumeResponseInner {
    /**
     *
     * @type {string}
     * @memberof TakerBuySellVolumeResponseInner
     */
    buySellRatio?: string;
    /**
     *
     * @type {string}
     * @memberof TakerBuySellVolumeResponseInner
     */
    buyVol?: string;
    /**
     *
     * @type {string}
     * @memberof TakerBuySellVolumeResponseInner
     */
    sellVol?: string;
    /**
     *
     * @type {string}
     * @memberof TakerBuySellVolumeResponseInner
     */
    timestamp?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 TakerBuySellVolumeResponse
 */
interface TakerBuySellVolumeResponse extends Array<TakerBuySellVolumeResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 TestOrderResponse
 */
interface TestOrderResponse {
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof TestOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof TestOrderResponse
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    stopPrice?: string;
    /**
     *
     * @type {boolean}
     * @memberof TestOrderResponse
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof TestOrderResponse
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof TestOrderResponse
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof TestOrderResponse
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof TestOrderResponse
     */
    goodTillDate?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 Ticker24hrPriceChangeStatisticsResponse1
 */
interface Ticker24hrPriceChangeStatisticsResponse1 {
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    priceChange?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    priceChangePercent?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    weightedAvgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    lastQty?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse1
     */
    count?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 Ticker24hrPriceChangeStatisticsResponse2Inner
 */
interface Ticker24hrPriceChangeStatisticsResponse2Inner {
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    priceChange?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    priceChangePercent?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    weightedAvgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    lastQty?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrPriceChangeStatisticsResponse2Inner
     */
    count?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 Ticker24hrPriceChangeStatisticsResponse2
 */
interface Ticker24hrPriceChangeStatisticsResponse2 extends Array<Ticker24hrPriceChangeStatisticsResponse2Inner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * @type Ticker24hrPriceChangeStatisticsResponse
 * @export
 */
type Ticker24hrPriceChangeStatisticsResponse = Ticker24hrPriceChangeStatisticsResponse1 | Ticker24hrPriceChangeStatisticsResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 ToggleBnbBurnOnFuturesTradeResponse
 */
interface ToggleBnbBurnOnFuturesTradeResponse {
    /**
     *
     * @type {number}
     * @memberof ToggleBnbBurnOnFuturesTradeResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof ToggleBnbBurnOnFuturesTradeResponse
     */
    msg?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 TopTraderLongShortRatioAccountsResponseInner
 */
interface TopTraderLongShortRatioAccountsResponseInner {
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioAccountsResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioAccountsResponseInner
     */
    longShortRatio?: string;
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioAccountsResponseInner
     */
    longAccount?: string;
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioAccountsResponseInner
     */
    shortAccount?: string;
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioAccountsResponseInner
     */
    timestamp?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 TopTraderLongShortRatioAccountsResponse
 */
interface TopTraderLongShortRatioAccountsResponse extends Array<TopTraderLongShortRatioAccountsResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 TopTraderLongShortRatioPositionsResponseInner
 */
interface TopTraderLongShortRatioPositionsResponseInner {
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioPositionsResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioPositionsResponseInner
     */
    longShortRatio?: string;
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioPositionsResponseInner
     */
    longAccount?: string;
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioPositionsResponseInner
     */
    shortAccount?: string;
    /**
     *
     * @type {string}
     * @memberof TopTraderLongShortRatioPositionsResponseInner
     */
    timestamp?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 TopTraderLongShortRatioPositionsResponse
 */
interface TopTraderLongShortRatioPositionsResponse extends Array<TopTraderLongShortRatioPositionsResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 UserCommissionRateResponse
 */
interface UserCommissionRateResponse {
    /**
     *
     * @type {string}
     * @memberof UserCommissionRateResponse
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof UserCommissionRateResponse
     */
    makerCommissionRate?: string;
    /**
     *
     * @type {string}
     * @memberof UserCommissionRateResponse
     */
    takerCommissionRate?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 UsersForceOrdersResponseInner
 */
interface UsersForceOrdersResponseInner {
    /**
     *
     * @type {number}
     * @memberof UsersForceOrdersResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    type?: string;
    /**
     *
     * @type {boolean}
     * @memberof UsersForceOrdersResponseInner
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof UsersForceOrdersResponseInner
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    workingType?: string;
    /**
     *
     * @type {string}
     * @memberof UsersForceOrdersResponseInner
     */
    origType?: string;
    /**
     *
     * @type {number}
     * @memberof UsersForceOrdersResponseInner
     */
    time?: number;
    /**
     *
     * @type {number}
     * @memberof UsersForceOrdersResponseInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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 UsersForceOrdersResponse
 */
interface UsersForceOrdersResponse extends Array<UsersForceOrdersResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * AccountApi - interface
 * @interface AccountApi
 */
interface AccountApiInterface$1 {
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information V2(USER_DATA)
     * @param {AccountInformationV2Request} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    accountInformationV2(requestParameters?: AccountInformationV2Request$1): Promise<RestApiResponse<AccountInformationV2Response$1>>;
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information V3(USER_DATA)
     * @param {AccountInformationV3Request} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    accountInformationV3(requestParameters?: AccountInformationV3Request): Promise<RestApiResponse<AccountInformationV3Response>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance V2 (USER_DATA)
     * @param {FuturesAccountBalanceV2Request} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    futuresAccountBalanceV2(requestParameters?: FuturesAccountBalanceV2Request$1): Promise<RestApiResponse<FuturesAccountBalanceV2Response$1>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance V3 (USER_DATA)
     * @param {FuturesAccountBalanceV3Request} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    futuresAccountBalanceV3(requestParameters?: FuturesAccountBalanceV3Request): Promise<RestApiResponse<FuturesAccountBalanceV3Response>>;
    /**
     * Query account configuration
     *
     * Weight: 5
     *
     * @summary Futures Account Configuration(USER_DATA)
     * @param {FuturesAccountConfigurationRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    futuresAccountConfiguration(requestParameters?: FuturesAccountConfigurationRequest): Promise<RestApiResponse<FuturesAccountConfigurationResponse>>;
    /**
     * Futures trading quantitative rules indicators, for more information on this, please refer to the [Futures Trading Quantitative Rules](https://www.binance.com/en/support/faq/4f462ebe6ff445d4a170be7d9e897272)
     *
     * Weight: - 1 for a single symbol
     * - 10 when the symbol parameter is omitted
     *
     * @summary Futures Trading Quantitative Rules Indicators (USER_DATA)
     * @param {FuturesTradingQuantitativeRulesIndicatorsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    futuresTradingQuantitativeRulesIndicators(requestParameters?: FuturesTradingQuantitativeRulesIndicatorsRequest): Promise<RestApiResponse<FuturesTradingQuantitativeRulesIndicatorsResponse>>;
    /**
     * Get user's BNB Fee Discount (Fee Discount On or Fee Discount Off )
     *
     * Weight: 30
     *
     * @summary Get BNB Burn Status (USER_DATA)
     * @param {GetBnbBurnStatusRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getBnbBurnStatus(requestParameters?: GetBnbBurnStatusRequest): Promise<RestApiResponse<GetBnbBurnStatusResponse>>;
    /**
     * Get user's Multi-Assets mode (Multi-Assets Mode or Single-Asset Mode) on ***Every symbol***
     *
     * Weight: 30
     *
     * @summary Get Current Multi-Assets Mode (USER_DATA)
     * @param {GetCurrentMultiAssetsModeRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getCurrentMultiAssetsMode(requestParameters?: GetCurrentMultiAssetsModeRequest): Promise<RestApiResponse<GetCurrentMultiAssetsModeResponse>>;
    /**
     * Get user's position mode (Hedge Mode or One-way Mode ) on ***EVERY symbol***
     *
     * Weight: 30
     *
     * @summary Get Current Position Mode(USER_DATA)
     * @param {GetCurrentPositionModeRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getCurrentPositionMode(requestParameters?: GetCurrentPositionModeRequest): Promise<RestApiResponse<GetCurrentPositionModeResponse>>;
    /**
     * Get Download Id For Futures Order History
     *
     * Request Limitation is 10 times per month, shared by front end download page and rest api
     * The time between `startTime` and `endTime` can not be longer than 1 year
     *
     * Weight: 1000
     *
     * @summary Get Download Id For Futures Order History (USER_DATA)
     * @param {GetDownloadIdForFuturesOrderHistoryRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getDownloadIdForFuturesOrderHistory(requestParameters: GetDownloadIdForFuturesOrderHistoryRequest): Promise<RestApiResponse<GetDownloadIdForFuturesOrderHistoryResponse>>;
    /**
     * Get download id for futures trade history
     *
     * Request Limitation is 5 times per month, shared by front end download page and rest api
     * The time between `startTime` and `endTime` can not be longer than 1 year
     *
     * Weight: 1000
     *
     * @summary Get Download Id For Futures Trade History (USER_DATA)
     * @param {GetDownloadIdForFuturesTradeHistoryRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getDownloadIdForFuturesTradeHistory(requestParameters: GetDownloadIdForFuturesTradeHistoryRequest): Promise<RestApiResponse<GetDownloadIdForFuturesTradeHistoryResponse>>;
    /**
     * Get download id for futures transaction history
     *
     * Request Limitation is 5 times per month, shared by front end download page and rest api
     * The time between `startTime` and `endTime` can not be longer than 1 year
     *
     * Weight: 1000
     *
     * @summary Get Download Id For Futures Transaction History(USER_DATA)
     * @param {GetDownloadIdForFuturesTransactionHistoryRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getDownloadIdForFuturesTransactionHistory(requestParameters: GetDownloadIdForFuturesTransactionHistoryRequest): Promise<RestApiResponse<GetDownloadIdForFuturesTransactionHistoryResponse>>;
    /**
     * Get futures order history download link by Id
     *
     * Download link expiration: 24h
     *
     * Weight: 10
     *
     * @summary Get Futures Order History Download Link by Id (USER_DATA)
     * @param {GetFuturesOrderHistoryDownloadLinkByIdRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getFuturesOrderHistoryDownloadLinkById(requestParameters: GetFuturesOrderHistoryDownloadLinkByIdRequest): Promise<RestApiResponse<GetFuturesOrderHistoryDownloadLinkByIdResponse>>;
    /**
     * Get futures trade download link by Id
     *
     * Download link expiration: 24h
     *
     * Weight: 10
     *
     * @summary Get Futures Trade Download Link by Id(USER_DATA)
     * @param {GetFuturesTradeDownloadLinkByIdRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getFuturesTradeDownloadLinkById(requestParameters: GetFuturesTradeDownloadLinkByIdRequest): Promise<RestApiResponse<GetFuturesTradeDownloadLinkByIdResponse>>;
    /**
     * Get futures transaction history download link by Id
     *
     * Download link expiration: 24h
     *
     * Weight: 10
     *
     * @summary Get Futures Transaction History Download Link by Id (USER_DATA)
     * @param {GetFuturesTransactionHistoryDownloadLinkByIdRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getFuturesTransactionHistoryDownloadLinkById(requestParameters: GetFuturesTransactionHistoryDownloadLinkByIdRequest): Promise<RestApiResponse<GetFuturesTransactionHistoryDownloadLinkByIdResponse>>;
    /**
     * Query income history
     *
     * If neither `startTime` nor `endTime` is sent, the recent 7-day data will be returned.
     * If `incomeType ` is not sent, all kinds of flow will be returned
     * "trandId" is unique in the same incomeType for a user
     * Income history only contains data for the last three months
     *
     * Weight: 30
     *
     * @summary Get Income History (USER_DATA)
     * @param {GetIncomeHistoryRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getIncomeHistory(requestParameters?: GetIncomeHistoryRequest): Promise<RestApiResponse<GetIncomeHistoryResponse>>;
    /**
     * Query user notional and leverage bracket on speicfic symbol
     *
     * Weight: 1
     *
     * @summary Notional and Leverage Brackets (USER_DATA)
     * @param {NotionalAndLeverageBracketsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    notionalAndLeverageBrackets(requestParameters?: NotionalAndLeverageBracketsRequest): Promise<RestApiResponse<NotionalAndLeverageBracketsResponse>>;
    /**
     * Query User Rate Limit
     *
     * Weight: 1
     *
     * @summary Query User Rate Limit (USER_DATA)
     * @param {QueryUserRateLimitRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    queryUserRateLimit(requestParameters?: QueryUserRateLimitRequest): Promise<RestApiResponse<QueryUserRateLimitResponse>>;
    /**
     * Get current account symbol configuration.
     *
     * Weight: 5
     *
     * @summary Symbol Configuration(USER_DATA)
     * @param {SymbolConfigurationRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    symbolConfiguration(requestParameters?: SymbolConfigurationRequest): Promise<RestApiResponse<SymbolConfigurationResponse>>;
    /**
     * Change user's BNB Fee Discount (Fee Discount On or Fee Discount Off ) on ***EVERY symbol***
     *
     * Weight: 1
     *
     * @summary Toggle BNB Burn On Futures Trade (TRADE)
     * @param {ToggleBnbBurnOnFuturesTradeRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    toggleBnbBurnOnFuturesTrade(requestParameters: ToggleBnbBurnOnFuturesTradeRequest): Promise<RestApiResponse<ToggleBnbBurnOnFuturesTradeResponse>>;
    /**
     * Get User Commission Rate
     *
     * Weight: 20
     *
     * @summary User Commission Rate (USER_DATA)
     * @param {UserCommissionRateRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    userCommissionRate(requestParameters: UserCommissionRateRequest): Promise<RestApiResponse<UserCommissionRateResponse>>;
}
/**
 * Request parameters for accountInformationV2 operation in AccountApi.
 * @interface AccountInformationV2Request
 */
interface AccountInformationV2Request$1 {
    /**
     *
     * @type {number}
     * @memberof AccountApiAccountInformationV2
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for accountInformationV3 operation in AccountApi.
 * @interface AccountInformationV3Request
 */
interface AccountInformationV3Request {
    /**
     *
     * @type {number}
     * @memberof AccountApiAccountInformationV3
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for futuresAccountBalanceV2 operation in AccountApi.
 * @interface FuturesAccountBalanceV2Request
 */
interface FuturesAccountBalanceV2Request$1 {
    /**
     *
     * @type {number}
     * @memberof AccountApiFuturesAccountBalanceV2
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for futuresAccountBalanceV3 operation in AccountApi.
 * @interface FuturesAccountBalanceV3Request
 */
interface FuturesAccountBalanceV3Request {
    /**
     *
     * @type {number}
     * @memberof AccountApiFuturesAccountBalanceV3
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for futuresAccountConfiguration operation in AccountApi.
 * @interface FuturesAccountConfigurationRequest
 */
interface FuturesAccountConfigurationRequest {
    /**
     *
     * @type {number}
     * @memberof AccountApiFuturesAccountConfiguration
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for futuresTradingQuantitativeRulesIndicators operation in AccountApi.
 * @interface FuturesTradingQuantitativeRulesIndicatorsRequest
 */
interface FuturesTradingQuantitativeRulesIndicatorsRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiFuturesTradingQuantitativeRulesIndicators
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiFuturesTradingQuantitativeRulesIndicators
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getBnbBurnStatus operation in AccountApi.
 * @interface GetBnbBurnStatusRequest
 */
interface GetBnbBurnStatusRequest {
    /**
     *
     * @type {number}
     * @memberof AccountApiGetBnbBurnStatus
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getCurrentMultiAssetsMode operation in AccountApi.
 * @interface GetCurrentMultiAssetsModeRequest
 */
interface GetCurrentMultiAssetsModeRequest {
    /**
     *
     * @type {number}
     * @memberof AccountApiGetCurrentMultiAssetsMode
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getCurrentPositionMode operation in AccountApi.
 * @interface GetCurrentPositionModeRequest
 */
interface GetCurrentPositionModeRequest {
    /**
     *
     * @type {number}
     * @memberof AccountApiGetCurrentPositionMode
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getDownloadIdForFuturesOrderHistory operation in AccountApi.
 * @interface GetDownloadIdForFuturesOrderHistoryRequest
 */
interface GetDownloadIdForFuturesOrderHistoryRequest {
    /**
     * Timestamp in ms
     * @type {number}
     * @memberof AccountApiGetDownloadIdForFuturesOrderHistory
     */
    readonly startTime: number;
    /**
     * Timestamp in ms
     * @type {number}
     * @memberof AccountApiGetDownloadIdForFuturesOrderHistory
     */
    readonly endTime: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetDownloadIdForFuturesOrderHistory
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getDownloadIdForFuturesTradeHistory operation in AccountApi.
 * @interface GetDownloadIdForFuturesTradeHistoryRequest
 */
interface GetDownloadIdForFuturesTradeHistoryRequest {
    /**
     * Timestamp in ms
     * @type {number}
     * @memberof AccountApiGetDownloadIdForFuturesTradeHistory
     */
    readonly startTime: number;
    /**
     * Timestamp in ms
     * @type {number}
     * @memberof AccountApiGetDownloadIdForFuturesTradeHistory
     */
    readonly endTime: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetDownloadIdForFuturesTradeHistory
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getDownloadIdForFuturesTransactionHistory operation in AccountApi.
 * @interface GetDownloadIdForFuturesTransactionHistoryRequest
 */
interface GetDownloadIdForFuturesTransactionHistoryRequest {
    /**
     * Timestamp in ms
     * @type {number}
     * @memberof AccountApiGetDownloadIdForFuturesTransactionHistory
     */
    readonly startTime: number;
    /**
     * Timestamp in ms
     * @type {number}
     * @memberof AccountApiGetDownloadIdForFuturesTransactionHistory
     */
    readonly endTime: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetDownloadIdForFuturesTransactionHistory
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getFuturesOrderHistoryDownloadLinkById operation in AccountApi.
 * @interface GetFuturesOrderHistoryDownloadLinkByIdRequest
 */
interface GetFuturesOrderHistoryDownloadLinkByIdRequest {
    /**
     * get by download id api
     * @type {string}
     * @memberof AccountApiGetFuturesOrderHistoryDownloadLinkById
     */
    readonly downloadId: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetFuturesOrderHistoryDownloadLinkById
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getFuturesTradeDownloadLinkById operation in AccountApi.
 * @interface GetFuturesTradeDownloadLinkByIdRequest
 */
interface GetFuturesTradeDownloadLinkByIdRequest {
    /**
     * get by download id api
     * @type {string}
     * @memberof AccountApiGetFuturesTradeDownloadLinkById
     */
    readonly downloadId: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetFuturesTradeDownloadLinkById
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getFuturesTransactionHistoryDownloadLinkById operation in AccountApi.
 * @interface GetFuturesTransactionHistoryDownloadLinkByIdRequest
 */
interface GetFuturesTransactionHistoryDownloadLinkByIdRequest {
    /**
     * get by download id api
     * @type {string}
     * @memberof AccountApiGetFuturesTransactionHistoryDownloadLinkById
     */
    readonly downloadId: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetFuturesTransactionHistoryDownloadLinkById
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getIncomeHistory operation in AccountApi.
 * @interface GetIncomeHistoryRequest
 */
interface GetIncomeHistoryRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiGetIncomeHistory
     */
    readonly symbol?: string;
    /**
     * TRANSFER, WELCOME_BONUS, REALIZED_PNL, FUNDING_FEE, COMMISSION, INSURANCE_CLEAR, REFERRAL_KICKBACK, COMMISSION_REBATE, API_REBATE, CONTEST_REWARD, CROSS_COLLATERAL_TRANSFER, OPTIONS_PREMIUM_FEE, OPTIONS_SETTLE_PROFIT, INTERNAL_TRANSFER, AUTO_EXCHANGE, DELIVERED_SETTELMENT, COIN_SWAP_DEPOSIT, COIN_SWAP_WITHDRAW, POSITION_LIMIT_INCREASE_FEE, STRATEGY_UMFUTURES_TRANSFER，FEE_RETURN，BFUSD_REWARD
     * @type {string}
     * @memberof AccountApiGetIncomeHistory
     */
    readonly incomeType?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetIncomeHistory
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetIncomeHistory
     */
    readonly endTime?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetIncomeHistory
     */
    readonly page?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof AccountApiGetIncomeHistory
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetIncomeHistory
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for notionalAndLeverageBrackets operation in AccountApi.
 * @interface NotionalAndLeverageBracketsRequest
 */
interface NotionalAndLeverageBracketsRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiNotionalAndLeverageBrackets
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiNotionalAndLeverageBrackets
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for queryUserRateLimit operation in AccountApi.
 * @interface QueryUserRateLimitRequest
 */
interface QueryUserRateLimitRequest {
    /**
     *
     * @type {number}
     * @memberof AccountApiQueryUserRateLimit
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for symbolConfiguration operation in AccountApi.
 * @interface SymbolConfigurationRequest
 */
interface SymbolConfigurationRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiSymbolConfiguration
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiSymbolConfiguration
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for toggleBnbBurnOnFuturesTrade operation in AccountApi.
 * @interface ToggleBnbBurnOnFuturesTradeRequest
 */
interface ToggleBnbBurnOnFuturesTradeRequest {
    /**
     * "true": Fee Discount On; "false": Fee Discount Off
     * @type {string}
     * @memberof AccountApiToggleBnbBurnOnFuturesTrade
     */
    readonly feeBurn: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiToggleBnbBurnOnFuturesTrade
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for userCommissionRate operation in AccountApi.
 * @interface UserCommissionRateRequest
 */
interface UserCommissionRateRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiUserCommissionRate
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiUserCommissionRate
     */
    readonly recvWindow?: number;
}
/**
 * AccountApi - object-oriented interface
 * @class AccountApi
 */
declare class AccountApi$1 implements AccountApiInterface$1 {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information V2(USER_DATA)
     * @param {AccountInformationV2Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountInformationV2Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Account-Information-V2 Binance API Documentation}
     */
    accountInformationV2(requestParameters?: AccountInformationV2Request$1): Promise<RestApiResponse<AccountInformationV2Response$1>>;
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information V3(USER_DATA)
     * @param {AccountInformationV3Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountInformationV3Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Account-Information-V3 Binance API Documentation}
     */
    accountInformationV3(requestParameters?: AccountInformationV3Request): Promise<RestApiResponse<AccountInformationV3Response>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance V2 (USER_DATA)
     * @param {FuturesAccountBalanceV2Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<FuturesAccountBalanceV2Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Futures-Account-Balance-V2 Binance API Documentation}
     */
    futuresAccountBalanceV2(requestParameters?: FuturesAccountBalanceV2Request$1): Promise<RestApiResponse<FuturesAccountBalanceV2Response$1>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance V3 (USER_DATA)
     * @param {FuturesAccountBalanceV3Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<FuturesAccountBalanceV3Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Futures-Account-Balance-V3 Binance API Documentation}
     */
    futuresAccountBalanceV3(requestParameters?: FuturesAccountBalanceV3Request): Promise<RestApiResponse<FuturesAccountBalanceV3Response>>;
    /**
     * Query account configuration
     *
     * Weight: 5
     *
     * @summary Futures Account Configuration(USER_DATA)
     * @param {FuturesAccountConfigurationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<FuturesAccountConfigurationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Account-Config Binance API Documentation}
     */
    futuresAccountConfiguration(requestParameters?: FuturesAccountConfigurationRequest): Promise<RestApiResponse<FuturesAccountConfigurationResponse>>;
    /**
     * Futures trading quantitative rules indicators, for more information on this, please refer to the [Futures Trading Quantitative Rules](https://www.binance.com/en/support/faq/4f462ebe6ff445d4a170be7d9e897272)
     *
     * Weight: - 1 for a single symbol
     * - 10 when the symbol parameter is omitted
     *
     * @summary Futures Trading Quantitative Rules Indicators (USER_DATA)
     * @param {FuturesTradingQuantitativeRulesIndicatorsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<FuturesTradingQuantitativeRulesIndicatorsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Futures-Trading-Quantitative-Rules-Indicators Binance API Documentation}
     */
    futuresTradingQuantitativeRulesIndicators(requestParameters?: FuturesTradingQuantitativeRulesIndicatorsRequest): Promise<RestApiResponse<FuturesTradingQuantitativeRulesIndicatorsResponse>>;
    /**
     * Get user's BNB Fee Discount (Fee Discount On or Fee Discount Off )
     *
     * Weight: 30
     *
     * @summary Get BNB Burn Status (USER_DATA)
     * @param {GetBnbBurnStatusRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetBnbBurnStatusResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-BNB-Burn-Status Binance API Documentation}
     */
    getBnbBurnStatus(requestParameters?: GetBnbBurnStatusRequest): Promise<RestApiResponse<GetBnbBurnStatusResponse>>;
    /**
     * Get user's Multi-Assets mode (Multi-Assets Mode or Single-Asset Mode) on ***Every symbol***
     *
     * Weight: 30
     *
     * @summary Get Current Multi-Assets Mode (USER_DATA)
     * @param {GetCurrentMultiAssetsModeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetCurrentMultiAssetsModeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Current-Multi-Assets-Mode Binance API Documentation}
     */
    getCurrentMultiAssetsMode(requestParameters?: GetCurrentMultiAssetsModeRequest): Promise<RestApiResponse<GetCurrentMultiAssetsModeResponse>>;
    /**
     * Get user's position mode (Hedge Mode or One-way Mode ) on ***EVERY symbol***
     *
     * Weight: 30
     *
     * @summary Get Current Position Mode(USER_DATA)
     * @param {GetCurrentPositionModeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetCurrentPositionModeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Current-Position-Mode Binance API Documentation}
     */
    getCurrentPositionMode(requestParameters?: GetCurrentPositionModeRequest): Promise<RestApiResponse<GetCurrentPositionModeResponse>>;
    /**
     * Get Download Id For Futures Order History
     *
     * Request Limitation is 10 times per month, shared by front end download page and rest api
     * The time between `startTime` and `endTime` can not be longer than 1 year
     *
     * Weight: 1000
     *
     * @summary Get Download Id For Futures Order History (USER_DATA)
     * @param {GetDownloadIdForFuturesOrderHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetDownloadIdForFuturesOrderHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Download-Id-For-Futures-Order-History Binance API Documentation}
     */
    getDownloadIdForFuturesOrderHistory(requestParameters: GetDownloadIdForFuturesOrderHistoryRequest): Promise<RestApiResponse<GetDownloadIdForFuturesOrderHistoryResponse>>;
    /**
     * Get download id for futures trade history
     *
     * Request Limitation is 5 times per month, shared by front end download page and rest api
     * The time between `startTime` and `endTime` can not be longer than 1 year
     *
     * Weight: 1000
     *
     * @summary Get Download Id For Futures Trade History (USER_DATA)
     * @param {GetDownloadIdForFuturesTradeHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetDownloadIdForFuturesTradeHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Download-Id-For-Futures-Trade-History Binance API Documentation}
     */
    getDownloadIdForFuturesTradeHistory(requestParameters: GetDownloadIdForFuturesTradeHistoryRequest): Promise<RestApiResponse<GetDownloadIdForFuturesTradeHistoryResponse>>;
    /**
     * Get download id for futures transaction history
     *
     * Request Limitation is 5 times per month, shared by front end download page and rest api
     * The time between `startTime` and `endTime` can not be longer than 1 year
     *
     * Weight: 1000
     *
     * @summary Get Download Id For Futures Transaction History(USER_DATA)
     * @param {GetDownloadIdForFuturesTransactionHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetDownloadIdForFuturesTransactionHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Download-Id-For-Futures-Transaction-History Binance API Documentation}
     */
    getDownloadIdForFuturesTransactionHistory(requestParameters: GetDownloadIdForFuturesTransactionHistoryRequest): Promise<RestApiResponse<GetDownloadIdForFuturesTransactionHistoryResponse>>;
    /**
     * Get futures order history download link by Id
     *
     * Download link expiration: 24h
     *
     * Weight: 10
     *
     * @summary Get Futures Order History Download Link by Id (USER_DATA)
     * @param {GetFuturesOrderHistoryDownloadLinkByIdRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetFuturesOrderHistoryDownloadLinkByIdResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Futures-Order-History-Download-Link-by-Id Binance API Documentation}
     */
    getFuturesOrderHistoryDownloadLinkById(requestParameters: GetFuturesOrderHistoryDownloadLinkByIdRequest): Promise<RestApiResponse<GetFuturesOrderHistoryDownloadLinkByIdResponse>>;
    /**
     * Get futures trade download link by Id
     *
     * Download link expiration: 24h
     *
     * Weight: 10
     *
     * @summary Get Futures Trade Download Link by Id(USER_DATA)
     * @param {GetFuturesTradeDownloadLinkByIdRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetFuturesTradeDownloadLinkByIdResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Futures-Trade-Download-Link-by-Id Binance API Documentation}
     */
    getFuturesTradeDownloadLinkById(requestParameters: GetFuturesTradeDownloadLinkByIdRequest): Promise<RestApiResponse<GetFuturesTradeDownloadLinkByIdResponse>>;
    /**
     * Get futures transaction history download link by Id
     *
     * Download link expiration: 24h
     *
     * Weight: 10
     *
     * @summary Get Futures Transaction History Download Link by Id (USER_DATA)
     * @param {GetFuturesTransactionHistoryDownloadLinkByIdRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetFuturesTransactionHistoryDownloadLinkByIdResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Futures-Transaction-History-Download-Link-by-Id Binance API Documentation}
     */
    getFuturesTransactionHistoryDownloadLinkById(requestParameters: GetFuturesTransactionHistoryDownloadLinkByIdRequest): Promise<RestApiResponse<GetFuturesTransactionHistoryDownloadLinkByIdResponse>>;
    /**
     * Query income history
     *
     * If neither `startTime` nor `endTime` is sent, the recent 7-day data will be returned.
     * If `incomeType ` is not sent, all kinds of flow will be returned
     * "trandId" is unique in the same incomeType for a user
     * Income history only contains data for the last three months
     *
     * Weight: 30
     *
     * @summary Get Income History (USER_DATA)
     * @param {GetIncomeHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetIncomeHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Income-History Binance API Documentation}
     */
    getIncomeHistory(requestParameters?: GetIncomeHistoryRequest): Promise<RestApiResponse<GetIncomeHistoryResponse>>;
    /**
     * Query user notional and leverage bracket on speicfic symbol
     *
     * Weight: 1
     *
     * @summary Notional and Leverage Brackets (USER_DATA)
     * @param {NotionalAndLeverageBracketsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<NotionalAndLeverageBracketsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Notional-and-Leverage-Brackets Binance API Documentation}
     */
    notionalAndLeverageBrackets(requestParameters?: NotionalAndLeverageBracketsRequest): Promise<RestApiResponse<NotionalAndLeverageBracketsResponse>>;
    /**
     * Query User Rate Limit
     *
     * Weight: 1
     *
     * @summary Query User Rate Limit (USER_DATA)
     * @param {QueryUserRateLimitRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QueryUserRateLimitResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Query-Rate-Limit Binance API Documentation}
     */
    queryUserRateLimit(requestParameters?: QueryUserRateLimitRequest): Promise<RestApiResponse<QueryUserRateLimitResponse>>;
    /**
     * Get current account symbol configuration.
     *
     * Weight: 5
     *
     * @summary Symbol Configuration(USER_DATA)
     * @param {SymbolConfigurationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SymbolConfigurationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Symbol-Config Binance API Documentation}
     */
    symbolConfiguration(requestParameters?: SymbolConfigurationRequest): Promise<RestApiResponse<SymbolConfigurationResponse>>;
    /**
     * Change user's BNB Fee Discount (Fee Discount On or Fee Discount Off ) on ***EVERY symbol***
     *
     * Weight: 1
     *
     * @summary Toggle BNB Burn On Futures Trade (TRADE)
     * @param {ToggleBnbBurnOnFuturesTradeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ToggleBnbBurnOnFuturesTradeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Toggle-BNB-Burn-On-Futures-Trade Binance API Documentation}
     */
    toggleBnbBurnOnFuturesTrade(requestParameters: ToggleBnbBurnOnFuturesTradeRequest): Promise<RestApiResponse<ToggleBnbBurnOnFuturesTradeResponse>>;
    /**
     * Get User Commission Rate
     *
     * Weight: 20
     *
     * @summary User Commission Rate (USER_DATA)
     * @param {UserCommissionRateRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<UserCommissionRateResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/User-Commission-Rate Binance API Documentation}
     */
    userCommissionRate(requestParameters: UserCommissionRateRequest): Promise<RestApiResponse<UserCommissionRateResponse>>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * ConvertApi - interface
 * @interface ConvertApi
 */
interface ConvertApiInterface {
    /**
     * Accept the offered quote by quote ID.
     *
     * Weight: 200(IP)
     *
     * @summary Accept the offered quote (USER_DATA)
     * @param {AcceptTheOfferedQuoteRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof ConvertApiInterface
     */
    acceptTheOfferedQuote(requestParameters: AcceptTheOfferedQuoteRequest): Promise<RestApiResponse<AcceptTheOfferedQuoteResponse>>;
    /**
     * Query for all convertible token pairs and the tokens’ respective upper/lower limits
     *
     * User needs to supply either or both of the input parameter
     * If not defined for both fromAsset and toAsset, only partial token pairs will be returned
     * Asset BNFCR is only available to convert for MICA region users.
     *
     * Weight: 20(IP)
     *
     * @summary List All Convert Pairs
     * @param {ListAllConvertPairsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof ConvertApiInterface
     */
    listAllConvertPairs(requestParameters?: ListAllConvertPairsRequest): Promise<RestApiResponse<ListAllConvertPairsResponse>>;
    /**
     * Query order status by order ID.
     *
     * Weight: 50(IP)
     *
     * @summary Order status(USER_DATA)
     * @param {OrderStatusRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof ConvertApiInterface
     */
    orderStatus(requestParameters?: OrderStatusRequest): Promise<RestApiResponse<OrderStatusResponse>>;
    /**
     * Request a quote for the requested token pairs
     *
     * Either fromAmount or toAmount should be sent
     * `quoteId` will be returned only if you have enough funds to convert
     *
     * Weight: 50(IP)
     *
     * @summary Send Quote Request(USER_DATA)
     * @param {SendQuoteRequestRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof ConvertApiInterface
     */
    sendQuoteRequest(requestParameters: SendQuoteRequestRequest): Promise<RestApiResponse<SendQuoteRequestResponse>>;
}
/**
 * Request parameters for acceptTheOfferedQuote operation in ConvertApi.
 * @interface AcceptTheOfferedQuoteRequest
 */
interface AcceptTheOfferedQuoteRequest {
    /**
     *
     * @type {string}
     * @memberof ConvertApiAcceptTheOfferedQuote
     */
    readonly quoteId: string;
    /**
     *
     * @type {number}
     * @memberof ConvertApiAcceptTheOfferedQuote
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for listAllConvertPairs operation in ConvertApi.
 * @interface ListAllConvertPairsRequest
 */
interface ListAllConvertPairsRequest {
    /**
     * User spends coin
     * @type {string}
     * @memberof ConvertApiListAllConvertPairs
     */
    readonly fromAsset?: string;
    /**
     * User receives coin
     * @type {string}
     * @memberof ConvertApiListAllConvertPairs
     */
    readonly toAsset?: string;
}
/**
 * Request parameters for orderStatus operation in ConvertApi.
 * @interface OrderStatusRequest
 */
interface OrderStatusRequest {
    /**
     * Either orderId or quoteId is required
     * @type {string}
     * @memberof ConvertApiOrderStatus
     */
    readonly orderId?: string;
    /**
     * Either orderId or quoteId is required
     * @type {string}
     * @memberof ConvertApiOrderStatus
     */
    readonly quoteId?: string;
}
/**
 * Request parameters for sendQuoteRequest operation in ConvertApi.
 * @interface SendQuoteRequestRequest
 */
interface SendQuoteRequestRequest {
    /**
     *
     * @type {string}
     * @memberof ConvertApiSendQuoteRequest
     */
    readonly fromAsset: string;
    /**
     *
     * @type {string}
     * @memberof ConvertApiSendQuoteRequest
     */
    readonly toAsset: string;
    /**
     * When specified, it is the amount you will be debited after the conversion
     * @type {number}
     * @memberof ConvertApiSendQuoteRequest
     */
    readonly fromAmount?: number;
    /**
     * When specified, it is the amount you will be credited after the conversion
     * @type {number}
     * @memberof ConvertApiSendQuoteRequest
     */
    readonly toAmount?: number;
    /**
     * 10s, default 10s
     * @type {string}
     * @memberof ConvertApiSendQuoteRequest
     */
    readonly validTime?: string;
    /**
     *
     * @type {number}
     * @memberof ConvertApiSendQuoteRequest
     */
    readonly recvWindow?: number;
}
/**
 * ConvertApi - object-oriented interface
 * @class ConvertApi
 */
declare class ConvertApi implements ConvertApiInterface {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Accept the offered quote by quote ID.
     *
     * Weight: 200(IP)
     *
     * @summary Accept the offered quote (USER_DATA)
     * @param {AcceptTheOfferedQuoteRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AcceptTheOfferedQuoteResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof ConvertApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/convert/Accept-Quote Binance API Documentation}
     */
    acceptTheOfferedQuote(requestParameters: AcceptTheOfferedQuoteRequest): Promise<RestApiResponse<AcceptTheOfferedQuoteResponse>>;
    /**
     * Query for all convertible token pairs and the tokens’ respective upper/lower limits
     *
     * User needs to supply either or both of the input parameter
     * If not defined for both fromAsset and toAsset, only partial token pairs will be returned
     * Asset BNFCR is only available to convert for MICA region users.
     *
     * Weight: 20(IP)
     *
     * @summary List All Convert Pairs
     * @param {ListAllConvertPairsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ListAllConvertPairsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof ConvertApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/convert/List-All-Convert-Pairs Binance API Documentation}
     */
    listAllConvertPairs(requestParameters?: ListAllConvertPairsRequest): Promise<RestApiResponse<ListAllConvertPairsResponse>>;
    /**
     * Query order status by order ID.
     *
     * Weight: 50(IP)
     *
     * @summary Order status(USER_DATA)
     * @param {OrderStatusRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderStatusResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof ConvertApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/convert/Order-Status Binance API Documentation}
     */
    orderStatus(requestParameters?: OrderStatusRequest): Promise<RestApiResponse<OrderStatusResponse>>;
    /**
     * Request a quote for the requested token pairs
     *
     * Either fromAmount or toAmount should be sent
     * `quoteId` will be returned only if you have enough funds to convert
     *
     * Weight: 50(IP)
     *
     * @summary Send Quote Request(USER_DATA)
     * @param {SendQuoteRequestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SendQuoteRequestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof ConvertApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/convert/Send-quote-request Binance API Documentation}
     */
    sendQuoteRequest(requestParameters: SendQuoteRequestRequest): Promise<RestApiResponse<SendQuoteRequestResponse>>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * MarketDataApi - interface
 * @interface MarketDataApi
 */
interface MarketDataApiInterface$1 {
    /**
     * Query future basis
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     *
     * Weight: 0
     *
     * @summary Basis
     * @param {BasisRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    basis(requestParameters: BasisRequest): Promise<RestApiResponse<BasisResponse>>;
    /**
     * Test connectivity to the Rest API and get the current server time.
     *
     * Weight: 1
     *
     * @summary Check Server Time
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    checkServerTime(): Promise<RestApiResponse<CheckServerTimeResponse>>;
    /**
     * Query composite index symbol information
     *
     * Only for composite index symbols
     *
     * Weight: 1
     *
     * @summary Composite Index Symbol Information
     * @param {CompositeIndexSymbolInformationRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    compositeIndexSymbolInformation(requestParameters?: CompositeIndexSymbolInformationRequest): Promise<RestApiResponse<CompositeIndexSymbolInformationResponse>>;
    /**
     * Get compressed, aggregate market trades. Market trades that fill in 100ms with the same price and the same taking side will have the quantity aggregated.
     *
     *
     * support querying futures trade histories that are not older than one year
     * If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 1 hour.
     * If `fromId`, `startTime`, and `endTime` are not sent, the most recent aggregate trades will be returned.
     * Only market trades will be aggregated and returned, which means the insurance fund trades and ADL trades won't be aggregated.
     * Sending both `startTime`/`endTime` and `fromId` might cause response timeout, please send either `fromId` or `startTime`/`endTime`
     *
     * Weight: 20
     *
     * @summary Compressed/Aggregate Trades List
     * @param {CompressedAggregateTradesListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    compressedAggregateTradesList(requestParameters: CompressedAggregateTradesListRequest): Promise<RestApiResponse<CompressedAggregateTradesListResponse>>;
    /**
     * Kline/candlestick bars for a specific contract type.
     * Klines are uniquely identified by their open time.
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     * Contract type:
     * PERPETUAL
     * CURRENT_QUARTER
     * NEXT_QUARTER
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Continuous Contract Kline/Candlestick Data
     * @param {ContinuousContractKlineCandlestickDataRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    continuousContractKlineCandlestickData(requestParameters: ContinuousContractKlineCandlestickDataRequest): Promise<RestApiResponse<ContinuousContractKlineCandlestickDataResponse>>;
    /**
     * Current exchange trading rules and symbol information
     *
     * Weight: 1
     *
     * @summary Exchange Information
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    exchangeInformation(): Promise<RestApiResponse<ExchangeInformationResponse>>;
    /**
     * Get Funding Rate History
     *
     *
     * If `startTime` and `endTime` are not sent, the most recent `limit` datas are returned.
     * If the number of data between `startTime` and `endTime` is larger than `limit`, return as `startTime` + `limit`.
     * In ascending order.
     *
     * Weight: share 500/5min/IP rate limit with GET /fapi/v1/fundingInfo
     *
     * @summary Get Funding Rate History
     * @param {GetFundingRateHistoryRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    getFundingRateHistory(requestParameters?: GetFundingRateHistoryRequest): Promise<RestApiResponse<GetFundingRateHistoryResponse>>;
    /**
     * Query funding rate info for symbols that had FundingRateCap/ FundingRateFloor / fundingIntervalHours adjustment
     *
     * Weight: 0
     * share 500/5min/IP rate limit with GET /fapi/v1/fundingInfo
     *
     * @summary Get Funding Rate Info
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    getFundingRateInfo(): Promise<RestApiResponse<GetFundingRateInfoResponse>>;
    /**
     * The BLVT NAV system is based on Binance Futures, so the endpoint is based on fapi
     *
     * Weight: 1
     *
     * @summary Historical BLVT NAV Kline/Candlestick
     * @param {HistoricalBlvtNavKlineCandlestickRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    historicalBlvtNavKlineCandlestick(requestParameters: HistoricalBlvtNavKlineCandlestickRequest): Promise<RestApiResponse<HistoricalBlvtNavKlineCandlestickResponse>>;
    /**
     * Kline/candlestick bars for the index price of a pair.
     * Klines are uniquely identified by their open time.
     *
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Index Price Kline/Candlestick Data
     * @param {IndexPriceKlineCandlestickDataRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    indexPriceKlineCandlestickData(requestParameters: IndexPriceKlineCandlestickDataRequest): Promise<RestApiResponse<IndexPriceKlineCandlestickDataResponse>>;
    /**
     * Kline/candlestick bars for a symbol.
     * Klines are uniquely identified by their open time.
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Kline/Candlestick Data
     * @param {KlineCandlestickDataRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    klineCandlestickData(requestParameters: KlineCandlestickDataRequest): Promise<RestApiResponse<KlineCandlestickDataResponse>>;
    /**
     * Query symbol Long/Short Ratio
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Long/Short Ratio
     * @param {LongShortRatioRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    longShortRatio(requestParameters: LongShortRatioRequest): Promise<RestApiResponse<LongShortRatioResponse>>;
    /**
     * Mark Price and Funding Rate
     *
     * Weight: 1
     *
     * @summary Mark Price
     * @param {MarkPriceRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    markPrice(requestParameters?: MarkPriceRequest): Promise<RestApiResponse<MarkPriceResponse>>;
    /**
     * Kline/candlestick bars for the mark price of a symbol.
     * Klines are uniquely identified by their open time.
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Mark Price Kline/Candlestick Data
     * @param {MarkPriceKlineCandlestickDataRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    markPriceKlineCandlestickData(requestParameters: MarkPriceKlineCandlestickDataRequest): Promise<RestApiResponse<MarkPriceKlineCandlestickDataResponse>>;
    /**
     * asset index for Multi-Assets mode
     *
     * Weight: 1 for a single symbol; 10 when the symbol parameter is omitted
     *
     * @summary Multi-Assets Mode Asset Index
     * @param {MultiAssetsModeAssetIndexRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    multiAssetsModeAssetIndex(requestParameters?: MultiAssetsModeAssetIndexRequest$1): Promise<RestApiResponse<MultiAssetsModeAssetIndexResponse$1>>;
    /**
     * Get older market historical trades.
     *
     * Market trades means trades filled in the order book. Only market trades will be returned, which means the insurance fund trades and ADL trades won't be returned.
     * Only supports data from within the last three months
     *
     * Weight: 20
     *
     * @summary Old Trades Lookup (MARKET_DATA)
     * @param {OldTradesLookupRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    oldTradesLookup(requestParameters: OldTradesLookupRequest): Promise<RestApiResponse<OldTradesLookupResponse>>;
    /**
     * Get present open interest of a specific symbol.
     *
     * Weight: 1
     *
     * @summary Open Interest
     * @param {OpenInterestRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    openInterest(requestParameters: OpenInterestRequest): Promise<RestApiResponse<OpenInterestResponse>>;
    /**
     * Open Interest Statistics
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 1 month is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Open Interest Statistics
     * @param {OpenInterestStatisticsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    openInterestStatistics(requestParameters: OpenInterestStatisticsRequest): Promise<RestApiResponse<OpenInterestStatisticsResponse>>;
    /**
     * Query symbol orderbook
     *
     * Weight: Adjusted based on the limit:
     * | Limit         | Weight |
     * | ------------- | ------ |
     * | 5, 10, 20, 50 | 2      |
     * | 100           | 5      |
     * | 500           | 10     |
     * | 1000          | 20     |
     *
     * @summary Order Book
     * @param {OrderBookRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    orderBook(requestParameters: OrderBookRequest$1): Promise<RestApiResponse<OrderBookResponse$1>>;
    /**
     * Premium index kline bars of a symbol. Klines are uniquely identified by their open time.
     *
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Premium index Kline Data
     * @param {PremiumIndexKlineDataRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    premiumIndexKlineData(requestParameters: PremiumIndexKlineDataRequest): Promise<RestApiResponse<PremiumIndexKlineDataResponse>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * Weight: 0
     *
     * @summary Quarterly Contract Settlement Price
     * @param {QuarterlyContractSettlementPriceRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    quarterlyContractSettlementPrice(requestParameters: QuarterlyContractSettlementPriceRequest): Promise<RestApiResponse<QuarterlyContractSettlementPriceResponse>>;
    /**
     * Query index price constituents
     *
     * Weight: 2
     *
     * @summary Query Index Price Constituents
     * @param {QueryIndexPriceConstituentsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    queryIndexPriceConstituents(requestParameters: QueryIndexPriceConstituentsRequest): Promise<RestApiResponse<QueryIndexPriceConstituentsResponse>>;
    /**
     * Get recent market trades
     *
     * Market trades means trades filled in the order book. Only market trades will be returned, which means the insurance fund trades and ADL trades won't be returned.
     *
     * Weight: 5
     *
     * @summary Recent Trades List
     * @param {RecentTradesListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    recentTradesList(requestParameters: RecentTradesListRequest): Promise<RestApiResponse<RecentTradesListResponse>>;
    /**
     * Best price/qty on the order book for a symbol or symbols.
     *
     * If the symbol is not sent, bookTickers for all symbols will be returned in an array.
     * The field `X-MBX-USED-WEIGHT-1M` in response header is not accurate from this endpoint, please ignore.
     *
     * Weight: 2 for a single symbol;
     * 5 when the symbol parameter is omitted
     *
     * @summary Symbol Order Book Ticker
     * @param {SymbolOrderBookTickerRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    symbolOrderBookTicker(requestParameters?: SymbolOrderBookTickerRequest$1): Promise<RestApiResponse<SymbolOrderBookTickerResponse$1>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * If the symbol is not sent, prices for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol;
     * 2 when the symbol parameter is omitted
     *
     * @summary Symbol Price Ticker
     * @param {SymbolPriceTickerRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    symbolPriceTicker(requestParameters?: SymbolPriceTickerRequest$1): Promise<RestApiResponse<SymbolPriceTickerResponse$1>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * If the symbol is not sent, prices for all symbols will be returned in an array.
     * The field `X-MBX-USED-WEIGHT-1M` in response header is not accurate from this endpoint, please ignore.
     *
     * Weight: 1 for a single symbol;
     * 2 when the symbol parameter is omitted
     *
     * @summary Symbol Price Ticker V2
     * @param {SymbolPriceTickerV2Request} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    symbolPriceTickerV2(requestParameters?: SymbolPriceTickerV2Request): Promise<RestApiResponse<SymbolPriceTickerV2Response>>;
    /**
     * Taker Buy/Sell Volume
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Taker Buy/Sell Volume
     * @param {TakerBuySellVolumeRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    takerBuySellVolume(requestParameters: TakerBuySellVolumeRequest): Promise<RestApiResponse<TakerBuySellVolumeResponse>>;
    /**
     * Test connectivity to the Rest API.
     *
     * Weight: 1
     *
     * @summary Test Connectivity
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    testConnectivity(): Promise<RestApiResponse<void>>;
    /**
     * 24 hour rolling window price change statistics.
     **Careful** when accessing this with no symbol.
     *
     * If the symbol is not sent, tickers for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol;
     * 40 when the symbol parameter is omitted
     *
     * @summary 24hr Ticker Price Change Statistics
     * @param {Ticker24hrPriceChangeStatisticsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    ticker24hrPriceChangeStatistics(requestParameters?: Ticker24hrPriceChangeStatisticsRequest): Promise<RestApiResponse<Ticker24hrPriceChangeStatisticsResponse>>;
    /**
     * The proportion of net long and net short accounts to total accounts of the top 20% users with the highest margin balance. Each account is counted once only.
     * Long Account % = Accounts of top traders with net long positions / Total accounts of top traders with open positions
     * Short Account % = Accounts of top traders with net short positions / Total accounts of top traders with open positions
     * Long/Short Ratio (Accounts) = Long Account % / Short Account %
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Top Trader Long/Short Ratio (Accounts)
     * @param {TopTraderLongShortRatioAccountsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    topTraderLongShortRatioAccounts(requestParameters: TopTraderLongShortRatioAccountsRequest): Promise<RestApiResponse<TopTraderLongShortRatioAccountsResponse>>;
    /**
     * The proportion of net long and net short positions to total open positions of the top 20% users with the highest margin balance.
     * Long Position % = Long positions of top traders / Total open positions of top traders
     * Short Position % = Short positions of top traders / Total open positions of top traders
     * Long/Short Ratio (Positions) = Long Position % / Short Position %
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Top Trader Long/Short Ratio (Positions)
     * @param {TopTraderLongShortRatioPositionsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApiInterface
     */
    topTraderLongShortRatioPositions(requestParameters: TopTraderLongShortRatioPositionsRequest): Promise<RestApiResponse<TopTraderLongShortRatioPositionsResponse>>;
}
/**
 * Request parameters for basis operation in MarketDataApi.
 * @interface BasisRequest
 */
interface BasisRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiBasis
     */
    readonly pair: string;
    /**
     *
     * @type {'PERPETUAL' | 'CURRENT_MONTH' | 'NEXT_MONTH' | 'CURRENT_QUARTER' | 'NEXT_QUARTER' | 'PERPETUAL_DELIVERING'}
     * @memberof MarketDataApiBasis
     */
    readonly contractType: BasisContractTypeEnum;
    /**
     * "5m","15m","30m","1h","2h","4h","6h","12h","1d"
     * @type {'5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '12h' | '1d'}
     * @memberof MarketDataApiBasis
     */
    readonly period: BasisPeriodEnum;
    /**
     * Default 30,Max 500
     * @type {number}
     * @memberof MarketDataApiBasis
     */
    readonly limit: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiBasis
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiBasis
     */
    readonly endTime?: number;
}
/**
 * Request parameters for compositeIndexSymbolInformation operation in MarketDataApi.
 * @interface CompositeIndexSymbolInformationRequest
 */
interface CompositeIndexSymbolInformationRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiCompositeIndexSymbolInformation
     */
    readonly symbol?: string;
}
/**
 * Request parameters for compressedAggregateTradesList operation in MarketDataApi.
 * @interface CompressedAggregateTradesListRequest
 */
interface CompressedAggregateTradesListRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiCompressedAggregateTradesList
     */
    readonly symbol: string;
    /**
     * ID to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof MarketDataApiCompressedAggregateTradesList
     */
    readonly fromId?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiCompressedAggregateTradesList
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiCompressedAggregateTradesList
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiCompressedAggregateTradesList
     */
    readonly limit?: number;
}
/**
 * Request parameters for continuousContractKlineCandlestickData operation in MarketDataApi.
 * @interface ContinuousContractKlineCandlestickDataRequest
 */
interface ContinuousContractKlineCandlestickDataRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiContinuousContractKlineCandlestickData
     */
    readonly pair: string;
    /**
     *
     * @type {'PERPETUAL' | 'CURRENT_MONTH' | 'NEXT_MONTH' | 'CURRENT_QUARTER' | 'NEXT_QUARTER' | 'PERPETUAL_DELIVERING'}
     * @memberof MarketDataApiContinuousContractKlineCandlestickData
     */
    readonly contractType: ContinuousContractKlineCandlestickDataContractTypeEnum;
    /**
     *
     * @type {'1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketDataApiContinuousContractKlineCandlestickData
     */
    readonly interval: ContinuousContractKlineCandlestickDataIntervalEnum;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiContinuousContractKlineCandlestickData
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiContinuousContractKlineCandlestickData
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiContinuousContractKlineCandlestickData
     */
    readonly limit?: number;
}
/**
 * Request parameters for getFundingRateHistory operation in MarketDataApi.
 * @interface GetFundingRateHistoryRequest
 */
interface GetFundingRateHistoryRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiGetFundingRateHistory
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiGetFundingRateHistory
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiGetFundingRateHistory
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiGetFundingRateHistory
     */
    readonly limit?: number;
}
/**
 * Request parameters for historicalBlvtNavKlineCandlestick operation in MarketDataApi.
 * @interface HistoricalBlvtNavKlineCandlestickRequest
 */
interface HistoricalBlvtNavKlineCandlestickRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiHistoricalBlvtNavKlineCandlestick
     */
    readonly symbol: string;
    /**
     *
     * @type {'1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketDataApiHistoricalBlvtNavKlineCandlestick
     */
    readonly interval: HistoricalBlvtNavKlineCandlestickIntervalEnum;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiHistoricalBlvtNavKlineCandlestick
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiHistoricalBlvtNavKlineCandlestick
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiHistoricalBlvtNavKlineCandlestick
     */
    readonly limit?: number;
}
/**
 * Request parameters for indexPriceKlineCandlestickData operation in MarketDataApi.
 * @interface IndexPriceKlineCandlestickDataRequest
 */
interface IndexPriceKlineCandlestickDataRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiIndexPriceKlineCandlestickData
     */
    readonly pair: string;
    /**
     *
     * @type {'1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketDataApiIndexPriceKlineCandlestickData
     */
    readonly interval: IndexPriceKlineCandlestickDataIntervalEnum;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiIndexPriceKlineCandlestickData
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiIndexPriceKlineCandlestickData
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiIndexPriceKlineCandlestickData
     */
    readonly limit?: number;
}
/**
 * Request parameters for klineCandlestickData operation in MarketDataApi.
 * @interface KlineCandlestickDataRequest
 */
interface KlineCandlestickDataRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiKlineCandlestickData
     */
    readonly symbol: string;
    /**
     *
     * @type {'1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketDataApiKlineCandlestickData
     */
    readonly interval: KlineCandlestickDataIntervalEnum;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiKlineCandlestickData
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiKlineCandlestickData
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiKlineCandlestickData
     */
    readonly limit?: number;
}
/**
 * Request parameters for longShortRatio operation in MarketDataApi.
 * @interface LongShortRatioRequest
 */
interface LongShortRatioRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiLongShortRatio
     */
    readonly symbol: string;
    /**
     * "5m","15m","30m","1h","2h","4h","6h","12h","1d"
     * @type {'5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '12h' | '1d'}
     * @memberof MarketDataApiLongShortRatio
     */
    readonly period: LongShortRatioPeriodEnum;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiLongShortRatio
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiLongShortRatio
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiLongShortRatio
     */
    readonly endTime?: number;
}
/**
 * Request parameters for markPrice operation in MarketDataApi.
 * @interface MarkPriceRequest
 */
interface MarkPriceRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiMarkPrice
     */
    readonly symbol?: string;
}
/**
 * Request parameters for markPriceKlineCandlestickData operation in MarketDataApi.
 * @interface MarkPriceKlineCandlestickDataRequest
 */
interface MarkPriceKlineCandlestickDataRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiMarkPriceKlineCandlestickData
     */
    readonly symbol: string;
    /**
     *
     * @type {'1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketDataApiMarkPriceKlineCandlestickData
     */
    readonly interval: MarkPriceKlineCandlestickDataIntervalEnum;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiMarkPriceKlineCandlestickData
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiMarkPriceKlineCandlestickData
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiMarkPriceKlineCandlestickData
     */
    readonly limit?: number;
}
/**
 * Request parameters for multiAssetsModeAssetIndex operation in MarketDataApi.
 * @interface MultiAssetsModeAssetIndexRequest
 */
interface MultiAssetsModeAssetIndexRequest$1 {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiMultiAssetsModeAssetIndex
     */
    readonly symbol?: string;
}
/**
 * Request parameters for oldTradesLookup operation in MarketDataApi.
 * @interface OldTradesLookupRequest
 */
interface OldTradesLookupRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiOldTradesLookup
     */
    readonly symbol: string;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiOldTradesLookup
     */
    readonly limit?: number;
    /**
     * ID to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof MarketDataApiOldTradesLookup
     */
    readonly fromId?: number;
}
/**
 * Request parameters for openInterest operation in MarketDataApi.
 * @interface OpenInterestRequest
 */
interface OpenInterestRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiOpenInterest
     */
    readonly symbol: string;
}
/**
 * Request parameters for openInterestStatistics operation in MarketDataApi.
 * @interface OpenInterestStatisticsRequest
 */
interface OpenInterestStatisticsRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiOpenInterestStatistics
     */
    readonly symbol: string;
    /**
     * "5m","15m","30m","1h","2h","4h","6h","12h","1d"
     * @type {'5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '12h' | '1d'}
     * @memberof MarketDataApiOpenInterestStatistics
     */
    readonly period: OpenInterestStatisticsPeriodEnum;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiOpenInterestStatistics
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiOpenInterestStatistics
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiOpenInterestStatistics
     */
    readonly endTime?: number;
}
/**
 * Request parameters for orderBook operation in MarketDataApi.
 * @interface OrderBookRequest
 */
interface OrderBookRequest$1 {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiOrderBook
     */
    readonly symbol: string;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiOrderBook
     */
    readonly limit?: number;
}
/**
 * Request parameters for premiumIndexKlineData operation in MarketDataApi.
 * @interface PremiumIndexKlineDataRequest
 */
interface PremiumIndexKlineDataRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiPremiumIndexKlineData
     */
    readonly symbol: string;
    /**
     *
     * @type {'1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketDataApiPremiumIndexKlineData
     */
    readonly interval: PremiumIndexKlineDataIntervalEnum;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiPremiumIndexKlineData
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiPremiumIndexKlineData
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiPremiumIndexKlineData
     */
    readonly limit?: number;
}
/**
 * Request parameters for quarterlyContractSettlementPrice operation in MarketDataApi.
 * @interface QuarterlyContractSettlementPriceRequest
 */
interface QuarterlyContractSettlementPriceRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiQuarterlyContractSettlementPrice
     */
    readonly pair: string;
}
/**
 * Request parameters for queryIndexPriceConstituents operation in MarketDataApi.
 * @interface QueryIndexPriceConstituentsRequest
 */
interface QueryIndexPriceConstituentsRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiQueryIndexPriceConstituents
     */
    readonly symbol: string;
}
/**
 * Request parameters for recentTradesList operation in MarketDataApi.
 * @interface RecentTradesListRequest
 */
interface RecentTradesListRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiRecentTradesList
     */
    readonly symbol: string;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiRecentTradesList
     */
    readonly limit?: number;
}
/**
 * Request parameters for symbolOrderBookTicker operation in MarketDataApi.
 * @interface SymbolOrderBookTickerRequest
 */
interface SymbolOrderBookTickerRequest$1 {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiSymbolOrderBookTicker
     */
    readonly symbol?: string;
}
/**
 * Request parameters for symbolPriceTicker operation in MarketDataApi.
 * @interface SymbolPriceTickerRequest
 */
interface SymbolPriceTickerRequest$1 {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiSymbolPriceTicker
     */
    readonly symbol?: string;
}
/**
 * Request parameters for symbolPriceTickerV2 operation in MarketDataApi.
 * @interface SymbolPriceTickerV2Request
 */
interface SymbolPriceTickerV2Request {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiSymbolPriceTickerV2
     */
    readonly symbol?: string;
}
/**
 * Request parameters for takerBuySellVolume operation in MarketDataApi.
 * @interface TakerBuySellVolumeRequest
 */
interface TakerBuySellVolumeRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiTakerBuySellVolume
     */
    readonly symbol: string;
    /**
     * "5m","15m","30m","1h","2h","4h","6h","12h","1d"
     * @type {'5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '12h' | '1d'}
     * @memberof MarketDataApiTakerBuySellVolume
     */
    readonly period: TakerBuySellVolumePeriodEnum;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiTakerBuySellVolume
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiTakerBuySellVolume
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiTakerBuySellVolume
     */
    readonly endTime?: number;
}
/**
 * Request parameters for ticker24hrPriceChangeStatistics operation in MarketDataApi.
 * @interface Ticker24hrPriceChangeStatisticsRequest
 */
interface Ticker24hrPriceChangeStatisticsRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiTicker24hrPriceChangeStatistics
     */
    readonly symbol?: string;
}
/**
 * Request parameters for topTraderLongShortRatioAccounts operation in MarketDataApi.
 * @interface TopTraderLongShortRatioAccountsRequest
 */
interface TopTraderLongShortRatioAccountsRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiTopTraderLongShortRatioAccounts
     */
    readonly symbol: string;
    /**
     * "5m","15m","30m","1h","2h","4h","6h","12h","1d"
     * @type {'5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '12h' | '1d'}
     * @memberof MarketDataApiTopTraderLongShortRatioAccounts
     */
    readonly period: TopTraderLongShortRatioAccountsPeriodEnum;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiTopTraderLongShortRatioAccounts
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiTopTraderLongShortRatioAccounts
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiTopTraderLongShortRatioAccounts
     */
    readonly endTime?: number;
}
/**
 * Request parameters for topTraderLongShortRatioPositions operation in MarketDataApi.
 * @interface TopTraderLongShortRatioPositionsRequest
 */
interface TopTraderLongShortRatioPositionsRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiTopTraderLongShortRatioPositions
     */
    readonly symbol: string;
    /**
     * "5m","15m","30m","1h","2h","4h","6h","12h","1d"
     * @type {'5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '12h' | '1d'}
     * @memberof MarketDataApiTopTraderLongShortRatioPositions
     */
    readonly period: TopTraderLongShortRatioPositionsPeriodEnum;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof MarketDataApiTopTraderLongShortRatioPositions
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiTopTraderLongShortRatioPositions
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketDataApiTopTraderLongShortRatioPositions
     */
    readonly endTime?: number;
}
/**
 * MarketDataApi - object-oriented interface
 * @class MarketDataApi
 */
declare class MarketDataApi$1 implements MarketDataApiInterface$1 {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Query future basis
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     *
     * Weight: 0
     *
     * @summary Basis
     * @param {BasisRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<BasisResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Basis Binance API Documentation}
     */
    basis(requestParameters: BasisRequest): Promise<RestApiResponse<BasisResponse>>;
    /**
     * Test connectivity to the Rest API and get the current server time.
     *
     * Weight: 1
     *
     * @summary Check Server Time
     * @returns {Promise<RestApiResponse<CheckServerTimeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Check-Server-Time Binance API Documentation}
     */
    checkServerTime(): Promise<RestApiResponse<CheckServerTimeResponse>>;
    /**
     * Query composite index symbol information
     *
     * Only for composite index symbols
     *
     * Weight: 1
     *
     * @summary Composite Index Symbol Information
     * @param {CompositeIndexSymbolInformationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CompositeIndexSymbolInformationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Composite-Index-Symbol-Information Binance API Documentation}
     */
    compositeIndexSymbolInformation(requestParameters?: CompositeIndexSymbolInformationRequest): Promise<RestApiResponse<CompositeIndexSymbolInformationResponse>>;
    /**
     * Get compressed, aggregate market trades. Market trades that fill in 100ms with the same price and the same taking side will have the quantity aggregated.
     *
     *
     * support querying futures trade histories that are not older than one year
     * If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 1 hour.
     * If `fromId`, `startTime`, and `endTime` are not sent, the most recent aggregate trades will be returned.
     * Only market trades will be aggregated and returned, which means the insurance fund trades and ADL trades won't be aggregated.
     * Sending both `startTime`/`endTime` and `fromId` might cause response timeout, please send either `fromId` or `startTime`/`endTime`
     *
     * Weight: 20
     *
     * @summary Compressed/Aggregate Trades List
     * @param {CompressedAggregateTradesListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CompressedAggregateTradesListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Compressed-Aggregate-Trades-List Binance API Documentation}
     */
    compressedAggregateTradesList(requestParameters: CompressedAggregateTradesListRequest): Promise<RestApiResponse<CompressedAggregateTradesListResponse>>;
    /**
     * Kline/candlestick bars for a specific contract type.
     * Klines are uniquely identified by their open time.
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     * Contract type:
     * PERPETUAL
     * CURRENT_QUARTER
     * NEXT_QUARTER
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Continuous Contract Kline/Candlestick Data
     * @param {ContinuousContractKlineCandlestickDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ContinuousContractKlineCandlestickDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Continuous-Contract-Kline-Candlestick-Data Binance API Documentation}
     */
    continuousContractKlineCandlestickData(requestParameters: ContinuousContractKlineCandlestickDataRequest): Promise<RestApiResponse<ContinuousContractKlineCandlestickDataResponse>>;
    /**
     * Current exchange trading rules and symbol information
     *
     * Weight: 1
     *
     * @summary Exchange Information
     * @returns {Promise<RestApiResponse<ExchangeInformationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Exchange-Information Binance API Documentation}
     */
    exchangeInformation(): Promise<RestApiResponse<ExchangeInformationResponse>>;
    /**
     * Get Funding Rate History
     *
     *
     * If `startTime` and `endTime` are not sent, the most recent `limit` datas are returned.
     * If the number of data between `startTime` and `endTime` is larger than `limit`, return as `startTime` + `limit`.
     * In ascending order.
     *
     * Weight: share 500/5min/IP rate limit with GET /fapi/v1/fundingInfo
     *
     * @summary Get Funding Rate History
     * @param {GetFundingRateHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetFundingRateHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Get-Funding-Rate-History Binance API Documentation}
     */
    getFundingRateHistory(requestParameters?: GetFundingRateHistoryRequest): Promise<RestApiResponse<GetFundingRateHistoryResponse>>;
    /**
     * Query funding rate info for symbols that had FundingRateCap/ FundingRateFloor / fundingIntervalHours adjustment
     *
     * Weight: 0
     * share 500/5min/IP rate limit with GET /fapi/v1/fundingInfo
     *
     * @summary Get Funding Rate Info
     * @returns {Promise<RestApiResponse<GetFundingRateInfoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Get-Funding-Rate-Info Binance API Documentation}
     */
    getFundingRateInfo(): Promise<RestApiResponse<GetFundingRateInfoResponse>>;
    /**
     * The BLVT NAV system is based on Binance Futures, so the endpoint is based on fapi
     *
     * Weight: 1
     *
     * @summary Historical BLVT NAV Kline/Candlestick
     * @param {HistoricalBlvtNavKlineCandlestickRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HistoricalBlvtNavKlineCandlestickResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Historical-BLVT-NAV-Kline-Candlestick Binance API Documentation}
     */
    historicalBlvtNavKlineCandlestick(requestParameters: HistoricalBlvtNavKlineCandlestickRequest): Promise<RestApiResponse<HistoricalBlvtNavKlineCandlestickResponse>>;
    /**
     * Kline/candlestick bars for the index price of a pair.
     * Klines are uniquely identified by their open time.
     *
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Index Price Kline/Candlestick Data
     * @param {IndexPriceKlineCandlestickDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<IndexPriceKlineCandlestickDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Index-Price-Kline-Candlestick-Data Binance API Documentation}
     */
    indexPriceKlineCandlestickData(requestParameters: IndexPriceKlineCandlestickDataRequest): Promise<RestApiResponse<IndexPriceKlineCandlestickDataResponse>>;
    /**
     * Kline/candlestick bars for a symbol.
     * Klines are uniquely identified by their open time.
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Kline/Candlestick Data
     * @param {KlineCandlestickDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<KlineCandlestickDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Kline-Candlestick-Data Binance API Documentation}
     */
    klineCandlestickData(requestParameters: KlineCandlestickDataRequest): Promise<RestApiResponse<KlineCandlestickDataResponse>>;
    /**
     * Query symbol Long/Short Ratio
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Long/Short Ratio
     * @param {LongShortRatioRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<LongShortRatioResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Long-Short-Ratio Binance API Documentation}
     */
    longShortRatio(requestParameters: LongShortRatioRequest): Promise<RestApiResponse<LongShortRatioResponse>>;
    /**
     * Mark Price and Funding Rate
     *
     * Weight: 1
     *
     * @summary Mark Price
     * @param {MarkPriceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MarkPriceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Mark-Price Binance API Documentation}
     */
    markPrice(requestParameters?: MarkPriceRequest): Promise<RestApiResponse<MarkPriceResponse>>;
    /**
     * Kline/candlestick bars for the mark price of a symbol.
     * Klines are uniquely identified by their open time.
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Mark Price Kline/Candlestick Data
     * @param {MarkPriceKlineCandlestickDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MarkPriceKlineCandlestickDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Mark-Price-Kline-Candlestick-Data Binance API Documentation}
     */
    markPriceKlineCandlestickData(requestParameters: MarkPriceKlineCandlestickDataRequest): Promise<RestApiResponse<MarkPriceKlineCandlestickDataResponse>>;
    /**
     * asset index for Multi-Assets mode
     *
     * Weight: 1 for a single symbol; 10 when the symbol parameter is omitted
     *
     * @summary Multi-Assets Mode Asset Index
     * @param {MultiAssetsModeAssetIndexRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MultiAssetsModeAssetIndexResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Multi-Assets-Mode-Asset-Index Binance API Documentation}
     */
    multiAssetsModeAssetIndex(requestParameters?: MultiAssetsModeAssetIndexRequest$1): Promise<RestApiResponse<MultiAssetsModeAssetIndexResponse$1>>;
    /**
     * Get older market historical trades.
     *
     * Market trades means trades filled in the order book. Only market trades will be returned, which means the insurance fund trades and ADL trades won't be returned.
     * Only supports data from within the last three months
     *
     * Weight: 20
     *
     * @summary Old Trades Lookup (MARKET_DATA)
     * @param {OldTradesLookupRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OldTradesLookupResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Old-Trades-Lookup Binance API Documentation}
     */
    oldTradesLookup(requestParameters: OldTradesLookupRequest): Promise<RestApiResponse<OldTradesLookupResponse>>;
    /**
     * Get present open interest of a specific symbol.
     *
     * Weight: 1
     *
     * @summary Open Interest
     * @param {OpenInterestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OpenInterestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Open-Interest Binance API Documentation}
     */
    openInterest(requestParameters: OpenInterestRequest): Promise<RestApiResponse<OpenInterestResponse>>;
    /**
     * Open Interest Statistics
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 1 month is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Open Interest Statistics
     * @param {OpenInterestStatisticsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OpenInterestStatisticsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Open-Interest-Statistics Binance API Documentation}
     */
    openInterestStatistics(requestParameters: OpenInterestStatisticsRequest): Promise<RestApiResponse<OpenInterestStatisticsResponse>>;
    /**
     * Query symbol orderbook
     *
     * Weight: Adjusted based on the limit:
     * | Limit         | Weight |
     * | ------------- | ------ |
     * | 5, 10, 20, 50 | 2      |
     * | 100           | 5      |
     * | 500           | 10     |
     * | 1000          | 20     |
     *
     * @summary Order Book
     * @param {OrderBookRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderBookResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Order-Book Binance API Documentation}
     */
    orderBook(requestParameters: OrderBookRequest$1): Promise<RestApiResponse<OrderBookResponse$1>>;
    /**
     * Premium index kline bars of a symbol. Klines are uniquely identified by their open time.
     *
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Premium index Kline Data
     * @param {PremiumIndexKlineDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PremiumIndexKlineDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Premium-index-Kline-Data Binance API Documentation}
     */
    premiumIndexKlineData(requestParameters: PremiumIndexKlineDataRequest): Promise<RestApiResponse<PremiumIndexKlineDataResponse>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * Weight: 0
     *
     * @summary Quarterly Contract Settlement Price
     * @param {QuarterlyContractSettlementPriceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QuarterlyContractSettlementPriceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Delivery-Price Binance API Documentation}
     */
    quarterlyContractSettlementPrice(requestParameters: QuarterlyContractSettlementPriceRequest): Promise<RestApiResponse<QuarterlyContractSettlementPriceResponse>>;
    /**
     * Query index price constituents
     *
     * Weight: 2
     *
     * @summary Query Index Price Constituents
     * @param {QueryIndexPriceConstituentsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QueryIndexPriceConstituentsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Index-Constituents Binance API Documentation}
     */
    queryIndexPriceConstituents(requestParameters: QueryIndexPriceConstituentsRequest): Promise<RestApiResponse<QueryIndexPriceConstituentsResponse>>;
    /**
     * Get recent market trades
     *
     * Market trades means trades filled in the order book. Only market trades will be returned, which means the insurance fund trades and ADL trades won't be returned.
     *
     * Weight: 5
     *
     * @summary Recent Trades List
     * @param {RecentTradesListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<RecentTradesListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Recent-Trades-List Binance API Documentation}
     */
    recentTradesList(requestParameters: RecentTradesListRequest): Promise<RestApiResponse<RecentTradesListResponse>>;
    /**
     * Best price/qty on the order book for a symbol or symbols.
     *
     * If the symbol is not sent, bookTickers for all symbols will be returned in an array.
     * The field `X-MBX-USED-WEIGHT-1M` in response header is not accurate from this endpoint, please ignore.
     *
     * Weight: 2 for a single symbol;
     * 5 when the symbol parameter is omitted
     *
     * @summary Symbol Order Book Ticker
     * @param {SymbolOrderBookTickerRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SymbolOrderBookTickerResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Symbol-Order-Book-Ticker Binance API Documentation}
     */
    symbolOrderBookTicker(requestParameters?: SymbolOrderBookTickerRequest$1): Promise<RestApiResponse<SymbolOrderBookTickerResponse$1>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * If the symbol is not sent, prices for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol;
     * 2 when the symbol parameter is omitted
     *
     * @summary Symbol Price Ticker
     * @param {SymbolPriceTickerRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SymbolPriceTickerResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Symbol-Price-Ticker Binance API Documentation}
     */
    symbolPriceTicker(requestParameters?: SymbolPriceTickerRequest$1): Promise<RestApiResponse<SymbolPriceTickerResponse$1>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * If the symbol is not sent, prices for all symbols will be returned in an array.
     * The field `X-MBX-USED-WEIGHT-1M` in response header is not accurate from this endpoint, please ignore.
     *
     * Weight: 1 for a single symbol;
     * 2 when the symbol parameter is omitted
     *
     * @summary Symbol Price Ticker V2
     * @param {SymbolPriceTickerV2Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SymbolPriceTickerV2Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Symbol-Price-Ticker-V2 Binance API Documentation}
     */
    symbolPriceTickerV2(requestParameters?: SymbolPriceTickerV2Request): Promise<RestApiResponse<SymbolPriceTickerV2Response>>;
    /**
     * Taker Buy/Sell Volume
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Taker Buy/Sell Volume
     * @param {TakerBuySellVolumeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TakerBuySellVolumeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Taker-BuySell-Volume Binance API Documentation}
     */
    takerBuySellVolume(requestParameters: TakerBuySellVolumeRequest): Promise<RestApiResponse<TakerBuySellVolumeResponse>>;
    /**
     * Test connectivity to the Rest API.
     *
     * Weight: 1
     *
     * @summary Test Connectivity
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Test-Connectivity Binance API Documentation}
     */
    testConnectivity(): Promise<RestApiResponse<void>>;
    /**
     * 24 hour rolling window price change statistics.
     **Careful** when accessing this with no symbol.
     *
     * If the symbol is not sent, tickers for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol;
     * 40 when the symbol parameter is omitted
     *
     * @summary 24hr Ticker Price Change Statistics
     * @param {Ticker24hrPriceChangeStatisticsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<Ticker24hrPriceChangeStatisticsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/24hr-Ticker-Price-Change-Statistics Binance API Documentation}
     */
    ticker24hrPriceChangeStatistics(requestParameters?: Ticker24hrPriceChangeStatisticsRequest): Promise<RestApiResponse<Ticker24hrPriceChangeStatisticsResponse>>;
    /**
     * The proportion of net long and net short accounts to total accounts of the top 20% users with the highest margin balance. Each account is counted once only.
     * Long Account % = Accounts of top traders with net long positions / Total accounts of top traders with open positions
     * Short Account % = Accounts of top traders with net short positions / Total accounts of top traders with open positions
     * Long/Short Ratio (Accounts) = Long Account % / Short Account %
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Top Trader Long/Short Ratio (Accounts)
     * @param {TopTraderLongShortRatioAccountsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TopTraderLongShortRatioAccountsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Top-Long-Short-Account-Ratio Binance API Documentation}
     */
    topTraderLongShortRatioAccounts(requestParameters: TopTraderLongShortRatioAccountsRequest): Promise<RestApiResponse<TopTraderLongShortRatioAccountsResponse>>;
    /**
     * The proportion of net long and net short positions to total open positions of the top 20% users with the highest margin balance.
     * Long Position % = Long positions of top traders / Total open positions of top traders
     * Short Position % = Short positions of top traders / Total open positions of top traders
     * Long/Short Ratio (Positions) = Long Position % / Short Position %
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Top Trader Long/Short Ratio (Positions)
     * @param {TopTraderLongShortRatioPositionsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TopTraderLongShortRatioPositionsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Top-Trader-Long-Short-Ratio Binance API Documentation}
     */
    topTraderLongShortRatioPositions(requestParameters: TopTraderLongShortRatioPositionsRequest): Promise<RestApiResponse<TopTraderLongShortRatioPositionsResponse>>;
}
declare const BasisContractTypeEnum: {
    readonly PERPETUAL: "PERPETUAL";
    readonly CURRENT_MONTH: "CURRENT_MONTH";
    readonly NEXT_MONTH: "NEXT_MONTH";
    readonly CURRENT_QUARTER: "CURRENT_QUARTER";
    readonly NEXT_QUARTER: "NEXT_QUARTER";
    readonly PERPETUAL_DELIVERING: "PERPETUAL_DELIVERING";
};
type BasisContractTypeEnum = (typeof BasisContractTypeEnum)[keyof typeof BasisContractTypeEnum];
declare const BasisPeriodEnum: {
    readonly PERIOD_5m: "5m";
    readonly PERIOD_15m: "15m";
    readonly PERIOD_30m: "30m";
    readonly PERIOD_1h: "1h";
    readonly PERIOD_2h: "2h";
    readonly PERIOD_4h: "4h";
    readonly PERIOD_6h: "6h";
    readonly PERIOD_12h: "12h";
    readonly PERIOD_1d: "1d";
};
type BasisPeriodEnum = (typeof BasisPeriodEnum)[keyof typeof BasisPeriodEnum];
declare const ContinuousContractKlineCandlestickDataContractTypeEnum: {
    readonly PERPETUAL: "PERPETUAL";
    readonly CURRENT_MONTH: "CURRENT_MONTH";
    readonly NEXT_MONTH: "NEXT_MONTH";
    readonly CURRENT_QUARTER: "CURRENT_QUARTER";
    readonly NEXT_QUARTER: "NEXT_QUARTER";
    readonly PERPETUAL_DELIVERING: "PERPETUAL_DELIVERING";
};
type ContinuousContractKlineCandlestickDataContractTypeEnum = (typeof ContinuousContractKlineCandlestickDataContractTypeEnum)[keyof typeof ContinuousContractKlineCandlestickDataContractTypeEnum];
declare const ContinuousContractKlineCandlestickDataIntervalEnum: {
    readonly INTERVAL_1m: "1m";
    readonly INTERVAL_3m: "3m";
    readonly INTERVAL_5m: "5m";
    readonly INTERVAL_15m: "15m";
    readonly INTERVAL_30m: "30m";
    readonly INTERVAL_1h: "1h";
    readonly INTERVAL_2h: "2h";
    readonly INTERVAL_4h: "4h";
    readonly INTERVAL_6h: "6h";
    readonly INTERVAL_8h: "8h";
    readonly INTERVAL_12h: "12h";
    readonly INTERVAL_1d: "1d";
    readonly INTERVAL_3d: "3d";
    readonly INTERVAL_1w: "1w";
    readonly INTERVAL_1M: "1M";
};
type ContinuousContractKlineCandlestickDataIntervalEnum = (typeof ContinuousContractKlineCandlestickDataIntervalEnum)[keyof typeof ContinuousContractKlineCandlestickDataIntervalEnum];
declare const HistoricalBlvtNavKlineCandlestickIntervalEnum: {
    readonly INTERVAL_1m: "1m";
    readonly INTERVAL_3m: "3m";
    readonly INTERVAL_5m: "5m";
    readonly INTERVAL_15m: "15m";
    readonly INTERVAL_30m: "30m";
    readonly INTERVAL_1h: "1h";
    readonly INTERVAL_2h: "2h";
    readonly INTERVAL_4h: "4h";
    readonly INTERVAL_6h: "6h";
    readonly INTERVAL_8h: "8h";
    readonly INTERVAL_12h: "12h";
    readonly INTERVAL_1d: "1d";
    readonly INTERVAL_3d: "3d";
    readonly INTERVAL_1w: "1w";
    readonly INTERVAL_1M: "1M";
};
type HistoricalBlvtNavKlineCandlestickIntervalEnum = (typeof HistoricalBlvtNavKlineCandlestickIntervalEnum)[keyof typeof HistoricalBlvtNavKlineCandlestickIntervalEnum];
declare const IndexPriceKlineCandlestickDataIntervalEnum: {
    readonly INTERVAL_1m: "1m";
    readonly INTERVAL_3m: "3m";
    readonly INTERVAL_5m: "5m";
    readonly INTERVAL_15m: "15m";
    readonly INTERVAL_30m: "30m";
    readonly INTERVAL_1h: "1h";
    readonly INTERVAL_2h: "2h";
    readonly INTERVAL_4h: "4h";
    readonly INTERVAL_6h: "6h";
    readonly INTERVAL_8h: "8h";
    readonly INTERVAL_12h: "12h";
    readonly INTERVAL_1d: "1d";
    readonly INTERVAL_3d: "3d";
    readonly INTERVAL_1w: "1w";
    readonly INTERVAL_1M: "1M";
};
type IndexPriceKlineCandlestickDataIntervalEnum = (typeof IndexPriceKlineCandlestickDataIntervalEnum)[keyof typeof IndexPriceKlineCandlestickDataIntervalEnum];
declare const KlineCandlestickDataIntervalEnum: {
    readonly INTERVAL_1m: "1m";
    readonly INTERVAL_3m: "3m";
    readonly INTERVAL_5m: "5m";
    readonly INTERVAL_15m: "15m";
    readonly INTERVAL_30m: "30m";
    readonly INTERVAL_1h: "1h";
    readonly INTERVAL_2h: "2h";
    readonly INTERVAL_4h: "4h";
    readonly INTERVAL_6h: "6h";
    readonly INTERVAL_8h: "8h";
    readonly INTERVAL_12h: "12h";
    readonly INTERVAL_1d: "1d";
    readonly INTERVAL_3d: "3d";
    readonly INTERVAL_1w: "1w";
    readonly INTERVAL_1M: "1M";
};
type KlineCandlestickDataIntervalEnum = (typeof KlineCandlestickDataIntervalEnum)[keyof typeof KlineCandlestickDataIntervalEnum];
declare const LongShortRatioPeriodEnum: {
    readonly PERIOD_5m: "5m";
    readonly PERIOD_15m: "15m";
    readonly PERIOD_30m: "30m";
    readonly PERIOD_1h: "1h";
    readonly PERIOD_2h: "2h";
    readonly PERIOD_4h: "4h";
    readonly PERIOD_6h: "6h";
    readonly PERIOD_12h: "12h";
    readonly PERIOD_1d: "1d";
};
type LongShortRatioPeriodEnum = (typeof LongShortRatioPeriodEnum)[keyof typeof LongShortRatioPeriodEnum];
declare const MarkPriceKlineCandlestickDataIntervalEnum: {
    readonly INTERVAL_1m: "1m";
    readonly INTERVAL_3m: "3m";
    readonly INTERVAL_5m: "5m";
    readonly INTERVAL_15m: "15m";
    readonly INTERVAL_30m: "30m";
    readonly INTERVAL_1h: "1h";
    readonly INTERVAL_2h: "2h";
    readonly INTERVAL_4h: "4h";
    readonly INTERVAL_6h: "6h";
    readonly INTERVAL_8h: "8h";
    readonly INTERVAL_12h: "12h";
    readonly INTERVAL_1d: "1d";
    readonly INTERVAL_3d: "3d";
    readonly INTERVAL_1w: "1w";
    readonly INTERVAL_1M: "1M";
};
type MarkPriceKlineCandlestickDataIntervalEnum = (typeof MarkPriceKlineCandlestickDataIntervalEnum)[keyof typeof MarkPriceKlineCandlestickDataIntervalEnum];
declare const OpenInterestStatisticsPeriodEnum: {
    readonly PERIOD_5m: "5m";
    readonly PERIOD_15m: "15m";
    readonly PERIOD_30m: "30m";
    readonly PERIOD_1h: "1h";
    readonly PERIOD_2h: "2h";
    readonly PERIOD_4h: "4h";
    readonly PERIOD_6h: "6h";
    readonly PERIOD_12h: "12h";
    readonly PERIOD_1d: "1d";
};
type OpenInterestStatisticsPeriodEnum = (typeof OpenInterestStatisticsPeriodEnum)[keyof typeof OpenInterestStatisticsPeriodEnum];
declare const PremiumIndexKlineDataIntervalEnum: {
    readonly INTERVAL_1m: "1m";
    readonly INTERVAL_3m: "3m";
    readonly INTERVAL_5m: "5m";
    readonly INTERVAL_15m: "15m";
    readonly INTERVAL_30m: "30m";
    readonly INTERVAL_1h: "1h";
    readonly INTERVAL_2h: "2h";
    readonly INTERVAL_4h: "4h";
    readonly INTERVAL_6h: "6h";
    readonly INTERVAL_8h: "8h";
    readonly INTERVAL_12h: "12h";
    readonly INTERVAL_1d: "1d";
    readonly INTERVAL_3d: "3d";
    readonly INTERVAL_1w: "1w";
    readonly INTERVAL_1M: "1M";
};
type PremiumIndexKlineDataIntervalEnum = (typeof PremiumIndexKlineDataIntervalEnum)[keyof typeof PremiumIndexKlineDataIntervalEnum];
declare const TakerBuySellVolumePeriodEnum: {
    readonly PERIOD_5m: "5m";
    readonly PERIOD_15m: "15m";
    readonly PERIOD_30m: "30m";
    readonly PERIOD_1h: "1h";
    readonly PERIOD_2h: "2h";
    readonly PERIOD_4h: "4h";
    readonly PERIOD_6h: "6h";
    readonly PERIOD_12h: "12h";
    readonly PERIOD_1d: "1d";
};
type TakerBuySellVolumePeriodEnum = (typeof TakerBuySellVolumePeriodEnum)[keyof typeof TakerBuySellVolumePeriodEnum];
declare const TopTraderLongShortRatioAccountsPeriodEnum: {
    readonly PERIOD_5m: "5m";
    readonly PERIOD_15m: "15m";
    readonly PERIOD_30m: "30m";
    readonly PERIOD_1h: "1h";
    readonly PERIOD_2h: "2h";
    readonly PERIOD_4h: "4h";
    readonly PERIOD_6h: "6h";
    readonly PERIOD_12h: "12h";
    readonly PERIOD_1d: "1d";
};
type TopTraderLongShortRatioAccountsPeriodEnum = (typeof TopTraderLongShortRatioAccountsPeriodEnum)[keyof typeof TopTraderLongShortRatioAccountsPeriodEnum];
declare const TopTraderLongShortRatioPositionsPeriodEnum: {
    readonly PERIOD_5m: "5m";
    readonly PERIOD_15m: "15m";
    readonly PERIOD_30m: "30m";
    readonly PERIOD_1h: "1h";
    readonly PERIOD_2h: "2h";
    readonly PERIOD_4h: "4h";
    readonly PERIOD_6h: "6h";
    readonly PERIOD_12h: "12h";
    readonly PERIOD_1d: "1d";
};
type TopTraderLongShortRatioPositionsPeriodEnum = (typeof TopTraderLongShortRatioPositionsPeriodEnum)[keyof typeof TopTraderLongShortRatioPositionsPeriodEnum];

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * PortfolioMarginEndpointsApi - interface
 * @interface PortfolioMarginEndpointsApi
 */
interface PortfolioMarginEndpointsApiInterface {
    /**
     * Get Classic Portfolio Margin current account information.
     *
     *
     * maxWithdrawAmount is for asset transfer out to the spot wallet.
     *
     * Weight: 5
     *
     * @summary Classic Portfolio Margin Account Information (USER_DATA)
     * @param {ClassicPortfolioMarginAccountInformationRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof PortfolioMarginEndpointsApiInterface
     */
    classicPortfolioMarginAccountInformation(requestParameters: ClassicPortfolioMarginAccountInformationRequest): Promise<RestApiResponse<ClassicPortfolioMarginAccountInformationResponse>>;
}
/**
 * Request parameters for classicPortfolioMarginAccountInformation operation in PortfolioMarginEndpointsApi.
 * @interface ClassicPortfolioMarginAccountInformationRequest
 */
interface ClassicPortfolioMarginAccountInformationRequest {
    /**
     *
     * @type {string}
     * @memberof PortfolioMarginEndpointsApiClassicPortfolioMarginAccountInformation
     */
    readonly asset: string;
    /**
     *
     * @type {number}
     * @memberof PortfolioMarginEndpointsApiClassicPortfolioMarginAccountInformation
     */
    readonly recvWindow?: number;
}
/**
 * PortfolioMarginEndpointsApi - object-oriented interface
 * @class PortfolioMarginEndpointsApi
 */
declare class PortfolioMarginEndpointsApi implements PortfolioMarginEndpointsApiInterface {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Get Classic Portfolio Margin current account information.
     *
     *
     * maxWithdrawAmount is for asset transfer out to the spot wallet.
     *
     * Weight: 5
     *
     * @summary Classic Portfolio Margin Account Information (USER_DATA)
     * @param {ClassicPortfolioMarginAccountInformationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ClassicPortfolioMarginAccountInformationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof PortfolioMarginEndpointsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/portfolio-margin-endpoints/Classic-Portfolio-Margin-Account-Information Binance API Documentation}
     */
    classicPortfolioMarginAccountInformation(requestParameters: ClassicPortfolioMarginAccountInformationRequest): Promise<RestApiResponse<ClassicPortfolioMarginAccountInformationResponse>>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * TradeApi - interface
 * @interface TradeApi
 */
interface TradeApiInterface$1 {
    /**
     * Get trades for a specific account and symbol.
     *
     * If `startTime` and `endTime` are both not sent, then the last 7 days' data will be returned.
     * The time between `startTime` and `endTime` cannot be longer than 7 days.
     * The parameter `fromId` cannot be sent with `startTime` or `endTime`.
     * Only support querying trade in the past 6 months
     *
     * Weight: 5
     *
     * @summary Account Trade List (USER_DATA)
     * @param {AccountTradeListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    accountTradeList(requestParameters: AccountTradeListRequest): Promise<RestApiResponse<AccountTradeListResponse>>;
    /**
     * Get all account orders; active, canceled, or filled.
     *
     * These orders will not be found:
     * order status is `CANCELED` or `EXPIRED` **AND** order has NO filled trade **AND** created time + 3 days < current time
     * order create time + 90 days < current time
     *
     * If `orderId` is set, it will get orders >= that `orderId`. Otherwise most recent orders are returned.
     * The query time period must be less then 7 days( default as the recent 7 days).
     *
     * Weight: 5
     *
     * @summary All Orders (USER_DATA)
     * @param {AllOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    allOrders(requestParameters: AllOrdersRequest): Promise<RestApiResponse<AllOrdersResponse>>;
    /**
     * Cancel all open orders of the specified symbol at the end of the specified countdown.
     * The endpoint should be called repeatedly as heartbeats so that the existing countdown time can be canceled and replaced by a new one.
     *
     * Example usage:
     * Call this endpoint at 30s intervals with an countdownTime of 120000 (120s).
     * If this endpoint is not called within 120 seconds, all your orders of the specified symbol will be automatically canceled.
     * If this endpoint is called with an countdownTime of 0, the countdown timer will be stopped.
     *
     * The system will check all countdowns **approximately every 10 milliseconds**, so please note that sufficient redundancy should be considered when using this function. We do not recommend setting the countdown time to be too precise or too small.
     *
     * Weight: 10
     *
     * @summary Auto-Cancel All Open Orders (TRADE)
     * @param {AutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    autoCancelAllOpenOrders(requestParameters: AutoCancelAllOpenOrdersRequest): Promise<RestApiResponse<AutoCancelAllOpenOrdersResponse>>;
    /**
     * Cancel All Open Orders
     *
     * Weight: 1
     *
     * @summary Cancel All Open Orders (TRADE)
     * @param {CancelAllOpenOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    cancelAllOpenOrders(requestParameters: CancelAllOpenOrdersRequest): Promise<RestApiResponse<CancelAllOpenOrdersResponse>>;
    /**
     * Cancel Multiple Orders
     *
     * Either `orderIdList` or `origClientOrderIdList ` must be sent.
     *
     * Weight: 1
     *
     * @summary Cancel Multiple Orders (TRADE)
     * @param {CancelMultipleOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    cancelMultipleOrders(requestParameters: CancelMultipleOrdersRequest): Promise<RestApiResponse<CancelMultipleOrdersResponse>>;
    /**
     * Cancel an active order.
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     *
     * Weight: 1
     *
     * @summary Cancel Order (TRADE)
     * @param {CancelOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    cancelOrder(requestParameters: CancelOrderRequest$1): Promise<RestApiResponse<CancelOrderResponse$1>>;
    /**
     * Change user's initial leverage of specific symbol market.
     *
     * Weight: 1
     *
     * @summary Change Initial Leverage(TRADE)
     * @param {ChangeInitialLeverageRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    changeInitialLeverage(requestParameters: ChangeInitialLeverageRequest): Promise<RestApiResponse<ChangeInitialLeverageResponse>>;
    /**
     * Change symbol level margin type
     *
     * Weight: 1
     *
     * @summary Change Margin Type(TRADE)
     * @param {ChangeMarginTypeRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    changeMarginType(requestParameters: ChangeMarginTypeRequest): Promise<RestApiResponse<ChangeMarginTypeResponse>>;
    /**
     * Change user's Multi-Assets mode (Multi-Assets Mode or Single-Asset Mode) on ***Every symbol***
     *
     * Weight: 1
     *
     * @summary Change Multi-Assets Mode (TRADE)
     * @param {ChangeMultiAssetsModeRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    changeMultiAssetsMode(requestParameters: ChangeMultiAssetsModeRequest): Promise<RestApiResponse<ChangeMultiAssetsModeResponse>>;
    /**
     * Change user's position mode (Hedge Mode or One-way Mode ) on ***EVERY symbol***
     *
     * Weight: 1
     *
     * @summary Change Position Mode(TRADE)
     * @param {ChangePositionModeRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    changePositionMode(requestParameters: ChangePositionModeRequest): Promise<RestApiResponse<ChangePositionModeResponse>>;
    /**
     * Get all open orders on a symbol.
     *
     * If the symbol is not sent, orders for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol; 40 when the symbol parameter is omitted
     * Careful when accessing this with no symbol.
     *
     * @summary Current All Open Orders (USER_DATA)
     * @param {CurrentAllOpenOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    currentAllOpenOrders(requestParameters?: CurrentAllOpenOrdersRequest): Promise<RestApiResponse<CurrentAllOpenOrdersResponse>>;
    /**
     * Get order modification history
     *
     * Either `orderId` or `origClientOrderId` must be sent, and the `orderId` will prevail if both are sent.
     * Order modify history longer than 3 month is not avaliable
     *
     * Weight: 1
     *
     * @summary Get Order Modify History (USER_DATA)
     * @param {GetOrderModifyHistoryRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    getOrderModifyHistory(requestParameters: GetOrderModifyHistoryRequest): Promise<RestApiResponse<GetOrderModifyHistoryResponse>>;
    /**
     * Get Position Margin Change History
     *
     * Support querying future histories that are not older than 30 days
     * The time between `startTime` and `endTime`can't be more than 30 days
     *
     * Weight: 1
     *
     * @summary Get Position Margin Change History (TRADE)
     * @param {GetPositionMarginChangeHistoryRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    getPositionMarginChangeHistory(requestParameters: GetPositionMarginChangeHistoryRequest): Promise<RestApiResponse<GetPositionMarginChangeHistoryResponse>>;
    /**
     * Modify Isolated Position Margin
     *
     *
     * Only for isolated symbol
     *
     * Weight: 1
     *
     * @summary Modify Isolated Position Margin(TRADE)
     * @param {ModifyIsolatedPositionMarginRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    modifyIsolatedPositionMargin(requestParameters: ModifyIsolatedPositionMarginRequest): Promise<RestApiResponse<ModifyIsolatedPositionMarginResponse>>;
    /**
     * Modify Multiple Orders (TRADE)
     *
     * Parameter rules are same with `Modify Order`
     * Batch modify orders are processed concurrently, and the order of matching is not guaranteed.
     * The order of returned contents for batch modify orders is the same as the order of the order list.
     * One order can only be modfied for less than 10000 times
     *
     * Weight: 5 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 5 on IP rate limit(x-mbx-used-weight-1m);
     *
     * @summary Modify Multiple Orders(TRADE)
     * @param {ModifyMultipleOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    modifyMultipleOrders(requestParameters: ModifyMultipleOrdersRequest): Promise<RestApiResponse<ModifyMultipleOrdersResponse>>;
    /**
     * Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
     *
     *
     * Either `orderId` or `origClientOrderId` must be sent, and the `orderId` will prevail if both are sent.
     * Both `quantity` and `price` must be sent, which is different from dapi modify order endpoint.
     * When the new `quantity` or `price` doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
     * However the order will be cancelled by the amendment in the following situations:
     * when the order is in partially filled status and the new `quantity` <= `executedQty`
     * When the order is `GTX` and the new price will cause it to be executed immediately
     * One order can only be modfied for less than 10000 times
     * Modify order will set `selfTradePreventionMode` to `NONE`
     *
     * Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 1 on IP rate limit(x-mbx-used-weight-1m)
     *
     * @summary Modify Order (TRADE)
     * @param {ModifyOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    modifyOrder(requestParameters: ModifyOrderRequest$1): Promise<RestApiResponse<ModifyOrderResponse$1>>;
    /**
     * Send in a new order.
     *
     * Order with type `STOP`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Order with type `TAKE_PROFIT`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Condition orders will be triggered when:
     *
     * If parameter`priceProtect`is sent as true:
     * when price reaches the `stopPrice` ，the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbol
     * "triggerProtect" of a symbol can be got from `GET /fapi/v1/exchangeInfo`
     *
     * `STOP`, `STOP_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * `TAKE_PROFIT`, `TAKE_PROFIT_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * `TRAILING_STOP_MARKET`:
     * BUY: the lowest price after order placed `<= `activationPrice`, and the latest price >`= the lowest price * (1 + `callbackRate`)
     * SELL: the highest price after order placed >= `activationPrice`, and the latest price <= the highest price * (1 - `callbackRate`)
     *
     * For `TRAILING_STOP_MARKET`, if you got such error code.
     * ``{"code": -2021, "msg": "Order would immediately trigger."}``
     * means that the parameters you send do not meet the following requirements:
     * BUY: `activationPrice` should be smaller than latest price.
     * SELL: `activationPrice` should be larger than latest price.
     *
     * If `newOrderRespType ` is sent as `RESULT` :
     * `MARKET` order: the final FILLED result of the order will be return directly.
     * `LIMIT` order with special `timeInForce`: the final status result of the order(FILLED or EXPIRED) will be returned directly.
     *
     * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
     * Follow the same rules for condition orders.
     * If triggered，**close all** current long position( if `SELL`) or current short position( if `BUY`).
     * Cannot be used with `quantity` paremeter
     * Cannot be used with `reduceOnly` parameter
     * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
     * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
     * In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
     *
     * Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 0 on IP rate limit(x-mbx-used-weight-1m)
     *
     * @summary New Order(TRADE)
     * @param {NewOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    newOrder(requestParameters: NewOrderRequest$1): Promise<RestApiResponse<NewOrderResponse$1>>;
    /**
     * Place Multiple Orders
     *
     * Paremeter rules are same with `New Order`
     * Batch orders are processed concurrently, and the order of matching is not guaranteed.
     * The order of returned contents for batch orders is the same as the order of the order list.
     *
     * Weight: 5 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 5 on IP rate limit(x-mbx-used-weight-1m);
     *
     * @summary Place Multiple Orders(TRADE)
     * @param {PlaceMultipleOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    placeMultipleOrders(requestParameters: PlaceMultipleOrdersRequest): Promise<RestApiResponse<PlaceMultipleOrdersResponse>>;
    /**
     * Position ADL Quantile Estimation
     *
     * Values update every 30s.
     * Values 0, 1, 2, 3, 4 shows the queue position and possibility of ADL from low to high.
     * For positions of the symbol are in One-way Mode or isolated margined in Hedge Mode, "LONG", "SHORT", and "BOTH" will be returned to show the positions' adl quantiles of different position sides.
     * If the positions of the symbol are crossed margined in Hedge Mode:
     * "HEDGE" as a sign will be returned instead of "BOTH";
     * A same value caculated on unrealized pnls on long and short sides' positions will be shown for "LONG" and "SHORT" when there are positions in both of long and short sides.
     *
     * Weight: 5
     *
     * @summary Position ADL Quantile Estimation(USER_DATA)
     * @param {PositionAdlQuantileEstimationRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    positionAdlQuantileEstimation(requestParameters?: PositionAdlQuantileEstimationRequest): Promise<RestApiResponse<PositionAdlQuantileEstimationResponse>>;
    /**
     * Get current position information.
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information V2 (USER_DATA)
     * @param {PositionInformationV2Request} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    positionInformationV2(requestParameters?: PositionInformationV2Request$1): Promise<RestApiResponse<PositionInformationV2Response$1>>;
    /**
     * Get current position information(only symbol that has position or open orders will be returned).
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information V3 (USER_DATA)
     * @param {PositionInformationV3Request} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    positionInformationV3(requestParameters?: PositionInformationV3Request): Promise<RestApiResponse<PositionInformationV3Response>>;
    /**
     * Query open order
     *
     *
     * Either`orderId` or `origClientOrderId` must be sent
     * If the queried order has been filled or cancelled, the error message "Order does not exist" will be returned.
     *
     * Weight: 1
     *
     * @summary Query Current Open Order (USER_DATA)
     * @param {QueryCurrentOpenOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    queryCurrentOpenOrder(requestParameters: QueryCurrentOpenOrderRequest): Promise<RestApiResponse<QueryCurrentOpenOrderResponse>>;
    /**
     * Check an order's status.
     *
     * These orders will not be found:
     * order status is `CANCELED` or `EXPIRED` **AND** order has NO filled trade **AND** created time + 3 days < current time
     * order create time + 90 days < current time
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     * `orderId` is self-increment for each specific `symbol`
     *
     * Weight: 1
     *
     * @summary Query Order (USER_DATA)
     * @param {QueryOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    queryOrder(requestParameters: QueryOrderRequest$1): Promise<RestApiResponse<QueryOrderResponse$1>>;
    /**
     * Testing order request, this order will not be submitted to matching engine
     *
     * Order with type `STOP`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Order with type `TAKE_PROFIT`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Condition orders will be triggered when:
     *
     * If parameter`priceProtect`is sent as true:
     * when price reaches the `stopPrice` ，the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbol
     * "triggerProtect" of a symbol can be got from `GET /fapi/v1/exchangeInfo`
     *
     * `STOP`, `STOP_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * `TAKE_PROFIT`, `TAKE_PROFIT_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * `TRAILING_STOP_MARKET`:
     * BUY: the lowest price after order placed `<= `activationPrice`, and the latest price >`= the lowest price * (1 + `callbackRate`)
     * SELL: the highest price after order placed >= `activationPrice`, and the latest price <= the highest price * (1 - `callbackRate`)
     *
     * For `TRAILING_STOP_MARKET`, if you got such error code.
     * ``{"code": -2021, "msg": "Order would immediately trigger."}``
     * means that the parameters you send do not meet the following requirements:
     * BUY: `activationPrice` should be smaller than latest price.
     * SELL: `activationPrice` should be larger than latest price.
     *
     * If `newOrderRespType ` is sent as `RESULT` :
     * `MARKET` order: the final FILLED result of the order will be return directly.
     * `LIMIT` order with special `timeInForce`: the final status result of the order(FILLED or EXPIRED) will be returned directly.
     *
     * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
     * Follow the same rules for condition orders.
     * If triggered，**close all** current long position( if `SELL`) or current short position( if `BUY`).
     * Cannot be used with `quantity` paremeter
     * Cannot be used with `reduceOnly` parameter
     * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
     * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
     * In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
     *
     * Weight: 0
     *
     * @summary Test Order(TRADE)
     * @param {TestOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    testOrder(requestParameters: TestOrderRequest): Promise<RestApiResponse<TestOrderResponse>>;
    /**
     * Query user's Force Orders
     *
     * If "autoCloseType" is not sent, orders with both of the types will be returned
     * If "startTime" is not sent, data within 7 days before "endTime" can be queried
     *
     * Weight: 20 with symbol, 50 without symbol
     *
     * @summary User\'s Force Orders (USER_DATA)
     * @param {UsersForceOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    usersForceOrders(requestParameters?: UsersForceOrdersRequest): Promise<RestApiResponse<UsersForceOrdersResponse>>;
}
/**
 * Request parameters for accountTradeList operation in TradeApi.
 * @interface AccountTradeListRequest
 */
interface AccountTradeListRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiAccountTradeList
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiAccountTradeList
     */
    readonly orderId?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiAccountTradeList
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiAccountTradeList
     */
    readonly endTime?: number;
    /**
     * ID to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof TradeApiAccountTradeList
     */
    readonly fromId?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof TradeApiAccountTradeList
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiAccountTradeList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for allOrders operation in TradeApi.
 * @interface AllOrdersRequest
 */
interface AllOrdersRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiAllOrders
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiAllOrders
     */
    readonly orderId?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiAllOrders
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiAllOrders
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof TradeApiAllOrders
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiAllOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for autoCancelAllOpenOrders operation in TradeApi.
 * @interface AutoCancelAllOpenOrdersRequest
 */
interface AutoCancelAllOpenOrdersRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiAutoCancelAllOpenOrders
     */
    readonly symbol: string;
    /**
     * countdown time, 1000 for 1 second. 0 to cancel the timer
     * @type {number}
     * @memberof TradeApiAutoCancelAllOpenOrders
     */
    readonly countdownTime: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiAutoCancelAllOpenOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for cancelAllOpenOrders operation in TradeApi.
 * @interface CancelAllOpenOrdersRequest
 */
interface CancelAllOpenOrdersRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiCancelAllOpenOrders
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiCancelAllOpenOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for cancelMultipleOrders operation in TradeApi.
 * @interface CancelMultipleOrdersRequest
 */
interface CancelMultipleOrdersRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiCancelMultipleOrders
     */
    readonly symbol: string;
    /**
     * max length 10 <br /> e.g. [1234567,2345678]
     * @type {Array<number>}
     * @memberof TradeApiCancelMultipleOrders
     */
    readonly orderIdList?: Array<number>;
    /**
     * max length 10<br /> e.g. ["my_id_1","my_id_2"], encode the double quotes. No space after comma.
     * @type {Array<string>}
     * @memberof TradeApiCancelMultipleOrders
     */
    readonly origClientOrderIdList?: Array<string>;
    /**
     *
     * @type {number}
     * @memberof TradeApiCancelMultipleOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for cancelOrder operation in TradeApi.
 * @interface CancelOrderRequest
 */
interface CancelOrderRequest$1 {
    /**
     *
     * @type {string}
     * @memberof TradeApiCancelOrder
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiCancelOrder
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiCancelOrder
     */
    readonly origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiCancelOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for changeInitialLeverage operation in TradeApi.
 * @interface ChangeInitialLeverageRequest
 */
interface ChangeInitialLeverageRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiChangeInitialLeverage
     */
    readonly symbol: string;
    /**
     * target initial leverage: int from 1 to 125
     * @type {number}
     * @memberof TradeApiChangeInitialLeverage
     */
    readonly leverage: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiChangeInitialLeverage
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for changeMarginType operation in TradeApi.
 * @interface ChangeMarginTypeRequest
 */
interface ChangeMarginTypeRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiChangeMarginType
     */
    readonly symbol: string;
    /**
     * ISOLATED, CROSSED
     * @type {'ISOLATED' | 'CROSSED'}
     * @memberof TradeApiChangeMarginType
     */
    readonly marginType: ChangeMarginTypeMarginTypeEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiChangeMarginType
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for changeMultiAssetsMode operation in TradeApi.
 * @interface ChangeMultiAssetsModeRequest
 */
interface ChangeMultiAssetsModeRequest {
    /**
     * "true": Multi-Assets Mode; "false": Single-Asset Mode
     * @type {string}
     * @memberof TradeApiChangeMultiAssetsMode
     */
    readonly multiAssetsMargin: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiChangeMultiAssetsMode
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for changePositionMode operation in TradeApi.
 * @interface ChangePositionModeRequest
 */
interface ChangePositionModeRequest {
    /**
     * "true": Hedge Mode; "false": One-way Mode
     * @type {string}
     * @memberof TradeApiChangePositionMode
     */
    readonly dualSidePosition: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiChangePositionMode
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for currentAllOpenOrders operation in TradeApi.
 * @interface CurrentAllOpenOrdersRequest
 */
interface CurrentAllOpenOrdersRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiCurrentAllOpenOrders
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiCurrentAllOpenOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getOrderModifyHistory operation in TradeApi.
 * @interface GetOrderModifyHistoryRequest
 */
interface GetOrderModifyHistoryRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiGetOrderModifyHistory
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiGetOrderModifyHistory
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiGetOrderModifyHistory
     */
    readonly origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiGetOrderModifyHistory
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiGetOrderModifyHistory
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof TradeApiGetOrderModifyHistory
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiGetOrderModifyHistory
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getPositionMarginChangeHistory operation in TradeApi.
 * @interface GetPositionMarginChangeHistoryRequest
 */
interface GetPositionMarginChangeHistoryRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiGetPositionMarginChangeHistory
     */
    readonly symbol: string;
    /**
     * 1: Add position margin，2: Reduce position margin
     * @type {number}
     * @memberof TradeApiGetPositionMarginChangeHistory
     */
    readonly type?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiGetPositionMarginChangeHistory
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiGetPositionMarginChangeHistory
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof TradeApiGetPositionMarginChangeHistory
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiGetPositionMarginChangeHistory
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for modifyIsolatedPositionMargin operation in TradeApi.
 * @interface ModifyIsolatedPositionMarginRequest
 */
interface ModifyIsolatedPositionMarginRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiModifyIsolatedPositionMargin
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiModifyIsolatedPositionMargin
     */
    readonly amount: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiModifyIsolatedPositionMargin
     */
    readonly type: string;
    /**
     * Default `BOTH` for One-way Mode ; `LONG` or `SHORT` for Hedge Mode. It must be sent with Hedge Mode.
     * @type {'BOTH' | 'LONG' | 'SHORT'}
     * @memberof TradeApiModifyIsolatedPositionMargin
     */
    readonly positionSide?: ModifyIsolatedPositionMarginPositionSideEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiModifyIsolatedPositionMargin
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for modifyMultipleOrders operation in TradeApi.
 * @interface ModifyMultipleOrdersRequest
 */
interface ModifyMultipleOrdersRequest {
    /**
     * order list. Max 5 orders
     * @type {Array<ModifyMultipleOrdersBatchOrdersParameterInner>}
     * @memberof TradeApiModifyMultipleOrders
     */
    readonly batchOrders: Array<ModifyMultipleOrdersBatchOrdersParameterInner>;
    /**
     *
     * @type {number}
     * @memberof TradeApiModifyMultipleOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for modifyOrder operation in TradeApi.
 * @interface ModifyOrderRequest
 */
interface ModifyOrderRequest$1 {
    /**
     *
     * @type {string}
     * @memberof TradeApiModifyOrder
     */
    readonly symbol: string;
    /**
     * `SELL`, `BUY`
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiModifyOrder
     */
    readonly side: ModifyOrderSideEnum$1;
    /**
     * Order quantity, cannot be sent with `closePosition=true`
     * @type {number}
     * @memberof TradeApiModifyOrder
     */
    readonly quantity: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiModifyOrder
     */
    readonly price: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiModifyOrder
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiModifyOrder
     */
    readonly origClientOrderId?: string;
    /**
     * only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
     * @type {'NONE' | 'OPPONENT' | 'OPPONENT_5' | 'OPPONENT_10' | 'OPPONENT_20' | 'QUEUE' | 'QUEUE_5' | 'QUEUE_10' | 'QUEUE_20'}
     * @memberof TradeApiModifyOrder
     */
    readonly priceMatch?: ModifyOrderPriceMatchEnum$1;
    /**
     *
     * @type {number}
     * @memberof TradeApiModifyOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for newOrder operation in TradeApi.
 * @interface NewOrderRequest
 */
interface NewOrderRequest$1 {
    /**
     *
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly symbol: string;
    /**
     * `SELL`, `BUY`
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiNewOrder
     */
    readonly side: NewOrderSideEnum$1;
    /**
     *
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly type: string;
    /**
     * Default `BOTH` for One-way Mode ; `LONG` or `SHORT` for Hedge Mode. It must be sent with Hedge Mode.
     * @type {'BOTH' | 'LONG' | 'SHORT'}
     * @memberof TradeApiNewOrder
     */
    readonly positionSide?: NewOrderPositionSideEnum$1;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK' | 'GTX' | 'GTD'}
     * @memberof TradeApiNewOrder
     */
    readonly timeInForce?: NewOrderTimeInForceEnum$1;
    /**
     * Cannot be sent with `closePosition`=`true`(Close-All)
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly quantity?: number;
    /**
     * "true" or "false". default "false". Cannot be sent in Hedge Mode; cannot be sent with `closePosition`=`true`
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly reduceOnly?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly price?: number;
    /**
     * A unique id among open orders. Automatically generated if not sent. Can only be string following the rule: `^[\.A-Z\:/a-z0-9_-]{1,36}$`
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly newClientOrderId?: string;
    /**
     * Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders.
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly stopPrice?: number;
    /**
     * `true`, `false`；Close-All，used with `STOP_MARKET` or `TAKE_PROFIT_MARKET`.
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly closePosition?: string;
    /**
     * Used with `TRAILING_STOP_MARKET` orders, default as the latest price(supporting different `workingType`)
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly activationPrice?: number;
    /**
     * Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1%
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly callbackRate?: number;
    /**
     * stopPrice triggered by: "MARK_PRICE", "CONTRACT_PRICE". Default "CONTRACT_PRICE"
     * @type {'MARK_PRICE' | 'CONTRACT_PRICE'}
     * @memberof TradeApiNewOrder
     */
    readonly workingType?: NewOrderWorkingTypeEnum$1;
    /**
     * "TRUE" or "FALSE", default "FALSE". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders.
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly priceProtect?: string;
    /**
     * "ACK", "RESULT", default "ACK"
     * @type {'ACK' | 'RESULT'}
     * @memberof TradeApiNewOrder
     */
    readonly newOrderRespType?: NewOrderNewOrderRespTypeEnum$1;
    /**
     * only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
     * @type {'NONE' | 'OPPONENT' | 'OPPONENT_5' | 'OPPONENT_10' | 'OPPONENT_20' | 'QUEUE' | 'QUEUE_5' | 'QUEUE_10' | 'QUEUE_20'}
     * @memberof TradeApiNewOrder
     */
    readonly priceMatch?: NewOrderPriceMatchEnum$1;
    /**
     * `NONE`:No STP / `EXPIRE_TAKER`:expire taker order when STP triggers/ `EXPIRE_MAKER`:expire taker order when STP triggers/ `EXPIRE_BOTH`:expire both orders when STP triggers; default `NONE`
     * @type {'EXPIRE_TAKER' | 'EXPIRE_BOTH' | 'EXPIRE_MAKER'}
     * @memberof TradeApiNewOrder
     */
    readonly selfTradePreventionMode?: NewOrderSelfTradePreventionModeEnum$1;
    /**
     * order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly goodTillDate?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for placeMultipleOrders operation in TradeApi.
 * @interface PlaceMultipleOrdersRequest
 */
interface PlaceMultipleOrdersRequest {
    /**
     * order list. Max 5 orders
     * @type {Array<ModifyMultipleOrdersBatchOrdersParameterInner>}
     * @memberof TradeApiPlaceMultipleOrders
     */
    readonly batchOrders: Array<ModifyMultipleOrdersBatchOrdersParameterInner>;
    /**
     *
     * @type {number}
     * @memberof TradeApiPlaceMultipleOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for positionAdlQuantileEstimation operation in TradeApi.
 * @interface PositionAdlQuantileEstimationRequest
 */
interface PositionAdlQuantileEstimationRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiPositionAdlQuantileEstimation
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiPositionAdlQuantileEstimation
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for positionInformationV2 operation in TradeApi.
 * @interface PositionInformationV2Request
 */
interface PositionInformationV2Request$1 {
    /**
     *
     * @type {string}
     * @memberof TradeApiPositionInformationV2
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiPositionInformationV2
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for positionInformationV3 operation in TradeApi.
 * @interface PositionInformationV3Request
 */
interface PositionInformationV3Request {
    /**
     *
     * @type {string}
     * @memberof TradeApiPositionInformationV3
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiPositionInformationV3
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for queryCurrentOpenOrder operation in TradeApi.
 * @interface QueryCurrentOpenOrderRequest
 */
interface QueryCurrentOpenOrderRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiQueryCurrentOpenOrder
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiQueryCurrentOpenOrder
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiQueryCurrentOpenOrder
     */
    readonly origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiQueryCurrentOpenOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for queryOrder operation in TradeApi.
 * @interface QueryOrderRequest
 */
interface QueryOrderRequest$1 {
    /**
     *
     * @type {string}
     * @memberof TradeApiQueryOrder
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiQueryOrder
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiQueryOrder
     */
    readonly origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiQueryOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for testOrder operation in TradeApi.
 * @interface TestOrderRequest
 */
interface TestOrderRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiTestOrder
     */
    readonly symbol: string;
    /**
     * `SELL`, `BUY`
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiTestOrder
     */
    readonly side: TestOrderSideEnum;
    /**
     *
     * @type {string}
     * @memberof TradeApiTestOrder
     */
    readonly type: string;
    /**
     * Default `BOTH` for One-way Mode ; `LONG` or `SHORT` for Hedge Mode. It must be sent with Hedge Mode.
     * @type {'BOTH' | 'LONG' | 'SHORT'}
     * @memberof TradeApiTestOrder
     */
    readonly positionSide?: TestOrderPositionSideEnum;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK' | 'GTX' | 'GTD'}
     * @memberof TradeApiTestOrder
     */
    readonly timeInForce?: TestOrderTimeInForceEnum;
    /**
     * Cannot be sent with `closePosition`=`true`(Close-All)
     * @type {number}
     * @memberof TradeApiTestOrder
     */
    readonly quantity?: number;
    /**
     * "true" or "false". default "false". Cannot be sent in Hedge Mode; cannot be sent with `closePosition`=`true`
     * @type {string}
     * @memberof TradeApiTestOrder
     */
    readonly reduceOnly?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiTestOrder
     */
    readonly price?: number;
    /**
     * A unique id among open orders. Automatically generated if not sent. Can only be string following the rule: `^[\.A-Z\:/a-z0-9_-]{1,36}$`
     * @type {string}
     * @memberof TradeApiTestOrder
     */
    readonly newClientOrderId?: string;
    /**
     * Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders.
     * @type {number}
     * @memberof TradeApiTestOrder
     */
    readonly stopPrice?: number;
    /**
     * `true`, `false`；Close-All，used with `STOP_MARKET` or `TAKE_PROFIT_MARKET`.
     * @type {string}
     * @memberof TradeApiTestOrder
     */
    readonly closePosition?: string;
    /**
     * Used with `TRAILING_STOP_MARKET` orders, default as the latest price(supporting different `workingType`)
     * @type {number}
     * @memberof TradeApiTestOrder
     */
    readonly activationPrice?: number;
    /**
     * Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1%
     * @type {number}
     * @memberof TradeApiTestOrder
     */
    readonly callbackRate?: number;
    /**
     * stopPrice triggered by: "MARK_PRICE", "CONTRACT_PRICE". Default "CONTRACT_PRICE"
     * @type {'MARK_PRICE' | 'CONTRACT_PRICE'}
     * @memberof TradeApiTestOrder
     */
    readonly workingType?: TestOrderWorkingTypeEnum;
    /**
     * "TRUE" or "FALSE", default "FALSE". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders.
     * @type {string}
     * @memberof TradeApiTestOrder
     */
    readonly priceProtect?: string;
    /**
     * "ACK", "RESULT", default "ACK"
     * @type {'ACK' | 'RESULT'}
     * @memberof TradeApiTestOrder
     */
    readonly newOrderRespType?: TestOrderNewOrderRespTypeEnum;
    /**
     * only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
     * @type {'NONE' | 'OPPONENT' | 'OPPONENT_5' | 'OPPONENT_10' | 'OPPONENT_20' | 'QUEUE' | 'QUEUE_5' | 'QUEUE_10' | 'QUEUE_20'}
     * @memberof TradeApiTestOrder
     */
    readonly priceMatch?: TestOrderPriceMatchEnum;
    /**
     * `NONE`:No STP / `EXPIRE_TAKER`:expire taker order when STP triggers/ `EXPIRE_MAKER`:expire taker order when STP triggers/ `EXPIRE_BOTH`:expire both orders when STP triggers; default `NONE`
     * @type {'EXPIRE_TAKER' | 'EXPIRE_BOTH' | 'EXPIRE_MAKER'}
     * @memberof TradeApiTestOrder
     */
    readonly selfTradePreventionMode?: TestOrderSelfTradePreventionModeEnum;
    /**
     * order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000
     * @type {number}
     * @memberof TradeApiTestOrder
     */
    readonly goodTillDate?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiTestOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for usersForceOrders operation in TradeApi.
 * @interface UsersForceOrdersRequest
 */
interface UsersForceOrdersRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiUsersForceOrders
     */
    readonly symbol?: string;
    /**
     * "LIQUIDATION" for liquidation orders, "ADL" for ADL orders.
     * @type {'LIQUIDATION' | 'ADL'}
     * @memberof TradeApiUsersForceOrders
     */
    readonly autoCloseType?: UsersForceOrdersAutoCloseTypeEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiUsersForceOrders
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiUsersForceOrders
     */
    readonly endTime?: number;
    /**
     * Default 100; max 1000
     * @type {number}
     * @memberof TradeApiUsersForceOrders
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiUsersForceOrders
     */
    readonly recvWindow?: number;
}
/**
 * TradeApi - object-oriented interface
 * @class TradeApi
 */
declare class TradeApi$1 implements TradeApiInterface$1 {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Get trades for a specific account and symbol.
     *
     * If `startTime` and `endTime` are both not sent, then the last 7 days' data will be returned.
     * The time between `startTime` and `endTime` cannot be longer than 7 days.
     * The parameter `fromId` cannot be sent with `startTime` or `endTime`.
     * Only support querying trade in the past 6 months
     *
     * Weight: 5
     *
     * @summary Account Trade List (USER_DATA)
     * @param {AccountTradeListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountTradeListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Account-Trade-List Binance API Documentation}
     */
    accountTradeList(requestParameters: AccountTradeListRequest): Promise<RestApiResponse<AccountTradeListResponse>>;
    /**
     * Get all account orders; active, canceled, or filled.
     *
     * These orders will not be found:
     * order status is `CANCELED` or `EXPIRED` **AND** order has NO filled trade **AND** created time + 3 days < current time
     * order create time + 90 days < current time
     *
     * If `orderId` is set, it will get orders >= that `orderId`. Otherwise most recent orders are returned.
     * The query time period must be less then 7 days( default as the recent 7 days).
     *
     * Weight: 5
     *
     * @summary All Orders (USER_DATA)
     * @param {AllOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AllOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/All-Orders Binance API Documentation}
     */
    allOrders(requestParameters: AllOrdersRequest): Promise<RestApiResponse<AllOrdersResponse>>;
    /**
     * Cancel all open orders of the specified symbol at the end of the specified countdown.
     * The endpoint should be called repeatedly as heartbeats so that the existing countdown time can be canceled and replaced by a new one.
     *
     * Example usage:
     * Call this endpoint at 30s intervals with an countdownTime of 120000 (120s).
     * If this endpoint is not called within 120 seconds, all your orders of the specified symbol will be automatically canceled.
     * If this endpoint is called with an countdownTime of 0, the countdown timer will be stopped.
     *
     * The system will check all countdowns **approximately every 10 milliseconds**, so please note that sufficient redundancy should be considered when using this function. We do not recommend setting the countdown time to be too precise or too small.
     *
     * Weight: 10
     *
     * @summary Auto-Cancel All Open Orders (TRADE)
     * @param {AutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AutoCancelAllOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Auto-Cancel-All-Open-Orders Binance API Documentation}
     */
    autoCancelAllOpenOrders(requestParameters: AutoCancelAllOpenOrdersRequest): Promise<RestApiResponse<AutoCancelAllOpenOrdersResponse>>;
    /**
     * Cancel All Open Orders
     *
     * Weight: 1
     *
     * @summary Cancel All Open Orders (TRADE)
     * @param {CancelAllOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CancelAllOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Cancel-All-Open-Orders Binance API Documentation}
     */
    cancelAllOpenOrders(requestParameters: CancelAllOpenOrdersRequest): Promise<RestApiResponse<CancelAllOpenOrdersResponse>>;
    /**
     * Cancel Multiple Orders
     *
     * Either `orderIdList` or `origClientOrderIdList ` must be sent.
     *
     * Weight: 1
     *
     * @summary Cancel Multiple Orders (TRADE)
     * @param {CancelMultipleOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CancelMultipleOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Cancel-Multiple-Orders Binance API Documentation}
     */
    cancelMultipleOrders(requestParameters: CancelMultipleOrdersRequest): Promise<RestApiResponse<CancelMultipleOrdersResponse>>;
    /**
     * Cancel an active order.
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     *
     * Weight: 1
     *
     * @summary Cancel Order (TRADE)
     * @param {CancelOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CancelOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Cancel-Order Binance API Documentation}
     */
    cancelOrder(requestParameters: CancelOrderRequest$1): Promise<RestApiResponse<CancelOrderResponse$1>>;
    /**
     * Change user's initial leverage of specific symbol market.
     *
     * Weight: 1
     *
     * @summary Change Initial Leverage(TRADE)
     * @param {ChangeInitialLeverageRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ChangeInitialLeverageResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Initial-Leverage Binance API Documentation}
     */
    changeInitialLeverage(requestParameters: ChangeInitialLeverageRequest): Promise<RestApiResponse<ChangeInitialLeverageResponse>>;
    /**
     * Change symbol level margin type
     *
     * Weight: 1
     *
     * @summary Change Margin Type(TRADE)
     * @param {ChangeMarginTypeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ChangeMarginTypeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Margin-Type Binance API Documentation}
     */
    changeMarginType(requestParameters: ChangeMarginTypeRequest): Promise<RestApiResponse<ChangeMarginTypeResponse>>;
    /**
     * Change user's Multi-Assets mode (Multi-Assets Mode or Single-Asset Mode) on ***Every symbol***
     *
     * Weight: 1
     *
     * @summary Change Multi-Assets Mode (TRADE)
     * @param {ChangeMultiAssetsModeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ChangeMultiAssetsModeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Multi-Assets-Mode Binance API Documentation}
     */
    changeMultiAssetsMode(requestParameters: ChangeMultiAssetsModeRequest): Promise<RestApiResponse<ChangeMultiAssetsModeResponse>>;
    /**
     * Change user's position mode (Hedge Mode or One-way Mode ) on ***EVERY symbol***
     *
     * Weight: 1
     *
     * @summary Change Position Mode(TRADE)
     * @param {ChangePositionModeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ChangePositionModeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Position-Mode Binance API Documentation}
     */
    changePositionMode(requestParameters: ChangePositionModeRequest): Promise<RestApiResponse<ChangePositionModeResponse>>;
    /**
     * Get all open orders on a symbol.
     *
     * If the symbol is not sent, orders for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol; 40 when the symbol parameter is omitted
     * Careful when accessing this with no symbol.
     *
     * @summary Current All Open Orders (USER_DATA)
     * @param {CurrentAllOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CurrentAllOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Current-All-Open-Orders Binance API Documentation}
     */
    currentAllOpenOrders(requestParameters?: CurrentAllOpenOrdersRequest): Promise<RestApiResponse<CurrentAllOpenOrdersResponse>>;
    /**
     * Get order modification history
     *
     * Either `orderId` or `origClientOrderId` must be sent, and the `orderId` will prevail if both are sent.
     * Order modify history longer than 3 month is not avaliable
     *
     * Weight: 1
     *
     * @summary Get Order Modify History (USER_DATA)
     * @param {GetOrderModifyHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetOrderModifyHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Get-Order-Modify-History Binance API Documentation}
     */
    getOrderModifyHistory(requestParameters: GetOrderModifyHistoryRequest): Promise<RestApiResponse<GetOrderModifyHistoryResponse>>;
    /**
     * Get Position Margin Change History
     *
     * Support querying future histories that are not older than 30 days
     * The time between `startTime` and `endTime`can't be more than 30 days
     *
     * Weight: 1
     *
     * @summary Get Position Margin Change History (TRADE)
     * @param {GetPositionMarginChangeHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetPositionMarginChangeHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Get-Position-Margin-Change-History Binance API Documentation}
     */
    getPositionMarginChangeHistory(requestParameters: GetPositionMarginChangeHistoryRequest): Promise<RestApiResponse<GetPositionMarginChangeHistoryResponse>>;
    /**
     * Modify Isolated Position Margin
     *
     *
     * Only for isolated symbol
     *
     * Weight: 1
     *
     * @summary Modify Isolated Position Margin(TRADE)
     * @param {ModifyIsolatedPositionMarginRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ModifyIsolatedPositionMarginResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Modify-Isolated-Position-Margin Binance API Documentation}
     */
    modifyIsolatedPositionMargin(requestParameters: ModifyIsolatedPositionMarginRequest): Promise<RestApiResponse<ModifyIsolatedPositionMarginResponse>>;
    /**
     * Modify Multiple Orders (TRADE)
     *
     * Parameter rules are same with `Modify Order`
     * Batch modify orders are processed concurrently, and the order of matching is not guaranteed.
     * The order of returned contents for batch modify orders is the same as the order of the order list.
     * One order can only be modfied for less than 10000 times
     *
     * Weight: 5 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 5 on IP rate limit(x-mbx-used-weight-1m);
     *
     * @summary Modify Multiple Orders(TRADE)
     * @param {ModifyMultipleOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ModifyMultipleOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Modify-Multiple-Orders Binance API Documentation}
     */
    modifyMultipleOrders(requestParameters: ModifyMultipleOrdersRequest): Promise<RestApiResponse<ModifyMultipleOrdersResponse>>;
    /**
     * Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
     *
     *
     * Either `orderId` or `origClientOrderId` must be sent, and the `orderId` will prevail if both are sent.
     * Both `quantity` and `price` must be sent, which is different from dapi modify order endpoint.
     * When the new `quantity` or `price` doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
     * However the order will be cancelled by the amendment in the following situations:
     * when the order is in partially filled status and the new `quantity` <= `executedQty`
     * When the order is `GTX` and the new price will cause it to be executed immediately
     * One order can only be modfied for less than 10000 times
     * Modify order will set `selfTradePreventionMode` to `NONE`
     *
     * Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 1 on IP rate limit(x-mbx-used-weight-1m)
     *
     * @summary Modify Order (TRADE)
     * @param {ModifyOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ModifyOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Modify-Order Binance API Documentation}
     */
    modifyOrder(requestParameters: ModifyOrderRequest$1): Promise<RestApiResponse<ModifyOrderResponse$1>>;
    /**
     * Send in a new order.
     *
     * Order with type `STOP`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Order with type `TAKE_PROFIT`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Condition orders will be triggered when:
     *
     * If parameter`priceProtect`is sent as true:
     * when price reaches the `stopPrice` ，the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbol
     * "triggerProtect" of a symbol can be got from `GET /fapi/v1/exchangeInfo`
     *
     * `STOP`, `STOP_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * `TAKE_PROFIT`, `TAKE_PROFIT_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * `TRAILING_STOP_MARKET`:
     * BUY: the lowest price after order placed `<= `activationPrice`, and the latest price >`= the lowest price * (1 + `callbackRate`)
     * SELL: the highest price after order placed >= `activationPrice`, and the latest price <= the highest price * (1 - `callbackRate`)
     *
     * For `TRAILING_STOP_MARKET`, if you got such error code.
     * ``{"code": -2021, "msg": "Order would immediately trigger."}``
     * means that the parameters you send do not meet the following requirements:
     * BUY: `activationPrice` should be smaller than latest price.
     * SELL: `activationPrice` should be larger than latest price.
     *
     * If `newOrderRespType ` is sent as `RESULT` :
     * `MARKET` order: the final FILLED result of the order will be return directly.
     * `LIMIT` order with special `timeInForce`: the final status result of the order(FILLED or EXPIRED) will be returned directly.
     *
     * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
     * Follow the same rules for condition orders.
     * If triggered，**close all** current long position( if `SELL`) or current short position( if `BUY`).
     * Cannot be used with `quantity` paremeter
     * Cannot be used with `reduceOnly` parameter
     * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
     * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
     * In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
     *
     * Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 0 on IP rate limit(x-mbx-used-weight-1m)
     *
     * @summary New Order(TRADE)
     * @param {NewOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<NewOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/New-Order Binance API Documentation}
     */
    newOrder(requestParameters: NewOrderRequest$1): Promise<RestApiResponse<NewOrderResponse$1>>;
    /**
     * Place Multiple Orders
     *
     * Paremeter rules are same with `New Order`
     * Batch orders are processed concurrently, and the order of matching is not guaranteed.
     * The order of returned contents for batch orders is the same as the order of the order list.
     *
     * Weight: 5 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 5 on IP rate limit(x-mbx-used-weight-1m);
     *
     * @summary Place Multiple Orders(TRADE)
     * @param {PlaceMultipleOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PlaceMultipleOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Place-Multiple-Orders Binance API Documentation}
     */
    placeMultipleOrders(requestParameters: PlaceMultipleOrdersRequest): Promise<RestApiResponse<PlaceMultipleOrdersResponse>>;
    /**
     * Position ADL Quantile Estimation
     *
     * Values update every 30s.
     * Values 0, 1, 2, 3, 4 shows the queue position and possibility of ADL from low to high.
     * For positions of the symbol are in One-way Mode or isolated margined in Hedge Mode, "LONG", "SHORT", and "BOTH" will be returned to show the positions' adl quantiles of different position sides.
     * If the positions of the symbol are crossed margined in Hedge Mode:
     * "HEDGE" as a sign will be returned instead of "BOTH";
     * A same value caculated on unrealized pnls on long and short sides' positions will be shown for "LONG" and "SHORT" when there are positions in both of long and short sides.
     *
     * Weight: 5
     *
     * @summary Position ADL Quantile Estimation(USER_DATA)
     * @param {PositionAdlQuantileEstimationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PositionAdlQuantileEstimationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Position-ADL-Quantile-Estimation Binance API Documentation}
     */
    positionAdlQuantileEstimation(requestParameters?: PositionAdlQuantileEstimationRequest): Promise<RestApiResponse<PositionAdlQuantileEstimationResponse>>;
    /**
     * Get current position information.
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information V2 (USER_DATA)
     * @param {PositionInformationV2Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PositionInformationV2Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Position-Information-V2 Binance API Documentation}
     */
    positionInformationV2(requestParameters?: PositionInformationV2Request$1): Promise<RestApiResponse<PositionInformationV2Response$1>>;
    /**
     * Get current position information(only symbol that has position or open orders will be returned).
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information V3 (USER_DATA)
     * @param {PositionInformationV3Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PositionInformationV3Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Position-Information-V3 Binance API Documentation}
     */
    positionInformationV3(requestParameters?: PositionInformationV3Request): Promise<RestApiResponse<PositionInformationV3Response>>;
    /**
     * Query open order
     *
     *
     * Either`orderId` or `origClientOrderId` must be sent
     * If the queried order has been filled or cancelled, the error message "Order does not exist" will be returned.
     *
     * Weight: 1
     *
     * @summary Query Current Open Order (USER_DATA)
     * @param {QueryCurrentOpenOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QueryCurrentOpenOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Query-Current-Open-Order Binance API Documentation}
     */
    queryCurrentOpenOrder(requestParameters: QueryCurrentOpenOrderRequest): Promise<RestApiResponse<QueryCurrentOpenOrderResponse>>;
    /**
     * Check an order's status.
     *
     * These orders will not be found:
     * order status is `CANCELED` or `EXPIRED` **AND** order has NO filled trade **AND** created time + 3 days < current time
     * order create time + 90 days < current time
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     * `orderId` is self-increment for each specific `symbol`
     *
     * Weight: 1
     *
     * @summary Query Order (USER_DATA)
     * @param {QueryOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QueryOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Query-Order Binance API Documentation}
     */
    queryOrder(requestParameters: QueryOrderRequest$1): Promise<RestApiResponse<QueryOrderResponse$1>>;
    /**
     * Testing order request, this order will not be submitted to matching engine
     *
     * Order with type `STOP`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Order with type `TAKE_PROFIT`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Condition orders will be triggered when:
     *
     * If parameter`priceProtect`is sent as true:
     * when price reaches the `stopPrice` ，the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbol
     * "triggerProtect" of a symbol can be got from `GET /fapi/v1/exchangeInfo`
     *
     * `STOP`, `STOP_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * `TAKE_PROFIT`, `TAKE_PROFIT_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * `TRAILING_STOP_MARKET`:
     * BUY: the lowest price after order placed `<= `activationPrice`, and the latest price >`= the lowest price * (1 + `callbackRate`)
     * SELL: the highest price after order placed >= `activationPrice`, and the latest price <= the highest price * (1 - `callbackRate`)
     *
     * For `TRAILING_STOP_MARKET`, if you got such error code.
     * ``{"code": -2021, "msg": "Order would immediately trigger."}``
     * means that the parameters you send do not meet the following requirements:
     * BUY: `activationPrice` should be smaller than latest price.
     * SELL: `activationPrice` should be larger than latest price.
     *
     * If `newOrderRespType ` is sent as `RESULT` :
     * `MARKET` order: the final FILLED result of the order will be return directly.
     * `LIMIT` order with special `timeInForce`: the final status result of the order(FILLED or EXPIRED) will be returned directly.
     *
     * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
     * Follow the same rules for condition orders.
     * If triggered，**close all** current long position( if `SELL`) or current short position( if `BUY`).
     * Cannot be used with `quantity` paremeter
     * Cannot be used with `reduceOnly` parameter
     * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
     * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
     * In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
     *
     * Weight: 0
     *
     * @summary Test Order(TRADE)
     * @param {TestOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TestOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/New-Order-Test Binance API Documentation}
     */
    testOrder(requestParameters: TestOrderRequest): Promise<RestApiResponse<TestOrderResponse>>;
    /**
     * Query user's Force Orders
     *
     * If "autoCloseType" is not sent, orders with both of the types will be returned
     * If "startTime" is not sent, data within 7 days before "endTime" can be queried
     *
     * Weight: 20 with symbol, 50 without symbol
     *
     * @summary User\'s Force Orders (USER_DATA)
     * @param {UsersForceOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<UsersForceOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Users-Force-Orders Binance API Documentation}
     */
    usersForceOrders(requestParameters?: UsersForceOrdersRequest): Promise<RestApiResponse<UsersForceOrdersResponse>>;
}
declare const ChangeMarginTypeMarginTypeEnum: {
    readonly ISOLATED: "ISOLATED";
    readonly CROSSED: "CROSSED";
};
type ChangeMarginTypeMarginTypeEnum = (typeof ChangeMarginTypeMarginTypeEnum)[keyof typeof ChangeMarginTypeMarginTypeEnum];
declare const ModifyIsolatedPositionMarginPositionSideEnum: {
    readonly BOTH: "BOTH";
    readonly LONG: "LONG";
    readonly SHORT: "SHORT";
};
type ModifyIsolatedPositionMarginPositionSideEnum = (typeof ModifyIsolatedPositionMarginPositionSideEnum)[keyof typeof ModifyIsolatedPositionMarginPositionSideEnum];
declare const ModifyOrderSideEnum$1: {
    readonly BUY: "BUY";
    readonly SELL: "SELL";
};
type ModifyOrderSideEnum$1 = (typeof ModifyOrderSideEnum$1)[keyof typeof ModifyOrderSideEnum$1];
declare const ModifyOrderPriceMatchEnum$1: {
    readonly NONE: "NONE";
    readonly OPPONENT: "OPPONENT";
    readonly OPPONENT_5: "OPPONENT_5";
    readonly OPPONENT_10: "OPPONENT_10";
    readonly OPPONENT_20: "OPPONENT_20";
    readonly QUEUE: "QUEUE";
    readonly QUEUE_5: "QUEUE_5";
    readonly QUEUE_10: "QUEUE_10";
    readonly QUEUE_20: "QUEUE_20";
};
type ModifyOrderPriceMatchEnum$1 = (typeof ModifyOrderPriceMatchEnum$1)[keyof typeof ModifyOrderPriceMatchEnum$1];
declare const NewOrderSideEnum$1: {
    readonly BUY: "BUY";
    readonly SELL: "SELL";
};
type NewOrderSideEnum$1 = (typeof NewOrderSideEnum$1)[keyof typeof NewOrderSideEnum$1];
declare const NewOrderPositionSideEnum$1: {
    readonly BOTH: "BOTH";
    readonly LONG: "LONG";
    readonly SHORT: "SHORT";
};
type NewOrderPositionSideEnum$1 = (typeof NewOrderPositionSideEnum$1)[keyof typeof NewOrderPositionSideEnum$1];
declare const NewOrderTimeInForceEnum$1: {
    readonly GTC: "GTC";
    readonly IOC: "IOC";
    readonly FOK: "FOK";
    readonly GTX: "GTX";
    readonly GTD: "GTD";
};
type NewOrderTimeInForceEnum$1 = (typeof NewOrderTimeInForceEnum$1)[keyof typeof NewOrderTimeInForceEnum$1];
declare const NewOrderWorkingTypeEnum$1: {
    readonly MARK_PRICE: "MARK_PRICE";
    readonly CONTRACT_PRICE: "CONTRACT_PRICE";
};
type NewOrderWorkingTypeEnum$1 = (typeof NewOrderWorkingTypeEnum$1)[keyof typeof NewOrderWorkingTypeEnum$1];
declare const NewOrderNewOrderRespTypeEnum$1: {
    readonly ACK: "ACK";
    readonly RESULT: "RESULT";
};
type NewOrderNewOrderRespTypeEnum$1 = (typeof NewOrderNewOrderRespTypeEnum$1)[keyof typeof NewOrderNewOrderRespTypeEnum$1];
declare const NewOrderPriceMatchEnum$1: {
    readonly NONE: "NONE";
    readonly OPPONENT: "OPPONENT";
    readonly OPPONENT_5: "OPPONENT_5";
    readonly OPPONENT_10: "OPPONENT_10";
    readonly OPPONENT_20: "OPPONENT_20";
    readonly QUEUE: "QUEUE";
    readonly QUEUE_5: "QUEUE_5";
    readonly QUEUE_10: "QUEUE_10";
    readonly QUEUE_20: "QUEUE_20";
};
type NewOrderPriceMatchEnum$1 = (typeof NewOrderPriceMatchEnum$1)[keyof typeof NewOrderPriceMatchEnum$1];
declare const NewOrderSelfTradePreventionModeEnum$1: {
    readonly EXPIRE_TAKER: "EXPIRE_TAKER";
    readonly EXPIRE_BOTH: "EXPIRE_BOTH";
    readonly EXPIRE_MAKER: "EXPIRE_MAKER";
};
type NewOrderSelfTradePreventionModeEnum$1 = (typeof NewOrderSelfTradePreventionModeEnum$1)[keyof typeof NewOrderSelfTradePreventionModeEnum$1];
declare const TestOrderSideEnum: {
    readonly BUY: "BUY";
    readonly SELL: "SELL";
};
type TestOrderSideEnum = (typeof TestOrderSideEnum)[keyof typeof TestOrderSideEnum];
declare const TestOrderPositionSideEnum: {
    readonly BOTH: "BOTH";
    readonly LONG: "LONG";
    readonly SHORT: "SHORT";
};
type TestOrderPositionSideEnum = (typeof TestOrderPositionSideEnum)[keyof typeof TestOrderPositionSideEnum];
declare const TestOrderTimeInForceEnum: {
    readonly GTC: "GTC";
    readonly IOC: "IOC";
    readonly FOK: "FOK";
    readonly GTX: "GTX";
    readonly GTD: "GTD";
};
type TestOrderTimeInForceEnum = (typeof TestOrderTimeInForceEnum)[keyof typeof TestOrderTimeInForceEnum];
declare const TestOrderWorkingTypeEnum: {
    readonly MARK_PRICE: "MARK_PRICE";
    readonly CONTRACT_PRICE: "CONTRACT_PRICE";
};
type TestOrderWorkingTypeEnum = (typeof TestOrderWorkingTypeEnum)[keyof typeof TestOrderWorkingTypeEnum];
declare const TestOrderNewOrderRespTypeEnum: {
    readonly ACK: "ACK";
    readonly RESULT: "RESULT";
};
type TestOrderNewOrderRespTypeEnum = (typeof TestOrderNewOrderRespTypeEnum)[keyof typeof TestOrderNewOrderRespTypeEnum];
declare const TestOrderPriceMatchEnum: {
    readonly NONE: "NONE";
    readonly OPPONENT: "OPPONENT";
    readonly OPPONENT_5: "OPPONENT_5";
    readonly OPPONENT_10: "OPPONENT_10";
    readonly OPPONENT_20: "OPPONENT_20";
    readonly QUEUE: "QUEUE";
    readonly QUEUE_5: "QUEUE_5";
    readonly QUEUE_10: "QUEUE_10";
    readonly QUEUE_20: "QUEUE_20";
};
type TestOrderPriceMatchEnum = (typeof TestOrderPriceMatchEnum)[keyof typeof TestOrderPriceMatchEnum];
declare const TestOrderSelfTradePreventionModeEnum: {
    readonly EXPIRE_TAKER: "EXPIRE_TAKER";
    readonly EXPIRE_BOTH: "EXPIRE_BOTH";
    readonly EXPIRE_MAKER: "EXPIRE_MAKER";
};
type TestOrderSelfTradePreventionModeEnum = (typeof TestOrderSelfTradePreventionModeEnum)[keyof typeof TestOrderSelfTradePreventionModeEnum];
declare const UsersForceOrdersAutoCloseTypeEnum: {
    readonly LIQUIDATION: "LIQUIDATION";
    readonly ADL: "ADL";
};
type UsersForceOrdersAutoCloseTypeEnum = (typeof UsersForceOrdersAutoCloseTypeEnum)[keyof typeof UsersForceOrdersAutoCloseTypeEnum];

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

/**
 * UserDataStreamsApi - interface
 * @interface UserDataStreamsApi
 */
interface UserDataStreamsApiInterface$1 {
    /**
     * Close out a user data stream.
     *
     * Weight: 1
     *
     * @summary Close User Data Stream (USER_STREAM)
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamsApiInterface
     */
    closeUserDataStream(): Promise<RestApiResponse<void>>;
    /**
     * Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 60 minutes.
     *
     * Weight: 1
     *
     * @summary Keepalive User Data Stream (USER_STREAM)
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamsApiInterface
     */
    keepaliveUserDataStream(): Promise<RestApiResponse<KeepaliveUserDataStreamResponse$1>>;
    /**
     * Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active `listenKey`, that `listenKey` will be returned and its validity will be extended for 60 minutes.
     *
     * Weight: 1
     *
     * @summary Start User Data Stream (USER_STREAM)
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamsApiInterface
     */
    startUserDataStream(): Promise<RestApiResponse<StartUserDataStreamResponse$1>>;
}
/**
 * UserDataStreamsApi - object-oriented interface
 * @class UserDataStreamsApi
 */
declare class UserDataStreamsApi$1 implements UserDataStreamsApiInterface$1 {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Close out a user data stream.
     *
     * Weight: 1
     *
     * @summary Close User Data Stream (USER_STREAM)
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Close-User-Data-Stream Binance API Documentation}
     */
    closeUserDataStream(): Promise<RestApiResponse<void>>;
    /**
     * Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 60 minutes.
     *
     * Weight: 1
     *
     * @summary Keepalive User Data Stream (USER_STREAM)
     * @returns {Promise<RestApiResponse<KeepaliveUserDataStreamResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Keepalive-User-Data-Stream Binance API Documentation}
     */
    keepaliveUserDataStream(): Promise<RestApiResponse<KeepaliveUserDataStreamResponse$1>>;
    /**
     * Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active `listenKey`, that `listenKey` will be returned and its validity will be extended for 60 minutes.
     *
     * Weight: 1
     *
     * @summary Start User Data Stream (USER_STREAM)
     * @returns {Promise<RestApiResponse<StartUserDataStreamResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Start-User-Data-Stream Binance API Documentation}
     */
    startUserDataStream(): Promise<RestApiResponse<StartUserDataStreamResponse$1>>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

declare class RestAPI {
    private configuration;
    private accountApi;
    private convertApi;
    private marketDataApi;
    private portfolioMarginEndpointsApi;
    private tradeApi;
    private userDataStreamsApi;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Generic function to send a request.
     * @param endpoint - The API endpoint to call.
     * @param method - HTTP method to use (GET, POST, DELETE, etc.).
     * @param params - Query parameters for the request.
     *
     * @returns A promise resolving to the response data object.
     */
    sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
    /**
     * Generic function to send a signed request.
     * @param endpoint - The API endpoint to call.
     * @param method - HTTP method to use (GET, POST, DELETE, etc.).
     * @param params - Query parameters for the request.
     *
     * @returns A promise resolving to the response data object.
     */
    sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information V2(USER_DATA)
     * @param {AccountInformationV2Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountInformationV2Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Account-Information-V2 Binance API Documentation}
     */
    accountInformationV2(requestParameters?: AccountInformationV2Request$1): Promise<RestApiResponse<AccountInformationV2Response$1>>;
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information V3(USER_DATA)
     * @param {AccountInformationV3Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountInformationV3Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Account-Information-V3 Binance API Documentation}
     */
    accountInformationV3(requestParameters?: AccountInformationV3Request): Promise<RestApiResponse<AccountInformationV3Response>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance V2 (USER_DATA)
     * @param {FuturesAccountBalanceV2Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<FuturesAccountBalanceV2Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Futures-Account-Balance-V2 Binance API Documentation}
     */
    futuresAccountBalanceV2(requestParameters?: FuturesAccountBalanceV2Request$1): Promise<RestApiResponse<FuturesAccountBalanceV2Response$1>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance V3 (USER_DATA)
     * @param {FuturesAccountBalanceV3Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<FuturesAccountBalanceV3Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Futures-Account-Balance-V3 Binance API Documentation}
     */
    futuresAccountBalanceV3(requestParameters?: FuturesAccountBalanceV3Request): Promise<RestApiResponse<FuturesAccountBalanceV3Response>>;
    /**
     * Query account configuration
     *
     * Weight: 5
     *
     * @summary Futures Account Configuration(USER_DATA)
     * @param {FuturesAccountConfigurationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<FuturesAccountConfigurationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Account-Config Binance API Documentation}
     */
    futuresAccountConfiguration(requestParameters?: FuturesAccountConfigurationRequest): Promise<RestApiResponse<FuturesAccountConfigurationResponse>>;
    /**
     * Futures trading quantitative rules indicators, for more information on this, please refer to the [Futures Trading Quantitative Rules](https://www.binance.com/en/support/faq/4f462ebe6ff445d4a170be7d9e897272)
     *
     * Weight: - 1 for a single symbol
     * - 10 when the symbol parameter is omitted
     *
     * @summary Futures Trading Quantitative Rules Indicators (USER_DATA)
     * @param {FuturesTradingQuantitativeRulesIndicatorsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<FuturesTradingQuantitativeRulesIndicatorsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Futures-Trading-Quantitative-Rules-Indicators Binance API Documentation}
     */
    futuresTradingQuantitativeRulesIndicators(requestParameters?: FuturesTradingQuantitativeRulesIndicatorsRequest): Promise<RestApiResponse<FuturesTradingQuantitativeRulesIndicatorsResponse>>;
    /**
     * Get user's BNB Fee Discount (Fee Discount On or Fee Discount Off )
     *
     * Weight: 30
     *
     * @summary Get BNB Burn Status (USER_DATA)
     * @param {GetBnbBurnStatusRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetBnbBurnStatusResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-BNB-Burn-Status Binance API Documentation}
     */
    getBnbBurnStatus(requestParameters?: GetBnbBurnStatusRequest): Promise<RestApiResponse<GetBnbBurnStatusResponse>>;
    /**
     * Get user's Multi-Assets mode (Multi-Assets Mode or Single-Asset Mode) on ***Every symbol***
     *
     * Weight: 30
     *
     * @summary Get Current Multi-Assets Mode (USER_DATA)
     * @param {GetCurrentMultiAssetsModeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetCurrentMultiAssetsModeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Current-Multi-Assets-Mode Binance API Documentation}
     */
    getCurrentMultiAssetsMode(requestParameters?: GetCurrentMultiAssetsModeRequest): Promise<RestApiResponse<GetCurrentMultiAssetsModeResponse>>;
    /**
     * Get user's position mode (Hedge Mode or One-way Mode ) on ***EVERY symbol***
     *
     * Weight: 30
     *
     * @summary Get Current Position Mode(USER_DATA)
     * @param {GetCurrentPositionModeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetCurrentPositionModeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Current-Position-Mode Binance API Documentation}
     */
    getCurrentPositionMode(requestParameters?: GetCurrentPositionModeRequest): Promise<RestApiResponse<GetCurrentPositionModeResponse>>;
    /**
     * Get Download Id For Futures Order History
     *
     * Request Limitation is 10 times per month, shared by front end download page and rest api
     * The time between `startTime` and `endTime` can not be longer than 1 year
     *
     * Weight: 1000
     *
     * @summary Get Download Id For Futures Order History (USER_DATA)
     * @param {GetDownloadIdForFuturesOrderHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetDownloadIdForFuturesOrderHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Download-Id-For-Futures-Order-History Binance API Documentation}
     */
    getDownloadIdForFuturesOrderHistory(requestParameters: GetDownloadIdForFuturesOrderHistoryRequest): Promise<RestApiResponse<GetDownloadIdForFuturesOrderHistoryResponse>>;
    /**
     * Get download id for futures trade history
     *
     * Request Limitation is 5 times per month, shared by front end download page and rest api
     * The time between `startTime` and `endTime` can not be longer than 1 year
     *
     * Weight: 1000
     *
     * @summary Get Download Id For Futures Trade History (USER_DATA)
     * @param {GetDownloadIdForFuturesTradeHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetDownloadIdForFuturesTradeHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Download-Id-For-Futures-Trade-History Binance API Documentation}
     */
    getDownloadIdForFuturesTradeHistory(requestParameters: GetDownloadIdForFuturesTradeHistoryRequest): Promise<RestApiResponse<GetDownloadIdForFuturesTradeHistoryResponse>>;
    /**
     * Get download id for futures transaction history
     *
     * Request Limitation is 5 times per month, shared by front end download page and rest api
     * The time between `startTime` and `endTime` can not be longer than 1 year
     *
     * Weight: 1000
     *
     * @summary Get Download Id For Futures Transaction History(USER_DATA)
     * @param {GetDownloadIdForFuturesTransactionHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetDownloadIdForFuturesTransactionHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Download-Id-For-Futures-Transaction-History Binance API Documentation}
     */
    getDownloadIdForFuturesTransactionHistory(requestParameters: GetDownloadIdForFuturesTransactionHistoryRequest): Promise<RestApiResponse<GetDownloadIdForFuturesTransactionHistoryResponse>>;
    /**
     * Get futures order history download link by Id
     *
     * Download link expiration: 24h
     *
     * Weight: 10
     *
     * @summary Get Futures Order History Download Link by Id (USER_DATA)
     * @param {GetFuturesOrderHistoryDownloadLinkByIdRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetFuturesOrderHistoryDownloadLinkByIdResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Futures-Order-History-Download-Link-by-Id Binance API Documentation}
     */
    getFuturesOrderHistoryDownloadLinkById(requestParameters: GetFuturesOrderHistoryDownloadLinkByIdRequest): Promise<RestApiResponse<GetFuturesOrderHistoryDownloadLinkByIdResponse>>;
    /**
     * Get futures trade download link by Id
     *
     * Download link expiration: 24h
     *
     * Weight: 10
     *
     * @summary Get Futures Trade Download Link by Id(USER_DATA)
     * @param {GetFuturesTradeDownloadLinkByIdRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetFuturesTradeDownloadLinkByIdResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Futures-Trade-Download-Link-by-Id Binance API Documentation}
     */
    getFuturesTradeDownloadLinkById(requestParameters: GetFuturesTradeDownloadLinkByIdRequest): Promise<RestApiResponse<GetFuturesTradeDownloadLinkByIdResponse>>;
    /**
     * Get futures transaction history download link by Id
     *
     * Download link expiration: 24h
     *
     * Weight: 10
     *
     * @summary Get Futures Transaction History Download Link by Id (USER_DATA)
     * @param {GetFuturesTransactionHistoryDownloadLinkByIdRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetFuturesTransactionHistoryDownloadLinkByIdResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Futures-Transaction-History-Download-Link-by-Id Binance API Documentation}
     */
    getFuturesTransactionHistoryDownloadLinkById(requestParameters: GetFuturesTransactionHistoryDownloadLinkByIdRequest): Promise<RestApiResponse<GetFuturesTransactionHistoryDownloadLinkByIdResponse>>;
    /**
     * Query income history
     *
     * If neither `startTime` nor `endTime` is sent, the recent 7-day data will be returned.
     * If `incomeType ` is not sent, all kinds of flow will be returned
     * "trandId" is unique in the same incomeType for a user
     * Income history only contains data for the last three months
     *
     * Weight: 30
     *
     * @summary Get Income History (USER_DATA)
     * @param {GetIncomeHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetIncomeHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Get-Income-History Binance API Documentation}
     */
    getIncomeHistory(requestParameters?: GetIncomeHistoryRequest): Promise<RestApiResponse<GetIncomeHistoryResponse>>;
    /**
     * Query user notional and leverage bracket on speicfic symbol
     *
     * Weight: 1
     *
     * @summary Notional and Leverage Brackets (USER_DATA)
     * @param {NotionalAndLeverageBracketsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<NotionalAndLeverageBracketsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Notional-and-Leverage-Brackets Binance API Documentation}
     */
    notionalAndLeverageBrackets(requestParameters?: NotionalAndLeverageBracketsRequest): Promise<RestApiResponse<NotionalAndLeverageBracketsResponse>>;
    /**
     * Query User Rate Limit
     *
     * Weight: 1
     *
     * @summary Query User Rate Limit (USER_DATA)
     * @param {QueryUserRateLimitRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QueryUserRateLimitResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Query-Rate-Limit Binance API Documentation}
     */
    queryUserRateLimit(requestParameters?: QueryUserRateLimitRequest): Promise<RestApiResponse<QueryUserRateLimitResponse>>;
    /**
     * Get current account symbol configuration.
     *
     * Weight: 5
     *
     * @summary Symbol Configuration(USER_DATA)
     * @param {SymbolConfigurationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SymbolConfigurationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Symbol-Config Binance API Documentation}
     */
    symbolConfiguration(requestParameters?: SymbolConfigurationRequest): Promise<RestApiResponse<SymbolConfigurationResponse>>;
    /**
     * Change user's BNB Fee Discount (Fee Discount On or Fee Discount Off ) on ***EVERY symbol***
     *
     * Weight: 1
     *
     * @summary Toggle BNB Burn On Futures Trade (TRADE)
     * @param {ToggleBnbBurnOnFuturesTradeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ToggleBnbBurnOnFuturesTradeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Toggle-BNB-Burn-On-Futures-Trade Binance API Documentation}
     */
    toggleBnbBurnOnFuturesTrade(requestParameters: ToggleBnbBurnOnFuturesTradeRequest): Promise<RestApiResponse<ToggleBnbBurnOnFuturesTradeResponse>>;
    /**
     * Get User Commission Rate
     *
     * Weight: 20
     *
     * @summary User Commission Rate (USER_DATA)
     * @param {UserCommissionRateRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<UserCommissionRateResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/User-Commission-Rate Binance API Documentation}
     */
    userCommissionRate(requestParameters: UserCommissionRateRequest): Promise<RestApiResponse<UserCommissionRateResponse>>;
    /**
     * Accept the offered quote by quote ID.
     *
     * Weight: 200(IP)
     *
     * @summary Accept the offered quote (USER_DATA)
     * @param {AcceptTheOfferedQuoteRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AcceptTheOfferedQuoteResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/convert/Accept-Quote Binance API Documentation}
     */
    acceptTheOfferedQuote(requestParameters: AcceptTheOfferedQuoteRequest): Promise<RestApiResponse<AcceptTheOfferedQuoteResponse>>;
    /**
     * Query for all convertible token pairs and the tokens’ respective upper/lower limits
     *
     * User needs to supply either or both of the input parameter
     * If not defined for both fromAsset and toAsset, only partial token pairs will be returned
     * Asset BNFCR is only available to convert for MICA region users.
     *
     * Weight: 20(IP)
     *
     * @summary List All Convert Pairs
     * @param {ListAllConvertPairsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ListAllConvertPairsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/convert/List-All-Convert-Pairs Binance API Documentation}
     */
    listAllConvertPairs(requestParameters?: ListAllConvertPairsRequest): Promise<RestApiResponse<ListAllConvertPairsResponse>>;
    /**
     * Query order status by order ID.
     *
     * Weight: 50(IP)
     *
     * @summary Order status(USER_DATA)
     * @param {OrderStatusRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderStatusResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/convert/Order-Status Binance API Documentation}
     */
    orderStatus(requestParameters?: OrderStatusRequest): Promise<RestApiResponse<OrderStatusResponse>>;
    /**
     * Request a quote for the requested token pairs
     *
     * Either fromAmount or toAmount should be sent
     * `quoteId` will be returned only if you have enough funds to convert
     *
     * Weight: 50(IP)
     *
     * @summary Send Quote Request(USER_DATA)
     * @param {SendQuoteRequestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SendQuoteRequestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/convert/Send-quote-request Binance API Documentation}
     */
    sendQuoteRequest(requestParameters: SendQuoteRequestRequest): Promise<RestApiResponse<SendQuoteRequestResponse>>;
    /**
     * Query future basis
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     *
     * Weight: 0
     *
     * @summary Basis
     * @param {BasisRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<BasisResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Basis Binance API Documentation}
     */
    basis(requestParameters: BasisRequest): Promise<RestApiResponse<BasisResponse>>;
    /**
     * Test connectivity to the Rest API and get the current server time.
     *
     * Weight: 1
     *
     * @summary Check Server Time
     * @returns {Promise<RestApiResponse<CheckServerTimeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Check-Server-Time Binance API Documentation}
     */
    checkServerTime(): Promise<RestApiResponse<CheckServerTimeResponse>>;
    /**
     * Query composite index symbol information
     *
     * Only for composite index symbols
     *
     * Weight: 1
     *
     * @summary Composite Index Symbol Information
     * @param {CompositeIndexSymbolInformationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CompositeIndexSymbolInformationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Composite-Index-Symbol-Information Binance API Documentation}
     */
    compositeIndexSymbolInformation(requestParameters?: CompositeIndexSymbolInformationRequest): Promise<RestApiResponse<CompositeIndexSymbolInformationResponse>>;
    /**
     * Get compressed, aggregate market trades. Market trades that fill in 100ms with the same price and the same taking side will have the quantity aggregated.
     *
     *
     * support querying futures trade histories that are not older than one year
     * If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 1 hour.
     * If `fromId`, `startTime`, and `endTime` are not sent, the most recent aggregate trades will be returned.
     * Only market trades will be aggregated and returned, which means the insurance fund trades and ADL trades won't be aggregated.
     * Sending both `startTime`/`endTime` and `fromId` might cause response timeout, please send either `fromId` or `startTime`/`endTime`
     *
     * Weight: 20
     *
     * @summary Compressed/Aggregate Trades List
     * @param {CompressedAggregateTradesListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CompressedAggregateTradesListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Compressed-Aggregate-Trades-List Binance API Documentation}
     */
    compressedAggregateTradesList(requestParameters: CompressedAggregateTradesListRequest): Promise<RestApiResponse<CompressedAggregateTradesListResponse>>;
    /**
     * Kline/candlestick bars for a specific contract type.
     * Klines are uniquely identified by their open time.
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     * Contract type:
     * PERPETUAL
     * CURRENT_QUARTER
     * NEXT_QUARTER
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Continuous Contract Kline/Candlestick Data
     * @param {ContinuousContractKlineCandlestickDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ContinuousContractKlineCandlestickDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Continuous-Contract-Kline-Candlestick-Data Binance API Documentation}
     */
    continuousContractKlineCandlestickData(requestParameters: ContinuousContractKlineCandlestickDataRequest): Promise<RestApiResponse<ContinuousContractKlineCandlestickDataResponse>>;
    /**
     * Current exchange trading rules and symbol information
     *
     * Weight: 1
     *
     * @summary Exchange Information
     * @returns {Promise<RestApiResponse<ExchangeInformationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Exchange-Information Binance API Documentation}
     */
    exchangeInformation(): Promise<RestApiResponse<ExchangeInformationResponse>>;
    /**
     * Get Funding Rate History
     *
     *
     * If `startTime` and `endTime` are not sent, the most recent `limit` datas are returned.
     * If the number of data between `startTime` and `endTime` is larger than `limit`, return as `startTime` + `limit`.
     * In ascending order.
     *
     * Weight: share 500/5min/IP rate limit with GET /fapi/v1/fundingInfo
     *
     * @summary Get Funding Rate History
     * @param {GetFundingRateHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetFundingRateHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Get-Funding-Rate-History Binance API Documentation}
     */
    getFundingRateHistory(requestParameters?: GetFundingRateHistoryRequest): Promise<RestApiResponse<GetFundingRateHistoryResponse>>;
    /**
     * Query funding rate info for symbols that had FundingRateCap/ FundingRateFloor / fundingIntervalHours adjustment
     *
     * Weight: 0
     * share 500/5min/IP rate limit with GET /fapi/v1/fundingInfo
     *
     * @summary Get Funding Rate Info
     * @returns {Promise<RestApiResponse<GetFundingRateInfoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Get-Funding-Rate-Info Binance API Documentation}
     */
    getFundingRateInfo(): Promise<RestApiResponse<GetFundingRateInfoResponse>>;
    /**
     * The BLVT NAV system is based on Binance Futures, so the endpoint is based on fapi
     *
     * Weight: 1
     *
     * @summary Historical BLVT NAV Kline/Candlestick
     * @param {HistoricalBlvtNavKlineCandlestickRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HistoricalBlvtNavKlineCandlestickResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Historical-BLVT-NAV-Kline-Candlestick Binance API Documentation}
     */
    historicalBlvtNavKlineCandlestick(requestParameters: HistoricalBlvtNavKlineCandlestickRequest): Promise<RestApiResponse<HistoricalBlvtNavKlineCandlestickResponse>>;
    /**
     * Kline/candlestick bars for the index price of a pair.
     * Klines are uniquely identified by their open time.
     *
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Index Price Kline/Candlestick Data
     * @param {IndexPriceKlineCandlestickDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<IndexPriceKlineCandlestickDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Index-Price-Kline-Candlestick-Data Binance API Documentation}
     */
    indexPriceKlineCandlestickData(requestParameters: IndexPriceKlineCandlestickDataRequest): Promise<RestApiResponse<IndexPriceKlineCandlestickDataResponse>>;
    /**
     * Kline/candlestick bars for a symbol.
     * Klines are uniquely identified by their open time.
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Kline/Candlestick Data
     * @param {KlineCandlestickDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<KlineCandlestickDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Kline-Candlestick-Data Binance API Documentation}
     */
    klineCandlestickData(requestParameters: KlineCandlestickDataRequest): Promise<RestApiResponse<KlineCandlestickDataResponse>>;
    /**
     * Query symbol Long/Short Ratio
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Long/Short Ratio
     * @param {LongShortRatioRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<LongShortRatioResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Long-Short-Ratio Binance API Documentation}
     */
    longShortRatio(requestParameters: LongShortRatioRequest): Promise<RestApiResponse<LongShortRatioResponse>>;
    /**
     * Mark Price and Funding Rate
     *
     * Weight: 1
     *
     * @summary Mark Price
     * @param {MarkPriceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MarkPriceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Mark-Price Binance API Documentation}
     */
    markPrice(requestParameters?: MarkPriceRequest): Promise<RestApiResponse<MarkPriceResponse>>;
    /**
     * Kline/candlestick bars for the mark price of a symbol.
     * Klines are uniquely identified by their open time.
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Mark Price Kline/Candlestick Data
     * @param {MarkPriceKlineCandlestickDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MarkPriceKlineCandlestickDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Mark-Price-Kline-Candlestick-Data Binance API Documentation}
     */
    markPriceKlineCandlestickData(requestParameters: MarkPriceKlineCandlestickDataRequest): Promise<RestApiResponse<MarkPriceKlineCandlestickDataResponse>>;
    /**
     * asset index for Multi-Assets mode
     *
     * Weight: 1 for a single symbol; 10 when the symbol parameter is omitted
     *
     * @summary Multi-Assets Mode Asset Index
     * @param {MultiAssetsModeAssetIndexRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MultiAssetsModeAssetIndexResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Multi-Assets-Mode-Asset-Index Binance API Documentation}
     */
    multiAssetsModeAssetIndex(requestParameters?: MultiAssetsModeAssetIndexRequest$1): Promise<RestApiResponse<MultiAssetsModeAssetIndexResponse$1>>;
    /**
     * Get older market historical trades.
     *
     * Market trades means trades filled in the order book. Only market trades will be returned, which means the insurance fund trades and ADL trades won't be returned.
     * Only supports data from within the last three months
     *
     * Weight: 20
     *
     * @summary Old Trades Lookup (MARKET_DATA)
     * @param {OldTradesLookupRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OldTradesLookupResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Old-Trades-Lookup Binance API Documentation}
     */
    oldTradesLookup(requestParameters: OldTradesLookupRequest): Promise<RestApiResponse<OldTradesLookupResponse>>;
    /**
     * Get present open interest of a specific symbol.
     *
     * Weight: 1
     *
     * @summary Open Interest
     * @param {OpenInterestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OpenInterestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Open-Interest Binance API Documentation}
     */
    openInterest(requestParameters: OpenInterestRequest): Promise<RestApiResponse<OpenInterestResponse>>;
    /**
     * Open Interest Statistics
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 1 month is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Open Interest Statistics
     * @param {OpenInterestStatisticsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OpenInterestStatisticsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Open-Interest-Statistics Binance API Documentation}
     */
    openInterestStatistics(requestParameters: OpenInterestStatisticsRequest): Promise<RestApiResponse<OpenInterestStatisticsResponse>>;
    /**
     * Query symbol orderbook
     *
     * Weight: Adjusted based on the limit:
     * | Limit         | Weight |
     * | ------------- | ------ |
     * | 5, 10, 20, 50 | 2      |
     * | 100           | 5      |
     * | 500           | 10     |
     * | 1000          | 20     |
     *
     * @summary Order Book
     * @param {OrderBookRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderBookResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Order-Book Binance API Documentation}
     */
    orderBook(requestParameters: OrderBookRequest$1): Promise<RestApiResponse<OrderBookResponse$1>>;
    /**
     * Premium index kline bars of a symbol. Klines are uniquely identified by their open time.
     *
     *
     * If startTime and endTime are not sent, the most recent klines are returned.
     *
     * Weight: based on parameter LIMIT
     * | LIMIT       | weight |
     * | ----------- | ------ |
     * | [1,100)     | 1      |
     * | [100, 500)  | 2      |
     * | [500, 1000] | 5      |
     * | > 1000      | 10     |
     *
     * @summary Premium index Kline Data
     * @param {PremiumIndexKlineDataRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PremiumIndexKlineDataResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Premium-index-Kline-Data Binance API Documentation}
     */
    premiumIndexKlineData(requestParameters: PremiumIndexKlineDataRequest): Promise<RestApiResponse<PremiumIndexKlineDataResponse>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * Weight: 0
     *
     * @summary Quarterly Contract Settlement Price
     * @param {QuarterlyContractSettlementPriceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QuarterlyContractSettlementPriceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Delivery-Price Binance API Documentation}
     */
    quarterlyContractSettlementPrice(requestParameters: QuarterlyContractSettlementPriceRequest): Promise<RestApiResponse<QuarterlyContractSettlementPriceResponse>>;
    /**
     * Query index price constituents
     *
     * Weight: 2
     *
     * @summary Query Index Price Constituents
     * @param {QueryIndexPriceConstituentsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QueryIndexPriceConstituentsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Index-Constituents Binance API Documentation}
     */
    queryIndexPriceConstituents(requestParameters: QueryIndexPriceConstituentsRequest): Promise<RestApiResponse<QueryIndexPriceConstituentsResponse>>;
    /**
     * Get recent market trades
     *
     * Market trades means trades filled in the order book. Only market trades will be returned, which means the insurance fund trades and ADL trades won't be returned.
     *
     * Weight: 5
     *
     * @summary Recent Trades List
     * @param {RecentTradesListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<RecentTradesListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Recent-Trades-List Binance API Documentation}
     */
    recentTradesList(requestParameters: RecentTradesListRequest): Promise<RestApiResponse<RecentTradesListResponse>>;
    /**
     * Best price/qty on the order book for a symbol or symbols.
     *
     * If the symbol is not sent, bookTickers for all symbols will be returned in an array.
     * The field `X-MBX-USED-WEIGHT-1M` in response header is not accurate from this endpoint, please ignore.
     *
     * Weight: 2 for a single symbol;
     * 5 when the symbol parameter is omitted
     *
     * @summary Symbol Order Book Ticker
     * @param {SymbolOrderBookTickerRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SymbolOrderBookTickerResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Symbol-Order-Book-Ticker Binance API Documentation}
     */
    symbolOrderBookTicker(requestParameters?: SymbolOrderBookTickerRequest$1): Promise<RestApiResponse<SymbolOrderBookTickerResponse$1>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * If the symbol is not sent, prices for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol;
     * 2 when the symbol parameter is omitted
     *
     * @summary Symbol Price Ticker
     * @param {SymbolPriceTickerRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SymbolPriceTickerResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Symbol-Price-Ticker Binance API Documentation}
     */
    symbolPriceTicker(requestParameters?: SymbolPriceTickerRequest$1): Promise<RestApiResponse<SymbolPriceTickerResponse$1>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * If the symbol is not sent, prices for all symbols will be returned in an array.
     * The field `X-MBX-USED-WEIGHT-1M` in response header is not accurate from this endpoint, please ignore.
     *
     * Weight: 1 for a single symbol;
     * 2 when the symbol parameter is omitted
     *
     * @summary Symbol Price Ticker V2
     * @param {SymbolPriceTickerV2Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SymbolPriceTickerV2Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Symbol-Price-Ticker-V2 Binance API Documentation}
     */
    symbolPriceTickerV2(requestParameters?: SymbolPriceTickerV2Request): Promise<RestApiResponse<SymbolPriceTickerV2Response>>;
    /**
     * Taker Buy/Sell Volume
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Taker Buy/Sell Volume
     * @param {TakerBuySellVolumeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TakerBuySellVolumeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Taker-BuySell-Volume Binance API Documentation}
     */
    takerBuySellVolume(requestParameters: TakerBuySellVolumeRequest): Promise<RestApiResponse<TakerBuySellVolumeResponse>>;
    /**
     * Test connectivity to the Rest API.
     *
     * Weight: 1
     *
     * @summary Test Connectivity
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Test-Connectivity Binance API Documentation}
     */
    testConnectivity(): Promise<RestApiResponse<void>>;
    /**
     * 24 hour rolling window price change statistics.
     **Careful** when accessing this with no symbol.
     *
     * If the symbol is not sent, tickers for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol;
     * 40 when the symbol parameter is omitted
     *
     * @summary 24hr Ticker Price Change Statistics
     * @param {Ticker24hrPriceChangeStatisticsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<Ticker24hrPriceChangeStatisticsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/24hr-Ticker-Price-Change-Statistics Binance API Documentation}
     */
    ticker24hrPriceChangeStatistics(requestParameters?: Ticker24hrPriceChangeStatisticsRequest): Promise<RestApiResponse<Ticker24hrPriceChangeStatisticsResponse>>;
    /**
     * The proportion of net long and net short accounts to total accounts of the top 20% users with the highest margin balance. Each account is counted once only.
     * Long Account % = Accounts of top traders with net long positions / Total accounts of top traders with open positions
     * Short Account % = Accounts of top traders with net short positions / Total accounts of top traders with open positions
     * Long/Short Ratio (Accounts) = Long Account % / Short Account %
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Top Trader Long/Short Ratio (Accounts)
     * @param {TopTraderLongShortRatioAccountsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TopTraderLongShortRatioAccountsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Top-Long-Short-Account-Ratio Binance API Documentation}
     */
    topTraderLongShortRatioAccounts(requestParameters: TopTraderLongShortRatioAccountsRequest): Promise<RestApiResponse<TopTraderLongShortRatioAccountsResponse>>;
    /**
     * The proportion of net long and net short positions to total open positions of the top 20% users with the highest margin balance.
     * Long Position % = Long positions of top traders / Total open positions of top traders
     * Short Position % = Short positions of top traders / Total open positions of top traders
     * Long/Short Ratio (Positions) = Long Position % / Short Position %
     *
     * If startTime and endTime are not sent, the most recent data is returned.
     * Only the data of the latest 30 days is available.
     * IP rate limit 1000 requests/5min
     *
     * Weight: 0
     *
     * @summary Top Trader Long/Short Ratio (Positions)
     * @param {TopTraderLongShortRatioPositionsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TopTraderLongShortRatioPositionsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Top-Trader-Long-Short-Ratio Binance API Documentation}
     */
    topTraderLongShortRatioPositions(requestParameters: TopTraderLongShortRatioPositionsRequest): Promise<RestApiResponse<TopTraderLongShortRatioPositionsResponse>>;
    /**
     * Get Classic Portfolio Margin current account information.
     *
     *
     * maxWithdrawAmount is for asset transfer out to the spot wallet.
     *
     * Weight: 5
     *
     * @summary Classic Portfolio Margin Account Information (USER_DATA)
     * @param {ClassicPortfolioMarginAccountInformationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ClassicPortfolioMarginAccountInformationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/portfolio-margin-endpoints/Classic-Portfolio-Margin-Account-Information Binance API Documentation}
     */
    classicPortfolioMarginAccountInformation(requestParameters: ClassicPortfolioMarginAccountInformationRequest): Promise<RestApiResponse<ClassicPortfolioMarginAccountInformationResponse>>;
    /**
     * Get trades for a specific account and symbol.
     *
     * If `startTime` and `endTime` are both not sent, then the last 7 days' data will be returned.
     * The time between `startTime` and `endTime` cannot be longer than 7 days.
     * The parameter `fromId` cannot be sent with `startTime` or `endTime`.
     * Only support querying trade in the past 6 months
     *
     * Weight: 5
     *
     * @summary Account Trade List (USER_DATA)
     * @param {AccountTradeListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountTradeListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Account-Trade-List Binance API Documentation}
     */
    accountTradeList(requestParameters: AccountTradeListRequest): Promise<RestApiResponse<AccountTradeListResponse>>;
    /**
     * Get all account orders; active, canceled, or filled.
     *
     * These orders will not be found:
     * order status is `CANCELED` or `EXPIRED` **AND** order has NO filled trade **AND** created time + 3 days < current time
     * order create time + 90 days < current time
     *
     * If `orderId` is set, it will get orders >= that `orderId`. Otherwise most recent orders are returned.
     * The query time period must be less then 7 days( default as the recent 7 days).
     *
     * Weight: 5
     *
     * @summary All Orders (USER_DATA)
     * @param {AllOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AllOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/All-Orders Binance API Documentation}
     */
    allOrders(requestParameters: AllOrdersRequest): Promise<RestApiResponse<AllOrdersResponse>>;
    /**
     * Cancel all open orders of the specified symbol at the end of the specified countdown.
     * The endpoint should be called repeatedly as heartbeats so that the existing countdown time can be canceled and replaced by a new one.
     *
     * Example usage:
     * Call this endpoint at 30s intervals with an countdownTime of 120000 (120s).
     * If this endpoint is not called within 120 seconds, all your orders of the specified symbol will be automatically canceled.
     * If this endpoint is called with an countdownTime of 0, the countdown timer will be stopped.
     *
     * The system will check all countdowns **approximately every 10 milliseconds**, so please note that sufficient redundancy should be considered when using this function. We do not recommend setting the countdown time to be too precise or too small.
     *
     * Weight: 10
     *
     * @summary Auto-Cancel All Open Orders (TRADE)
     * @param {AutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AutoCancelAllOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Auto-Cancel-All-Open-Orders Binance API Documentation}
     */
    autoCancelAllOpenOrders(requestParameters: AutoCancelAllOpenOrdersRequest): Promise<RestApiResponse<AutoCancelAllOpenOrdersResponse>>;
    /**
     * Cancel All Open Orders
     *
     * Weight: 1
     *
     * @summary Cancel All Open Orders (TRADE)
     * @param {CancelAllOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CancelAllOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Cancel-All-Open-Orders Binance API Documentation}
     */
    cancelAllOpenOrders(requestParameters: CancelAllOpenOrdersRequest): Promise<RestApiResponse<CancelAllOpenOrdersResponse>>;
    /**
     * Cancel Multiple Orders
     *
     * Either `orderIdList` or `origClientOrderIdList ` must be sent.
     *
     * Weight: 1
     *
     * @summary Cancel Multiple Orders (TRADE)
     * @param {CancelMultipleOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CancelMultipleOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Cancel-Multiple-Orders Binance API Documentation}
     */
    cancelMultipleOrders(requestParameters: CancelMultipleOrdersRequest): Promise<RestApiResponse<CancelMultipleOrdersResponse>>;
    /**
     * Cancel an active order.
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     *
     * Weight: 1
     *
     * @summary Cancel Order (TRADE)
     * @param {CancelOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CancelOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Cancel-Order Binance API Documentation}
     */
    cancelOrder(requestParameters: CancelOrderRequest$1): Promise<RestApiResponse<CancelOrderResponse$1>>;
    /**
     * Change user's initial leverage of specific symbol market.
     *
     * Weight: 1
     *
     * @summary Change Initial Leverage(TRADE)
     * @param {ChangeInitialLeverageRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ChangeInitialLeverageResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Initial-Leverage Binance API Documentation}
     */
    changeInitialLeverage(requestParameters: ChangeInitialLeverageRequest): Promise<RestApiResponse<ChangeInitialLeverageResponse>>;
    /**
     * Change symbol level margin type
     *
     * Weight: 1
     *
     * @summary Change Margin Type(TRADE)
     * @param {ChangeMarginTypeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ChangeMarginTypeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Margin-Type Binance API Documentation}
     */
    changeMarginType(requestParameters: ChangeMarginTypeRequest): Promise<RestApiResponse<ChangeMarginTypeResponse>>;
    /**
     * Change user's Multi-Assets mode (Multi-Assets Mode or Single-Asset Mode) on ***Every symbol***
     *
     * Weight: 1
     *
     * @summary Change Multi-Assets Mode (TRADE)
     * @param {ChangeMultiAssetsModeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ChangeMultiAssetsModeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Multi-Assets-Mode Binance API Documentation}
     */
    changeMultiAssetsMode(requestParameters: ChangeMultiAssetsModeRequest): Promise<RestApiResponse<ChangeMultiAssetsModeResponse>>;
    /**
     * Change user's position mode (Hedge Mode or One-way Mode ) on ***EVERY symbol***
     *
     * Weight: 1
     *
     * @summary Change Position Mode(TRADE)
     * @param {ChangePositionModeRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ChangePositionModeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Position-Mode Binance API Documentation}
     */
    changePositionMode(requestParameters: ChangePositionModeRequest): Promise<RestApiResponse<ChangePositionModeResponse>>;
    /**
     * Get all open orders on a symbol.
     *
     * If the symbol is not sent, orders for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol; 40 when the symbol parameter is omitted
     * Careful when accessing this with no symbol.
     *
     * @summary Current All Open Orders (USER_DATA)
     * @param {CurrentAllOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CurrentAllOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Current-All-Open-Orders Binance API Documentation}
     */
    currentAllOpenOrders(requestParameters?: CurrentAllOpenOrdersRequest): Promise<RestApiResponse<CurrentAllOpenOrdersResponse>>;
    /**
     * Get order modification history
     *
     * Either `orderId` or `origClientOrderId` must be sent, and the `orderId` will prevail if both are sent.
     * Order modify history longer than 3 month is not avaliable
     *
     * Weight: 1
     *
     * @summary Get Order Modify History (USER_DATA)
     * @param {GetOrderModifyHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetOrderModifyHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Get-Order-Modify-History Binance API Documentation}
     */
    getOrderModifyHistory(requestParameters: GetOrderModifyHistoryRequest): Promise<RestApiResponse<GetOrderModifyHistoryResponse>>;
    /**
     * Get Position Margin Change History
     *
     * Support querying future histories that are not older than 30 days
     * The time between `startTime` and `endTime`can't be more than 30 days
     *
     * Weight: 1
     *
     * @summary Get Position Margin Change History (TRADE)
     * @param {GetPositionMarginChangeHistoryRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetPositionMarginChangeHistoryResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Get-Position-Margin-Change-History Binance API Documentation}
     */
    getPositionMarginChangeHistory(requestParameters: GetPositionMarginChangeHistoryRequest): Promise<RestApiResponse<GetPositionMarginChangeHistoryResponse>>;
    /**
     * Modify Isolated Position Margin
     *
     *
     * Only for isolated symbol
     *
     * Weight: 1
     *
     * @summary Modify Isolated Position Margin(TRADE)
     * @param {ModifyIsolatedPositionMarginRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ModifyIsolatedPositionMarginResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Modify-Isolated-Position-Margin Binance API Documentation}
     */
    modifyIsolatedPositionMargin(requestParameters: ModifyIsolatedPositionMarginRequest): Promise<RestApiResponse<ModifyIsolatedPositionMarginResponse>>;
    /**
     * Modify Multiple Orders (TRADE)
     *
     * Parameter rules are same with `Modify Order`
     * Batch modify orders are processed concurrently, and the order of matching is not guaranteed.
     * The order of returned contents for batch modify orders is the same as the order of the order list.
     * One order can only be modfied for less than 10000 times
     *
     * Weight: 5 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 5 on IP rate limit(x-mbx-used-weight-1m);
     *
     * @summary Modify Multiple Orders(TRADE)
     * @param {ModifyMultipleOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ModifyMultipleOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Modify-Multiple-Orders Binance API Documentation}
     */
    modifyMultipleOrders(requestParameters: ModifyMultipleOrdersRequest): Promise<RestApiResponse<ModifyMultipleOrdersResponse>>;
    /**
     * Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
     *
     *
     * Either `orderId` or `origClientOrderId` must be sent, and the `orderId` will prevail if both are sent.
     * Both `quantity` and `price` must be sent, which is different from dapi modify order endpoint.
     * When the new `quantity` or `price` doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
     * However the order will be cancelled by the amendment in the following situations:
     * when the order is in partially filled status and the new `quantity` <= `executedQty`
     * When the order is `GTX` and the new price will cause it to be executed immediately
     * One order can only be modfied for less than 10000 times
     * Modify order will set `selfTradePreventionMode` to `NONE`
     *
     * Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 1 on IP rate limit(x-mbx-used-weight-1m)
     *
     * @summary Modify Order (TRADE)
     * @param {ModifyOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ModifyOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Modify-Order Binance API Documentation}
     */
    modifyOrder(requestParameters: ModifyOrderRequest$1): Promise<RestApiResponse<ModifyOrderResponse$1>>;
    /**
     * Send in a new order.
     *
     * Order with type `STOP`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Order with type `TAKE_PROFIT`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Condition orders will be triggered when:
     *
     * If parameter`priceProtect`is sent as true:
     * when price reaches the `stopPrice` ，the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbol
     * "triggerProtect" of a symbol can be got from `GET /fapi/v1/exchangeInfo`
     *
     * `STOP`, `STOP_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * `TAKE_PROFIT`, `TAKE_PROFIT_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * `TRAILING_STOP_MARKET`:
     * BUY: the lowest price after order placed `<= `activationPrice`, and the latest price >`= the lowest price * (1 + `callbackRate`)
     * SELL: the highest price after order placed >= `activationPrice`, and the latest price <= the highest price * (1 - `callbackRate`)
     *
     * For `TRAILING_STOP_MARKET`, if you got such error code.
     * ``{"code": -2021, "msg": "Order would immediately trigger."}``
     * means that the parameters you send do not meet the following requirements:
     * BUY: `activationPrice` should be smaller than latest price.
     * SELL: `activationPrice` should be larger than latest price.
     *
     * If `newOrderRespType ` is sent as `RESULT` :
     * `MARKET` order: the final FILLED result of the order will be return directly.
     * `LIMIT` order with special `timeInForce`: the final status result of the order(FILLED or EXPIRED) will be returned directly.
     *
     * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
     * Follow the same rules for condition orders.
     * If triggered，**close all** current long position( if `SELL`) or current short position( if `BUY`).
     * Cannot be used with `quantity` paremeter
     * Cannot be used with `reduceOnly` parameter
     * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
     * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
     * In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
     *
     * Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 0 on IP rate limit(x-mbx-used-weight-1m)
     *
     * @summary New Order(TRADE)
     * @param {NewOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<NewOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/New-Order Binance API Documentation}
     */
    newOrder(requestParameters: NewOrderRequest$1): Promise<RestApiResponse<NewOrderResponse$1>>;
    /**
     * Place Multiple Orders
     *
     * Paremeter rules are same with `New Order`
     * Batch orders are processed concurrently, and the order of matching is not guaranteed.
     * The order of returned contents for batch orders is the same as the order of the order list.
     *
     * Weight: 5 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 5 on IP rate limit(x-mbx-used-weight-1m);
     *
     * @summary Place Multiple Orders(TRADE)
     * @param {PlaceMultipleOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PlaceMultipleOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Place-Multiple-Orders Binance API Documentation}
     */
    placeMultipleOrders(requestParameters: PlaceMultipleOrdersRequest): Promise<RestApiResponse<PlaceMultipleOrdersResponse>>;
    /**
     * Position ADL Quantile Estimation
     *
     * Values update every 30s.
     * Values 0, 1, 2, 3, 4 shows the queue position and possibility of ADL from low to high.
     * For positions of the symbol are in One-way Mode or isolated margined in Hedge Mode, "LONG", "SHORT", and "BOTH" will be returned to show the positions' adl quantiles of different position sides.
     * If the positions of the symbol are crossed margined in Hedge Mode:
     * "HEDGE" as a sign will be returned instead of "BOTH";
     * A same value caculated on unrealized pnls on long and short sides' positions will be shown for "LONG" and "SHORT" when there are positions in both of long and short sides.
     *
     * Weight: 5
     *
     * @summary Position ADL Quantile Estimation(USER_DATA)
     * @param {PositionAdlQuantileEstimationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PositionAdlQuantileEstimationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Position-ADL-Quantile-Estimation Binance API Documentation}
     */
    positionAdlQuantileEstimation(requestParameters?: PositionAdlQuantileEstimationRequest): Promise<RestApiResponse<PositionAdlQuantileEstimationResponse>>;
    /**
     * Get current position information.
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information V2 (USER_DATA)
     * @param {PositionInformationV2Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PositionInformationV2Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Position-Information-V2 Binance API Documentation}
     */
    positionInformationV2(requestParameters?: PositionInformationV2Request$1): Promise<RestApiResponse<PositionInformationV2Response$1>>;
    /**
     * Get current position information(only symbol that has position or open orders will be returned).
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information V3 (USER_DATA)
     * @param {PositionInformationV3Request} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<PositionInformationV3Response>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Position-Information-V3 Binance API Documentation}
     */
    positionInformationV3(requestParameters?: PositionInformationV3Request): Promise<RestApiResponse<PositionInformationV3Response>>;
    /**
     * Query open order
     *
     *
     * Either`orderId` or `origClientOrderId` must be sent
     * If the queried order has been filled or cancelled, the error message "Order does not exist" will be returned.
     *
     * Weight: 1
     *
     * @summary Query Current Open Order (USER_DATA)
     * @param {QueryCurrentOpenOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QueryCurrentOpenOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Query-Current-Open-Order Binance API Documentation}
     */
    queryCurrentOpenOrder(requestParameters: QueryCurrentOpenOrderRequest): Promise<RestApiResponse<QueryCurrentOpenOrderResponse>>;
    /**
     * Check an order's status.
     *
     * These orders will not be found:
     * order status is `CANCELED` or `EXPIRED` **AND** order has NO filled trade **AND** created time + 3 days < current time
     * order create time + 90 days < current time
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     * `orderId` is self-increment for each specific `symbol`
     *
     * Weight: 1
     *
     * @summary Query Order (USER_DATA)
     * @param {QueryOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<QueryOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Query-Order Binance API Documentation}
     */
    queryOrder(requestParameters: QueryOrderRequest$1): Promise<RestApiResponse<QueryOrderResponse$1>>;
    /**
     * Testing order request, this order will not be submitted to matching engine
     *
     * Order with type `STOP`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Order with type `TAKE_PROFIT`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Condition orders will be triggered when:
     *
     * If parameter`priceProtect`is sent as true:
     * when price reaches the `stopPrice` ，the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbol
     * "triggerProtect" of a symbol can be got from `GET /fapi/v1/exchangeInfo`
     *
     * `STOP`, `STOP_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * `TAKE_PROFIT`, `TAKE_PROFIT_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * `TRAILING_STOP_MARKET`:
     * BUY: the lowest price after order placed `<= `activationPrice`, and the latest price >`= the lowest price * (1 + `callbackRate`)
     * SELL: the highest price after order placed >= `activationPrice`, and the latest price <= the highest price * (1 - `callbackRate`)
     *
     * For `TRAILING_STOP_MARKET`, if you got such error code.
     * ``{"code": -2021, "msg": "Order would immediately trigger."}``
     * means that the parameters you send do not meet the following requirements:
     * BUY: `activationPrice` should be smaller than latest price.
     * SELL: `activationPrice` should be larger than latest price.
     *
     * If `newOrderRespType ` is sent as `RESULT` :
     * `MARKET` order: the final FILLED result of the order will be return directly.
     * `LIMIT` order with special `timeInForce`: the final status result of the order(FILLED or EXPIRED) will be returned directly.
     *
     * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
     * Follow the same rules for condition orders.
     * If triggered，**close all** current long position( if `SELL`) or current short position( if `BUY`).
     * Cannot be used with `quantity` paremeter
     * Cannot be used with `reduceOnly` parameter
     * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
     * `selfTradePreventionMode` is only effective when `timeInForce` set to `IOC` or `GTC` or `GTD`.
     * In extreme market conditions, timeInForce `GTD` order auto cancel time might be delayed comparing to `goodTillDate`
     *
     * Weight: 0
     *
     * @summary Test Order(TRADE)
     * @param {TestOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TestOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/New-Order-Test Binance API Documentation}
     */
    testOrder(requestParameters: TestOrderRequest): Promise<RestApiResponse<TestOrderResponse>>;
    /**
     * Query user's Force Orders
     *
     * If "autoCloseType" is not sent, orders with both of the types will be returned
     * If "startTime" is not sent, data within 7 days before "endTime" can be queried
     *
     * Weight: 20 with symbol, 50 without symbol
     *
     * @summary User\'s Force Orders (USER_DATA)
     * @param {UsersForceOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<UsersForceOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Users-Force-Orders Binance API Documentation}
     */
    usersForceOrders(requestParameters?: UsersForceOrdersRequest): Promise<RestApiResponse<UsersForceOrdersResponse>>;
    /**
     * Close out a user data stream.
     *
     * Weight: 1
     *
     * @summary Close User Data Stream (USER_STREAM)
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Close-User-Data-Stream Binance API Documentation}
     */
    closeUserDataStream(): Promise<RestApiResponse<void>>;
    /**
     * Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 60 minutes.
     *
     * Weight: 1
     *
     * @summary Keepalive User Data Stream (USER_STREAM)
     * @returns {Promise<RestApiResponse<KeepaliveUserDataStreamResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Keepalive-User-Data-Stream Binance API Documentation}
     */
    keepaliveUserDataStream(): Promise<RestApiResponse<KeepaliveUserDataStreamResponse$1>>;
    /**
     * Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active `listenKey`, that `listenKey` will be returned and its validity will be extended for 60 minutes.
     *
     * Weight: 1
     *
     * @summary Start User Data Stream (USER_STREAM)
     * @returns {Promise<RestApiResponse<StartUserDataStreamResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Start-User-Data-Stream Binance API Documentation}
     */
    startUserDataStream(): Promise<RestApiResponse<StartUserDataStreamResponse$1>>;
}

/**
 * Binance Public Derivatives Trading USDS Futures REST API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures 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.
 */

type index$2_AcceptTheOfferedQuoteRequest = AcceptTheOfferedQuoteRequest;
type index$2_AcceptTheOfferedQuoteResponse = AcceptTheOfferedQuoteResponse;
type index$2_AccountInformationV2Response1AssetsInner = AccountInformationV2Response1AssetsInner;
type index$2_AccountInformationV2Response1PositionsInner = AccountInformationV2Response1PositionsInner;
type index$2_AccountInformationV2Response2AssetsInner = AccountInformationV2Response2AssetsInner;
type index$2_AccountInformationV3Request = AccountInformationV3Request;
type index$2_AccountInformationV3Response = AccountInformationV3Response;
type index$2_AccountInformationV3Response1 = AccountInformationV3Response1;
type index$2_AccountInformationV3Response1AssetsInner = AccountInformationV3Response1AssetsInner;
type index$2_AccountInformationV3Response1PositionsInner = AccountInformationV3Response1PositionsInner;
type index$2_AccountInformationV3Response2 = AccountInformationV3Response2;
type index$2_AccountTradeListRequest = AccountTradeListRequest;
type index$2_AccountTradeListResponse = AccountTradeListResponse;
type index$2_AccountTradeListResponseInner = AccountTradeListResponseInner;
type index$2_AllOrdersRequest = AllOrdersRequest;
type index$2_AllOrdersResponse = AllOrdersResponse;
type index$2_AllOrdersResponseInner = AllOrdersResponseInner;
type index$2_AutoCancelAllOpenOrdersRequest = AutoCancelAllOpenOrdersRequest;
type index$2_AutoCancelAllOpenOrdersResponse = AutoCancelAllOpenOrdersResponse;
type index$2_BadRequest = BadRequest;
type index$2_BasisContractTypeEnum = BasisContractTypeEnum;
type index$2_BasisPeriodEnum = BasisPeriodEnum;
type index$2_BasisRequest = BasisRequest;
type index$2_BasisResponse = BasisResponse;
type index$2_BasisResponseInner = BasisResponseInner;
type index$2_CancelAllOpenOrdersRequest = CancelAllOpenOrdersRequest;
type index$2_CancelAllOpenOrdersResponse = CancelAllOpenOrdersResponse;
type index$2_CancelMultipleOrdersRequest = CancelMultipleOrdersRequest;
type index$2_CancelMultipleOrdersResponse = CancelMultipleOrdersResponse;
type index$2_CancelMultipleOrdersResponseInner = CancelMultipleOrdersResponseInner;
type index$2_ChangeInitialLeverageRequest = ChangeInitialLeverageRequest;
type index$2_ChangeInitialLeverageResponse = ChangeInitialLeverageResponse;
type index$2_ChangeMarginTypeMarginTypeEnum = ChangeMarginTypeMarginTypeEnum;
type index$2_ChangeMarginTypeRequest = ChangeMarginTypeRequest;
type index$2_ChangeMarginTypeResponse = ChangeMarginTypeResponse;
type index$2_ChangeMultiAssetsModeRequest = ChangeMultiAssetsModeRequest;
type index$2_ChangeMultiAssetsModeResponse = ChangeMultiAssetsModeResponse;
type index$2_ChangePositionModeRequest = ChangePositionModeRequest;
type index$2_ChangePositionModeResponse = ChangePositionModeResponse;
type index$2_CheckServerTimeResponse = CheckServerTimeResponse;
type index$2_ClassicPortfolioMarginAccountInformationRequest = ClassicPortfolioMarginAccountInformationRequest;
type index$2_ClassicPortfolioMarginAccountInformationResponse = ClassicPortfolioMarginAccountInformationResponse;
type index$2_CompositeIndexSymbolInformationRequest = CompositeIndexSymbolInformationRequest;
type index$2_CompositeIndexSymbolInformationResponse = CompositeIndexSymbolInformationResponse;
type index$2_CompositeIndexSymbolInformationResponseInner = CompositeIndexSymbolInformationResponseInner;
type index$2_CompositeIndexSymbolInformationResponseInnerBaseAssetListInner = CompositeIndexSymbolInformationResponseInnerBaseAssetListInner;
type index$2_CompressedAggregateTradesListRequest = CompressedAggregateTradesListRequest;
type index$2_CompressedAggregateTradesListResponse = CompressedAggregateTradesListResponse;
type index$2_CompressedAggregateTradesListResponseInner = CompressedAggregateTradesListResponseInner;
type index$2_ContinuousContractKlineCandlestickDataContractTypeEnum = ContinuousContractKlineCandlestickDataContractTypeEnum;
type index$2_ContinuousContractKlineCandlestickDataIntervalEnum = ContinuousContractKlineCandlestickDataIntervalEnum;
type index$2_ContinuousContractKlineCandlestickDataRequest = ContinuousContractKlineCandlestickDataRequest;
type index$2_ContinuousContractKlineCandlestickDataResponse = ContinuousContractKlineCandlestickDataResponse;
type index$2_ContinuousContractKlineCandlestickDataResponseItem = ContinuousContractKlineCandlestickDataResponseItem;
type index$2_ContinuousContractKlineCandlestickDataResponseItemInner = ContinuousContractKlineCandlestickDataResponseItemInner;
type index$2_ConvertApi = ConvertApi;
declare const index$2_ConvertApi: typeof ConvertApi;
type index$2_ConvertApiInterface = ConvertApiInterface;
type index$2_CurrentAllOpenOrdersRequest = CurrentAllOpenOrdersRequest;
type index$2_CurrentAllOpenOrdersResponse = CurrentAllOpenOrdersResponse;
type index$2_ExchangeInformationResponse = ExchangeInformationResponse;
type index$2_ExchangeInformationResponseAssetsInner = ExchangeInformationResponseAssetsInner;
type index$2_ExchangeInformationResponseRateLimitsInner = ExchangeInformationResponseRateLimitsInner;
type index$2_ExchangeInformationResponseSymbolsInner = ExchangeInformationResponseSymbolsInner;
type index$2_ExchangeInformationResponseSymbolsInnerFiltersInner = ExchangeInformationResponseSymbolsInnerFiltersInner;
type index$2_FuturesAccountBalanceV2ResponseInner = FuturesAccountBalanceV2ResponseInner;
type index$2_FuturesAccountBalanceV3Request = FuturesAccountBalanceV3Request;
type index$2_FuturesAccountBalanceV3Response = FuturesAccountBalanceV3Response;
type index$2_FuturesAccountConfigurationRequest = FuturesAccountConfigurationRequest;
type index$2_FuturesAccountConfigurationResponse = FuturesAccountConfigurationResponse;
type index$2_FuturesTradingQuantitativeRulesIndicatorsRequest = FuturesTradingQuantitativeRulesIndicatorsRequest;
type index$2_FuturesTradingQuantitativeRulesIndicatorsResponse = FuturesTradingQuantitativeRulesIndicatorsResponse;
type index$2_FuturesTradingQuantitativeRulesIndicatorsResponse1 = FuturesTradingQuantitativeRulesIndicatorsResponse1;
type index$2_FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators = FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators;
type index$2_FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner = FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner;
type index$2_FuturesTradingQuantitativeRulesIndicatorsResponse2 = FuturesTradingQuantitativeRulesIndicatorsResponse2;
type index$2_FuturesTradingQuantitativeRulesIndicatorsResponse2Indicators = FuturesTradingQuantitativeRulesIndicatorsResponse2Indicators;
type index$2_FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner = FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner;
type index$2_GetBnbBurnStatusRequest = GetBnbBurnStatusRequest;
type index$2_GetBnbBurnStatusResponse = GetBnbBurnStatusResponse;
type index$2_GetCurrentMultiAssetsModeRequest = GetCurrentMultiAssetsModeRequest;
type index$2_GetCurrentMultiAssetsModeResponse = GetCurrentMultiAssetsModeResponse;
type index$2_GetCurrentPositionModeRequest = GetCurrentPositionModeRequest;
type index$2_GetCurrentPositionModeResponse = GetCurrentPositionModeResponse;
type index$2_GetDownloadIdForFuturesOrderHistoryRequest = GetDownloadIdForFuturesOrderHistoryRequest;
type index$2_GetDownloadIdForFuturesOrderHistoryResponse = GetDownloadIdForFuturesOrderHistoryResponse;
type index$2_GetDownloadIdForFuturesTradeHistoryRequest = GetDownloadIdForFuturesTradeHistoryRequest;
type index$2_GetDownloadIdForFuturesTradeHistoryResponse = GetDownloadIdForFuturesTradeHistoryResponse;
type index$2_GetDownloadIdForFuturesTransactionHistoryRequest = GetDownloadIdForFuturesTransactionHistoryRequest;
type index$2_GetDownloadIdForFuturesTransactionHistoryResponse = GetDownloadIdForFuturesTransactionHistoryResponse;
type index$2_GetFundingRateHistoryRequest = GetFundingRateHistoryRequest;
type index$2_GetFundingRateHistoryResponse = GetFundingRateHistoryResponse;
type index$2_GetFundingRateHistoryResponseInner = GetFundingRateHistoryResponseInner;
type index$2_GetFundingRateInfoResponse = GetFundingRateInfoResponse;
type index$2_GetFundingRateInfoResponseInner = GetFundingRateInfoResponseInner;
type index$2_GetFuturesOrderHistoryDownloadLinkByIdRequest = GetFuturesOrderHistoryDownloadLinkByIdRequest;
type index$2_GetFuturesOrderHistoryDownloadLinkByIdResponse = GetFuturesOrderHistoryDownloadLinkByIdResponse;
type index$2_GetFuturesOrderHistoryDownloadLinkByIdResponse1 = GetFuturesOrderHistoryDownloadLinkByIdResponse1;
type index$2_GetFuturesOrderHistoryDownloadLinkByIdResponse2 = GetFuturesOrderHistoryDownloadLinkByIdResponse2;
type index$2_GetFuturesTradeDownloadLinkByIdRequest = GetFuturesTradeDownloadLinkByIdRequest;
type index$2_GetFuturesTradeDownloadLinkByIdResponse = GetFuturesTradeDownloadLinkByIdResponse;
type index$2_GetFuturesTradeDownloadLinkByIdResponse1 = GetFuturesTradeDownloadLinkByIdResponse1;
type index$2_GetFuturesTradeDownloadLinkByIdResponse2 = GetFuturesTradeDownloadLinkByIdResponse2;
type index$2_GetFuturesTransactionHistoryDownloadLinkByIdRequest = GetFuturesTransactionHistoryDownloadLinkByIdRequest;
type index$2_GetFuturesTransactionHistoryDownloadLinkByIdResponse = GetFuturesTransactionHistoryDownloadLinkByIdResponse;
type index$2_GetFuturesTransactionHistoryDownloadLinkByIdResponse1 = GetFuturesTransactionHistoryDownloadLinkByIdResponse1;
type index$2_GetFuturesTransactionHistoryDownloadLinkByIdResponse2 = GetFuturesTransactionHistoryDownloadLinkByIdResponse2;
type index$2_GetIncomeHistoryRequest = GetIncomeHistoryRequest;
type index$2_GetIncomeHistoryResponse = GetIncomeHistoryResponse;
type index$2_GetIncomeHistoryResponseInner = GetIncomeHistoryResponseInner;
type index$2_GetOrderModifyHistoryRequest = GetOrderModifyHistoryRequest;
type index$2_GetOrderModifyHistoryResponse = GetOrderModifyHistoryResponse;
type index$2_GetOrderModifyHistoryResponseInner = GetOrderModifyHistoryResponseInner;
type index$2_GetOrderModifyHistoryResponseInnerAmendment = GetOrderModifyHistoryResponseInnerAmendment;
type index$2_GetOrderModifyHistoryResponseInnerAmendmentOrigQty = GetOrderModifyHistoryResponseInnerAmendmentOrigQty;
type index$2_GetOrderModifyHistoryResponseInnerAmendmentPrice = GetOrderModifyHistoryResponseInnerAmendmentPrice;
type index$2_GetPositionMarginChangeHistoryRequest = GetPositionMarginChangeHistoryRequest;
type index$2_GetPositionMarginChangeHistoryResponse = GetPositionMarginChangeHistoryResponse;
type index$2_GetPositionMarginChangeHistoryResponseInner = GetPositionMarginChangeHistoryResponseInner;
type index$2_HistoricalBlvtNavKlineCandlestickIntervalEnum = HistoricalBlvtNavKlineCandlestickIntervalEnum;
type index$2_HistoricalBlvtNavKlineCandlestickRequest = HistoricalBlvtNavKlineCandlestickRequest;
type index$2_HistoricalBlvtNavKlineCandlestickResponse = HistoricalBlvtNavKlineCandlestickResponse;
type index$2_HistoricalBlvtNavKlineCandlestickResponseItem = HistoricalBlvtNavKlineCandlestickResponseItem;
type index$2_HistoricalBlvtNavKlineCandlestickResponseItemInner = HistoricalBlvtNavKlineCandlestickResponseItemInner;
type index$2_IndexPriceKlineCandlestickDataIntervalEnum = IndexPriceKlineCandlestickDataIntervalEnum;
type index$2_IndexPriceKlineCandlestickDataRequest = IndexPriceKlineCandlestickDataRequest;
type index$2_IndexPriceKlineCandlestickDataResponse = IndexPriceKlineCandlestickDataResponse;
type index$2_IndexPriceKlineCandlestickDataResponseItem = IndexPriceKlineCandlestickDataResponseItem;
type index$2_IndexPriceKlineCandlestickDataResponseItemInner = IndexPriceKlineCandlestickDataResponseItemInner;
type index$2_KlineCandlestickDataIntervalEnum = KlineCandlestickDataIntervalEnum;
type index$2_KlineCandlestickDataRequest = KlineCandlestickDataRequest;
type index$2_KlineCandlestickDataResponse = KlineCandlestickDataResponse;
type index$2_KlineCandlestickDataResponseItem = KlineCandlestickDataResponseItem;
type index$2_KlineCandlestickDataResponseItemInner = KlineCandlestickDataResponseItemInner;
type index$2_ListAllConvertPairsRequest = ListAllConvertPairsRequest;
type index$2_ListAllConvertPairsResponse = ListAllConvertPairsResponse;
type index$2_ListAllConvertPairsResponseInner = ListAllConvertPairsResponseInner;
type index$2_LongShortRatioPeriodEnum = LongShortRatioPeriodEnum;
type index$2_LongShortRatioRequest = LongShortRatioRequest;
type index$2_LongShortRatioResponse = LongShortRatioResponse;
type index$2_LongShortRatioResponseInner = LongShortRatioResponseInner;
type index$2_MarkPriceKlineCandlestickDataIntervalEnum = MarkPriceKlineCandlestickDataIntervalEnum;
type index$2_MarkPriceKlineCandlestickDataRequest = MarkPriceKlineCandlestickDataRequest;
type index$2_MarkPriceKlineCandlestickDataResponse = MarkPriceKlineCandlestickDataResponse;
type index$2_MarkPriceKlineCandlestickDataResponseItem = MarkPriceKlineCandlestickDataResponseItem;
type index$2_MarkPriceKlineCandlestickDataResponseItemInner = MarkPriceKlineCandlestickDataResponseItemInner;
type index$2_MarkPriceRequest = MarkPriceRequest;
type index$2_MarkPriceResponse = MarkPriceResponse;
type index$2_MarkPriceResponse1 = MarkPriceResponse1;
type index$2_MarkPriceResponse2 = MarkPriceResponse2;
type index$2_MarkPriceResponse2Inner = MarkPriceResponse2Inner;
type index$2_ModifyIsolatedPositionMarginPositionSideEnum = ModifyIsolatedPositionMarginPositionSideEnum;
type index$2_ModifyIsolatedPositionMarginRequest = ModifyIsolatedPositionMarginRequest;
type index$2_ModifyIsolatedPositionMarginResponse = ModifyIsolatedPositionMarginResponse;
type index$2_ModifyMultipleOrdersBatchOrdersParameterInner = ModifyMultipleOrdersBatchOrdersParameterInner;
type index$2_ModifyMultipleOrdersBatchOrdersParameterInnerNewOrderRespTypeEnum = ModifyMultipleOrdersBatchOrdersParameterInnerNewOrderRespTypeEnum;
type index$2_ModifyMultipleOrdersBatchOrdersParameterInnerPositionSideEnum = ModifyMultipleOrdersBatchOrdersParameterInnerPositionSideEnum;
type index$2_ModifyMultipleOrdersBatchOrdersParameterInnerPriceMatchEnum = ModifyMultipleOrdersBatchOrdersParameterInnerPriceMatchEnum;
type index$2_ModifyMultipleOrdersBatchOrdersParameterInnerSelfTradePreventionModeEnum = ModifyMultipleOrdersBatchOrdersParameterInnerSelfTradePreventionModeEnum;
type index$2_ModifyMultipleOrdersBatchOrdersParameterInnerSideEnum = ModifyMultipleOrdersBatchOrdersParameterInnerSideEnum;
type index$2_ModifyMultipleOrdersBatchOrdersParameterInnerTimeInForceEnum = ModifyMultipleOrdersBatchOrdersParameterInnerTimeInForceEnum;
type index$2_ModifyMultipleOrdersBatchOrdersParameterInnerWorkingTypeEnum = ModifyMultipleOrdersBatchOrdersParameterInnerWorkingTypeEnum;
type index$2_ModifyMultipleOrdersRequest = ModifyMultipleOrdersRequest;
type index$2_ModifyMultipleOrdersResponse = ModifyMultipleOrdersResponse;
type index$2_ModifyMultipleOrdersResponseInner = ModifyMultipleOrdersResponseInner;
type index$2_MultiAssetsModeAssetIndexResponse1 = MultiAssetsModeAssetIndexResponse1;
type index$2_MultiAssetsModeAssetIndexResponse2 = MultiAssetsModeAssetIndexResponse2;
type index$2_MultiAssetsModeAssetIndexResponse2Inner = MultiAssetsModeAssetIndexResponse2Inner;
type index$2_NotionalAndLeverageBracketsRequest = NotionalAndLeverageBracketsRequest;
type index$2_NotionalAndLeverageBracketsResponse = NotionalAndLeverageBracketsResponse;
type index$2_NotionalAndLeverageBracketsResponse1 = NotionalAndLeverageBracketsResponse1;
type index$2_NotionalAndLeverageBracketsResponse1Inner = NotionalAndLeverageBracketsResponse1Inner;
type index$2_NotionalAndLeverageBracketsResponse1InnerBracketsInner = NotionalAndLeverageBracketsResponse1InnerBracketsInner;
type index$2_NotionalAndLeverageBracketsResponse2 = NotionalAndLeverageBracketsResponse2;
type index$2_OldTradesLookupRequest = OldTradesLookupRequest;
type index$2_OldTradesLookupResponse = OldTradesLookupResponse;
type index$2_OldTradesLookupResponseInner = OldTradesLookupResponseInner;
type index$2_OpenInterestRequest = OpenInterestRequest;
type index$2_OpenInterestResponse = OpenInterestResponse;
type index$2_OpenInterestStatisticsPeriodEnum = OpenInterestStatisticsPeriodEnum;
type index$2_OpenInterestStatisticsRequest = OpenInterestStatisticsRequest;
type index$2_OpenInterestStatisticsResponse = OpenInterestStatisticsResponse;
type index$2_OpenInterestStatisticsResponseInner = OpenInterestStatisticsResponseInner;
type index$2_OrderBookResponseAsksItem = OrderBookResponseAsksItem;
type index$2_OrderBookResponseBidsItem = OrderBookResponseBidsItem;
type index$2_OrderStatusRequest = OrderStatusRequest;
type index$2_OrderStatusResponse = OrderStatusResponse;
type index$2_PlaceMultipleOrdersRequest = PlaceMultipleOrdersRequest;
type index$2_PlaceMultipleOrdersResponse = PlaceMultipleOrdersResponse;
type index$2_PlaceMultipleOrdersResponseInner = PlaceMultipleOrdersResponseInner;
type index$2_PortfolioMarginEndpointsApi = PortfolioMarginEndpointsApi;
declare const index$2_PortfolioMarginEndpointsApi: typeof PortfolioMarginEndpointsApi;
type index$2_PortfolioMarginEndpointsApiInterface = PortfolioMarginEndpointsApiInterface;
type index$2_PositionAdlQuantileEstimationRequest = PositionAdlQuantileEstimationRequest;
type index$2_PositionAdlQuantileEstimationResponse = PositionAdlQuantileEstimationResponse;
type index$2_PositionAdlQuantileEstimationResponseInner = PositionAdlQuantileEstimationResponseInner;
type index$2_PositionAdlQuantileEstimationResponseInnerAdlQuantile = PositionAdlQuantileEstimationResponseInnerAdlQuantile;
type index$2_PositionInformationV2Response1Inner = PositionInformationV2Response1Inner;
type index$2_PositionInformationV2Response2Inner = PositionInformationV2Response2Inner;
type index$2_PositionInformationV3Request = PositionInformationV3Request;
type index$2_PositionInformationV3Response = PositionInformationV3Response;
type index$2_PositionInformationV3Response1 = PositionInformationV3Response1;
type index$2_PositionInformationV3Response1Inner = PositionInformationV3Response1Inner;
type index$2_PositionInformationV3Response2 = PositionInformationV3Response2;
type index$2_PositionInformationV3Response2Inner = PositionInformationV3Response2Inner;
type index$2_PremiumIndexKlineDataIntervalEnum = PremiumIndexKlineDataIntervalEnum;
type index$2_PremiumIndexKlineDataRequest = PremiumIndexKlineDataRequest;
type index$2_PremiumIndexKlineDataResponse = PremiumIndexKlineDataResponse;
type index$2_PremiumIndexKlineDataResponseItem = PremiumIndexKlineDataResponseItem;
type index$2_PremiumIndexKlineDataResponseItemInner = PremiumIndexKlineDataResponseItemInner;
type index$2_QuarterlyContractSettlementPriceRequest = QuarterlyContractSettlementPriceRequest;
type index$2_QuarterlyContractSettlementPriceResponse = QuarterlyContractSettlementPriceResponse;
type index$2_QuarterlyContractSettlementPriceResponseInner = QuarterlyContractSettlementPriceResponseInner;
type index$2_QueryCurrentOpenOrderRequest = QueryCurrentOpenOrderRequest;
type index$2_QueryCurrentOpenOrderResponse = QueryCurrentOpenOrderResponse;
type index$2_QueryIndexPriceConstituentsRequest = QueryIndexPriceConstituentsRequest;
type index$2_QueryIndexPriceConstituentsResponse = QueryIndexPriceConstituentsResponse;
type index$2_QueryIndexPriceConstituentsResponseConstituentsInner = QueryIndexPriceConstituentsResponseConstituentsInner;
type index$2_QueryUserRateLimitRequest = QueryUserRateLimitRequest;
type index$2_QueryUserRateLimitResponse = QueryUserRateLimitResponse;
type index$2_QueryUserRateLimitResponseInner = QueryUserRateLimitResponseInner;
type index$2_RecentTradesListRequest = RecentTradesListRequest;
type index$2_RecentTradesListResponse = RecentTradesListResponse;
type index$2_RecentTradesListResponseInner = RecentTradesListResponseInner;
type index$2_RestAPI = RestAPI;
declare const index$2_RestAPI: typeof RestAPI;
type index$2_SendQuoteRequestRequest = SendQuoteRequestRequest;
type index$2_SendQuoteRequestResponse = SendQuoteRequestResponse;
type index$2_SymbolConfigurationRequest = SymbolConfigurationRequest;
type index$2_SymbolConfigurationResponse = SymbolConfigurationResponse;
type index$2_SymbolConfigurationResponseInner = SymbolConfigurationResponseInner;
type index$2_SymbolOrderBookTickerResponse2Inner = SymbolOrderBookTickerResponse2Inner;
type index$2_SymbolPriceTickerV2Request = SymbolPriceTickerV2Request;
type index$2_SymbolPriceTickerV2Response = SymbolPriceTickerV2Response;
type index$2_SymbolPriceTickerV2Response1 = SymbolPriceTickerV2Response1;
type index$2_SymbolPriceTickerV2Response2 = SymbolPriceTickerV2Response2;
type index$2_SymbolPriceTickerV2Response2Inner = SymbolPriceTickerV2Response2Inner;
type index$2_TakerBuySellVolumePeriodEnum = TakerBuySellVolumePeriodEnum;
type index$2_TakerBuySellVolumeRequest = TakerBuySellVolumeRequest;
type index$2_TakerBuySellVolumeResponse = TakerBuySellVolumeResponse;
type index$2_TakerBuySellVolumeResponseInner = TakerBuySellVolumeResponseInner;
type index$2_TestOrderNewOrderRespTypeEnum = TestOrderNewOrderRespTypeEnum;
type index$2_TestOrderPositionSideEnum = TestOrderPositionSideEnum;
type index$2_TestOrderPriceMatchEnum = TestOrderPriceMatchEnum;
type index$2_TestOrderRequest = TestOrderRequest;
type index$2_TestOrderResponse = TestOrderResponse;
type index$2_TestOrderSelfTradePreventionModeEnum = TestOrderSelfTradePreventionModeEnum;
type index$2_TestOrderSideEnum = TestOrderSideEnum;
type index$2_TestOrderTimeInForceEnum = TestOrderTimeInForceEnum;
type index$2_TestOrderWorkingTypeEnum = TestOrderWorkingTypeEnum;
type index$2_Ticker24hrPriceChangeStatisticsRequest = Ticker24hrPriceChangeStatisticsRequest;
type index$2_Ticker24hrPriceChangeStatisticsResponse = Ticker24hrPriceChangeStatisticsResponse;
type index$2_Ticker24hrPriceChangeStatisticsResponse1 = Ticker24hrPriceChangeStatisticsResponse1;
type index$2_Ticker24hrPriceChangeStatisticsResponse2 = Ticker24hrPriceChangeStatisticsResponse2;
type index$2_Ticker24hrPriceChangeStatisticsResponse2Inner = Ticker24hrPriceChangeStatisticsResponse2Inner;
type index$2_ToggleBnbBurnOnFuturesTradeRequest = ToggleBnbBurnOnFuturesTradeRequest;
type index$2_ToggleBnbBurnOnFuturesTradeResponse = ToggleBnbBurnOnFuturesTradeResponse;
type index$2_TopTraderLongShortRatioAccountsPeriodEnum = TopTraderLongShortRatioAccountsPeriodEnum;
type index$2_TopTraderLongShortRatioAccountsRequest = TopTraderLongShortRatioAccountsRequest;
type index$2_TopTraderLongShortRatioAccountsResponse = TopTraderLongShortRatioAccountsResponse;
type index$2_TopTraderLongShortRatioAccountsResponseInner = TopTraderLongShortRatioAccountsResponseInner;
type index$2_TopTraderLongShortRatioPositionsPeriodEnum = TopTraderLongShortRatioPositionsPeriodEnum;
type index$2_TopTraderLongShortRatioPositionsRequest = TopTraderLongShortRatioPositionsRequest;
type index$2_TopTraderLongShortRatioPositionsResponse = TopTraderLongShortRatioPositionsResponse;
type index$2_TopTraderLongShortRatioPositionsResponseInner = TopTraderLongShortRatioPositionsResponseInner;
type index$2_UserCommissionRateRequest = UserCommissionRateRequest;
type index$2_UserCommissionRateResponse = UserCommissionRateResponse;
type index$2_UsersForceOrdersAutoCloseTypeEnum = UsersForceOrdersAutoCloseTypeEnum;
type index$2_UsersForceOrdersRequest = UsersForceOrdersRequest;
type index$2_UsersForceOrdersResponse = UsersForceOrdersResponse;
type index$2_UsersForceOrdersResponseInner = UsersForceOrdersResponseInner;
declare namespace index$2 {
  export {
    index$2_AcceptTheOfferedQuoteRequest as AcceptTheOfferedQuoteRequest,
    index$2_AcceptTheOfferedQuoteResponse as AcceptTheOfferedQuoteResponse,
    AccountApi$1 as AccountApi,
    AccountApiInterface$1 as AccountApiInterface,
    AccountInformationV2Request$1 as AccountInformationV2Request,
    AccountInformationV2Response$1 as AccountInformationV2Response,
    AccountInformationV2Response1$1 as AccountInformationV2Response1,
    index$2_AccountInformationV2Response1AssetsInner as AccountInformationV2Response1AssetsInner,
    index$2_AccountInformationV2Response1PositionsInner as AccountInformationV2Response1PositionsInner,
    AccountInformationV2Response2$1 as AccountInformationV2Response2,
    index$2_AccountInformationV2Response2AssetsInner as AccountInformationV2Response2AssetsInner,
    index$2_AccountInformationV3Request as AccountInformationV3Request,
    index$2_AccountInformationV3Response as AccountInformationV3Response,
    index$2_AccountInformationV3Response1 as AccountInformationV3Response1,
    index$2_AccountInformationV3Response1AssetsInner as AccountInformationV3Response1AssetsInner,
    index$2_AccountInformationV3Response1PositionsInner as AccountInformationV3Response1PositionsInner,
    index$2_AccountInformationV3Response2 as AccountInformationV3Response2,
    index$2_AccountTradeListRequest as AccountTradeListRequest,
    index$2_AccountTradeListResponse as AccountTradeListResponse,
    index$2_AccountTradeListResponseInner as AccountTradeListResponseInner,
    index$2_AllOrdersRequest as AllOrdersRequest,
    index$2_AllOrdersResponse as AllOrdersResponse,
    index$2_AllOrdersResponseInner as AllOrdersResponseInner,
    index$2_AutoCancelAllOpenOrdersRequest as AutoCancelAllOpenOrdersRequest,
    index$2_AutoCancelAllOpenOrdersResponse as AutoCancelAllOpenOrdersResponse,
    index$2_BadRequest as BadRequest,
    index$2_BasisContractTypeEnum as BasisContractTypeEnum,
    index$2_BasisPeriodEnum as BasisPeriodEnum,
    index$2_BasisRequest as BasisRequest,
    index$2_BasisResponse as BasisResponse,
    index$2_BasisResponseInner as BasisResponseInner,
    index$2_CancelAllOpenOrdersRequest as CancelAllOpenOrdersRequest,
    index$2_CancelAllOpenOrdersResponse as CancelAllOpenOrdersResponse,
    index$2_CancelMultipleOrdersRequest as CancelMultipleOrdersRequest,
    index$2_CancelMultipleOrdersResponse as CancelMultipleOrdersResponse,
    index$2_CancelMultipleOrdersResponseInner as CancelMultipleOrdersResponseInner,
    CancelOrderRequest$1 as CancelOrderRequest,
    CancelOrderResponse$1 as CancelOrderResponse,
    index$2_ChangeInitialLeverageRequest as ChangeInitialLeverageRequest,
    index$2_ChangeInitialLeverageResponse as ChangeInitialLeverageResponse,
    index$2_ChangeMarginTypeMarginTypeEnum as ChangeMarginTypeMarginTypeEnum,
    index$2_ChangeMarginTypeRequest as ChangeMarginTypeRequest,
    index$2_ChangeMarginTypeResponse as ChangeMarginTypeResponse,
    index$2_ChangeMultiAssetsModeRequest as ChangeMultiAssetsModeRequest,
    index$2_ChangeMultiAssetsModeResponse as ChangeMultiAssetsModeResponse,
    index$2_ChangePositionModeRequest as ChangePositionModeRequest,
    index$2_ChangePositionModeResponse as ChangePositionModeResponse,
    index$2_CheckServerTimeResponse as CheckServerTimeResponse,
    index$2_ClassicPortfolioMarginAccountInformationRequest as ClassicPortfolioMarginAccountInformationRequest,
    index$2_ClassicPortfolioMarginAccountInformationResponse as ClassicPortfolioMarginAccountInformationResponse,
    index$2_CompositeIndexSymbolInformationRequest as CompositeIndexSymbolInformationRequest,
    index$2_CompositeIndexSymbolInformationResponse as CompositeIndexSymbolInformationResponse,
    index$2_CompositeIndexSymbolInformationResponseInner as CompositeIndexSymbolInformationResponseInner,
    index$2_CompositeIndexSymbolInformationResponseInnerBaseAssetListInner as CompositeIndexSymbolInformationResponseInnerBaseAssetListInner,
    index$2_CompressedAggregateTradesListRequest as CompressedAggregateTradesListRequest,
    index$2_CompressedAggregateTradesListResponse as CompressedAggregateTradesListResponse,
    index$2_CompressedAggregateTradesListResponseInner as CompressedAggregateTradesListResponseInner,
    index$2_ContinuousContractKlineCandlestickDataContractTypeEnum as ContinuousContractKlineCandlestickDataContractTypeEnum,
    index$2_ContinuousContractKlineCandlestickDataIntervalEnum as ContinuousContractKlineCandlestickDataIntervalEnum,
    index$2_ContinuousContractKlineCandlestickDataRequest as ContinuousContractKlineCandlestickDataRequest,
    index$2_ContinuousContractKlineCandlestickDataResponse as ContinuousContractKlineCandlestickDataResponse,
    index$2_ContinuousContractKlineCandlestickDataResponseItem as ContinuousContractKlineCandlestickDataResponseItem,
    index$2_ContinuousContractKlineCandlestickDataResponseItemInner as ContinuousContractKlineCandlestickDataResponseItemInner,
    index$2_ConvertApi as ConvertApi,
    index$2_ConvertApiInterface as ConvertApiInterface,
    index$2_CurrentAllOpenOrdersRequest as CurrentAllOpenOrdersRequest,
    index$2_CurrentAllOpenOrdersResponse as CurrentAllOpenOrdersResponse,
    index$2_ExchangeInformationResponse as ExchangeInformationResponse,
    index$2_ExchangeInformationResponseAssetsInner as ExchangeInformationResponseAssetsInner,
    index$2_ExchangeInformationResponseRateLimitsInner as ExchangeInformationResponseRateLimitsInner,
    index$2_ExchangeInformationResponseSymbolsInner as ExchangeInformationResponseSymbolsInner,
    index$2_ExchangeInformationResponseSymbolsInnerFiltersInner as ExchangeInformationResponseSymbolsInnerFiltersInner,
    FuturesAccountBalanceV2Request$1 as FuturesAccountBalanceV2Request,
    FuturesAccountBalanceV2Response$1 as FuturesAccountBalanceV2Response,
    index$2_FuturesAccountBalanceV2ResponseInner as FuturesAccountBalanceV2ResponseInner,
    index$2_FuturesAccountBalanceV3Request as FuturesAccountBalanceV3Request,
    index$2_FuturesAccountBalanceV3Response as FuturesAccountBalanceV3Response,
    index$2_FuturesAccountConfigurationRequest as FuturesAccountConfigurationRequest,
    index$2_FuturesAccountConfigurationResponse as FuturesAccountConfigurationResponse,
    index$2_FuturesTradingQuantitativeRulesIndicatorsRequest as FuturesTradingQuantitativeRulesIndicatorsRequest,
    index$2_FuturesTradingQuantitativeRulesIndicatorsResponse as FuturesTradingQuantitativeRulesIndicatorsResponse,
    index$2_FuturesTradingQuantitativeRulesIndicatorsResponse1 as FuturesTradingQuantitativeRulesIndicatorsResponse1,
    index$2_FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators as FuturesTradingQuantitativeRulesIndicatorsResponse1Indicators,
    index$2_FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner as FuturesTradingQuantitativeRulesIndicatorsResponse1IndicatorsBTCUSDTInner,
    index$2_FuturesTradingQuantitativeRulesIndicatorsResponse2 as FuturesTradingQuantitativeRulesIndicatorsResponse2,
    index$2_FuturesTradingQuantitativeRulesIndicatorsResponse2Indicators as FuturesTradingQuantitativeRulesIndicatorsResponse2Indicators,
    index$2_FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner as FuturesTradingQuantitativeRulesIndicatorsResponse2IndicatorsACCOUNTInner,
    index$2_GetBnbBurnStatusRequest as GetBnbBurnStatusRequest,
    index$2_GetBnbBurnStatusResponse as GetBnbBurnStatusResponse,
    index$2_GetCurrentMultiAssetsModeRequest as GetCurrentMultiAssetsModeRequest,
    index$2_GetCurrentMultiAssetsModeResponse as GetCurrentMultiAssetsModeResponse,
    index$2_GetCurrentPositionModeRequest as GetCurrentPositionModeRequest,
    index$2_GetCurrentPositionModeResponse as GetCurrentPositionModeResponse,
    index$2_GetDownloadIdForFuturesOrderHistoryRequest as GetDownloadIdForFuturesOrderHistoryRequest,
    index$2_GetDownloadIdForFuturesOrderHistoryResponse as GetDownloadIdForFuturesOrderHistoryResponse,
    index$2_GetDownloadIdForFuturesTradeHistoryRequest as GetDownloadIdForFuturesTradeHistoryRequest,
    index$2_GetDownloadIdForFuturesTradeHistoryResponse as GetDownloadIdForFuturesTradeHistoryResponse,
    index$2_GetDownloadIdForFuturesTransactionHistoryRequest as GetDownloadIdForFuturesTransactionHistoryRequest,
    index$2_GetDownloadIdForFuturesTransactionHistoryResponse as GetDownloadIdForFuturesTransactionHistoryResponse,
    index$2_GetFundingRateHistoryRequest as GetFundingRateHistoryRequest,
    index$2_GetFundingRateHistoryResponse as GetFundingRateHistoryResponse,
    index$2_GetFundingRateHistoryResponseInner as GetFundingRateHistoryResponseInner,
    index$2_GetFundingRateInfoResponse as GetFundingRateInfoResponse,
    index$2_GetFundingRateInfoResponseInner as GetFundingRateInfoResponseInner,
    index$2_GetFuturesOrderHistoryDownloadLinkByIdRequest as GetFuturesOrderHistoryDownloadLinkByIdRequest,
    index$2_GetFuturesOrderHistoryDownloadLinkByIdResponse as GetFuturesOrderHistoryDownloadLinkByIdResponse,
    index$2_GetFuturesOrderHistoryDownloadLinkByIdResponse1 as GetFuturesOrderHistoryDownloadLinkByIdResponse1,
    index$2_GetFuturesOrderHistoryDownloadLinkByIdResponse2 as GetFuturesOrderHistoryDownloadLinkByIdResponse2,
    index$2_GetFuturesTradeDownloadLinkByIdRequest as GetFuturesTradeDownloadLinkByIdRequest,
    index$2_GetFuturesTradeDownloadLinkByIdResponse as GetFuturesTradeDownloadLinkByIdResponse,
    index$2_GetFuturesTradeDownloadLinkByIdResponse1 as GetFuturesTradeDownloadLinkByIdResponse1,
    index$2_GetFuturesTradeDownloadLinkByIdResponse2 as GetFuturesTradeDownloadLinkByIdResponse2,
    index$2_GetFuturesTransactionHistoryDownloadLinkByIdRequest as GetFuturesTransactionHistoryDownloadLinkByIdRequest,
    index$2_GetFuturesTransactionHistoryDownloadLinkByIdResponse as GetFuturesTransactionHistoryDownloadLinkByIdResponse,
    index$2_GetFuturesTransactionHistoryDownloadLinkByIdResponse1 as GetFuturesTransactionHistoryDownloadLinkByIdResponse1,
    index$2_GetFuturesTransactionHistoryDownloadLinkByIdResponse2 as GetFuturesTransactionHistoryDownloadLinkByIdResponse2,
    index$2_GetIncomeHistoryRequest as GetIncomeHistoryRequest,
    index$2_GetIncomeHistoryResponse as GetIncomeHistoryResponse,
    index$2_GetIncomeHistoryResponseInner as GetIncomeHistoryResponseInner,
    index$2_GetOrderModifyHistoryRequest as GetOrderModifyHistoryRequest,
    index$2_GetOrderModifyHistoryResponse as GetOrderModifyHistoryResponse,
    index$2_GetOrderModifyHistoryResponseInner as GetOrderModifyHistoryResponseInner,
    index$2_GetOrderModifyHistoryResponseInnerAmendment as GetOrderModifyHistoryResponseInnerAmendment,
    index$2_GetOrderModifyHistoryResponseInnerAmendmentOrigQty as GetOrderModifyHistoryResponseInnerAmendmentOrigQty,
    index$2_GetOrderModifyHistoryResponseInnerAmendmentPrice as GetOrderModifyHistoryResponseInnerAmendmentPrice,
    index$2_GetPositionMarginChangeHistoryRequest as GetPositionMarginChangeHistoryRequest,
    index$2_GetPositionMarginChangeHistoryResponse as GetPositionMarginChangeHistoryResponse,
    index$2_GetPositionMarginChangeHistoryResponseInner as GetPositionMarginChangeHistoryResponseInner,
    index$2_HistoricalBlvtNavKlineCandlestickIntervalEnum as HistoricalBlvtNavKlineCandlestickIntervalEnum,
    index$2_HistoricalBlvtNavKlineCandlestickRequest as HistoricalBlvtNavKlineCandlestickRequest,
    index$2_HistoricalBlvtNavKlineCandlestickResponse as HistoricalBlvtNavKlineCandlestickResponse,
    index$2_HistoricalBlvtNavKlineCandlestickResponseItem as HistoricalBlvtNavKlineCandlestickResponseItem,
    index$2_HistoricalBlvtNavKlineCandlestickResponseItemInner as HistoricalBlvtNavKlineCandlestickResponseItemInner,
    index$2_IndexPriceKlineCandlestickDataIntervalEnum as IndexPriceKlineCandlestickDataIntervalEnum,
    index$2_IndexPriceKlineCandlestickDataRequest as IndexPriceKlineCandlestickDataRequest,
    index$2_IndexPriceKlineCandlestickDataResponse as IndexPriceKlineCandlestickDataResponse,
    index$2_IndexPriceKlineCandlestickDataResponseItem as IndexPriceKlineCandlestickDataResponseItem,
    index$2_IndexPriceKlineCandlestickDataResponseItemInner as IndexPriceKlineCandlestickDataResponseItemInner,
    KeepaliveUserDataStreamResponse$1 as KeepaliveUserDataStreamResponse,
    index$2_KlineCandlestickDataIntervalEnum as KlineCandlestickDataIntervalEnum,
    index$2_KlineCandlestickDataRequest as KlineCandlestickDataRequest,
    index$2_KlineCandlestickDataResponse as KlineCandlestickDataResponse,
    index$2_KlineCandlestickDataResponseItem as KlineCandlestickDataResponseItem,
    index$2_KlineCandlestickDataResponseItemInner as KlineCandlestickDataResponseItemInner,
    index$2_ListAllConvertPairsRequest as ListAllConvertPairsRequest,
    index$2_ListAllConvertPairsResponse as ListAllConvertPairsResponse,
    index$2_ListAllConvertPairsResponseInner as ListAllConvertPairsResponseInner,
    index$2_LongShortRatioPeriodEnum as LongShortRatioPeriodEnum,
    index$2_LongShortRatioRequest as LongShortRatioRequest,
    index$2_LongShortRatioResponse as LongShortRatioResponse,
    index$2_LongShortRatioResponseInner as LongShortRatioResponseInner,
    index$2_MarkPriceKlineCandlestickDataIntervalEnum as MarkPriceKlineCandlestickDataIntervalEnum,
    index$2_MarkPriceKlineCandlestickDataRequest as MarkPriceKlineCandlestickDataRequest,
    index$2_MarkPriceKlineCandlestickDataResponse as MarkPriceKlineCandlestickDataResponse,
    index$2_MarkPriceKlineCandlestickDataResponseItem as MarkPriceKlineCandlestickDataResponseItem,
    index$2_MarkPriceKlineCandlestickDataResponseItemInner as MarkPriceKlineCandlestickDataResponseItemInner,
    index$2_MarkPriceRequest as MarkPriceRequest,
    index$2_MarkPriceResponse as MarkPriceResponse,
    index$2_MarkPriceResponse1 as MarkPriceResponse1,
    index$2_MarkPriceResponse2 as MarkPriceResponse2,
    index$2_MarkPriceResponse2Inner as MarkPriceResponse2Inner,
    MarketDataApi$1 as MarketDataApi,
    MarketDataApiInterface$1 as MarketDataApiInterface,
    index$2_ModifyIsolatedPositionMarginPositionSideEnum as ModifyIsolatedPositionMarginPositionSideEnum,
    index$2_ModifyIsolatedPositionMarginRequest as ModifyIsolatedPositionMarginRequest,
    index$2_ModifyIsolatedPositionMarginResponse as ModifyIsolatedPositionMarginResponse,
    index$2_ModifyMultipleOrdersBatchOrdersParameterInner as ModifyMultipleOrdersBatchOrdersParameterInner,
    index$2_ModifyMultipleOrdersBatchOrdersParameterInnerNewOrderRespTypeEnum as ModifyMultipleOrdersBatchOrdersParameterInnerNewOrderRespTypeEnum,
    index$2_ModifyMultipleOrdersBatchOrdersParameterInnerPositionSideEnum as ModifyMultipleOrdersBatchOrdersParameterInnerPositionSideEnum,
    index$2_ModifyMultipleOrdersBatchOrdersParameterInnerPriceMatchEnum as ModifyMultipleOrdersBatchOrdersParameterInnerPriceMatchEnum,
    index$2_ModifyMultipleOrdersBatchOrdersParameterInnerSelfTradePreventionModeEnum as ModifyMultipleOrdersBatchOrdersParameterInnerSelfTradePreventionModeEnum,
    index$2_ModifyMultipleOrdersBatchOrdersParameterInnerSideEnum as ModifyMultipleOrdersBatchOrdersParameterInnerSideEnum,
    index$2_ModifyMultipleOrdersBatchOrdersParameterInnerTimeInForceEnum as ModifyMultipleOrdersBatchOrdersParameterInnerTimeInForceEnum,
    index$2_ModifyMultipleOrdersBatchOrdersParameterInnerWorkingTypeEnum as ModifyMultipleOrdersBatchOrdersParameterInnerWorkingTypeEnum,
    index$2_ModifyMultipleOrdersRequest as ModifyMultipleOrdersRequest,
    index$2_ModifyMultipleOrdersResponse as ModifyMultipleOrdersResponse,
    index$2_ModifyMultipleOrdersResponseInner as ModifyMultipleOrdersResponseInner,
    ModifyOrderPriceMatchEnum$1 as ModifyOrderPriceMatchEnum,
    ModifyOrderRequest$1 as ModifyOrderRequest,
    ModifyOrderResponse$1 as ModifyOrderResponse,
    ModifyOrderSideEnum$1 as ModifyOrderSideEnum,
    MultiAssetsModeAssetIndexRequest$1 as MultiAssetsModeAssetIndexRequest,
    MultiAssetsModeAssetIndexResponse$1 as MultiAssetsModeAssetIndexResponse,
    index$2_MultiAssetsModeAssetIndexResponse1 as MultiAssetsModeAssetIndexResponse1,
    index$2_MultiAssetsModeAssetIndexResponse2 as MultiAssetsModeAssetIndexResponse2,
    index$2_MultiAssetsModeAssetIndexResponse2Inner as MultiAssetsModeAssetIndexResponse2Inner,
    NewOrderNewOrderRespTypeEnum$1 as NewOrderNewOrderRespTypeEnum,
    NewOrderPositionSideEnum$1 as NewOrderPositionSideEnum,
    NewOrderPriceMatchEnum$1 as NewOrderPriceMatchEnum,
    NewOrderRequest$1 as NewOrderRequest,
    NewOrderResponse$1 as NewOrderResponse,
    NewOrderSelfTradePreventionModeEnum$1 as NewOrderSelfTradePreventionModeEnum,
    NewOrderSideEnum$1 as NewOrderSideEnum,
    NewOrderTimeInForceEnum$1 as NewOrderTimeInForceEnum,
    NewOrderWorkingTypeEnum$1 as NewOrderWorkingTypeEnum,
    index$2_NotionalAndLeverageBracketsRequest as NotionalAndLeverageBracketsRequest,
    index$2_NotionalAndLeverageBracketsResponse as NotionalAndLeverageBracketsResponse,
    index$2_NotionalAndLeverageBracketsResponse1 as NotionalAndLeverageBracketsResponse1,
    index$2_NotionalAndLeverageBracketsResponse1Inner as NotionalAndLeverageBracketsResponse1Inner,
    index$2_NotionalAndLeverageBracketsResponse1InnerBracketsInner as NotionalAndLeverageBracketsResponse1InnerBracketsInner,
    index$2_NotionalAndLeverageBracketsResponse2 as NotionalAndLeverageBracketsResponse2,
    index$2_OldTradesLookupRequest as OldTradesLookupRequest,
    index$2_OldTradesLookupResponse as OldTradesLookupResponse,
    index$2_OldTradesLookupResponseInner as OldTradesLookupResponseInner,
    index$2_OpenInterestRequest as OpenInterestRequest,
    index$2_OpenInterestResponse as OpenInterestResponse,
    index$2_OpenInterestStatisticsPeriodEnum as OpenInterestStatisticsPeriodEnum,
    index$2_OpenInterestStatisticsRequest as OpenInterestStatisticsRequest,
    index$2_OpenInterestStatisticsResponse as OpenInterestStatisticsResponse,
    index$2_OpenInterestStatisticsResponseInner as OpenInterestStatisticsResponseInner,
    OrderBookRequest$1 as OrderBookRequest,
    OrderBookResponse$1 as OrderBookResponse,
    index$2_OrderBookResponseAsksItem as OrderBookResponseAsksItem,
    index$2_OrderBookResponseBidsItem as OrderBookResponseBidsItem,
    index$2_OrderStatusRequest as OrderStatusRequest,
    index$2_OrderStatusResponse as OrderStatusResponse,
    index$2_PlaceMultipleOrdersRequest as PlaceMultipleOrdersRequest,
    index$2_PlaceMultipleOrdersResponse as PlaceMultipleOrdersResponse,
    index$2_PlaceMultipleOrdersResponseInner as PlaceMultipleOrdersResponseInner,
    index$2_PortfolioMarginEndpointsApi as PortfolioMarginEndpointsApi,
    index$2_PortfolioMarginEndpointsApiInterface as PortfolioMarginEndpointsApiInterface,
    index$2_PositionAdlQuantileEstimationRequest as PositionAdlQuantileEstimationRequest,
    index$2_PositionAdlQuantileEstimationResponse as PositionAdlQuantileEstimationResponse,
    index$2_PositionAdlQuantileEstimationResponseInner as PositionAdlQuantileEstimationResponseInner,
    index$2_PositionAdlQuantileEstimationResponseInnerAdlQuantile as PositionAdlQuantileEstimationResponseInnerAdlQuantile,
    PositionInformationV2Request$1 as PositionInformationV2Request,
    PositionInformationV2Response$1 as PositionInformationV2Response,
    PositionInformationV2Response1$1 as PositionInformationV2Response1,
    index$2_PositionInformationV2Response1Inner as PositionInformationV2Response1Inner,
    PositionInformationV2Response2$1 as PositionInformationV2Response2,
    index$2_PositionInformationV2Response2Inner as PositionInformationV2Response2Inner,
    index$2_PositionInformationV3Request as PositionInformationV3Request,
    index$2_PositionInformationV3Response as PositionInformationV3Response,
    index$2_PositionInformationV3Response1 as PositionInformationV3Response1,
    index$2_PositionInformationV3Response1Inner as PositionInformationV3Response1Inner,
    index$2_PositionInformationV3Response2 as PositionInformationV3Response2,
    index$2_PositionInformationV3Response2Inner as PositionInformationV3Response2Inner,
    index$2_PremiumIndexKlineDataIntervalEnum as PremiumIndexKlineDataIntervalEnum,
    index$2_PremiumIndexKlineDataRequest as PremiumIndexKlineDataRequest,
    index$2_PremiumIndexKlineDataResponse as PremiumIndexKlineDataResponse,
    index$2_PremiumIndexKlineDataResponseItem as PremiumIndexKlineDataResponseItem,
    index$2_PremiumIndexKlineDataResponseItemInner as PremiumIndexKlineDataResponseItemInner,
    index$2_QuarterlyContractSettlementPriceRequest as QuarterlyContractSettlementPriceRequest,
    index$2_QuarterlyContractSettlementPriceResponse as QuarterlyContractSettlementPriceResponse,
    index$2_QuarterlyContractSettlementPriceResponseInner as QuarterlyContractSettlementPriceResponseInner,
    index$2_QueryCurrentOpenOrderRequest as QueryCurrentOpenOrderRequest,
    index$2_QueryCurrentOpenOrderResponse as QueryCurrentOpenOrderResponse,
    index$2_QueryIndexPriceConstituentsRequest as QueryIndexPriceConstituentsRequest,
    index$2_QueryIndexPriceConstituentsResponse as QueryIndexPriceConstituentsResponse,
    index$2_QueryIndexPriceConstituentsResponseConstituentsInner as QueryIndexPriceConstituentsResponseConstituentsInner,
    QueryOrderRequest$1 as QueryOrderRequest,
    QueryOrderResponse$1 as QueryOrderResponse,
    index$2_QueryUserRateLimitRequest as QueryUserRateLimitRequest,
    index$2_QueryUserRateLimitResponse as QueryUserRateLimitResponse,
    index$2_QueryUserRateLimitResponseInner as QueryUserRateLimitResponseInner,
    index$2_RecentTradesListRequest as RecentTradesListRequest,
    index$2_RecentTradesListResponse as RecentTradesListResponse,
    index$2_RecentTradesListResponseInner as RecentTradesListResponseInner,
    index$2_RestAPI as RestAPI,
    index$2_SendQuoteRequestRequest as SendQuoteRequestRequest,
    index$2_SendQuoteRequestResponse as SendQuoteRequestResponse,
    StartUserDataStreamResponse$1 as StartUserDataStreamResponse,
    index$2_SymbolConfigurationRequest as SymbolConfigurationRequest,
    index$2_SymbolConfigurationResponse as SymbolConfigurationResponse,
    index$2_SymbolConfigurationResponseInner as SymbolConfigurationResponseInner,
    SymbolOrderBookTickerRequest$1 as SymbolOrderBookTickerRequest,
    SymbolOrderBookTickerResponse$1 as SymbolOrderBookTickerResponse,
    SymbolOrderBookTickerResponse1$1 as SymbolOrderBookTickerResponse1,
    SymbolOrderBookTickerResponse2$1 as SymbolOrderBookTickerResponse2,
    index$2_SymbolOrderBookTickerResponse2Inner as SymbolOrderBookTickerResponse2Inner,
    SymbolPriceTickerRequest$1 as SymbolPriceTickerRequest,
    SymbolPriceTickerResponse$1 as SymbolPriceTickerResponse,
    SymbolPriceTickerResponse1$1 as SymbolPriceTickerResponse1,
    SymbolPriceTickerResponse2$1 as SymbolPriceTickerResponse2,
    index$2_SymbolPriceTickerV2Request as SymbolPriceTickerV2Request,
    index$2_SymbolPriceTickerV2Response as SymbolPriceTickerV2Response,
    index$2_SymbolPriceTickerV2Response1 as SymbolPriceTickerV2Response1,
    index$2_SymbolPriceTickerV2Response2 as SymbolPriceTickerV2Response2,
    index$2_SymbolPriceTickerV2Response2Inner as SymbolPriceTickerV2Response2Inner,
    index$2_TakerBuySellVolumePeriodEnum as TakerBuySellVolumePeriodEnum,
    index$2_TakerBuySellVolumeRequest as TakerBuySellVolumeRequest,
    index$2_TakerBuySellVolumeResponse as TakerBuySellVolumeResponse,
    index$2_TakerBuySellVolumeResponseInner as TakerBuySellVolumeResponseInner,
    index$2_TestOrderNewOrderRespTypeEnum as TestOrderNewOrderRespTypeEnum,
    index$2_TestOrderPositionSideEnum as TestOrderPositionSideEnum,
    index$2_TestOrderPriceMatchEnum as TestOrderPriceMatchEnum,
    index$2_TestOrderRequest as TestOrderRequest,
    index$2_TestOrderResponse as TestOrderResponse,
    index$2_TestOrderSelfTradePreventionModeEnum as TestOrderSelfTradePreventionModeEnum,
    index$2_TestOrderSideEnum as TestOrderSideEnum,
    index$2_TestOrderTimeInForceEnum as TestOrderTimeInForceEnum,
    index$2_TestOrderWorkingTypeEnum as TestOrderWorkingTypeEnum,
    index$2_Ticker24hrPriceChangeStatisticsRequest as Ticker24hrPriceChangeStatisticsRequest,
    index$2_Ticker24hrPriceChangeStatisticsResponse as Ticker24hrPriceChangeStatisticsResponse,
    index$2_Ticker24hrPriceChangeStatisticsResponse1 as Ticker24hrPriceChangeStatisticsResponse1,
    index$2_Ticker24hrPriceChangeStatisticsResponse2 as Ticker24hrPriceChangeStatisticsResponse2,
    index$2_Ticker24hrPriceChangeStatisticsResponse2Inner as Ticker24hrPriceChangeStatisticsResponse2Inner,
    index$2_ToggleBnbBurnOnFuturesTradeRequest as ToggleBnbBurnOnFuturesTradeRequest,
    index$2_ToggleBnbBurnOnFuturesTradeResponse as ToggleBnbBurnOnFuturesTradeResponse,
    index$2_TopTraderLongShortRatioAccountsPeriodEnum as TopTraderLongShortRatioAccountsPeriodEnum,
    index$2_TopTraderLongShortRatioAccountsRequest as TopTraderLongShortRatioAccountsRequest,
    index$2_TopTraderLongShortRatioAccountsResponse as TopTraderLongShortRatioAccountsResponse,
    index$2_TopTraderLongShortRatioAccountsResponseInner as TopTraderLongShortRatioAccountsResponseInner,
    index$2_TopTraderLongShortRatioPositionsPeriodEnum as TopTraderLongShortRatioPositionsPeriodEnum,
    index$2_TopTraderLongShortRatioPositionsRequest as TopTraderLongShortRatioPositionsRequest,
    index$2_TopTraderLongShortRatioPositionsResponse as TopTraderLongShortRatioPositionsResponse,
    index$2_TopTraderLongShortRatioPositionsResponseInner as TopTraderLongShortRatioPositionsResponseInner,
    TradeApi$1 as TradeApi,
    TradeApiInterface$1 as TradeApiInterface,
    index$2_UserCommissionRateRequest as UserCommissionRateRequest,
    index$2_UserCommissionRateResponse as UserCommissionRateResponse,
    UserDataStreamsApi$1 as UserDataStreamsApi,
    UserDataStreamsApiInterface$1 as UserDataStreamsApiInterface,
    index$2_UsersForceOrdersAutoCloseTypeEnum as UsersForceOrdersAutoCloseTypeEnum,
    index$2_UsersForceOrdersRequest as UsersForceOrdersRequest,
    index$2_UsersForceOrdersResponse as UsersForceOrdersResponse,
    index$2_UsersForceOrdersResponseInner as UsersForceOrdersResponseInner,
  };
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationResponse1ResultAssetsInner
 */
interface AccountInformationResponse1ResultAssetsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    walletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    marginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    crossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    crossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    marginAvailable?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse1ResultAssetsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationResponse1ResultPositionsInner
 */
interface AccountInformationResponse1ResultPositionsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    leverage?: string;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    isolated?: boolean;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    maxNotional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    bidNotional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    askNotional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    positionAmt?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse1ResultPositionsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationResponse1Result
 */
interface AccountInformationResponse1Result {
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse1Result
     */
    feeTier?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse1Result
     */
    canTrade?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse1Result
     */
    canDeposit?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse1Result
     */
    canWithdraw?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse1Result
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse1Result
     */
    multiAssetsMargin?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse1Result
     */
    tradeGroupId?: number;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    totalInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    totalMaintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    totalWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    totalUnrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    totalMarginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    totalPositionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    totalOpenOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    totalCrossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    totalCrossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1Result
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {Array<AccountInformationResponse1ResultAssetsInner>}
     * @memberof AccountInformationResponse1Result
     */
    assets?: Array<AccountInformationResponse1ResultAssetsInner>;
    /**
     *
     * @type {Array<AccountInformationResponse1ResultPositionsInner>}
     * @memberof AccountInformationResponse1Result
     */
    positions?: Array<AccountInformationResponse1ResultPositionsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationV2Response1RateLimitsInner
 */
interface AccountInformationV2Response1RateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1RateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1RateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1RateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1RateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1RateLimitsInner
     */
    count?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationResponse1
 */
interface AccountInformationResponse1 {
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse1
     */
    status?: number;
    /**
     *
     * @type {AccountInformationResponse1Result}
     * @memberof AccountInformationResponse1
     */
    result?: AccountInformationResponse1Result;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof AccountInformationResponse1
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationResponse2ResultPositionsInner
 */
interface AccountInformationResponse2ResultPositionsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    leverage?: string;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    isolated?: boolean;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    breakEvenPrice?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    maxNotional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    bidNotional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    askNotional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    positionAmt?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse2ResultPositionsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationV2Response2ResultAssetsInner
 */
interface AccountInformationV2Response2ResultAssetsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    walletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    marginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    crossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    crossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    marginAvailable?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response2ResultAssetsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationResponse2Result
 */
interface AccountInformationResponse2Result {
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse2Result
     */
    feeTier?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse2Result
     */
    canTrade?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse2Result
     */
    canDeposit?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse2Result
     */
    canWithdraw?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse2Result
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountInformationResponse2Result
     */
    multiAssetsMargin?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse2Result
     */
    tradeGroupId?: number;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    totalInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    totalMaintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    totalWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    totalUnrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    totalMarginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    totalPositionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    totalOpenOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    totalCrossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    totalCrossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2Result
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {Array<AccountInformationV2Response2ResultAssetsInner>}
     * @memberof AccountInformationResponse2Result
     */
    assets?: Array<AccountInformationV2Response2ResultAssetsInner>;
    /**
     *
     * @type {Array<AccountInformationResponse2ResultPositionsInner>}
     * @memberof AccountInformationResponse2Result
     */
    positions?: Array<AccountInformationResponse2ResultPositionsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationResponse2
 */
interface AccountInformationResponse2 {
    /**
     *
     * @type {string}
     * @memberof AccountInformationResponse2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationResponse2
     */
    status?: number;
    /**
     *
     * @type {AccountInformationResponse2Result}
     * @memberof AccountInformationResponse2
     */
    result?: AccountInformationResponse2Result;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof AccountInformationResponse2
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

/**
 * @type AccountInformationResponse
 * @export
 */
type AccountInformationResponse = AccountInformationResponse1 | AccountInformationResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationV2Response1ResultAssetsInner
 */
interface AccountInformationV2Response1ResultAssetsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    walletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    marginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    crossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    crossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1ResultAssetsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationV2Response1ResultPositionsInner
 */
interface AccountInformationV2Response1ResultPositionsInner {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    maintMargin?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1ResultPositionsInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationV2Response1Result
 */
interface AccountInformationV2Response1Result {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    totalInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    totalMaintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    totalWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    totalUnrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    totalMarginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    totalPositionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    totalOpenOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    totalCrossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    totalCrossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1Result
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {Array<AccountInformationV2Response1ResultAssetsInner>}
     * @memberof AccountInformationV2Response1Result
     */
    assets?: Array<AccountInformationV2Response1ResultAssetsInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1ResultPositionsInner>}
     * @memberof AccountInformationV2Response1Result
     */
    positions?: Array<AccountInformationV2Response1ResultPositionsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationV2Response1
 */
interface AccountInformationV2Response1 {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response1
     */
    status?: number;
    /**
     *
     * @type {AccountInformationV2Response1Result}
     * @memberof AccountInformationV2Response1
     */
    result?: AccountInformationV2Response1Result;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof AccountInformationV2Response1
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationV2Response2Result
 */
interface AccountInformationV2Response2Result {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    totalInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    totalMaintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    totalWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    totalUnrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    totalMarginBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    totalPositionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    totalOpenOrderInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    totalCrossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    totalCrossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2Result
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {Array<AccountInformationV2Response2ResultAssetsInner>}
     * @memberof AccountInformationV2Response2Result
     */
    assets?: Array<AccountInformationV2Response2ResultAssetsInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1ResultPositionsInner>}
     * @memberof AccountInformationV2Response2Result
     */
    positions?: Array<AccountInformationV2Response1ResultPositionsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 AccountInformationV2Response2
 */
interface AccountInformationV2Response2 {
    /**
     *
     * @type {string}
     * @memberof AccountInformationV2Response2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountInformationV2Response2
     */
    status?: number;
    /**
     *
     * @type {AccountInformationV2Response2Result}
     * @memberof AccountInformationV2Response2
     */
    result?: AccountInformationV2Response2Result;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof AccountInformationV2Response2
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

/**
 * @type AccountInformationV2Response
 * @export
 */
type AccountInformationV2Response = AccountInformationV2Response1 | AccountInformationV2Response2;

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 CancelOrderResponseRateLimitsInner
 */
interface CancelOrderResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 CancelOrderResponseResult
 */
interface CancelOrderResponseResult {
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponseResult
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelOrderResponseResult
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    stopPrice?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelOrderResponseResult
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponseResult
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelOrderResponseResult
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponseResult
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponseResult
     */
    goodTillDate?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 CancelOrderResponse
 */
interface CancelOrderResponse {
    /**
     *
     * @type {string}
     * @memberof CancelOrderResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof CancelOrderResponse
     */
    status?: number;
    /**
     *
     * @type {CancelOrderResponseResult}
     * @memberof CancelOrderResponse
     */
    result?: CancelOrderResponseResult;
    /**
     *
     * @type {Array<CancelOrderResponseRateLimitsInner>}
     * @memberof CancelOrderResponse
     */
    rateLimits?: Array<CancelOrderResponseRateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 SymbolOrderBookTickerResponse1RateLimitsInner
 */
interface SymbolOrderBookTickerResponse1RateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1RateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1RateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolOrderBookTickerResponse1RateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof SymbolOrderBookTickerResponse1RateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof SymbolOrderBookTickerResponse1RateLimitsInner
     */
    count?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 CloseUserDataStreamResponse
 */
interface CloseUserDataStreamResponse {
    /**
     *
     * @type {string}
     * @memberof CloseUserDataStreamResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof CloseUserDataStreamResponse
     */
    status?: number;
    /**
     *
     * @type {object}
     * @memberof CloseUserDataStreamResponse
     */
    result?: object;
    /**
     *
     * @type {Array<SymbolOrderBookTickerResponse1RateLimitsInner>}
     * @memberof CloseUserDataStreamResponse
     */
    rateLimits?: Array<SymbolOrderBookTickerResponse1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 FuturesAccountBalanceV2ResponseResultInner
 */
interface FuturesAccountBalanceV2ResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseResultInner
     */
    accountAlias?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseResultInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseResultInner
     */
    balance?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseResultInner
     */
    crossWalletBalance?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseResultInner
     */
    crossUnPnl?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseResultInner
     */
    availableBalance?: string;
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2ResponseResultInner
     */
    maxWithdrawAmount?: string;
    /**
     *
     * @type {boolean}
     * @memberof FuturesAccountBalanceV2ResponseResultInner
     */
    marginAvailable?: boolean;
    /**
     *
     * @type {number}
     * @memberof FuturesAccountBalanceV2ResponseResultInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 FuturesAccountBalanceResponse
 */
interface FuturesAccountBalanceResponse {
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof FuturesAccountBalanceResponse
     */
    status?: number;
    /**
     *
     * @type {Array<FuturesAccountBalanceV2ResponseResultInner>}
     * @memberof FuturesAccountBalanceResponse
     */
    result?: Array<FuturesAccountBalanceV2ResponseResultInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof FuturesAccountBalanceResponse
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 FuturesAccountBalanceV2Response
 */
interface FuturesAccountBalanceV2Response {
    /**
     *
     * @type {string}
     * @memberof FuturesAccountBalanceV2Response
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof FuturesAccountBalanceV2Response
     */
    status?: number;
    /**
     *
     * @type {Array<FuturesAccountBalanceV2ResponseResultInner>}
     * @memberof FuturesAccountBalanceV2Response
     */
    result?: Array<FuturesAccountBalanceV2ResponseResultInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof FuturesAccountBalanceV2Response
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 KeepaliveUserDataStreamResponseResult
 */
interface KeepaliveUserDataStreamResponseResult {
    /**
     *
     * @type {string}
     * @memberof KeepaliveUserDataStreamResponseResult
     */
    listenKey?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 KeepaliveUserDataStreamResponse
 */
interface KeepaliveUserDataStreamResponse {
    /**
     *
     * @type {string}
     * @memberof KeepaliveUserDataStreamResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof KeepaliveUserDataStreamResponse
     */
    status?: number;
    /**
     *
     * @type {KeepaliveUserDataStreamResponseResult}
     * @memberof KeepaliveUserDataStreamResponse
     */
    result?: KeepaliveUserDataStreamResponseResult;
    /**
     *
     * @type {Array<SymbolOrderBookTickerResponse1RateLimitsInner>}
     * @memberof KeepaliveUserDataStreamResponse
     */
    rateLimits?: Array<SymbolOrderBookTickerResponse1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 ModifyOrderResponseRateLimitsInner
 */
interface ModifyOrderResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 ModifyOrderResponseResult
 */
interface ModifyOrderResponseResult {
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponseResult
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    type?: string;
    /**
     *
     * @type {boolean}
     * @memberof ModifyOrderResponseResult
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ModifyOrderResponseResult
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof ModifyOrderResponseResult
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponseResult
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponseResult
     */
    goodTillDate?: number;
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponseResult
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 ModifyOrderResponse
 */
interface ModifyOrderResponse {
    /**
     *
     * @type {string}
     * @memberof ModifyOrderResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof ModifyOrderResponse
     */
    status?: number;
    /**
     *
     * @type {ModifyOrderResponseResult}
     * @memberof ModifyOrderResponse
     */
    result?: ModifyOrderResponseResult;
    /**
     *
     * @type {Array<ModifyOrderResponseRateLimitsInner>}
     * @memberof ModifyOrderResponse
     */
    rateLimits?: Array<ModifyOrderResponseRateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 NewOrderResponseResult
 */
interface NewOrderResponseResult {
    /**
     *
     * @type {number}
     * @memberof NewOrderResponseResult
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    cumQty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    type?: string;
    /**
     *
     * @type {boolean}
     * @memberof NewOrderResponseResult
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof NewOrderResponseResult
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof NewOrderResponseResult
     */
    priceProtect?: boolean;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    priceMatch?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseResult
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponseResult
     */
    goodTillDate?: number;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponseResult
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 NewOrderResponse
 */
interface NewOrderResponse {
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponse
     */
    status?: number;
    /**
     *
     * @type {NewOrderResponseResult}
     * @memberof NewOrderResponse
     */
    result?: NewOrderResponseResult;
    /**
     *
     * @type {Array<ModifyOrderResponseRateLimitsInner>}
     * @memberof NewOrderResponse
     */
    rateLimits?: Array<ModifyOrderResponseRateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 OrderBookResponseRateLimitsInner
 */
interface OrderBookResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof OrderBookResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderBookResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof OrderBookResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof OrderBookResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof OrderBookResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 OrderBookResponseResultAsksItem
 */
interface OrderBookResponseResultAsksItem extends Array<string> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 OrderBookResponseResultBidsItem
 */
interface OrderBookResponseResultBidsItem extends Array<string> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 OrderBookResponseResult
 */
interface OrderBookResponseResult {
    /**
     *
     * @type {number}
     * @memberof OrderBookResponseResult
     */
    lastUpdateId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderBookResponseResult
     */
    E?: number;
    /**
     *
     * @type {number}
     * @memberof OrderBookResponseResult
     */
    T?: number;
    /**
     *
     * @type {Array<OrderBookResponseResultBidsItem>}
     * @memberof OrderBookResponseResult
     */
    bids?: Array<OrderBookResponseResultBidsItem>;
    /**
     *
     * @type {Array<OrderBookResponseResultAsksItem>}
     * @memberof OrderBookResponseResult
     */
    asks?: Array<OrderBookResponseResultAsksItem>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 OrderBookResponse
 */
interface OrderBookResponse {
    /**
     *
     * @type {string}
     * @memberof OrderBookResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderBookResponse
     */
    status?: number;
    /**
     *
     * @type {OrderBookResponseResult}
     * @memberof OrderBookResponse
     */
    result?: OrderBookResponseResult;
    /**
     *
     * @type {Array<OrderBookResponseRateLimitsInner>}
     * @memberof OrderBookResponse
     */
    rateLimits?: Array<OrderBookResponseRateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 PositionInformationResponse1ResultInner
 */
interface PositionInformationResponse1ResultInner {
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    breakEvenPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    marginType?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    isAutoAddMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    leverage?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    liquidationPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    maxNotionalValue?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    unRealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1ResultInner
     */
    positionSide?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationResponse1ResultInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 PositionInformationResponse1
 */
interface PositionInformationResponse1 {
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationResponse1
     */
    status?: number;
    /**
     *
     * @type {Array<PositionInformationResponse1ResultInner>}
     * @memberof PositionInformationResponse1
     */
    result?: Array<PositionInformationResponse1ResultInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof PositionInformationResponse1
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 PositionInformationResponse2ResultInner
 */
interface PositionInformationResponse2ResultInner {
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    breakEvenPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    unRealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    liquidationPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    leverage?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    maxNotionalValue?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    marginType?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    isAutoAddMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2ResultInner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationResponse2ResultInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 PositionInformationResponse2
 */
interface PositionInformationResponse2 {
    /**
     *
     * @type {string}
     * @memberof PositionInformationResponse2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationResponse2
     */
    status?: number;
    /**
     *
     * @type {Array<PositionInformationResponse2ResultInner>}
     * @memberof PositionInformationResponse2
     */
    result?: Array<PositionInformationResponse2ResultInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof PositionInformationResponse2
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * @type PositionInformationResponse
 * @export
 */
type PositionInformationResponse = PositionInformationResponse1 | PositionInformationResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 PositionInformationV2Response1ResultInner
 */
interface PositionInformationV2Response1ResultInner {
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    breakEvenPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    liquidationPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    marginAsset?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV2Response1ResultInner
     */
    adl?: number;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    bidNotional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1ResultInner
     */
    askNotional?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV2Response1ResultInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 PositionInformationV2Response1
 */
interface PositionInformationV2Response1 {
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV2Response1
     */
    status?: number;
    /**
     *
     * @type {Array<PositionInformationV2Response1ResultInner>}
     * @memberof PositionInformationV2Response1
     */
    result?: Array<PositionInformationV2Response1ResultInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof PositionInformationV2Response1
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 PositionInformationV2Response2ResultInner
 */
interface PositionInformationV2Response2ResultInner {
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    positionAmt?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    entryPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    breakEvenPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    markPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    unrealizedProfit?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    liquidationPrice?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    isolatedMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    notional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    marginAsset?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    isolatedWallet?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    initialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    maintMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    positionInitialMargin?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    openOrderInitialMargin?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV2Response2ResultInner
     */
    adl?: number;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    bidNotional?: string;
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2ResultInner
     */
    askNotional?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV2Response2ResultInner
     */
    updateTime?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 PositionInformationV2Response2
 */
interface PositionInformationV2Response2 {
    /**
     *
     * @type {string}
     * @memberof PositionInformationV2Response2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof PositionInformationV2Response2
     */
    status?: number;
    /**
     *
     * @type {Array<PositionInformationV2Response2ResultInner>}
     * @memberof PositionInformationV2Response2
     */
    result?: Array<PositionInformationV2Response2ResultInner>;
    /**
     *
     * @type {Array<AccountInformationV2Response1RateLimitsInner>}
     * @memberof PositionInformationV2Response2
     */
    rateLimits?: Array<AccountInformationV2Response1RateLimitsInner>;
}

/**
 * @type PositionInformationV2Response
 * @export
 */
type PositionInformationV2Response = PositionInformationV2Response1 | PositionInformationV2Response2;

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 QueryOrderResponseResult
 */
interface QueryOrderResponseResult {
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    avgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    cumQuote?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    executedQty?: string;
    /**
     *
     * @type {number}
     * @memberof QueryOrderResponseResult
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    origType?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    price?: string;
    /**
     *
     * @type {boolean}
     * @memberof QueryOrderResponseResult
     */
    reduceOnly?: boolean;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    positionSide?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    stopPrice?: string;
    /**
     *
     * @type {boolean}
     * @memberof QueryOrderResponseResult
     */
    closePosition?: boolean;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof QueryOrderResponseResult
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    activatePrice?: string;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    priceRate?: string;
    /**
     *
     * @type {number}
     * @memberof QueryOrderResponseResult
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponseResult
     */
    workingType?: string;
    /**
     *
     * @type {boolean}
     * @memberof QueryOrderResponseResult
     */
    priceProtect?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 QueryOrderResponse
 */
interface QueryOrderResponse {
    /**
     *
     * @type {string}
     * @memberof QueryOrderResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof QueryOrderResponse
     */
    status?: number;
    /**
     *
     * @type {QueryOrderResponseResult}
     * @memberof QueryOrderResponse
     */
    result?: QueryOrderResponseResult;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 StartUserDataStreamResponseResult
 */
interface StartUserDataStreamResponseResult {
    /**
     *
     * @type {string}
     * @memberof StartUserDataStreamResponseResult
     */
    listenKey?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 StartUserDataStreamResponse
 */
interface StartUserDataStreamResponse {
    /**
     *
     * @type {string}
     * @memberof StartUserDataStreamResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof StartUserDataStreamResponse
     */
    status?: number;
    /**
     *
     * @type {StartUserDataStreamResponseResult}
     * @memberof StartUserDataStreamResponse
     */
    result?: StartUserDataStreamResponseResult;
    /**
     *
     * @type {Array<SymbolOrderBookTickerResponse1RateLimitsInner>}
     * @memberof StartUserDataStreamResponse
     */
    rateLimits?: Array<SymbolOrderBookTickerResponse1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 SymbolOrderBookTickerResponse1Result
 */
interface SymbolOrderBookTickerResponse1Result {
    /**
     *
     * @type {number}
     * @memberof SymbolOrderBookTickerResponse1Result
     */
    lastUpdateId?: number;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1Result
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1Result
     */
    bidPrice?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1Result
     */
    bidQty?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1Result
     */
    askPrice?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1Result
     */
    askQty?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolOrderBookTickerResponse1Result
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 SymbolOrderBookTickerResponse1
 */
interface SymbolOrderBookTickerResponse1 {
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolOrderBookTickerResponse1
     */
    status?: number;
    /**
     *
     * @type {SymbolOrderBookTickerResponse1Result}
     * @memberof SymbolOrderBookTickerResponse1
     */
    result?: SymbolOrderBookTickerResponse1Result;
    /**
     *
     * @type {Array<SymbolOrderBookTickerResponse1RateLimitsInner>}
     * @memberof SymbolOrderBookTickerResponse1
     */
    rateLimits?: Array<SymbolOrderBookTickerResponse1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 SymbolOrderBookTickerResponse2
 */
interface SymbolOrderBookTickerResponse2 {
    /**
     *
     * @type {string}
     * @memberof SymbolOrderBookTickerResponse2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolOrderBookTickerResponse2
     */
    status?: number;
    /**
     *
     * @type {Array<SymbolOrderBookTickerResponse1Result>}
     * @memberof SymbolOrderBookTickerResponse2
     */
    result?: Array<SymbolOrderBookTickerResponse1Result>;
    /**
     *
     * @type {Array<SymbolOrderBookTickerResponse1RateLimitsInner>}
     * @memberof SymbolOrderBookTickerResponse2
     */
    rateLimits?: Array<SymbolOrderBookTickerResponse1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

/**
 * @type SymbolOrderBookTickerResponse
 * @export
 */
type SymbolOrderBookTickerResponse = SymbolOrderBookTickerResponse1 | SymbolOrderBookTickerResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 SymbolPriceTickerResponse1Result
 */
interface SymbolPriceTickerResponse1Result {
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerResponse1Result
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerResponse1Result
     */
    price?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolPriceTickerResponse1Result
     */
    time?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 SymbolPriceTickerResponse1
 */
interface SymbolPriceTickerResponse1 {
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerResponse1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolPriceTickerResponse1
     */
    status?: number;
    /**
     *
     * @type {SymbolPriceTickerResponse1Result}
     * @memberof SymbolPriceTickerResponse1
     */
    result?: SymbolPriceTickerResponse1Result;
    /**
     *
     * @type {Array<SymbolOrderBookTickerResponse1RateLimitsInner>}
     * @memberof SymbolPriceTickerResponse1
     */
    rateLimits?: Array<SymbolOrderBookTickerResponse1RateLimitsInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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 SymbolPriceTickerResponse2
 */
interface SymbolPriceTickerResponse2 {
    /**
     *
     * @type {string}
     * @memberof SymbolPriceTickerResponse2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof SymbolPriceTickerResponse2
     */
    status?: number;
    /**
     *
     * @type {Array<SymbolPriceTickerResponse1Result>}
     * @memberof SymbolPriceTickerResponse2
     */
    result?: Array<SymbolPriceTickerResponse1Result>;
    /**
     *
     * @type {Array<SymbolOrderBookTickerResponse1RateLimitsInner>}
     * @memberof SymbolPriceTickerResponse2
     */
    rateLimits?: Array<SymbolOrderBookTickerResponse1RateLimitsInner>;
}

/**
 * @type SymbolPriceTickerResponse
 * @export
 */
type SymbolPriceTickerResponse = SymbolPriceTickerResponse1 | SymbolPriceTickerResponse2;

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

/**
 * AccountApi - interface
 *
 * @interface AccountApi
 */
interface AccountApiInterface {
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information(USER_DATA)
     * @param {AccountInformationRequest} requestParameters Request parameters.
     *
     * @returns {Promise<AccountInformationResponse>}
     * @memberof AccountApiInterface
     */
    accountInformation(requestParameters?: AccountInformationRequest): Promise<WebsocketApiResponse<AccountInformationResponse>>;
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information V2(USER_DATA)
     * @param {AccountInformationV2Request} requestParameters Request parameters.
     *
     * @returns {Promise<AccountInformationV2Response>}
     * @memberof AccountApiInterface
     */
    accountInformationV2(requestParameters?: AccountInformationV2Request): Promise<WebsocketApiResponse<AccountInformationV2Response>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance(USER_DATA)
     * @param {FuturesAccountBalanceRequest} requestParameters Request parameters.
     *
     * @returns {Promise<FuturesAccountBalanceResponse>}
     * @memberof AccountApiInterface
     */
    futuresAccountBalance(requestParameters?: FuturesAccountBalanceRequest): Promise<WebsocketApiResponse<FuturesAccountBalanceResponse>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance V2(USER_DATA)
     * @param {FuturesAccountBalanceV2Request} requestParameters Request parameters.
     *
     * @returns {Promise<FuturesAccountBalanceV2Response>}
     * @memberof AccountApiInterface
     */
    futuresAccountBalanceV2(requestParameters?: FuturesAccountBalanceV2Request): Promise<WebsocketApiResponse<FuturesAccountBalanceV2Response>>;
}
/**
 * Request parameters for accountInformation operation in AccountApi.
 * @interface AccountInformationRequest
 */
interface AccountInformationRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiAccountInformation
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiAccountInformation
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for accountInformationV2 operation in AccountApi.
 * @interface AccountInformationV2Request
 */
interface AccountInformationV2Request {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiAccountInformationV2
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiAccountInformationV2
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for futuresAccountBalance operation in AccountApi.
 * @interface FuturesAccountBalanceRequest
 */
interface FuturesAccountBalanceRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiFuturesAccountBalance
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiFuturesAccountBalance
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for futuresAccountBalanceV2 operation in AccountApi.
 * @interface FuturesAccountBalanceV2Request
 */
interface FuturesAccountBalanceV2Request {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiFuturesAccountBalanceV2
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiFuturesAccountBalanceV2
     */
    readonly recvWindow?: number;
}
/**
 * AccountApi - object-oriented interface
 * @class AccountApi
 * @extends {WebsocketAPIBase}
 */
declare class AccountApi implements AccountApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information(USER_DATA)
     * @param {AccountInformationRequest} requestParameters Request parameters.
     * @returns {Promise<AccountInformationResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Account-Information Binance API Documentation}
     */
    accountInformation(requestParameters?: AccountInformationRequest): Promise<WebsocketApiResponse<AccountInformationResponse>>;
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information V2(USER_DATA)
     * @param {AccountInformationV2Request} requestParameters Request parameters.
     * @returns {Promise<AccountInformationV2Response>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Account-Information-V2 Binance API Documentation}
     */
    accountInformationV2(requestParameters?: AccountInformationV2Request): Promise<WebsocketApiResponse<AccountInformationV2Response>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance(USER_DATA)
     * @param {FuturesAccountBalanceRequest} requestParameters Request parameters.
     * @returns {Promise<FuturesAccountBalanceResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Futures-Account-Balance Binance API Documentation}
     */
    futuresAccountBalance(requestParameters?: FuturesAccountBalanceRequest): Promise<WebsocketApiResponse<FuturesAccountBalanceResponse>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance V2(USER_DATA)
     * @param {FuturesAccountBalanceV2Request} requestParameters Request parameters.
     * @returns {Promise<FuturesAccountBalanceV2Response>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Futures-Account-Balance-V2 Binance API Documentation}
     */
    futuresAccountBalanceV2(requestParameters?: FuturesAccountBalanceV2Request): Promise<WebsocketApiResponse<FuturesAccountBalanceV2Response>>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

/**
 * MarketDataApi - interface
 *
 * @interface MarketDataApi
 */
interface MarketDataApiInterface {
    /**
     * Get current order book. Note that this request returns limited market depth.
     * If you need to continuously monitor order book updates, please consider using Websocket Market Streams:
     * `<symbol>@depth<levels>`
     * `<symbol>@depth`
     *
     * You can use `depth` request together with `<symbol>@depth` streams to maintain a local order book.
     *
     * Weight: Adjusted based on the limit:
     * | Limit         | Weight |
     * | ------------- | ------ |
     * | 5, 10, 20, 50 | 2      |
     * | 100           | 5      |
     * | 500           | 10     |
     * | 1000          | 20     |
     *
     * @summary Order Book
     * @param {OrderBookRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderBookResponse>}
     * @memberof MarketDataApiInterface
     */
    orderBook(requestParameters: OrderBookRequest): Promise<WebsocketApiResponse<OrderBookResponse>>;
    /**
     * Best price/qty on the order book for a symbol or symbols.
     *
     * If the symbol is not sent, bookTickers for all symbols will be returned in an array.
     * The field `X-MBX-USED-WEIGHT-1M` in response header is not accurate from this endpoint, please ignore.
     *
     * Weight: 2 for a single symbol;
     * 5 when the symbol parameter is omitted
     *
     * @summary Symbol Order Book Ticker
     * @param {SymbolOrderBookTickerRequest} requestParameters Request parameters.
     *
     * @returns {Promise<SymbolOrderBookTickerResponse>}
     * @memberof MarketDataApiInterface
     */
    symbolOrderBookTicker(requestParameters?: SymbolOrderBookTickerRequest): Promise<WebsocketApiResponse<SymbolOrderBookTickerResponse>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * If the symbol is not sent, prices for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol;
     * 2 when the symbol parameter is omitted
     *
     * @summary Symbol Price Ticker
     * @param {SymbolPriceTickerRequest} requestParameters Request parameters.
     *
     * @returns {Promise<SymbolPriceTickerResponse>}
     * @memberof MarketDataApiInterface
     */
    symbolPriceTicker(requestParameters?: SymbolPriceTickerRequest): Promise<WebsocketApiResponse<SymbolPriceTickerResponse>>;
}
/**
 * Request parameters for orderBook operation in MarketDataApi.
 * @interface OrderBookRequest
 */
interface OrderBookRequest {
    /**
     *
     * @type {string}
     * @memberof MarketDataApiOrderBook
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketDataApiOrderBook
     */
    readonly id?: string;
    /**
     * Default 500; Valid limits:[5, 10, 20, 50, 100, 500, 1000]
     * @type {number}
     * @memberof MarketDataApiOrderBook
     */
    readonly limit?: number;
}
/**
 * Request parameters for symbolOrderBookTicker operation in MarketDataApi.
 * @interface SymbolOrderBookTickerRequest
 */
interface SymbolOrderBookTickerRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketDataApiSymbolOrderBookTicker
     */
    readonly id?: string;
    /**
     *
     * @type {string}
     * @memberof MarketDataApiSymbolOrderBookTicker
     */
    readonly symbol?: string;
}
/**
 * Request parameters for symbolPriceTicker operation in MarketDataApi.
 * @interface SymbolPriceTickerRequest
 */
interface SymbolPriceTickerRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketDataApiSymbolPriceTicker
     */
    readonly id?: string;
    /**
     *
     * @type {string}
     * @memberof MarketDataApiSymbolPriceTicker
     */
    readonly symbol?: string;
}
/**
 * MarketDataApi - object-oriented interface
 * @class MarketDataApi
 * @extends {WebsocketAPIBase}
 */
declare class MarketDataApi implements MarketDataApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Get current order book. Note that this request returns limited market depth.
     * If you need to continuously monitor order book updates, please consider using Websocket Market Streams:
     * `<symbol>@depth<levels>`
     * `<symbol>@depth`
     *
     * You can use `depth` request together with `<symbol>@depth` streams to maintain a local order book.
     *
     * Weight: Adjusted based on the limit:
     * | Limit         | Weight |
     * | ------------- | ------ |
     * | 5, 10, 20, 50 | 2      |
     * | 100           | 5      |
     * | 500           | 10     |
     * | 1000          | 20     |
     *
     * @summary Order Book
     * @param {OrderBookRequest} requestParameters Request parameters.
     * @returns {Promise<OrderBookResponse>}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Order-Book Binance API Documentation}
     */
    orderBook(requestParameters: OrderBookRequest): Promise<WebsocketApiResponse<OrderBookResponse>>;
    /**
     * Best price/qty on the order book for a symbol or symbols.
     *
     * If the symbol is not sent, bookTickers for all symbols will be returned in an array.
     * The field `X-MBX-USED-WEIGHT-1M` in response header is not accurate from this endpoint, please ignore.
     *
     * Weight: 2 for a single symbol;
     * 5 when the symbol parameter is omitted
     *
     * @summary Symbol Order Book Ticker
     * @param {SymbolOrderBookTickerRequest} requestParameters Request parameters.
     * @returns {Promise<SymbolOrderBookTickerResponse>}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Symbol-Order-Book-Ticker Binance API Documentation}
     */
    symbolOrderBookTicker(requestParameters?: SymbolOrderBookTickerRequest): Promise<WebsocketApiResponse<SymbolOrderBookTickerResponse>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * If the symbol is not sent, prices for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol;
     * 2 when the symbol parameter is omitted
     *
     * @summary Symbol Price Ticker
     * @param {SymbolPriceTickerRequest} requestParameters Request parameters.
     * @returns {Promise<SymbolPriceTickerResponse>}
     * @memberof MarketDataApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Symbol-Price-Ticker Binance API Documentation}
     */
    symbolPriceTicker(requestParameters?: SymbolPriceTickerRequest): Promise<WebsocketApiResponse<SymbolPriceTickerResponse>>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

/**
 * TradeApi - interface
 *
 * @interface TradeApi
 */
interface TradeApiInterface {
    /**
     * Cancel an active order.
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     *
     * Weight: 1
     *
     * @summary Cancel Order (TRADE)
     * @param {CancelOrderRequest} requestParameters Request parameters.
     *
     * @returns {Promise<CancelOrderResponse>}
     * @memberof TradeApiInterface
     */
    cancelOrder(requestParameters: CancelOrderRequest): Promise<WebsocketApiResponse<CancelOrderResponse>>;
    /**
     * Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
     *
     * Either `orderId` or `origClientOrderId` must be sent, and the `orderId` will prevail if both are sent.
     * Both `quantity` and `price` must be sent, which is different from dapi modify order endpoint.
     * When the new `quantity` or `price` doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
     * However the order will be cancelled by the amendment in the following situations:
     * when the order is in partially filled status and the new `quantity` <= `executedQty`
     * When the order is `GTX` and the new price will cause it to be executed immediately
     * One order can only be modfied for less than 10000 times
     *
     * Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 1 on IP rate limit(x-mbx-used-weight-1m)
     *
     * @summary Modify Order (TRADE)
     * @param {ModifyOrderRequest} requestParameters Request parameters.
     *
     * @returns {Promise<ModifyOrderResponse>}
     * @memberof TradeApiInterface
     */
    modifyOrder(requestParameters: ModifyOrderRequest): Promise<WebsocketApiResponse<ModifyOrderResponse>>;
    /**
     * Send in a new order.
     *
     * Order with type `STOP`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Order with type `TAKE_PROFIT`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Condition orders will be triggered when:
     *
     * If parameter`priceProtect`is sent as true:
     * when price reaches the `stopPrice` ，the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbol
     * "triggerProtect" of a symbol can be got from `GET /fapi/v1/exchangeInfo`
     *
     * `STOP`, `STOP_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * `TAKE_PROFIT`, `TAKE_PROFIT_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * `TRAILING_STOP_MARKET`:
     * BUY: the lowest price after order placed `<= `activationPrice`, and the latest price >`= the lowest price * (1 + `callbackRate`)
     * SELL: the highest price after order placed >= `activationPrice`, and the latest price <= the highest price * (1 - `callbackRate`)
     *
     * For `TRAILING_STOP_MARKET`, if you got such error code.
     * ``{"code": -2021, "msg": "Order would immediately trigger."}``
     * means that the parameters you send do not meet the following requirements:
     * BUY: `activationPrice` should be smaller than latest price.
     * SELL: `activationPrice` should be larger than latest price.
     *
     * If `newOrderRespType ` is sent as `RESULT` :
     * `MARKET` order: the final FILLED result of the order will be return directly.
     * `LIMIT` order with special `timeInForce`: the final status result of the order(FILLED or EXPIRED) will be returned directly.
     *
     * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
     * Follow the same rules for condition orders.
     * If triggered，**close all** current long position( if `SELL`) or current short position( if `BUY`).
     * Cannot be used with `quantity` paremeter
     * Cannot be used with `reduceOnly` parameter
     * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
     *
     * Weight: 0
     *
     * @summary New Order(TRADE)
     * @param {NewOrderRequest} requestParameters Request parameters.
     *
     * @returns {Promise<NewOrderResponse>}
     * @memberof TradeApiInterface
     */
    newOrder(requestParameters: NewOrderRequest): Promise<WebsocketApiResponse<NewOrderResponse>>;
    /**
     * Get current position information.
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information (USER_DATA)
     * @param {PositionInformationRequest} requestParameters Request parameters.
     *
     * @returns {Promise<PositionInformationResponse>}
     * @memberof TradeApiInterface
     */
    positionInformation(requestParameters?: PositionInformationRequest): Promise<WebsocketApiResponse<PositionInformationResponse>>;
    /**
     * Get current position information(only symbol that has position or open orders will be returned).
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information V2 (USER_DATA)
     * @param {PositionInformationV2Request} requestParameters Request parameters.
     *
     * @returns {Promise<PositionInformationV2Response>}
     * @memberof TradeApiInterface
     */
    positionInformationV2(requestParameters?: PositionInformationV2Request): Promise<WebsocketApiResponse<PositionInformationV2Response>>;
    /**
     * Check an order's status.
     *
     * These orders will not be found:
     * order status is `CANCELED` or `EXPIRED` **AND** order has NO filled trade **AND** created time + 3 days < current time
     * order create time + 90 days < current time
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     * `orderId` is self-increment for each specific `symbol`
     *
     * Weight: 1
     *
     * @summary Query Order (USER_DATA)
     * @param {QueryOrderRequest} requestParameters Request parameters.
     *
     * @returns {Promise<QueryOrderResponse>}
     * @memberof TradeApiInterface
     */
    queryOrder(requestParameters: QueryOrderRequest): Promise<WebsocketApiResponse<QueryOrderResponse>>;
}
/**
 * Request parameters for cancelOrder operation in TradeApi.
 * @interface CancelOrderRequest
 */
interface CancelOrderRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiCancelOrder
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiCancelOrder
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiCancelOrder
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiCancelOrder
     */
    readonly origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiCancelOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for modifyOrder operation in TradeApi.
 * @interface ModifyOrderRequest
 */
interface ModifyOrderRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiModifyOrder
     */
    readonly symbol: string;
    /**
     * `SELL`, `BUY`
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiModifyOrder
     */
    readonly side: ModifyOrderSideEnum;
    /**
     * Order quantity, cannot be sent with `closePosition=true`
     * @type {number}
     * @memberof TradeApiModifyOrder
     */
    readonly quantity: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiModifyOrder
     */
    readonly price: number;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiModifyOrder
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiModifyOrder
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiModifyOrder
     */
    readonly origClientOrderId?: string;
    /**
     * only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
     * @type {'NONE' | 'OPPONENT' | 'OPPONENT_5' | 'OPPONENT_10' | 'OPPONENT_20' | 'QUEUE' | 'QUEUE_5' | 'QUEUE_10' | 'QUEUE_20'}
     * @memberof TradeApiModifyOrder
     */
    readonly priceMatch?: ModifyOrderPriceMatchEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiModifyOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for newOrder operation in TradeApi.
 * @interface NewOrderRequest
 */
interface NewOrderRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly symbol: string;
    /**
     * `SELL`, `BUY`
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiNewOrder
     */
    readonly side: NewOrderSideEnum;
    /**
     *
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly type: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly id?: string;
    /**
     * Default `BOTH` for One-way Mode ; `LONG` or `SHORT` for Hedge Mode. It must be sent in Hedge Mode.
     * @type {'BOTH' | 'LONG' | 'SHORT'}
     * @memberof TradeApiNewOrder
     */
    readonly positionSide?: NewOrderPositionSideEnum;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK' | 'GTX' | 'GTD'}
     * @memberof TradeApiNewOrder
     */
    readonly timeInForce?: NewOrderTimeInForceEnum;
    /**
     * Cannot be sent with `closePosition`=`true`(Close-All)
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly quantity?: number;
    /**
     * "true" or "false". default "false". Cannot be sent in Hedge Mode; cannot be sent with `closePosition`=`true`
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly reduceOnly?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly price?: number;
    /**
     * A unique id among open orders. Automatically generated if not sent. Can only be string following the rule: `^[\.A-Z\:/a-z0-9_-]{1,36}$`
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly newClientOrderId?: string;
    /**
     * Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders.
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly stopPrice?: number;
    /**
     * `true`, `false`；Close-All，used with `STOP_MARKET` or `TAKE_PROFIT_MARKET`.
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly closePosition?: string;
    /**
     * Used with `TRAILING_STOP_MARKET` orders, default as the latest price(supporting different `workingType`)
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly activationPrice?: number;
    /**
     * Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1%
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly callbackRate?: number;
    /**
     * stopPrice triggered by: "MARK_PRICE", "CONTRACT_PRICE". Default "CONTRACT_PRICE"
     * @type {'MARK_PRICE' | 'CONTRACT_PRICE'}
     * @memberof TradeApiNewOrder
     */
    readonly workingType?: NewOrderWorkingTypeEnum;
    /**
     * "TRUE" or "FALSE", default "FALSE". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders.
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly priceProtect?: string;
    /**
     * "ACK", "RESULT", default "ACK"
     * @type {'ACK' | 'RESULT'}
     * @memberof TradeApiNewOrder
     */
    readonly newOrderRespType?: NewOrderNewOrderRespTypeEnum;
    /**
     * only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
     * @type {'NONE' | 'OPPONENT' | 'OPPONENT_5' | 'OPPONENT_10' | 'OPPONENT_20' | 'QUEUE' | 'QUEUE_5' | 'QUEUE_10' | 'QUEUE_20'}
     * @memberof TradeApiNewOrder
     */
    readonly priceMatch?: NewOrderPriceMatchEnum;
    /**
     * `NONE`:No STP / `EXPIRE_TAKER`:expire taker order when STP triggers/ `EXPIRE_MAKER`:expire taker order when STP triggers/ `EXPIRE_BOTH`:expire both orders when STP triggers; default `NONE`
     * @type {'EXPIRE_TAKER' | 'EXPIRE_BOTH' | 'EXPIRE_MAKER'}
     * @memberof TradeApiNewOrder
     */
    readonly selfTradePreventionMode?: NewOrderSelfTradePreventionModeEnum;
    /**
     * order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly goodTillDate?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for positionInformation operation in TradeApi.
 * @interface PositionInformationRequest
 */
interface PositionInformationRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiPositionInformation
     */
    readonly id?: string;
    /**
     *
     * @type {string}
     * @memberof TradeApiPositionInformation
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiPositionInformation
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for positionInformationV2 operation in TradeApi.
 * @interface PositionInformationV2Request
 */
interface PositionInformationV2Request {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiPositionInformationV2
     */
    readonly id?: string;
    /**
     *
     * @type {string}
     * @memberof TradeApiPositionInformationV2
     */
    readonly symbol?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiPositionInformationV2
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for queryOrder operation in TradeApi.
 * @interface QueryOrderRequest
 */
interface QueryOrderRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiQueryOrder
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiQueryOrder
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiQueryOrder
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiQueryOrder
     */
    readonly origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiQueryOrder
     */
    readonly recvWindow?: number;
}
/**
 * TradeApi - object-oriented interface
 * @class TradeApi
 * @extends {WebsocketAPIBase}
 */
declare class TradeApi implements TradeApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Cancel an active order.
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     *
     * Weight: 1
     *
     * @summary Cancel Order (TRADE)
     * @param {CancelOrderRequest} requestParameters Request parameters.
     * @returns {Promise<CancelOrderResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Cancel-Order Binance API Documentation}
     */
    cancelOrder(requestParameters: CancelOrderRequest): Promise<WebsocketApiResponse<CancelOrderResponse>>;
    /**
     * Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
     *
     * Either `orderId` or `origClientOrderId` must be sent, and the `orderId` will prevail if both are sent.
     * Both `quantity` and `price` must be sent, which is different from dapi modify order endpoint.
     * When the new `quantity` or `price` doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
     * However the order will be cancelled by the amendment in the following situations:
     * when the order is in partially filled status and the new `quantity` <= `executedQty`
     * When the order is `GTX` and the new price will cause it to be executed immediately
     * One order can only be modfied for less than 10000 times
     *
     * Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 1 on IP rate limit(x-mbx-used-weight-1m)
     *
     * @summary Modify Order (TRADE)
     * @param {ModifyOrderRequest} requestParameters Request parameters.
     * @returns {Promise<ModifyOrderResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Modify-Order Binance API Documentation}
     */
    modifyOrder(requestParameters: ModifyOrderRequest): Promise<WebsocketApiResponse<ModifyOrderResponse>>;
    /**
     * Send in a new order.
     *
     * Order with type `STOP`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Order with type `TAKE_PROFIT`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Condition orders will be triggered when:
     *
     * If parameter`priceProtect`is sent as true:
     * when price reaches the `stopPrice` ，the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbol
     * "triggerProtect" of a symbol can be got from `GET /fapi/v1/exchangeInfo`
     *
     * `STOP`, `STOP_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * `TAKE_PROFIT`, `TAKE_PROFIT_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * `TRAILING_STOP_MARKET`:
     * BUY: the lowest price after order placed `<= `activationPrice`, and the latest price >`= the lowest price * (1 + `callbackRate`)
     * SELL: the highest price after order placed >= `activationPrice`, and the latest price <= the highest price * (1 - `callbackRate`)
     *
     * For `TRAILING_STOP_MARKET`, if you got such error code.
     * ``{"code": -2021, "msg": "Order would immediately trigger."}``
     * means that the parameters you send do not meet the following requirements:
     * BUY: `activationPrice` should be smaller than latest price.
     * SELL: `activationPrice` should be larger than latest price.
     *
     * If `newOrderRespType ` is sent as `RESULT` :
     * `MARKET` order: the final FILLED result of the order will be return directly.
     * `LIMIT` order with special `timeInForce`: the final status result of the order(FILLED or EXPIRED) will be returned directly.
     *
     * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
     * Follow the same rules for condition orders.
     * If triggered，**close all** current long position( if `SELL`) or current short position( if `BUY`).
     * Cannot be used with `quantity` paremeter
     * Cannot be used with `reduceOnly` parameter
     * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
     *
     * Weight: 0
     *
     * @summary New Order(TRADE)
     * @param {NewOrderRequest} requestParameters Request parameters.
     * @returns {Promise<NewOrderResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/New-Order Binance API Documentation}
     */
    newOrder(requestParameters: NewOrderRequest): Promise<WebsocketApiResponse<NewOrderResponse>>;
    /**
     * Get current position information.
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information (USER_DATA)
     * @param {PositionInformationRequest} requestParameters Request parameters.
     * @returns {Promise<PositionInformationResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Information Binance API Documentation}
     */
    positionInformation(requestParameters?: PositionInformationRequest): Promise<WebsocketApiResponse<PositionInformationResponse>>;
    /**
     * Get current position information(only symbol that has position or open orders will be returned).
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information V2 (USER_DATA)
     * @param {PositionInformationV2Request} requestParameters Request parameters.
     * @returns {Promise<PositionInformationV2Response>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Info-V2 Binance API Documentation}
     */
    positionInformationV2(requestParameters?: PositionInformationV2Request): Promise<WebsocketApiResponse<PositionInformationV2Response>>;
    /**
     * Check an order's status.
     *
     * These orders will not be found:
     * order status is `CANCELED` or `EXPIRED` **AND** order has NO filled trade **AND** created time + 3 days < current time
     * order create time + 90 days < current time
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     * `orderId` is self-increment for each specific `symbol`
     *
     * Weight: 1
     *
     * @summary Query Order (USER_DATA)
     * @param {QueryOrderRequest} requestParameters Request parameters.
     * @returns {Promise<QueryOrderResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Query-Order Binance API Documentation}
     */
    queryOrder(requestParameters: QueryOrderRequest): Promise<WebsocketApiResponse<QueryOrderResponse>>;
}
/**
 * @enum {string}
 */
declare const ModifyOrderSideEnum: {
    readonly BUY: "BUY";
    readonly SELL: "SELL";
};
type ModifyOrderSideEnum = (typeof ModifyOrderSideEnum)[keyof typeof ModifyOrderSideEnum];
/**
 * @enum {string}
 */
declare const ModifyOrderPriceMatchEnum: {
    readonly NONE: "NONE";
    readonly OPPONENT: "OPPONENT";
    readonly OPPONENT_5: "OPPONENT_5";
    readonly OPPONENT_10: "OPPONENT_10";
    readonly OPPONENT_20: "OPPONENT_20";
    readonly QUEUE: "QUEUE";
    readonly QUEUE_5: "QUEUE_5";
    readonly QUEUE_10: "QUEUE_10";
    readonly QUEUE_20: "QUEUE_20";
};
type ModifyOrderPriceMatchEnum = (typeof ModifyOrderPriceMatchEnum)[keyof typeof ModifyOrderPriceMatchEnum];
/**
 * @enum {string}
 */
declare const NewOrderSideEnum: {
    readonly BUY: "BUY";
    readonly SELL: "SELL";
};
type NewOrderSideEnum = (typeof NewOrderSideEnum)[keyof typeof NewOrderSideEnum];
/**
 * @enum {string}
 */
declare const NewOrderPositionSideEnum: {
    readonly BOTH: "BOTH";
    readonly LONG: "LONG";
    readonly SHORT: "SHORT";
};
type NewOrderPositionSideEnum = (typeof NewOrderPositionSideEnum)[keyof typeof NewOrderPositionSideEnum];
/**
 * @enum {string}
 */
declare const NewOrderTimeInForceEnum: {
    readonly GTC: "GTC";
    readonly IOC: "IOC";
    readonly FOK: "FOK";
    readonly GTX: "GTX";
    readonly GTD: "GTD";
};
type NewOrderTimeInForceEnum = (typeof NewOrderTimeInForceEnum)[keyof typeof NewOrderTimeInForceEnum];
/**
 * @enum {string}
 */
declare const NewOrderWorkingTypeEnum: {
    readonly MARK_PRICE: "MARK_PRICE";
    readonly CONTRACT_PRICE: "CONTRACT_PRICE";
};
type NewOrderWorkingTypeEnum = (typeof NewOrderWorkingTypeEnum)[keyof typeof NewOrderWorkingTypeEnum];
/**
 * @enum {string}
 */
declare const NewOrderNewOrderRespTypeEnum: {
    readonly ACK: "ACK";
    readonly RESULT: "RESULT";
};
type NewOrderNewOrderRespTypeEnum = (typeof NewOrderNewOrderRespTypeEnum)[keyof typeof NewOrderNewOrderRespTypeEnum];
/**
 * @enum {string}
 */
declare const NewOrderPriceMatchEnum: {
    readonly NONE: "NONE";
    readonly OPPONENT: "OPPONENT";
    readonly OPPONENT_5: "OPPONENT_5";
    readonly OPPONENT_10: "OPPONENT_10";
    readonly OPPONENT_20: "OPPONENT_20";
    readonly QUEUE: "QUEUE";
    readonly QUEUE_5: "QUEUE_5";
    readonly QUEUE_10: "QUEUE_10";
    readonly QUEUE_20: "QUEUE_20";
};
type NewOrderPriceMatchEnum = (typeof NewOrderPriceMatchEnum)[keyof typeof NewOrderPriceMatchEnum];
/**
 * @enum {string}
 */
declare const NewOrderSelfTradePreventionModeEnum: {
    readonly EXPIRE_TAKER: "EXPIRE_TAKER";
    readonly EXPIRE_BOTH: "EXPIRE_BOTH";
    readonly EXPIRE_MAKER: "EXPIRE_MAKER";
};
type NewOrderSelfTradePreventionModeEnum = (typeof NewOrderSelfTradePreventionModeEnum)[keyof typeof NewOrderSelfTradePreventionModeEnum];

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

/**
 * UserDataStreamsApi - interface
 *
 * @interface UserDataStreamsApi
 */
interface UserDataStreamsApiInterface {
    /**
     * Close out a user data stream.
     *
     * Weight: 1
     *
     * @summary Close User Data Stream (USER_STREAM)
     * @param {CloseUserDataStreamRequest} requestParameters Request parameters.
     *
     * @returns {Promise<CloseUserDataStreamResponse>}
     * @memberof UserDataStreamsApiInterface
     */
    closeUserDataStream(requestParameters?: CloseUserDataStreamRequest): Promise<WebsocketApiResponse<CloseUserDataStreamResponse>>;
    /**
     * Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 60 minutes.
     *
     * Weight: 1
     *
     * @summary Keepalive User Data Stream (USER_STREAM)
     * @param {KeepaliveUserDataStreamRequest} requestParameters Request parameters.
     *
     * @returns {Promise<KeepaliveUserDataStreamResponse>}
     * @memberof UserDataStreamsApiInterface
     */
    keepaliveUserDataStream(requestParameters?: KeepaliveUserDataStreamRequest): Promise<WebsocketApiResponse<KeepaliveUserDataStreamResponse>>;
    /**
     * Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active `listenKey`, that `listenKey` will be returned and its validity will be extended for 60 minutes.
     *
     * Weight: 1
     *
     * @summary Start User Data Stream (USER_STREAM)
     * @param {StartUserDataStreamRequest} requestParameters Request parameters.
     *
     * @returns {Promise<StartUserDataStreamResponse>}
     * @memberof UserDataStreamsApiInterface
     */
    startUserDataStream(requestParameters?: StartUserDataStreamRequest): Promise<WebsocketApiResponse<StartUserDataStreamResponse>>;
}
/**
 * Request parameters for closeUserDataStream operation in UserDataStreamsApi.
 * @interface CloseUserDataStreamRequest
 */
interface CloseUserDataStreamRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof UserDataStreamsApiCloseUserDataStream
     */
    readonly id?: string;
}
/**
 * Request parameters for keepaliveUserDataStream operation in UserDataStreamsApi.
 * @interface KeepaliveUserDataStreamRequest
 */
interface KeepaliveUserDataStreamRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof UserDataStreamsApiKeepaliveUserDataStream
     */
    readonly id?: string;
}
/**
 * Request parameters for startUserDataStream operation in UserDataStreamsApi.
 * @interface StartUserDataStreamRequest
 */
interface StartUserDataStreamRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof UserDataStreamsApiStartUserDataStream
     */
    readonly id?: string;
}
/**
 * UserDataStreamsApi - object-oriented interface
 * @class UserDataStreamsApi
 * @extends {WebsocketAPIBase}
 */
declare class UserDataStreamsApi implements UserDataStreamsApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Close out a user data stream.
     *
     * Weight: 1
     *
     * @summary Close User Data Stream (USER_STREAM)
     * @param {CloseUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<CloseUserDataStreamResponse>}
     * @memberof UserDataStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Close-User-Data-Stream-Wsp Binance API Documentation}
     */
    closeUserDataStream(requestParameters?: CloseUserDataStreamRequest): Promise<WebsocketApiResponse<CloseUserDataStreamResponse>>;
    /**
     * Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 60 minutes.
     *
     * Weight: 1
     *
     * @summary Keepalive User Data Stream (USER_STREAM)
     * @param {KeepaliveUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<KeepaliveUserDataStreamResponse>}
     * @memberof UserDataStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Keepalive-User-Data-Stream-Wsp Binance API Documentation}
     */
    keepaliveUserDataStream(requestParameters?: KeepaliveUserDataStreamRequest): Promise<WebsocketApiResponse<KeepaliveUserDataStreamResponse>>;
    /**
     * Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active `listenKey`, that `listenKey` will be returned and its validity will be extended for 60 minutes.
     *
     * Weight: 1
     *
     * @summary Start User Data Stream (USER_STREAM)
     * @param {StartUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<StartUserDataStreamResponse>}
     * @memberof UserDataStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Start-User-Data-Stream-Wsp Binance API Documentation}
     */
    startUserDataStream(requestParameters?: StartUserDataStreamRequest): Promise<WebsocketApiResponse<StartUserDataStreamResponse>>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

declare class WebsocketAPIConnection {
    private websocketBase;
    private accountApi;
    private marketDataApi;
    private tradeApi;
    private userDataStreamsApi;
    constructor(websocketBase: WebsocketAPIBase);
    on(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
    off(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
    /**
     * Disconnects from the WebSocket server.
     * If there is no active connection, a warning is logged.
     * Otherwise, all connections in the connection pool are closed gracefully,
     * and a message is logged indicating that the connection has been disconnected.
     * @returns A Promise that resolves when all connections have been closed.
     * @throws Error if the WebSocket client is not set.
     */
    disconnect(): Promise<void>;
    /**
     * Checks if the WebSocket connection is currently open.
     * @returns `true` if the connection is open, `false` otherwise.
     */
    isConnected(): boolean;
    /**
     * Sends a ping message to all connected Websocket servers in the pool.
     * If no connections are ready, a warning is logged.
     * For each active connection, the ping message is sent, and debug logs provide details.
     * @throws Error if a Websocket client is not set for a connection.
     */
    pingServer(): void;
    /**
     * Sends an unsigned message to the WebSocket server
     * @param method The API method to call
     * @param payload Message parameters and options
     * @returns Promise that resolves with the server response
     * @throws Error if not connected
     */
    sendMessage(method: string, payload?: WebsocketSendMsgOptions): Promise<WebsocketApiResponse<unknown>>;
    /**
     * Sends a signed message to the WebSocket server with authentication
     * @param method The API method to call
     * @param payload Message parameters and options
     * @returns Promise that resolves with the server response
     * @throws Error if not connected
     */
    sendSignedMessage(method: string, payload?: WebsocketSendMsgOptions): Promise<WebsocketApiResponse<unknown>>;
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information(USER_DATA)
     * @param {AccountInformationRequest} requestParameters Request parameters.
     * @returns {Promise<AccountInformationResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Account-Information Binance API Documentation}
     */
    accountInformation(requestParameters?: AccountInformationRequest): Promise<WebsocketApiResponse<AccountInformationResponse>>;
    /**
     * Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
     *
     * Weight: 5
     *
     * @summary Account Information V2(USER_DATA)
     * @param {AccountInformationV2Request} requestParameters Request parameters.
     * @returns {Promise<AccountInformationV2Response>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Account-Information-V2 Binance API Documentation}
     */
    accountInformationV2(requestParameters?: AccountInformationV2Request): Promise<WebsocketApiResponse<AccountInformationV2Response>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance(USER_DATA)
     * @param {FuturesAccountBalanceRequest} requestParameters Request parameters.
     * @returns {Promise<FuturesAccountBalanceResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Futures-Account-Balance Binance API Documentation}
     */
    futuresAccountBalance(requestParameters?: FuturesAccountBalanceRequest): Promise<WebsocketApiResponse<FuturesAccountBalanceResponse>>;
    /**
     * Query account balance info
     *
     * Weight: 5
     *
     * @summary Futures Account Balance V2(USER_DATA)
     * @param {FuturesAccountBalanceV2Request} requestParameters Request parameters.
     * @returns {Promise<FuturesAccountBalanceV2Response>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Futures-Account-Balance-V2 Binance API Documentation}
     */
    futuresAccountBalanceV2(requestParameters?: FuturesAccountBalanceV2Request): Promise<WebsocketApiResponse<FuturesAccountBalanceV2Response>>;
    /**
     * Get current order book. Note that this request returns limited market depth.
     * If you need to continuously monitor order book updates, please consider using Websocket Market Streams:
     * `<symbol>@depth<levels>`
     * `<symbol>@depth`
     *
     * You can use `depth` request together with `<symbol>@depth` streams to maintain a local order book.
     *
     * Weight: Adjusted based on the limit:
     * | Limit         | Weight |
     * | ------------- | ------ |
     * | 5, 10, 20, 50 | 2      |
     * | 100           | 5      |
     * | 500           | 10     |
     * | 1000          | 20     |
     *
     * @summary Order Book
     * @param {OrderBookRequest} requestParameters Request parameters.
     * @returns {Promise<OrderBookResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Order-Book Binance API Documentation}
     */
    orderBook(requestParameters: OrderBookRequest): Promise<WebsocketApiResponse<OrderBookResponse>>;
    /**
     * Best price/qty on the order book for a symbol or symbols.
     *
     * If the symbol is not sent, bookTickers for all symbols will be returned in an array.
     * The field `X-MBX-USED-WEIGHT-1M` in response header is not accurate from this endpoint, please ignore.
     *
     * Weight: 2 for a single symbol;
     * 5 when the symbol parameter is omitted
     *
     * @summary Symbol Order Book Ticker
     * @param {SymbolOrderBookTickerRequest} requestParameters Request parameters.
     * @returns {Promise<SymbolOrderBookTickerResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Symbol-Order-Book-Ticker Binance API Documentation}
     */
    symbolOrderBookTicker(requestParameters?: SymbolOrderBookTickerRequest): Promise<WebsocketApiResponse<SymbolOrderBookTickerResponse>>;
    /**
     * Latest price for a symbol or symbols.
     *
     * If the symbol is not sent, prices for all symbols will be returned in an array.
     *
     * Weight: 1 for a single symbol;
     * 2 when the symbol parameter is omitted
     *
     * @summary Symbol Price Ticker
     * @param {SymbolPriceTickerRequest} requestParameters Request parameters.
     * @returns {Promise<SymbolPriceTickerResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Symbol-Price-Ticker Binance API Documentation}
     */
    symbolPriceTicker(requestParameters?: SymbolPriceTickerRequest): Promise<WebsocketApiResponse<SymbolPriceTickerResponse>>;
    /**
     * Cancel an active order.
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     *
     * Weight: 1
     *
     * @summary Cancel Order (TRADE)
     * @param {CancelOrderRequest} requestParameters Request parameters.
     * @returns {Promise<CancelOrderResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Cancel-Order Binance API Documentation}
     */
    cancelOrder(requestParameters: CancelOrderRequest): Promise<WebsocketApiResponse<CancelOrderResponse>>;
    /**
     * Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
     *
     * Either `orderId` or `origClientOrderId` must be sent, and the `orderId` will prevail if both are sent.
     * Both `quantity` and `price` must be sent, which is different from dapi modify order endpoint.
     * When the new `quantity` or `price` doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.
     * However the order will be cancelled by the amendment in the following situations:
     * when the order is in partially filled status and the new `quantity` <= `executedQty`
     * When the order is `GTX` and the new price will cause it to be executed immediately
     * One order can only be modfied for less than 10000 times
     *
     * Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S);
     * 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M);
     * 1 on IP rate limit(x-mbx-used-weight-1m)
     *
     * @summary Modify Order (TRADE)
     * @param {ModifyOrderRequest} requestParameters Request parameters.
     * @returns {Promise<ModifyOrderResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Modify-Order Binance API Documentation}
     */
    modifyOrder(requestParameters: ModifyOrderRequest): Promise<WebsocketApiResponse<ModifyOrderResponse>>;
    /**
     * Send in a new order.
     *
     * Order with type `STOP`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Order with type `TAKE_PROFIT`,  parameter `timeInForce` can be sent ( default `GTC`).
     * Condition orders will be triggered when:
     *
     * If parameter`priceProtect`is sent as true:
     * when price reaches the `stopPrice` ，the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbol
     * "triggerProtect" of a symbol can be got from `GET /fapi/v1/exchangeInfo`
     *
     * `STOP`, `STOP_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * `TAKE_PROFIT`, `TAKE_PROFIT_MARKET`:
     * BUY: latest price ("MARK_PRICE" or "CONTRACT_PRICE") <= `stopPrice`
     * SELL: latest price ("MARK_PRICE" or "CONTRACT_PRICE") >= `stopPrice`
     * `TRAILING_STOP_MARKET`:
     * BUY: the lowest price after order placed `<= `activationPrice`, and the latest price >`= the lowest price * (1 + `callbackRate`)
     * SELL: the highest price after order placed >= `activationPrice`, and the latest price <= the highest price * (1 - `callbackRate`)
     *
     * For `TRAILING_STOP_MARKET`, if you got such error code.
     * ``{"code": -2021, "msg": "Order would immediately trigger."}``
     * means that the parameters you send do not meet the following requirements:
     * BUY: `activationPrice` should be smaller than latest price.
     * SELL: `activationPrice` should be larger than latest price.
     *
     * If `newOrderRespType ` is sent as `RESULT` :
     * `MARKET` order: the final FILLED result of the order will be return directly.
     * `LIMIT` order with special `timeInForce`: the final status result of the order(FILLED or EXPIRED) will be returned directly.
     *
     * `STOP_MARKET`, `TAKE_PROFIT_MARKET` with `closePosition`=`true`:
     * Follow the same rules for condition orders.
     * If triggered，**close all** current long position( if `SELL`) or current short position( if `BUY`).
     * Cannot be used with `quantity` paremeter
     * Cannot be used with `reduceOnly` parameter
     * In Hedge Mode,cannot be used with `BUY` orders in `LONG` position side. and cannot be used with `SELL` orders in `SHORT` position side
     *
     * Weight: 0
     *
     * @summary New Order(TRADE)
     * @param {NewOrderRequest} requestParameters Request parameters.
     * @returns {Promise<NewOrderResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/New-Order Binance API Documentation}
     */
    newOrder(requestParameters: NewOrderRequest): Promise<WebsocketApiResponse<NewOrderResponse>>;
    /**
     * Get current position information.
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information (USER_DATA)
     * @param {PositionInformationRequest} requestParameters Request parameters.
     * @returns {Promise<PositionInformationResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Information Binance API Documentation}
     */
    positionInformation(requestParameters?: PositionInformationRequest): Promise<WebsocketApiResponse<PositionInformationResponse>>;
    /**
     * Get current position information(only symbol that has position or open orders will be returned).
     *
     * Please use with user data stream `ACCOUNT_UPDATE` to meet your timeliness and accuracy needs.
     *
     * Weight: 5
     *
     * @summary Position Information V2 (USER_DATA)
     * @param {PositionInformationV2Request} requestParameters Request parameters.
     * @returns {Promise<PositionInformationV2Response>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Info-V2 Binance API Documentation}
     */
    positionInformationV2(requestParameters?: PositionInformationV2Request): Promise<WebsocketApiResponse<PositionInformationV2Response>>;
    /**
     * Check an order's status.
     *
     * These orders will not be found:
     * order status is `CANCELED` or `EXPIRED` **AND** order has NO filled trade **AND** created time + 3 days < current time
     * order create time + 90 days < current time
     *
     * Either `orderId` or `origClientOrderId` must be sent.
     * `orderId` is self-increment for each specific `symbol`
     *
     * Weight: 1
     *
     * @summary Query Order (USER_DATA)
     * @param {QueryOrderRequest} requestParameters Request parameters.
     * @returns {Promise<QueryOrderResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Query-Order Binance API Documentation}
     */
    queryOrder(requestParameters: QueryOrderRequest): Promise<WebsocketApiResponse<QueryOrderResponse>>;
    /**
     * Close out a user data stream.
     *
     * Weight: 1
     *
     * @summary Close User Data Stream (USER_STREAM)
     * @param {CloseUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<CloseUserDataStreamResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Close-User-Data-Stream-Wsp Binance API Documentation}
     */
    closeUserDataStream(requestParameters?: CloseUserDataStreamRequest): Promise<WebsocketApiResponse<CloseUserDataStreamResponse>>;
    /**
     * Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 60 minutes.
     *
     * Weight: 1
     *
     * @summary Keepalive User Data Stream (USER_STREAM)
     * @param {KeepaliveUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<KeepaliveUserDataStreamResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Keepalive-User-Data-Stream-Wsp Binance API Documentation}
     */
    keepaliveUserDataStream(requestParameters?: KeepaliveUserDataStreamRequest): Promise<WebsocketApiResponse<KeepaliveUserDataStreamResponse>>;
    /**
     * Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active `listenKey`, that `listenKey` will be returned and its validity will be extended for 60 minutes.
     *
     * Weight: 1
     *
     * @summary Start User Data Stream (USER_STREAM)
     * @param {StartUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<StartUserDataStreamResponse>}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Start-User-Data-Stream-Wsp Binance API Documentation}
     */
    startUserDataStream(requestParameters?: StartUserDataStreamRequest): Promise<WebsocketApiResponse<StartUserDataStreamResponse>>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

declare class WebsocketAPI {
    private configuration;
    constructor(configuration: ConfigurationWebsocketAPI);
    /**
     * Connects to the Binance WebSocket API and returns a `WebsocketAPIConnection` instance.
     *
     * @param {object} [options] - Optional connection options.
     * @param {string} [options.mode='single'] - The connection mode, either 'single' or 'pool'. Overrides the `mode` property in the configuration.
     * @param {number} [options.poolSize=1] - The number of connections to use in pool mode. Overrides the `poolSize` property in the configuration.
     * @returns {Promise<WebsocketAPIConnection>} - A promise that resolves to a `WebsocketAPIConnection` instance.
     */
    connect({ mode, poolSize, }?: {
        mode?: 'single' | 'pool';
        poolSize?: number;
    }): Promise<WebsocketAPIConnection>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket 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.
 */

type index$1_AccountApi = AccountApi;
declare const index$1_AccountApi: typeof AccountApi;
type index$1_AccountApiInterface = AccountApiInterface;
type index$1_AccountInformationRequest = AccountInformationRequest;
type index$1_AccountInformationResponse = AccountInformationResponse;
type index$1_AccountInformationResponse1 = AccountInformationResponse1;
type index$1_AccountInformationResponse1Result = AccountInformationResponse1Result;
type index$1_AccountInformationResponse1ResultAssetsInner = AccountInformationResponse1ResultAssetsInner;
type index$1_AccountInformationResponse1ResultPositionsInner = AccountInformationResponse1ResultPositionsInner;
type index$1_AccountInformationResponse2 = AccountInformationResponse2;
type index$1_AccountInformationResponse2Result = AccountInformationResponse2Result;
type index$1_AccountInformationResponse2ResultPositionsInner = AccountInformationResponse2ResultPositionsInner;
type index$1_AccountInformationV2Request = AccountInformationV2Request;
type index$1_AccountInformationV2Response = AccountInformationV2Response;
type index$1_AccountInformationV2Response1 = AccountInformationV2Response1;
type index$1_AccountInformationV2Response1RateLimitsInner = AccountInformationV2Response1RateLimitsInner;
type index$1_AccountInformationV2Response1Result = AccountInformationV2Response1Result;
type index$1_AccountInformationV2Response1ResultAssetsInner = AccountInformationV2Response1ResultAssetsInner;
type index$1_AccountInformationV2Response1ResultPositionsInner = AccountInformationV2Response1ResultPositionsInner;
type index$1_AccountInformationV2Response2 = AccountInformationV2Response2;
type index$1_AccountInformationV2Response2Result = AccountInformationV2Response2Result;
type index$1_AccountInformationV2Response2ResultAssetsInner = AccountInformationV2Response2ResultAssetsInner;
type index$1_CancelOrderRequest = CancelOrderRequest;
type index$1_CancelOrderResponse = CancelOrderResponse;
type index$1_CancelOrderResponseRateLimitsInner = CancelOrderResponseRateLimitsInner;
type index$1_CancelOrderResponseResult = CancelOrderResponseResult;
type index$1_CloseUserDataStreamRequest = CloseUserDataStreamRequest;
type index$1_CloseUserDataStreamResponse = CloseUserDataStreamResponse;
type index$1_FuturesAccountBalanceRequest = FuturesAccountBalanceRequest;
type index$1_FuturesAccountBalanceResponse = FuturesAccountBalanceResponse;
type index$1_FuturesAccountBalanceV2Request = FuturesAccountBalanceV2Request;
type index$1_FuturesAccountBalanceV2Response = FuturesAccountBalanceV2Response;
type index$1_FuturesAccountBalanceV2ResponseResultInner = FuturesAccountBalanceV2ResponseResultInner;
type index$1_KeepaliveUserDataStreamRequest = KeepaliveUserDataStreamRequest;
type index$1_KeepaliveUserDataStreamResponse = KeepaliveUserDataStreamResponse;
type index$1_KeepaliveUserDataStreamResponseResult = KeepaliveUserDataStreamResponseResult;
type index$1_MarketDataApi = MarketDataApi;
declare const index$1_MarketDataApi: typeof MarketDataApi;
type index$1_MarketDataApiInterface = MarketDataApiInterface;
type index$1_ModifyOrderPriceMatchEnum = ModifyOrderPriceMatchEnum;
type index$1_ModifyOrderRequest = ModifyOrderRequest;
type index$1_ModifyOrderResponse = ModifyOrderResponse;
type index$1_ModifyOrderResponseRateLimitsInner = ModifyOrderResponseRateLimitsInner;
type index$1_ModifyOrderResponseResult = ModifyOrderResponseResult;
type index$1_ModifyOrderSideEnum = ModifyOrderSideEnum;
type index$1_NewOrderNewOrderRespTypeEnum = NewOrderNewOrderRespTypeEnum;
type index$1_NewOrderPositionSideEnum = NewOrderPositionSideEnum;
type index$1_NewOrderPriceMatchEnum = NewOrderPriceMatchEnum;
type index$1_NewOrderRequest = NewOrderRequest;
type index$1_NewOrderResponse = NewOrderResponse;
type index$1_NewOrderResponseResult = NewOrderResponseResult;
type index$1_NewOrderSelfTradePreventionModeEnum = NewOrderSelfTradePreventionModeEnum;
type index$1_NewOrderSideEnum = NewOrderSideEnum;
type index$1_NewOrderTimeInForceEnum = NewOrderTimeInForceEnum;
type index$1_NewOrderWorkingTypeEnum = NewOrderWorkingTypeEnum;
type index$1_OrderBookRequest = OrderBookRequest;
type index$1_OrderBookResponse = OrderBookResponse;
type index$1_OrderBookResponseRateLimitsInner = OrderBookResponseRateLimitsInner;
type index$1_OrderBookResponseResult = OrderBookResponseResult;
type index$1_OrderBookResponseResultAsksItem = OrderBookResponseResultAsksItem;
type index$1_OrderBookResponseResultBidsItem = OrderBookResponseResultBidsItem;
type index$1_PositionInformationRequest = PositionInformationRequest;
type index$1_PositionInformationResponse = PositionInformationResponse;
type index$1_PositionInformationResponse1 = PositionInformationResponse1;
type index$1_PositionInformationResponse1ResultInner = PositionInformationResponse1ResultInner;
type index$1_PositionInformationResponse2 = PositionInformationResponse2;
type index$1_PositionInformationResponse2ResultInner = PositionInformationResponse2ResultInner;
type index$1_PositionInformationV2Request = PositionInformationV2Request;
type index$1_PositionInformationV2Response = PositionInformationV2Response;
type index$1_PositionInformationV2Response1 = PositionInformationV2Response1;
type index$1_PositionInformationV2Response1ResultInner = PositionInformationV2Response1ResultInner;
type index$1_PositionInformationV2Response2 = PositionInformationV2Response2;
type index$1_PositionInformationV2Response2ResultInner = PositionInformationV2Response2ResultInner;
type index$1_QueryOrderRequest = QueryOrderRequest;
type index$1_QueryOrderResponse = QueryOrderResponse;
type index$1_QueryOrderResponseResult = QueryOrderResponseResult;
type index$1_StartUserDataStreamRequest = StartUserDataStreamRequest;
type index$1_StartUserDataStreamResponse = StartUserDataStreamResponse;
type index$1_StartUserDataStreamResponseResult = StartUserDataStreamResponseResult;
type index$1_SymbolOrderBookTickerRequest = SymbolOrderBookTickerRequest;
type index$1_SymbolOrderBookTickerResponse = SymbolOrderBookTickerResponse;
type index$1_SymbolOrderBookTickerResponse1 = SymbolOrderBookTickerResponse1;
type index$1_SymbolOrderBookTickerResponse1RateLimitsInner = SymbolOrderBookTickerResponse1RateLimitsInner;
type index$1_SymbolOrderBookTickerResponse1Result = SymbolOrderBookTickerResponse1Result;
type index$1_SymbolOrderBookTickerResponse2 = SymbolOrderBookTickerResponse2;
type index$1_SymbolPriceTickerRequest = SymbolPriceTickerRequest;
type index$1_SymbolPriceTickerResponse = SymbolPriceTickerResponse;
type index$1_SymbolPriceTickerResponse1 = SymbolPriceTickerResponse1;
type index$1_SymbolPriceTickerResponse1Result = SymbolPriceTickerResponse1Result;
type index$1_SymbolPriceTickerResponse2 = SymbolPriceTickerResponse2;
type index$1_TradeApi = TradeApi;
declare const index$1_TradeApi: typeof TradeApi;
type index$1_TradeApiInterface = TradeApiInterface;
type index$1_UserDataStreamsApi = UserDataStreamsApi;
declare const index$1_UserDataStreamsApi: typeof UserDataStreamsApi;
type index$1_UserDataStreamsApiInterface = UserDataStreamsApiInterface;
type index$1_WebsocketAPI = WebsocketAPI;
declare const index$1_WebsocketAPI: typeof WebsocketAPI;
type index$1_WebsocketAPIConnection = WebsocketAPIConnection;
declare const index$1_WebsocketAPIConnection: typeof WebsocketAPIConnection;
declare namespace index$1 {
  export {
    index$1_AccountApi as AccountApi,
    index$1_AccountApiInterface as AccountApiInterface,
    index$1_AccountInformationRequest as AccountInformationRequest,
    index$1_AccountInformationResponse as AccountInformationResponse,
    index$1_AccountInformationResponse1 as AccountInformationResponse1,
    index$1_AccountInformationResponse1Result as AccountInformationResponse1Result,
    index$1_AccountInformationResponse1ResultAssetsInner as AccountInformationResponse1ResultAssetsInner,
    index$1_AccountInformationResponse1ResultPositionsInner as AccountInformationResponse1ResultPositionsInner,
    index$1_AccountInformationResponse2 as AccountInformationResponse2,
    index$1_AccountInformationResponse2Result as AccountInformationResponse2Result,
    index$1_AccountInformationResponse2ResultPositionsInner as AccountInformationResponse2ResultPositionsInner,
    index$1_AccountInformationV2Request as AccountInformationV2Request,
    index$1_AccountInformationV2Response as AccountInformationV2Response,
    index$1_AccountInformationV2Response1 as AccountInformationV2Response1,
    index$1_AccountInformationV2Response1RateLimitsInner as AccountInformationV2Response1RateLimitsInner,
    index$1_AccountInformationV2Response1Result as AccountInformationV2Response1Result,
    index$1_AccountInformationV2Response1ResultAssetsInner as AccountInformationV2Response1ResultAssetsInner,
    index$1_AccountInformationV2Response1ResultPositionsInner as AccountInformationV2Response1ResultPositionsInner,
    index$1_AccountInformationV2Response2 as AccountInformationV2Response2,
    index$1_AccountInformationV2Response2Result as AccountInformationV2Response2Result,
    index$1_AccountInformationV2Response2ResultAssetsInner as AccountInformationV2Response2ResultAssetsInner,
    index$1_CancelOrderRequest as CancelOrderRequest,
    index$1_CancelOrderResponse as CancelOrderResponse,
    index$1_CancelOrderResponseRateLimitsInner as CancelOrderResponseRateLimitsInner,
    index$1_CancelOrderResponseResult as CancelOrderResponseResult,
    index$1_CloseUserDataStreamRequest as CloseUserDataStreamRequest,
    index$1_CloseUserDataStreamResponse as CloseUserDataStreamResponse,
    index$1_FuturesAccountBalanceRequest as FuturesAccountBalanceRequest,
    index$1_FuturesAccountBalanceResponse as FuturesAccountBalanceResponse,
    index$1_FuturesAccountBalanceV2Request as FuturesAccountBalanceV2Request,
    index$1_FuturesAccountBalanceV2Response as FuturesAccountBalanceV2Response,
    index$1_FuturesAccountBalanceV2ResponseResultInner as FuturesAccountBalanceV2ResponseResultInner,
    index$1_KeepaliveUserDataStreamRequest as KeepaliveUserDataStreamRequest,
    index$1_KeepaliveUserDataStreamResponse as KeepaliveUserDataStreamResponse,
    index$1_KeepaliveUserDataStreamResponseResult as KeepaliveUserDataStreamResponseResult,
    index$1_MarketDataApi as MarketDataApi,
    index$1_MarketDataApiInterface as MarketDataApiInterface,
    index$1_ModifyOrderPriceMatchEnum as ModifyOrderPriceMatchEnum,
    index$1_ModifyOrderRequest as ModifyOrderRequest,
    index$1_ModifyOrderResponse as ModifyOrderResponse,
    index$1_ModifyOrderResponseRateLimitsInner as ModifyOrderResponseRateLimitsInner,
    index$1_ModifyOrderResponseResult as ModifyOrderResponseResult,
    index$1_ModifyOrderSideEnum as ModifyOrderSideEnum,
    index$1_NewOrderNewOrderRespTypeEnum as NewOrderNewOrderRespTypeEnum,
    index$1_NewOrderPositionSideEnum as NewOrderPositionSideEnum,
    index$1_NewOrderPriceMatchEnum as NewOrderPriceMatchEnum,
    index$1_NewOrderRequest as NewOrderRequest,
    index$1_NewOrderResponse as NewOrderResponse,
    index$1_NewOrderResponseResult as NewOrderResponseResult,
    index$1_NewOrderSelfTradePreventionModeEnum as NewOrderSelfTradePreventionModeEnum,
    index$1_NewOrderSideEnum as NewOrderSideEnum,
    index$1_NewOrderTimeInForceEnum as NewOrderTimeInForceEnum,
    index$1_NewOrderWorkingTypeEnum as NewOrderWorkingTypeEnum,
    index$1_OrderBookRequest as OrderBookRequest,
    index$1_OrderBookResponse as OrderBookResponse,
    index$1_OrderBookResponseRateLimitsInner as OrderBookResponseRateLimitsInner,
    index$1_OrderBookResponseResult as OrderBookResponseResult,
    index$1_OrderBookResponseResultAsksItem as OrderBookResponseResultAsksItem,
    index$1_OrderBookResponseResultBidsItem as OrderBookResponseResultBidsItem,
    index$1_PositionInformationRequest as PositionInformationRequest,
    index$1_PositionInformationResponse as PositionInformationResponse,
    index$1_PositionInformationResponse1 as PositionInformationResponse1,
    index$1_PositionInformationResponse1ResultInner as PositionInformationResponse1ResultInner,
    index$1_PositionInformationResponse2 as PositionInformationResponse2,
    index$1_PositionInformationResponse2ResultInner as PositionInformationResponse2ResultInner,
    index$1_PositionInformationV2Request as PositionInformationV2Request,
    index$1_PositionInformationV2Response as PositionInformationV2Response,
    index$1_PositionInformationV2Response1 as PositionInformationV2Response1,
    index$1_PositionInformationV2Response1ResultInner as PositionInformationV2Response1ResultInner,
    index$1_PositionInformationV2Response2 as PositionInformationV2Response2,
    index$1_PositionInformationV2Response2ResultInner as PositionInformationV2Response2ResultInner,
    index$1_QueryOrderRequest as QueryOrderRequest,
    index$1_QueryOrderResponse as QueryOrderResponse,
    index$1_QueryOrderResponseResult as QueryOrderResponseResult,
    index$1_StartUserDataStreamRequest as StartUserDataStreamRequest,
    index$1_StartUserDataStreamResponse as StartUserDataStreamResponse,
    index$1_StartUserDataStreamResponseResult as StartUserDataStreamResponseResult,
    index$1_SymbolOrderBookTickerRequest as SymbolOrderBookTickerRequest,
    index$1_SymbolOrderBookTickerResponse as SymbolOrderBookTickerResponse,
    index$1_SymbolOrderBookTickerResponse1 as SymbolOrderBookTickerResponse1,
    index$1_SymbolOrderBookTickerResponse1RateLimitsInner as SymbolOrderBookTickerResponse1RateLimitsInner,
    index$1_SymbolOrderBookTickerResponse1Result as SymbolOrderBookTickerResponse1Result,
    index$1_SymbolOrderBookTickerResponse2 as SymbolOrderBookTickerResponse2,
    index$1_SymbolPriceTickerRequest as SymbolPriceTickerRequest,
    index$1_SymbolPriceTickerResponse as SymbolPriceTickerResponse,
    index$1_SymbolPriceTickerResponse1 as SymbolPriceTickerResponse1,
    index$1_SymbolPriceTickerResponse1Result as SymbolPriceTickerResponse1Result,
    index$1_SymbolPriceTickerResponse2 as SymbolPriceTickerResponse2,
    index$1_TradeApi as TradeApi,
    index$1_TradeApiInterface as TradeApiInterface,
    index$1_UserDataStreamsApi as UserDataStreamsApi,
    index$1_UserDataStreamsApiInterface as UserDataStreamsApiInterface,
    index$1_WebsocketAPI as WebsocketAPI,
    index$1_WebsocketAPIConnection as WebsocketAPIConnection,
  };
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 AggregateTradeStreamsResponse
 */
interface AggregateTradeStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof AggregateTradeStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AggregateTradeStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof AggregateTradeStreamsResponse
     */
    s?: string;
    /**
     *
     * @type {number}
     * @memberof AggregateTradeStreamsResponse
     */
    a?: number;
    /**
     *
     * @type {string}
     * @memberof AggregateTradeStreamsResponse
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof AggregateTradeStreamsResponse
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof AggregateTradeStreamsResponse
     */
    f?: number;
    /**
     *
     * @type {number}
     * @memberof AggregateTradeStreamsResponse
     */
    l?: number;
    /**
     *
     * @type {number}
     * @memberof AggregateTradeStreamsResponse
     */
    T?: number;
    /**
     *
     * @type {boolean}
     * @memberof AggregateTradeStreamsResponse
     */
    m?: boolean;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 AllBookTickersStreamResponse
 */
interface AllBookTickersStreamResponse {
    /**
     *
     * @type {string}
     * @memberof AllBookTickersStreamResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AllBookTickersStreamResponse
     */
    u?: number;
    /**
     *
     * @type {number}
     * @memberof AllBookTickersStreamResponse
     */
    E?: number;
    /**
     *
     * @type {number}
     * @memberof AllBookTickersStreamResponse
     */
    T?: number;
    /**
     *
     * @type {string}
     * @memberof AllBookTickersStreamResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof AllBookTickersStreamResponse
     */
    b?: string;
    /**
     *
     * @type {string}
     * @memberof AllBookTickersStreamResponse
     */
    B?: string;
    /**
     *
     * @type {string}
     * @memberof AllBookTickersStreamResponse
     */
    a?: string;
    /**
     *
     * @type {string}
     * @memberof AllBookTickersStreamResponse
     */
    A?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 AllMarketLiquidationOrderStreamsResponseO
 */
interface AllMarketLiquidationOrderStreamsResponseO {
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    S?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    f?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    q?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    ap?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    X?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    z?: string;
    /**
     *
     * @type {number}
     * @memberof AllMarketLiquidationOrderStreamsResponseO
     */
    T?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 AllMarketLiquidationOrderStreamsResponse
 */
interface AllMarketLiquidationOrderStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof AllMarketLiquidationOrderStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AllMarketLiquidationOrderStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {AllMarketLiquidationOrderStreamsResponseO}
     * @memberof AllMarketLiquidationOrderStreamsResponse
     */
    o?: AllMarketLiquidationOrderStreamsResponseO;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 AllMarketMiniTickersStreamResponseInner
 */
interface AllMarketMiniTickersStreamResponseInner {
    /**
     *
     * @type {string}
     * @memberof AllMarketMiniTickersStreamResponseInner
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AllMarketMiniTickersStreamResponseInner
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof AllMarketMiniTickersStreamResponseInner
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketMiniTickersStreamResponseInner
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketMiniTickersStreamResponseInner
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketMiniTickersStreamResponseInner
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketMiniTickersStreamResponseInner
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketMiniTickersStreamResponseInner
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketMiniTickersStreamResponseInner
     */
    q?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 AllMarketMiniTickersStreamResponse
 */
interface AllMarketMiniTickersStreamResponse extends Array<AllMarketMiniTickersStreamResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 AllMarketTickersStreamsResponseInner
 */
interface AllMarketTickersStreamsResponseInner {
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    P?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    w?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    Q?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    O?: number;
    /**
     *
     * @type {number}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    C?: number;
    /**
     *
     * @type {number}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    F?: number;
    /**
     *
     * @type {number}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    L?: number;
    /**
     *
     * @type {number}
     * @memberof AllMarketTickersStreamsResponseInner
     */
    n?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 AllMarketTickersStreamsResponse
 */
interface AllMarketTickersStreamsResponse extends Array<AllMarketTickersStreamsResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 CompositeIndexSymbolInformationStreamsResponseCInner
 */
interface CompositeIndexSymbolInformationStreamsResponseCInner {
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationStreamsResponseCInner
     */
    b?: string;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationStreamsResponseCInner
     */
    q?: string;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationStreamsResponseCInner
     */
    w?: string;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationStreamsResponseCInner
     */
    W?: string;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationStreamsResponseCInner
     */
    i?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 CompositeIndexSymbolInformationStreamsResponse
 */
interface CompositeIndexSymbolInformationStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof CompositeIndexSymbolInformationStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationStreamsResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationStreamsResponse
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof CompositeIndexSymbolInformationStreamsResponse
     */
    C?: string;
    /**
     *
     * @type {Array<CompositeIndexSymbolInformationStreamsResponseCInner>}
     * @memberof CompositeIndexSymbolInformationStreamsResponse
     */
    c?: Array<CompositeIndexSymbolInformationStreamsResponseCInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 ContinuousContractKlineCandlestickStreamsResponseK
 */
interface ContinuousContractKlineCandlestickStreamsResponseK {
    /**
     *
     * @type {number}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    t?: number;
    /**
     *
     * @type {number}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    T?: number;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    i?: string;
    /**
     *
     * @type {number}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    f?: number;
    /**
     *
     * @type {number}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    L?: number;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    v?: string;
    /**
     *
     * @type {number}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    n?: number;
    /**
     *
     * @type {boolean}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    x?: boolean;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    q?: string;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    V?: string;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    Q?: string;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponseK
     */
    B?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 ContinuousContractKlineCandlestickStreamsResponse
 */
interface ContinuousContractKlineCandlestickStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof ContinuousContractKlineCandlestickStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponse
     */
    ps?: string;
    /**
     *
     * @type {string}
     * @memberof ContinuousContractKlineCandlestickStreamsResponse
     */
    ct?: string;
    /**
     *
     * @type {ContinuousContractKlineCandlestickStreamsResponseK}
     * @memberof ContinuousContractKlineCandlestickStreamsResponse
     */
    k?: ContinuousContractKlineCandlestickStreamsResponseK;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 ContractInfoStreamResponseBksInner
 */
interface ContractInfoStreamResponseBksInner {
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponseBksInner
     */
    bs?: number;
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponseBksInner
     */
    bnf?: number;
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponseBksInner
     */
    bnc?: number;
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponseBksInner
     */
    mmr?: number;
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponseBksInner
     */
    cf?: number;
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponseBksInner
     */
    mi?: number;
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponseBksInner
     */
    ma?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 ContractInfoStreamResponse
 */
interface ContractInfoStreamResponse {
    /**
     *
     * @type {string}
     * @memberof ContractInfoStreamResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof ContractInfoStreamResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof ContractInfoStreamResponse
     */
    ps?: string;
    /**
     *
     * @type {string}
     * @memberof ContractInfoStreamResponse
     */
    ct?: string;
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponse
     */
    dt?: number;
    /**
     *
     * @type {number}
     * @memberof ContractInfoStreamResponse
     */
    ot?: number;
    /**
     *
     * @type {string}
     * @memberof ContractInfoStreamResponse
     */
    cs?: string;
    /**
     *
     * @type {Array<ContractInfoStreamResponseBksInner>}
     * @memberof ContractInfoStreamResponse
     */
    bks?: Array<ContractInfoStreamResponseBksInner>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 DiffBookDepthStreamsResponseAItem
 */
interface DiffBookDepthStreamsResponseAItem extends Array<string> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 DiffBookDepthStreamsResponseBItem
 */
interface DiffBookDepthStreamsResponseBItem extends Array<string> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 DiffBookDepthStreamsResponse
 */
interface DiffBookDepthStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof DiffBookDepthStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof DiffBookDepthStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {number}
     * @memberof DiffBookDepthStreamsResponse
     */
    T?: number;
    /**
     *
     * @type {string}
     * @memberof DiffBookDepthStreamsResponse
     */
    s?: string;
    /**
     *
     * @type {number}
     * @memberof DiffBookDepthStreamsResponse
     */
    U?: number;
    /**
     *
     * @type {number}
     * @memberof DiffBookDepthStreamsResponse
     */
    u?: number;
    /**
     *
     * @type {number}
     * @memberof DiffBookDepthStreamsResponse
     */
    pu?: number;
    /**
     *
     * @type {Array<DiffBookDepthStreamsResponseBItem>}
     * @memberof DiffBookDepthStreamsResponse
     */
    b?: Array<DiffBookDepthStreamsResponseBItem>;
    /**
     *
     * @type {Array<DiffBookDepthStreamsResponseAItem>}
     * @memberof DiffBookDepthStreamsResponse
     */
    a?: Array<DiffBookDepthStreamsResponseAItem>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 IndividualSymbolBookTickerStreamsResponse
 */
interface IndividualSymbolBookTickerStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolBookTickerStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolBookTickerStreamsResponse
     */
    u?: number;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolBookTickerStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolBookTickerStreamsResponse
     */
    T?: number;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolBookTickerStreamsResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolBookTickerStreamsResponse
     */
    b?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolBookTickerStreamsResponse
     */
    B?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolBookTickerStreamsResponse
     */
    a?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolBookTickerStreamsResponse
     */
    A?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 IndividualSymbolMiniTickerStreamResponse
 */
interface IndividualSymbolMiniTickerStreamResponse {
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolMiniTickerStreamResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolMiniTickerStreamResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolMiniTickerStreamResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolMiniTickerStreamResponse
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolMiniTickerStreamResponse
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolMiniTickerStreamResponse
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolMiniTickerStreamResponse
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolMiniTickerStreamResponse
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolMiniTickerStreamResponse
     */
    q?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 IndividualSymbolTickerStreamsResponse
 */
interface IndividualSymbolTickerStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    P?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    w?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    Q?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    O?: number;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    C?: number;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    F?: number;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    L?: number;
    /**
     *
     * @type {number}
     * @memberof IndividualSymbolTickerStreamsResponse
     */
    n?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 KlineCandlestickStreamsResponseK
 */
interface KlineCandlestickStreamsResponseK {
    /**
     *
     * @type {number}
     * @memberof KlineCandlestickStreamsResponseK
     */
    t?: number;
    /**
     *
     * @type {number}
     * @memberof KlineCandlestickStreamsResponseK
     */
    T?: number;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    i?: string;
    /**
     *
     * @type {number}
     * @memberof KlineCandlestickStreamsResponseK
     */
    f?: number;
    /**
     *
     * @type {number}
     * @memberof KlineCandlestickStreamsResponseK
     */
    L?: number;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    v?: string;
    /**
     *
     * @type {number}
     * @memberof KlineCandlestickStreamsResponseK
     */
    n?: number;
    /**
     *
     * @type {boolean}
     * @memberof KlineCandlestickStreamsResponseK
     */
    x?: boolean;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    q?: string;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    V?: string;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    Q?: string;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponseK
     */
    B?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 KlineCandlestickStreamsResponse
 */
interface KlineCandlestickStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof KlineCandlestickStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof KlineCandlestickStreamsResponse
     */
    s?: string;
    /**
     *
     * @type {KlineCandlestickStreamsResponseK}
     * @memberof KlineCandlestickStreamsResponse
     */
    k?: KlineCandlestickStreamsResponseK;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 LiquidationOrderStreamsResponse
 */
interface LiquidationOrderStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof LiquidationOrderStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof LiquidationOrderStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {AllMarketLiquidationOrderStreamsResponseO}
     * @memberof LiquidationOrderStreamsResponse
     */
    o?: AllMarketLiquidationOrderStreamsResponseO;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 MarkPriceStreamForAllMarketResponseInner
 */
interface MarkPriceStreamForAllMarketResponseInner {
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamForAllMarketResponseInner
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof MarkPriceStreamForAllMarketResponseInner
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamForAllMarketResponseInner
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamForAllMarketResponseInner
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamForAllMarketResponseInner
     */
    i?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamForAllMarketResponseInner
     */
    P?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamForAllMarketResponseInner
     */
    r?: string;
    /**
     *
     * @type {number}
     * @memberof MarkPriceStreamForAllMarketResponseInner
     */
    T?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 MarkPriceStreamForAllMarketResponse
 */
interface MarkPriceStreamForAllMarketResponse extends Array<MarkPriceStreamForAllMarketResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 MarkPriceStreamResponse
 */
interface MarkPriceStreamResponse {
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof MarkPriceStreamResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamResponse
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamResponse
     */
    i?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamResponse
     */
    P?: string;
    /**
     *
     * @type {string}
     * @memberof MarkPriceStreamResponse
     */
    r?: string;
    /**
     *
     * @type {number}
     * @memberof MarkPriceStreamResponse
     */
    T?: number;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 MultiAssetsModeAssetIndexResponseInner
 */
interface MultiAssetsModeAssetIndexResponseInner {
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    i?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    b?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    a?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    B?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    A?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    q?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    g?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    Q?: string;
    /**
     *
     * @type {string}
     * @memberof MultiAssetsModeAssetIndexResponseInner
     */
    G?: string;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 MultiAssetsModeAssetIndexResponse
 */
interface MultiAssetsModeAssetIndexResponse extends Array<MultiAssetsModeAssetIndexResponseInner> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 PartialBookDepthStreamsResponseAItem
 */
interface PartialBookDepthStreamsResponseAItem extends Array<string> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 PartialBookDepthStreamsResponseBItem
 */
interface PartialBookDepthStreamsResponseBItem extends Array<string> {
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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 PartialBookDepthStreamsResponse
 */
interface PartialBookDepthStreamsResponse {
    /**
     *
     * @type {string}
     * @memberof PartialBookDepthStreamsResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof PartialBookDepthStreamsResponse
     */
    E?: number;
    /**
     *
     * @type {number}
     * @memberof PartialBookDepthStreamsResponse
     */
    T?: number;
    /**
     *
     * @type {string}
     * @memberof PartialBookDepthStreamsResponse
     */
    s?: string;
    /**
     *
     * @type {number}
     * @memberof PartialBookDepthStreamsResponse
     */
    U?: number;
    /**
     *
     * @type {number}
     * @memberof PartialBookDepthStreamsResponse
     */
    u?: number;
    /**
     *
     * @type {number}
     * @memberof PartialBookDepthStreamsResponse
     */
    pu?: number;
    /**
     *
     * @type {Array<PartialBookDepthStreamsResponseBItem>}
     * @memberof PartialBookDepthStreamsResponse
     */
    b?: Array<PartialBookDepthStreamsResponseBItem>;
    /**
     *
     * @type {Array<PartialBookDepthStreamsResponseAItem>}
     * @memberof PartialBookDepthStreamsResponse
     */
    a?: Array<PartialBookDepthStreamsResponseAItem>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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.
 */

/**
 * WebsocketMarketStreamsApi - interface
 * @interface WebsocketMarketStreamsApi
 */
interface WebsocketMarketStreamsApiInterface {
    /**
     * The Aggregate Trade Streams push market trade information that is aggregated for fills with same price and taking side every 100 milliseconds. Only market trades will be aggregated, which means the insurance fund trades and ADL trades won't be aggregated.
     *
     * Update Speed: 100ms
     *
     * @summary Aggregate Trade Streams
     * @param {AggregateTradeStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AggregateTradeStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    aggregateTradeStreams(requestParameters: AggregateTradeStreamsRequest): WebsocketStream<AggregateTradeStreamsResponse>;
    /**
     * Pushes any update to the best bid or ask's price or quantity in real-time for all symbols.
     *
     * Update Speed: 5s
     *
     * @summary All Book Tickers Stream
     * @param {AllBookTickersStreamRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AllBookTickersStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    allBookTickersStream(requestParameters?: AllBookTickersStreamRequest): WebsocketStream<AllBookTickersStreamResponse>;
    /**
     * The All Liquidation Order Snapshot Streams push force liquidation order information for all symbols in the market.
     * For each symbol，only the latest one liquidation order within 1000ms will be pushed as the snapshot. If no liquidation happens in the interval of 1000ms, no stream will be pushed.
     *
     * Update Speed: 1000ms
     *
     * @summary All Market Liquidation Order Streams
     * @param {AllMarketLiquidationOrderStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AllMarketLiquidationOrderStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    allMarketLiquidationOrderStreams(requestParameters?: AllMarketLiquidationOrderStreamsRequest): WebsocketStream<AllMarketLiquidationOrderStreamsResponse>;
    /**
     * 24hr rolling window mini-ticker statistics for all symbols. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before. Note that only tickers that have changed will be present in the array.
     *
     * Update Speed: 1000ms
     *
     * @summary All Market Mini Tickers Stream
     * @param {AllMarketMiniTickersStreamRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AllMarketMiniTickersStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    allMarketMiniTickersStream(requestParameters?: AllMarketMiniTickersStreamRequest): WebsocketStream<AllMarketMiniTickersStreamResponse>;
    /**
     * 24hr rolling window ticker statistics for all symbols. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before. Note that only tickers that have changed will be present in the array.
     *
     * Update Speed: 1000ms
     *
     * @summary All Market Tickers Streams
     * @param {AllMarketTickersStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AllMarketTickersStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    allMarketTickersStreams(requestParameters?: AllMarketTickersStreamsRequest): WebsocketStream<AllMarketTickersStreamsResponse>;
    /**
     * Composite index information for index symbols pushed every second.
     *
     * Update Speed: 1000ms
     *
     * @summary Composite Index Symbol Information Streams
     * @param {CompositeIndexSymbolInformationStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<CompositeIndexSymbolInformationStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    compositeIndexSymbolInformationStreams(requestParameters: CompositeIndexSymbolInformationStreamsRequest): WebsocketStream<CompositeIndexSymbolInformationStreamsResponse>;
    /**
     *
     * Update Speed: 250ms
     *
     * @summary Continuous Contract Kline/Candlestick Streams
     * @param {ContinuousContractKlineCandlestickStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<ContinuousContractKlineCandlestickStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    continuousContractKlineCandlestickStreams(requestParameters: ContinuousContractKlineCandlestickStreamsRequest): WebsocketStream<ContinuousContractKlineCandlestickStreamsResponse>;
    /**
     * ContractInfo stream pushes when contract info updates(listing/settlement/contract bracket update). `bks` field only shows up when bracket gets updated.
     *
     * Update Speed: Real-time
     *
     * @summary Contract Info Stream
     * @param {ContractInfoStreamRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<ContractInfoStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    contractInfoStream(requestParameters?: ContractInfoStreamRequest): WebsocketStream<ContractInfoStreamResponse>;
    /**
     * Bids and asks, pushed every 250 milliseconds, 500 milliseconds, 100 milliseconds (if existing)
     *
     * Update Speed: 250ms, 500ms, 100ms
     *
     * @summary Diff. Book Depth Streams
     * @param {DiffBookDepthStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<DiffBookDepthStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    diffBookDepthStreams(requestParameters: DiffBookDepthStreamsRequest): WebsocketStream<DiffBookDepthStreamsResponse>;
    /**
     * Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
     *
     * Update Speed: Real-time
     *
     * @summary Individual Symbol Book Ticker Streams
     * @param {IndividualSymbolBookTickerStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<IndividualSymbolBookTickerStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    individualSymbolBookTickerStreams(requestParameters: IndividualSymbolBookTickerStreamsRequest): WebsocketStream<IndividualSymbolBookTickerStreamsResponse>;
    /**
     * 24hr rolling window mini-ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before.
     *
     * Update Speed: 2s
     *
     * @summary Individual Symbol Mini Ticker Stream
     * @param {IndividualSymbolMiniTickerStreamRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<IndividualSymbolMiniTickerStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    individualSymbolMiniTickerStream(requestParameters: IndividualSymbolMiniTickerStreamRequest): WebsocketStream<IndividualSymbolMiniTickerStreamResponse>;
    /**
     * 24hr rolling window ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before.
     *
     * Update Speed: 2000ms
     *
     * @summary Individual Symbol Ticker Streams
     * @param {IndividualSymbolTickerStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<IndividualSymbolTickerStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    individualSymbolTickerStreams(requestParameters: IndividualSymbolTickerStreamsRequest): WebsocketStream<IndividualSymbolTickerStreamsResponse>;
    /**
     * The Kline/Candlestick Stream push updates to the current klines/candlestick every 250 milliseconds (if existing).
     *
     * Update Speed: 250ms
     *
     * @summary Kline/Candlestick Streams
     * @param {KlineCandlestickStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<KlineCandlestickStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    klineCandlestickStreams(requestParameters: KlineCandlestickStreamsRequest): WebsocketStream<KlineCandlestickStreamsResponse>;
    /**
     * The Liquidation Order Snapshot Streams push force liquidation order information for specific symbol.
     * For each symbol，only the latest one liquidation order within 1000ms will be pushed as the snapshot. If no liquidation happens in the interval of 1000ms, no stream will be pushed.
     *
     * Update Speed: 1000ms
     *
     * @summary Liquidation Order Streams
     * @param {LiquidationOrderStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<LiquidationOrderStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    liquidationOrderStreams(requestParameters: LiquidationOrderStreamsRequest): WebsocketStream<LiquidationOrderStreamsResponse>;
    /**
     * Mark price and funding rate for a single symbol pushed every 3 seconds or every second.
     *
     * Update Speed: 3000ms or 1000ms
     *
     * @summary Mark Price Stream
     * @param {MarkPriceStreamRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<MarkPriceStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    markPriceStream(requestParameters: MarkPriceStreamRequest): WebsocketStream<MarkPriceStreamResponse>;
    /**
     * Mark price and funding rate for all symbols pushed every 3 seconds or every second.
     *
     * Update Speed: 3000ms or 1000ms
     *
     * @summary Mark Price Stream for All market
     * @param {MarkPriceStreamForAllMarketRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<MarkPriceStreamForAllMarketResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    markPriceStreamForAllMarket(requestParameters?: MarkPriceStreamForAllMarketRequest): WebsocketStream<MarkPriceStreamForAllMarketResponse>;
    /**
     * Asset index for multi-assets mode user
     *
     * Update Speed: 1s
     *
     * @summary Multi-Assets Mode Asset Index
     * @param {MultiAssetsModeAssetIndexRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<MultiAssetsModeAssetIndexResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    multiAssetsModeAssetIndex(requestParameters?: MultiAssetsModeAssetIndexRequest): WebsocketStream<MultiAssetsModeAssetIndexResponse>;
    /**
     * Top **<levels\>** bids and asks, Valid **<levels\>** are 5, 10, or 20.
     *
     * Update Speed: 250ms, 500ms or 100ms
     *
     * @summary Partial Book Depth Streams
     * @param {PartialBookDepthStreamsRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<PartialBookDepthStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApiInterface
     */
    partialBookDepthStreams(requestParameters: PartialBookDepthStreamsRequest): WebsocketStream<PartialBookDepthStreamsResponse>;
}
/**
 * Request parameters for aggregateTradeStreams operation in WebsocketMarketStreamsApi.
 * @interface AggregateTradeStreamsRequest
 */
interface AggregateTradeStreamsRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiAggregateTradeStreams
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiAggregateTradeStreams
     */
    readonly id?: string;
}
/**
 * Request parameters for allBookTickersStream operation in WebsocketMarketStreamsApi.
 * @interface AllBookTickersStreamRequest
 */
interface AllBookTickersStreamRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiAllBookTickersStream
     */
    readonly id?: string;
}
/**
 * Request parameters for allMarketLiquidationOrderStreams operation in WebsocketMarketStreamsApi.
 * @interface AllMarketLiquidationOrderStreamsRequest
 */
interface AllMarketLiquidationOrderStreamsRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiAllMarketLiquidationOrderStreams
     */
    readonly id?: string;
}
/**
 * Request parameters for allMarketMiniTickersStream operation in WebsocketMarketStreamsApi.
 * @interface AllMarketMiniTickersStreamRequest
 */
interface AllMarketMiniTickersStreamRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiAllMarketMiniTickersStream
     */
    readonly id?: string;
}
/**
 * Request parameters for allMarketTickersStreams operation in WebsocketMarketStreamsApi.
 * @interface AllMarketTickersStreamsRequest
 */
interface AllMarketTickersStreamsRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiAllMarketTickersStreams
     */
    readonly id?: string;
}
/**
 * Request parameters for compositeIndexSymbolInformationStreams operation in WebsocketMarketStreamsApi.
 * @interface CompositeIndexSymbolInformationStreamsRequest
 */
interface CompositeIndexSymbolInformationStreamsRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiCompositeIndexSymbolInformationStreams
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiCompositeIndexSymbolInformationStreams
     */
    readonly id?: string;
}
/**
 * Request parameters for continuousContractKlineCandlestickStreams operation in WebsocketMarketStreamsApi.
 * @interface ContinuousContractKlineCandlestickStreamsRequest
 */
interface ContinuousContractKlineCandlestickStreamsRequest {
    /**
     * The pair parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiContinuousContractKlineCandlestickStreams
     */
    readonly pair: string;
    /**
     * The contractType parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiContinuousContractKlineCandlestickStreams
     */
    readonly contractType: string;
    /**
     * The interval parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiContinuousContractKlineCandlestickStreams
     */
    readonly interval: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiContinuousContractKlineCandlestickStreams
     */
    readonly id?: string;
}
/**
 * Request parameters for contractInfoStream operation in WebsocketMarketStreamsApi.
 * @interface ContractInfoStreamRequest
 */
interface ContractInfoStreamRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiContractInfoStream
     */
    readonly id?: string;
}
/**
 * Request parameters for diffBookDepthStreams operation in WebsocketMarketStreamsApi.
 * @interface DiffBookDepthStreamsRequest
 */
interface DiffBookDepthStreamsRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiDiffBookDepthStreams
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiDiffBookDepthStreams
     */
    readonly id?: string;
    /**
     * WebSocket stream update speed
     * @type {string}
     * @memberof WebsocketMarketStreamsApiDiffBookDepthStreams
     */
    readonly updateSpeed?: string;
}
/**
 * Request parameters for individualSymbolBookTickerStreams operation in WebsocketMarketStreamsApi.
 * @interface IndividualSymbolBookTickerStreamsRequest
 */
interface IndividualSymbolBookTickerStreamsRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiIndividualSymbolBookTickerStreams
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiIndividualSymbolBookTickerStreams
     */
    readonly id?: string;
}
/**
 * Request parameters for individualSymbolMiniTickerStream operation in WebsocketMarketStreamsApi.
 * @interface IndividualSymbolMiniTickerStreamRequest
 */
interface IndividualSymbolMiniTickerStreamRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiIndividualSymbolMiniTickerStream
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiIndividualSymbolMiniTickerStream
     */
    readonly id?: string;
}
/**
 * Request parameters for individualSymbolTickerStreams operation in WebsocketMarketStreamsApi.
 * @interface IndividualSymbolTickerStreamsRequest
 */
interface IndividualSymbolTickerStreamsRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiIndividualSymbolTickerStreams
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiIndividualSymbolTickerStreams
     */
    readonly id?: string;
}
/**
 * Request parameters for klineCandlestickStreams operation in WebsocketMarketStreamsApi.
 * @interface KlineCandlestickStreamsRequest
 */
interface KlineCandlestickStreamsRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiKlineCandlestickStreams
     */
    readonly symbol: string;
    /**
     * The interval parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiKlineCandlestickStreams
     */
    readonly interval: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiKlineCandlestickStreams
     */
    readonly id?: string;
}
/**
 * Request parameters for liquidationOrderStreams operation in WebsocketMarketStreamsApi.
 * @interface LiquidationOrderStreamsRequest
 */
interface LiquidationOrderStreamsRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiLiquidationOrderStreams
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiLiquidationOrderStreams
     */
    readonly id?: string;
}
/**
 * Request parameters for markPriceStream operation in WebsocketMarketStreamsApi.
 * @interface MarkPriceStreamRequest
 */
interface MarkPriceStreamRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiMarkPriceStream
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiMarkPriceStream
     */
    readonly id?: string;
    /**
     * WebSocket stream update speed
     * @type {string}
     * @memberof WebsocketMarketStreamsApiMarkPriceStream
     */
    readonly updateSpeed?: string;
}
/**
 * Request parameters for markPriceStreamForAllMarket operation in WebsocketMarketStreamsApi.
 * @interface MarkPriceStreamForAllMarketRequest
 */
interface MarkPriceStreamForAllMarketRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiMarkPriceStreamForAllMarket
     */
    readonly id?: string;
    /**
     * WebSocket stream update speed
     * @type {string}
     * @memberof WebsocketMarketStreamsApiMarkPriceStreamForAllMarket
     */
    readonly updateSpeed?: string;
}
/**
 * Request parameters for multiAssetsModeAssetIndex operation in WebsocketMarketStreamsApi.
 * @interface MultiAssetsModeAssetIndexRequest
 */
interface MultiAssetsModeAssetIndexRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiMultiAssetsModeAssetIndex
     */
    readonly id?: string;
}
/**
 * Request parameters for partialBookDepthStreams operation in WebsocketMarketStreamsApi.
 * @interface PartialBookDepthStreamsRequest
 */
interface PartialBookDepthStreamsRequest {
    /**
     * The symbol parameter
     * @type {string}
     * @memberof WebsocketMarketStreamsApiPartialBookDepthStreams
     */
    readonly symbol: string;
    /**
     * The levels parameter
     * @type {number}
     * @memberof WebsocketMarketStreamsApiPartialBookDepthStreams
     */
    readonly levels: number;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebsocketMarketStreamsApiPartialBookDepthStreams
     */
    readonly id?: string;
    /**
     * WebSocket stream update speed
     * @type {string}
     * @memberof WebsocketMarketStreamsApiPartialBookDepthStreams
     */
    readonly updateSpeed?: string;
}
/**
 * WebsocketMarketStreamsApi - interface
 * @class WebsocketMarketStreamsApi
 * @extends {WebsocketStreamsBase}
 */
declare class WebsocketMarketStreamsApi implements WebsocketMarketStreamsApiInterface {
    private readonly websocketBase;
    private localVarParamCreator;
    constructor(websocketBase: WebsocketStreamsBase);
    /**
     * The Aggregate Trade Streams push market trade information that is aggregated for fills with same price and taking side every 100 milliseconds. Only market trades will be aggregated, which means the insurance fund trades and ADL trades won't be aggregated.
     *
     * Update Speed: 100ms
     *
     * @summary Aggregate Trade Streams
     * @param {AggregateTradeStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AggregateTradeStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams Binance API Documentation}
     */
    aggregateTradeStreams(requestParameters: AggregateTradeStreamsRequest): WebsocketStream<AggregateTradeStreamsResponse>;
    /**
     * Pushes any update to the best bid or ask's price or quantity in real-time for all symbols.
     *
     * Update Speed: 5s
     *
     * @summary All Book Tickers Stream
     * @param {AllBookTickersStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllBookTickersStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Book-Tickers-Stream Binance API Documentation}
     */
    allBookTickersStream(requestParameters?: AllBookTickersStreamRequest): WebsocketStream<AllBookTickersStreamResponse>;
    /**
     * The All Liquidation Order Snapshot Streams push force liquidation order information for all symbols in the market.
     * For each symbol，only the latest one liquidation order within 1000ms will be pushed as the snapshot. If no liquidation happens in the interval of 1000ms, no stream will be pushed.
     *
     * Update Speed: 1000ms
     *
     * @summary All Market Liquidation Order Streams
     * @param {AllMarketLiquidationOrderStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMarketLiquidationOrderStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Liquidation-Order-Streams Binance API Documentation}
     */
    allMarketLiquidationOrderStreams(requestParameters?: AllMarketLiquidationOrderStreamsRequest): WebsocketStream<AllMarketLiquidationOrderStreamsResponse>;
    /**
     * 24hr rolling window mini-ticker statistics for all symbols. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before. Note that only tickers that have changed will be present in the array.
     *
     * Update Speed: 1000ms
     *
     * @summary All Market Mini Tickers Stream
     * @param {AllMarketMiniTickersStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMarketMiniTickersStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream Binance API Documentation}
     */
    allMarketMiniTickersStream(requestParameters?: AllMarketMiniTickersStreamRequest): WebsocketStream<AllMarketMiniTickersStreamResponse>;
    /**
     * 24hr rolling window ticker statistics for all symbols. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before. Note that only tickers that have changed will be present in the array.
     *
     * Update Speed: 1000ms
     *
     * @summary All Market Tickers Streams
     * @param {AllMarketTickersStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMarketTickersStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Tickers-Streams Binance API Documentation}
     */
    allMarketTickersStreams(requestParameters?: AllMarketTickersStreamsRequest): WebsocketStream<AllMarketTickersStreamsResponse>;
    /**
     * Composite index information for index symbols pushed every second.
     *
     * Update Speed: 1000ms
     *
     * @summary Composite Index Symbol Information Streams
     * @param {CompositeIndexSymbolInformationStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<CompositeIndexSymbolInformationStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Composite-Index-Symbol-Information-Streams Binance API Documentation}
     */
    compositeIndexSymbolInformationStreams(requestParameters: CompositeIndexSymbolInformationStreamsRequest): WebsocketStream<CompositeIndexSymbolInformationStreamsResponse>;
    /**
     *
     * Update Speed: 250ms
     *
     * @summary Continuous Contract Kline/Candlestick Streams
     * @param {ContinuousContractKlineCandlestickStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<ContinuousContractKlineCandlestickStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Continuous-Contract-Kline-Candlestick-Streams Binance API Documentation}
     */
    continuousContractKlineCandlestickStreams(requestParameters: ContinuousContractKlineCandlestickStreamsRequest): WebsocketStream<ContinuousContractKlineCandlestickStreamsResponse>;
    /**
     * ContractInfo stream pushes when contract info updates(listing/settlement/contract bracket update). `bks` field only shows up when bracket gets updated.
     *
     * Update Speed: Real-time
     *
     * @summary Contract Info Stream
     * @param {ContractInfoStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<ContractInfoStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Contract-Info-Stream Binance API Documentation}
     */
    contractInfoStream(requestParameters?: ContractInfoStreamRequest): WebsocketStream<ContractInfoStreamResponse>;
    /**
     * Bids and asks, pushed every 250 milliseconds, 500 milliseconds, 100 milliseconds (if existing)
     *
     * Update Speed: 250ms, 500ms, 100ms
     *
     * @summary Diff. Book Depth Streams
     * @param {DiffBookDepthStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<DiffBookDepthStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams Binance API Documentation}
     */
    diffBookDepthStreams(requestParameters: DiffBookDepthStreamsRequest): WebsocketStream<DiffBookDepthStreamsResponse>;
    /**
     * Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
     *
     * Update Speed: Real-time
     *
     * @summary Individual Symbol Book Ticker Streams
     * @param {IndividualSymbolBookTickerStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<IndividualSymbolBookTickerStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Book-Ticker-Streams Binance API Documentation}
     */
    individualSymbolBookTickerStreams(requestParameters: IndividualSymbolBookTickerStreamsRequest): WebsocketStream<IndividualSymbolBookTickerStreamsResponse>;
    /**
     * 24hr rolling window mini-ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before.
     *
     * Update Speed: 2s
     *
     * @summary Individual Symbol Mini Ticker Stream
     * @param {IndividualSymbolMiniTickerStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<IndividualSymbolMiniTickerStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Mini-Ticker-Stream Binance API Documentation}
     */
    individualSymbolMiniTickerStream(requestParameters: IndividualSymbolMiniTickerStreamRequest): WebsocketStream<IndividualSymbolMiniTickerStreamResponse>;
    /**
     * 24hr rolling window ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before.
     *
     * Update Speed: 2000ms
     *
     * @summary Individual Symbol Ticker Streams
     * @param {IndividualSymbolTickerStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<IndividualSymbolTickerStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams Binance API Documentation}
     */
    individualSymbolTickerStreams(requestParameters: IndividualSymbolTickerStreamsRequest): WebsocketStream<IndividualSymbolTickerStreamsResponse>;
    /**
     * The Kline/Candlestick Stream push updates to the current klines/candlestick every 250 milliseconds (if existing).
     *
     * Update Speed: 250ms
     *
     * @summary Kline/Candlestick Streams
     * @param {KlineCandlestickStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<KlineCandlestickStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams Binance API Documentation}
     */
    klineCandlestickStreams(requestParameters: KlineCandlestickStreamsRequest): WebsocketStream<KlineCandlestickStreamsResponse>;
    /**
     * The Liquidation Order Snapshot Streams push force liquidation order information for specific symbol.
     * For each symbol，only the latest one liquidation order within 1000ms will be pushed as the snapshot. If no liquidation happens in the interval of 1000ms, no stream will be pushed.
     *
     * Update Speed: 1000ms
     *
     * @summary Liquidation Order Streams
     * @param {LiquidationOrderStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<LiquidationOrderStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Liquidation-Order-Streams Binance API Documentation}
     */
    liquidationOrderStreams(requestParameters: LiquidationOrderStreamsRequest): WebsocketStream<LiquidationOrderStreamsResponse>;
    /**
     * Mark price and funding rate for a single symbol pushed every 3 seconds or every second.
     *
     * Update Speed: 3000ms or 1000ms
     *
     * @summary Mark Price Stream
     * @param {MarkPriceStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<MarkPriceStreamResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream Binance API Documentation}
     */
    markPriceStream(requestParameters: MarkPriceStreamRequest): WebsocketStream<MarkPriceStreamResponse>;
    /**
     * Mark price and funding rate for all symbols pushed every 3 seconds or every second.
     *
     * Update Speed: 3000ms or 1000ms
     *
     * @summary Mark Price Stream for All market
     * @param {MarkPriceStreamForAllMarketRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<MarkPriceStreamForAllMarketResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream-for-All-market Binance API Documentation}
     */
    markPriceStreamForAllMarket(requestParameters?: MarkPriceStreamForAllMarketRequest): WebsocketStream<MarkPriceStreamForAllMarketResponse>;
    /**
     * Asset index for multi-assets mode user
     *
     * Update Speed: 1s
     *
     * @summary Multi-Assets Mode Asset Index
     * @param {MultiAssetsModeAssetIndexRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<MultiAssetsModeAssetIndexResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Multi-Assets-Mode-Asset-Index Binance API Documentation}
     */
    multiAssetsModeAssetIndex(requestParameters?: MultiAssetsModeAssetIndexRequest): WebsocketStream<MultiAssetsModeAssetIndexResponse>;
    /**
     * Top **<levels\>** bids and asks, Valid **<levels\>** are 5, 10, or 20.
     *
     * Update Speed: 250ms, 500ms or 100ms
     *
     * @summary Partial Book Depth Streams
     * @param {PartialBookDepthStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<PartialBookDepthStreamsResponse>}
     * @throws {RequiredError}
     * @memberof WebsocketMarketStreamsApi
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams Binance API Documentation}
     */
    partialBookDepthStreams(requestParameters: PartialBookDepthStreamsRequest): WebsocketStream<PartialBookDepthStreamsResponse>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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.
 */

declare class WebsocketStreamsConnection {
    private websocketBase;
    private websocketMarketStreamsApi;
    constructor(websocketBase: WebsocketStreamsBase);
    /**
     * Adds an event listener for the specified WebSocket event.
     * @param event - The WebSocket event to listen for, such as 'open', 'message', 'error', 'close', 'ping', or 'pong'.
     * @param listener - The callback function to be executed when the event is triggered. The function can accept any number of arguments.
     */
    on(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
    /**
     * Removes an event listener for the specified WebSocket event.
     * @param event - The WebSocket event to stop listening for, such as 'open', 'message', 'error', 'close', 'ping', or 'pong'.
     * @param listener - The callback function that was previously added as the event listener.
     */
    off(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
    /**
     * Disconnects from the WebSocket server.
     * If there is no active connection, a warning is logged.
     * Otherwise, all connections in the connection pool are closed gracefully,
     * and a message is logged indicating that the connection has been disconnected.
     * @returns A Promise that resolves when all connections have been closed.
     * @throws Error if the WebSocket client is not set.
     */
    disconnect(): Promise<void>;
    /**
     * Checks if the WebSocket connection is currently open.
     * @returns `true` if the connection is open, `false` otherwise.
     */
    isConnected(): boolean;
    /**
     * Sends a ping message to all connected Websocket servers in the pool.
     * If no connections are ready, a warning is logged.
     * For each active connection, the ping message is sent, and debug logs provide details.
     * @throws Error if a Websocket client is not set for a connection.
     */
    pingServer(): void;
    /**
     * Subscribes to one or multiple WebSocket streams
     * Handles both single and pool modes
     * @param stream Single stream name or array of stream names to subscribe to
     * @param id Optional subscription ID
     * @returns void
     */
    subscribe(stream: string | string[], id?: string): void;
    /**
     * Unsubscribes from one or multiple WebSocket streams
     * Handles both single and pool modes
     * @param stream Single stream name or array of stream names to unsubscribe from
     * @param id Optional unsubscription ID
     * @returns void
     */
    unsubscribe(stream: string | string[], id?: string): void;
    /**
     * Checks if the WebSocket connection is subscribed to the specified stream.
     * @param stream The name of the WebSocket stream to check.
     * @returns `true` if the connection is subscribed to the stream, `false` otherwise.
     */
    isSubscribed(stream: string): boolean;
    /**
     * Subscribes to the user data WebSocket stream using the provided listen key.
     * @param listenKey - The listen key for the user data WebSocket stream.
     * @param id - Optional user data stream ID
     * @returns A WebSocket stream handler for the user data stream.
     */
    userData(listenKey: string, id?: string): WebsocketStream<object>;
    /**
     * The Aggregate Trade Streams push market trade information that is aggregated for fills with same price and taking side every 100 milliseconds. Only market trades will be aggregated, which means the insurance fund trades and ADL trades won't be aggregated.
     *
     * Update Speed: 100ms
     *
     * @summary Aggregate Trade Streams
     * @param {AggregateTradeStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AggregateTradeStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams Binance API Documentation}
     */
    aggregateTradeStreams(requestParameters: AggregateTradeStreamsRequest): WebsocketStream<AggregateTradeStreamsResponse>;
    /**
     * Pushes any update to the best bid or ask's price or quantity in real-time for all symbols.
     *
     * Update Speed: 5s
     *
     * @summary All Book Tickers Stream
     * @param {AllBookTickersStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllBookTickersStreamResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Book-Tickers-Stream Binance API Documentation}
     */
    allBookTickersStream(requestParameters?: AllBookTickersStreamRequest): WebsocketStream<AllBookTickersStreamResponse>;
    /**
     * The All Liquidation Order Snapshot Streams push force liquidation order information for all symbols in the market.
     * For each symbol，only the latest one liquidation order within 1000ms will be pushed as the snapshot. If no liquidation happens in the interval of 1000ms, no stream will be pushed.
     *
     * Update Speed: 1000ms
     *
     * @summary All Market Liquidation Order Streams
     * @param {AllMarketLiquidationOrderStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMarketLiquidationOrderStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Liquidation-Order-Streams Binance API Documentation}
     */
    allMarketLiquidationOrderStreams(requestParameters?: AllMarketLiquidationOrderStreamsRequest): WebsocketStream<AllMarketLiquidationOrderStreamsResponse>;
    /**
     * 24hr rolling window mini-ticker statistics for all symbols. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before. Note that only tickers that have changed will be present in the array.
     *
     * Update Speed: 1000ms
     *
     * @summary All Market Mini Tickers Stream
     * @param {AllMarketMiniTickersStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMarketMiniTickersStreamResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream Binance API Documentation}
     */
    allMarketMiniTickersStream(requestParameters?: AllMarketMiniTickersStreamRequest): WebsocketStream<AllMarketMiniTickersStreamResponse>;
    /**
     * 24hr rolling window ticker statistics for all symbols. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before. Note that only tickers that have changed will be present in the array.
     *
     * Update Speed: 1000ms
     *
     * @summary All Market Tickers Streams
     * @param {AllMarketTickersStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMarketTickersStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Tickers-Streams Binance API Documentation}
     */
    allMarketTickersStreams(requestParameters?: AllMarketTickersStreamsRequest): WebsocketStream<AllMarketTickersStreamsResponse>;
    /**
     * Composite index information for index symbols pushed every second.
     *
     * Update Speed: 1000ms
     *
     * @summary Composite Index Symbol Information Streams
     * @param {CompositeIndexSymbolInformationStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<CompositeIndexSymbolInformationStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Composite-Index-Symbol-Information-Streams Binance API Documentation}
     */
    compositeIndexSymbolInformationStreams(requestParameters: CompositeIndexSymbolInformationStreamsRequest): WebsocketStream<CompositeIndexSymbolInformationStreamsResponse>;
    /**
     *
     * Update Speed: 250ms
     *
     * @summary Continuous Contract Kline/Candlestick Streams
     * @param {ContinuousContractKlineCandlestickStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<ContinuousContractKlineCandlestickStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Continuous-Contract-Kline-Candlestick-Streams Binance API Documentation}
     */
    continuousContractKlineCandlestickStreams(requestParameters: ContinuousContractKlineCandlestickStreamsRequest): WebsocketStream<ContinuousContractKlineCandlestickStreamsResponse>;
    /**
     * ContractInfo stream pushes when contract info updates(listing/settlement/contract bracket update). `bks` field only shows up when bracket gets updated.
     *
     * Update Speed: Real-time
     *
     * @summary Contract Info Stream
     * @param {ContractInfoStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<ContractInfoStreamResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Contract-Info-Stream Binance API Documentation}
     */
    contractInfoStream(requestParameters?: ContractInfoStreamRequest): WebsocketStream<ContractInfoStreamResponse>;
    /**
     * Bids and asks, pushed every 250 milliseconds, 500 milliseconds, 100 milliseconds (if existing)
     *
     * Update Speed: 250ms, 500ms, 100ms
     *
     * @summary Diff. Book Depth Streams
     * @param {DiffBookDepthStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<DiffBookDepthStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams Binance API Documentation}
     */
    diffBookDepthStreams(requestParameters: DiffBookDepthStreamsRequest): WebsocketStream<DiffBookDepthStreamsResponse>;
    /**
     * Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
     *
     * Update Speed: Real-time
     *
     * @summary Individual Symbol Book Ticker Streams
     * @param {IndividualSymbolBookTickerStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<IndividualSymbolBookTickerStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Book-Ticker-Streams Binance API Documentation}
     */
    individualSymbolBookTickerStreams(requestParameters: IndividualSymbolBookTickerStreamsRequest): WebsocketStream<IndividualSymbolBookTickerStreamsResponse>;
    /**
     * 24hr rolling window mini-ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before.
     *
     * Update Speed: 2s
     *
     * @summary Individual Symbol Mini Ticker Stream
     * @param {IndividualSymbolMiniTickerStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<IndividualSymbolMiniTickerStreamResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Mini-Ticker-Stream Binance API Documentation}
     */
    individualSymbolMiniTickerStream(requestParameters: IndividualSymbolMiniTickerStreamRequest): WebsocketStream<IndividualSymbolMiniTickerStreamResponse>;
    /**
     * 24hr rolling window ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before.
     *
     * Update Speed: 2000ms
     *
     * @summary Individual Symbol Ticker Streams
     * @param {IndividualSymbolTickerStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<IndividualSymbolTickerStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams Binance API Documentation}
     */
    individualSymbolTickerStreams(requestParameters: IndividualSymbolTickerStreamsRequest): WebsocketStream<IndividualSymbolTickerStreamsResponse>;
    /**
     * The Kline/Candlestick Stream push updates to the current klines/candlestick every 250 milliseconds (if existing).
     *
     * Update Speed: 250ms
     *
     * @summary Kline/Candlestick Streams
     * @param {KlineCandlestickStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<KlineCandlestickStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams Binance API Documentation}
     */
    klineCandlestickStreams(requestParameters: KlineCandlestickStreamsRequest): WebsocketStream<KlineCandlestickStreamsResponse>;
    /**
     * The Liquidation Order Snapshot Streams push force liquidation order information for specific symbol.
     * For each symbol，only the latest one liquidation order within 1000ms will be pushed as the snapshot. If no liquidation happens in the interval of 1000ms, no stream will be pushed.
     *
     * Update Speed: 1000ms
     *
     * @summary Liquidation Order Streams
     * @param {LiquidationOrderStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<LiquidationOrderStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Liquidation-Order-Streams Binance API Documentation}
     */
    liquidationOrderStreams(requestParameters: LiquidationOrderStreamsRequest): WebsocketStream<LiquidationOrderStreamsResponse>;
    /**
     * Mark price and funding rate for a single symbol pushed every 3 seconds or every second.
     *
     * Update Speed: 3000ms or 1000ms
     *
     * @summary Mark Price Stream
     * @param {MarkPriceStreamRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<MarkPriceStreamResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream Binance API Documentation}
     */
    markPriceStream(requestParameters: MarkPriceStreamRequest): WebsocketStream<MarkPriceStreamResponse>;
    /**
     * Mark price and funding rate for all symbols pushed every 3 seconds or every second.
     *
     * Update Speed: 3000ms or 1000ms
     *
     * @summary Mark Price Stream for All market
     * @param {MarkPriceStreamForAllMarketRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<MarkPriceStreamForAllMarketResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream-for-All-market Binance API Documentation}
     */
    markPriceStreamForAllMarket(requestParameters?: MarkPriceStreamForAllMarketRequest): WebsocketStream<MarkPriceStreamForAllMarketResponse>;
    /**
     * Asset index for multi-assets mode user
     *
     * Update Speed: 1s
     *
     * @summary Multi-Assets Mode Asset Index
     * @param {MultiAssetsModeAssetIndexRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<MultiAssetsModeAssetIndexResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Multi-Assets-Mode-Asset-Index Binance API Documentation}
     */
    multiAssetsModeAssetIndex(requestParameters?: MultiAssetsModeAssetIndexRequest): WebsocketStream<MultiAssetsModeAssetIndexResponse>;
    /**
     * Top **<levels\>** bids and asks, Valid **<levels\>** are 5, 10, or 20.
     *
     * Update Speed: 250ms, 500ms or 100ms
     *
     * @summary Partial Book Depth Streams
     * @param {PartialBookDepthStreamsRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<PartialBookDepthStreamsResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams Binance API Documentation}
     */
    partialBookDepthStreams(requestParameters: PartialBookDepthStreamsRequest): WebsocketStream<PartialBookDepthStreamsResponse>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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.
 */

declare class WebsocketStreams {
    private configuration;
    constructor(configuration: ConfigurationWebsocketStreams);
    /**
     * Connects to the Binance WebSocket streams and returns a `WebsocketStreamsConnection` instance.
     *
     * @param {object} [options] - Optional connection options.
     * @param {string|string[]} [options.stream] - The stream(s) to connect to.
     * @param {'single'|'pool'} [options.mode] - The connection mode, either 'single' or 'pool'. Overwrite the `mode` option in the configuration.
     * @param {number} [options.poolSize] - The number of connections to use in pool mode. Overwrite the `poolSize` option in the configuration.
     * @returns {Promise<WebsocketStreamsConnection>} - A promise that resolves to a `WebsocketStreamsConnection` instance.
     */
    connect({ stream, mode, poolSize, }?: {
        stream?: string | string[];
        mode?: 'single' | 'pool';
        poolSize?: number;
    }): Promise<WebsocketStreamsConnection>;
}

/**
 * Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Public Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * 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.
 */

type index_AggregateTradeStreamsRequest = AggregateTradeStreamsRequest;
type index_AggregateTradeStreamsResponse = AggregateTradeStreamsResponse;
type index_AllBookTickersStreamRequest = AllBookTickersStreamRequest;
type index_AllBookTickersStreamResponse = AllBookTickersStreamResponse;
type index_AllMarketLiquidationOrderStreamsRequest = AllMarketLiquidationOrderStreamsRequest;
type index_AllMarketLiquidationOrderStreamsResponse = AllMarketLiquidationOrderStreamsResponse;
type index_AllMarketLiquidationOrderStreamsResponseO = AllMarketLiquidationOrderStreamsResponseO;
type index_AllMarketMiniTickersStreamRequest = AllMarketMiniTickersStreamRequest;
type index_AllMarketMiniTickersStreamResponse = AllMarketMiniTickersStreamResponse;
type index_AllMarketMiniTickersStreamResponseInner = AllMarketMiniTickersStreamResponseInner;
type index_AllMarketTickersStreamsRequest = AllMarketTickersStreamsRequest;
type index_AllMarketTickersStreamsResponse = AllMarketTickersStreamsResponse;
type index_AllMarketTickersStreamsResponseInner = AllMarketTickersStreamsResponseInner;
type index_CompositeIndexSymbolInformationStreamsRequest = CompositeIndexSymbolInformationStreamsRequest;
type index_CompositeIndexSymbolInformationStreamsResponse = CompositeIndexSymbolInformationStreamsResponse;
type index_CompositeIndexSymbolInformationStreamsResponseCInner = CompositeIndexSymbolInformationStreamsResponseCInner;
type index_ContinuousContractKlineCandlestickStreamsRequest = ContinuousContractKlineCandlestickStreamsRequest;
type index_ContinuousContractKlineCandlestickStreamsResponse = ContinuousContractKlineCandlestickStreamsResponse;
type index_ContinuousContractKlineCandlestickStreamsResponseK = ContinuousContractKlineCandlestickStreamsResponseK;
type index_ContractInfoStreamRequest = ContractInfoStreamRequest;
type index_ContractInfoStreamResponse = ContractInfoStreamResponse;
type index_ContractInfoStreamResponseBksInner = ContractInfoStreamResponseBksInner;
type index_DiffBookDepthStreamsRequest = DiffBookDepthStreamsRequest;
type index_DiffBookDepthStreamsResponse = DiffBookDepthStreamsResponse;
type index_DiffBookDepthStreamsResponseAItem = DiffBookDepthStreamsResponseAItem;
type index_DiffBookDepthStreamsResponseBItem = DiffBookDepthStreamsResponseBItem;
type index_IndividualSymbolBookTickerStreamsRequest = IndividualSymbolBookTickerStreamsRequest;
type index_IndividualSymbolBookTickerStreamsResponse = IndividualSymbolBookTickerStreamsResponse;
type index_IndividualSymbolMiniTickerStreamRequest = IndividualSymbolMiniTickerStreamRequest;
type index_IndividualSymbolMiniTickerStreamResponse = IndividualSymbolMiniTickerStreamResponse;
type index_IndividualSymbolTickerStreamsRequest = IndividualSymbolTickerStreamsRequest;
type index_IndividualSymbolTickerStreamsResponse = IndividualSymbolTickerStreamsResponse;
type index_KlineCandlestickStreamsRequest = KlineCandlestickStreamsRequest;
type index_KlineCandlestickStreamsResponse = KlineCandlestickStreamsResponse;
type index_KlineCandlestickStreamsResponseK = KlineCandlestickStreamsResponseK;
type index_LiquidationOrderStreamsRequest = LiquidationOrderStreamsRequest;
type index_LiquidationOrderStreamsResponse = LiquidationOrderStreamsResponse;
type index_MarkPriceStreamForAllMarketRequest = MarkPriceStreamForAllMarketRequest;
type index_MarkPriceStreamForAllMarketResponse = MarkPriceStreamForAllMarketResponse;
type index_MarkPriceStreamForAllMarketResponseInner = MarkPriceStreamForAllMarketResponseInner;
type index_MarkPriceStreamRequest = MarkPriceStreamRequest;
type index_MarkPriceStreamResponse = MarkPriceStreamResponse;
type index_MultiAssetsModeAssetIndexRequest = MultiAssetsModeAssetIndexRequest;
type index_MultiAssetsModeAssetIndexResponse = MultiAssetsModeAssetIndexResponse;
type index_MultiAssetsModeAssetIndexResponseInner = MultiAssetsModeAssetIndexResponseInner;
type index_PartialBookDepthStreamsRequest = PartialBookDepthStreamsRequest;
type index_PartialBookDepthStreamsResponse = PartialBookDepthStreamsResponse;
type index_PartialBookDepthStreamsResponseAItem = PartialBookDepthStreamsResponseAItem;
type index_PartialBookDepthStreamsResponseBItem = PartialBookDepthStreamsResponseBItem;
type index_WebsocketMarketStreamsApi = WebsocketMarketStreamsApi;
declare const index_WebsocketMarketStreamsApi: typeof WebsocketMarketStreamsApi;
type index_WebsocketMarketStreamsApiInterface = WebsocketMarketStreamsApiInterface;
type index_WebsocketStreams = WebsocketStreams;
declare const index_WebsocketStreams: typeof WebsocketStreams;
type index_WebsocketStreamsConnection = WebsocketStreamsConnection;
declare const index_WebsocketStreamsConnection: typeof WebsocketStreamsConnection;
declare namespace index {
  export {
    index_AggregateTradeStreamsRequest as AggregateTradeStreamsRequest,
    index_AggregateTradeStreamsResponse as AggregateTradeStreamsResponse,
    index_AllBookTickersStreamRequest as AllBookTickersStreamRequest,
    index_AllBookTickersStreamResponse as AllBookTickersStreamResponse,
    index_AllMarketLiquidationOrderStreamsRequest as AllMarketLiquidationOrderStreamsRequest,
    index_AllMarketLiquidationOrderStreamsResponse as AllMarketLiquidationOrderStreamsResponse,
    index_AllMarketLiquidationOrderStreamsResponseO as AllMarketLiquidationOrderStreamsResponseO,
    index_AllMarketMiniTickersStreamRequest as AllMarketMiniTickersStreamRequest,
    index_AllMarketMiniTickersStreamResponse as AllMarketMiniTickersStreamResponse,
    index_AllMarketMiniTickersStreamResponseInner as AllMarketMiniTickersStreamResponseInner,
    index_AllMarketTickersStreamsRequest as AllMarketTickersStreamsRequest,
    index_AllMarketTickersStreamsResponse as AllMarketTickersStreamsResponse,
    index_AllMarketTickersStreamsResponseInner as AllMarketTickersStreamsResponseInner,
    index_CompositeIndexSymbolInformationStreamsRequest as CompositeIndexSymbolInformationStreamsRequest,
    index_CompositeIndexSymbolInformationStreamsResponse as CompositeIndexSymbolInformationStreamsResponse,
    index_CompositeIndexSymbolInformationStreamsResponseCInner as CompositeIndexSymbolInformationStreamsResponseCInner,
    index_ContinuousContractKlineCandlestickStreamsRequest as ContinuousContractKlineCandlestickStreamsRequest,
    index_ContinuousContractKlineCandlestickStreamsResponse as ContinuousContractKlineCandlestickStreamsResponse,
    index_ContinuousContractKlineCandlestickStreamsResponseK as ContinuousContractKlineCandlestickStreamsResponseK,
    index_ContractInfoStreamRequest as ContractInfoStreamRequest,
    index_ContractInfoStreamResponse as ContractInfoStreamResponse,
    index_ContractInfoStreamResponseBksInner as ContractInfoStreamResponseBksInner,
    index_DiffBookDepthStreamsRequest as DiffBookDepthStreamsRequest,
    index_DiffBookDepthStreamsResponse as DiffBookDepthStreamsResponse,
    index_DiffBookDepthStreamsResponseAItem as DiffBookDepthStreamsResponseAItem,
    index_DiffBookDepthStreamsResponseBItem as DiffBookDepthStreamsResponseBItem,
    index_IndividualSymbolBookTickerStreamsRequest as IndividualSymbolBookTickerStreamsRequest,
    index_IndividualSymbolBookTickerStreamsResponse as IndividualSymbolBookTickerStreamsResponse,
    index_IndividualSymbolMiniTickerStreamRequest as IndividualSymbolMiniTickerStreamRequest,
    index_IndividualSymbolMiniTickerStreamResponse as IndividualSymbolMiniTickerStreamResponse,
    index_IndividualSymbolTickerStreamsRequest as IndividualSymbolTickerStreamsRequest,
    index_IndividualSymbolTickerStreamsResponse as IndividualSymbolTickerStreamsResponse,
    index_KlineCandlestickStreamsRequest as KlineCandlestickStreamsRequest,
    index_KlineCandlestickStreamsResponse as KlineCandlestickStreamsResponse,
    index_KlineCandlestickStreamsResponseK as KlineCandlestickStreamsResponseK,
    index_LiquidationOrderStreamsRequest as LiquidationOrderStreamsRequest,
    index_LiquidationOrderStreamsResponse as LiquidationOrderStreamsResponse,
    index_MarkPriceStreamForAllMarketRequest as MarkPriceStreamForAllMarketRequest,
    index_MarkPriceStreamForAllMarketResponse as MarkPriceStreamForAllMarketResponse,
    index_MarkPriceStreamForAllMarketResponseInner as MarkPriceStreamForAllMarketResponseInner,
    index_MarkPriceStreamRequest as MarkPriceStreamRequest,
    index_MarkPriceStreamResponse as MarkPriceStreamResponse,
    index_MultiAssetsModeAssetIndexRequest as MultiAssetsModeAssetIndexRequest,
    index_MultiAssetsModeAssetIndexResponse as MultiAssetsModeAssetIndexResponse,
    index_MultiAssetsModeAssetIndexResponseInner as MultiAssetsModeAssetIndexResponseInner,
    index_PartialBookDepthStreamsRequest as PartialBookDepthStreamsRequest,
    index_PartialBookDepthStreamsResponse as PartialBookDepthStreamsResponse,
    index_PartialBookDepthStreamsResponseAItem as PartialBookDepthStreamsResponseAItem,
    index_PartialBookDepthStreamsResponseBItem as PartialBookDepthStreamsResponseBItem,
    index_WebsocketMarketStreamsApi as WebsocketMarketStreamsApi,
    index_WebsocketMarketStreamsApiInterface as WebsocketMarketStreamsApiInterface,
    index_WebsocketStreams as WebsocketStreams,
    index_WebsocketStreamsConnection as WebsocketStreamsConnection,
  };
}

interface ConfigurationDerivativesTradingUsdsFutures {
    configurationRestAPI?: ConfigurationRestAPI;
    configurationWebsocketAPI?: ConfigurationWebsocketAPI;
    configurationWebsocketStreams?: ConfigurationWebsocketStreams;
}
declare class DerivativesTradingUsdsFutures {
    restAPI: RestAPI;
    websocketAPI: WebsocketAPI;
    websocketStreams: WebsocketStreams;
    constructor(config: ConfigurationDerivativesTradingUsdsFutures);
}

export { ConfigurationDerivativesTradingUsdsFutures, DerivativesTradingUsdsFutures, index$2 as DerivativesTradingUsdsFuturesRestAPI, index$1 as DerivativesTradingUsdsFuturesWebsocketAPI, index as DerivativesTradingUsdsFuturesWebsocketStreams };
