UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

45 lines (44 loc) 2.15 kB
import { BinanceSignedClient } from '../../../clients'; import { spot } from '../../../info'; export interface GetSummaryOfSubAccountFuturesAccountV2Payload<FuturesType extends spot.FuturesTypeEnum> { futuresType: FuturesType; page?: number; limit?: number; } export interface GetSummaryOfSubAccountFuturesAccountV2USDTResponse { totalInitialMargin: number; totalMaintenanceMargin: number; totalMarginBalance: number; totalOpenOrderInitialMargin: number; totalPositionInitialMargin: number; totalUnrealizedProfit: number; totalWalletBalance: number; asset: string; subAccountList: { email: string; totalInitialMargin: number; totalMaintenanceMargin: number; totalMarginBalance: number; totalOpenOrderInitialMargin: number; totalPositionInitialMargin: number; totalUnrealizedProfit: number; totalWalletBalance: number; asset: string; }[]; } export interface GetSummaryOfSubAccountFuturesAccountV2COINResponse { totalMarginBalanceOfBTC: number; totalUnrealizedProfitOfBTC: number; totalWalletBalanceOfBTC: number; asset: string; subAccountList: { email: string; totalMarginBalance: number; totalUnrealizedProfit: number; totalWalletBalance: number; asset: string; }[]; } export declare function getSummaryOfSubAccountFuturesAccountV2(client: BinanceSignedClient, payload: GetSummaryOfSubAccountFuturesAccountV2Payload<spot.FuturesTypeEnum.USDT_MARGINED_FUTURES>): Promise<GetSummaryOfSubAccountFuturesAccountV2USDTResponse>; export declare function getSummaryOfSubAccountFuturesAccountV2(client: BinanceSignedClient, payload: GetSummaryOfSubAccountFuturesAccountV2Payload<spot.FuturesTypeEnum.COIN_MARGINED_FUTURES>): Promise<GetSummaryOfSubAccountFuturesAccountV2COINResponse>; export declare function getSummaryOfSubAccountFuturesAccountV2(client: BinanceSignedClient, payload: GetSummaryOfSubAccountFuturesAccountV2Payload<spot.FuturesTypeEnum>): Promise<GetSummaryOfSubAccountFuturesAccountV2USDTResponse | GetSummaryOfSubAccountFuturesAccountV2COINResponse>;