/**
 * 用户信息
 */
export interface UserFormData {
    date: string;
}

/**
 * 用户信息
 */
export interface UserResponseData {
    totalCount: number;
    todayCount: number;
    activeCount: number;
    followBlance: number;
    swapBalance: number;
    spotBalance: number;
    totalOrderCount: number;
}

/**
 * 手续费返佣总汇（USDT）
 */
export interface FeeResponseData {
    totalUsdt: number;
    recharge: number;
    withdraw: number;
    contractFee: number;
    contractAward: number;
    overnightFee: number;
    profit: number;
    loss: number;
}

/**
 * 今日充提
 */
export interface WithRechargeResponseData {
    usdtRecharge: number;
    usdtWithdraw: number;
    ethRecharge: number;
    ethWithdraw: number;
    btcRecharge: number;
    btcWithdraw: number;
    todayProfit: number;
    todayLoss: number;
    todayFee: number;
    todayAward: number;
}

/**
 * 合约平台盈亏
 */
export interface AllScsResponseData {
    totalProfit: number;
    totalLoss: number;
}

/**
 * 交易对列表参数
 */
export interface ContractCoinListFormData {
    pageNo: number;
    pageSize: number;
    positionType?: "self" | "copy";
}

export type ContractCoinListResponseData = PageResult<Content[]>;

/**
 * 交易对内容项
 */
export interface Content {
    id: number | string;
    name: string;
    baseCoinScale: number | string;
    baseSymbol: string;
    buyPosition: number | string;
    closeFee: number | string;
    coinScale: number | string;
    coinSymbol: string;
    currentPrice: string;
    currentTime: string;
    enable: number | string;
    enableMarketBuy: number | string;
    enableMarketSell: number | string;
    enableOpenBuy: number | string;
    enableOpenSell: number | string;
    enableTriggerEntrust: number | string;
    exchangeable: number | string;
    feePercent: number | string;
    intervalHour: number | string;
    leverage: string;
    leverageType: number | string;
    maintenanceMarginRate: number | string;
    makerFee: number | string;
    maxShare: number | string;
    maxTotalShare: number | string;
    minShare: number | string;
    openFee: number | string;
    sellPosition: number | string;
    shareNumber: number | string;
    sort: number | string;
    spread: number | string;
    spreadType: number | string;
    symbol: string;
    takerFee: number | string;
    totalCloseFee: number | string;
    totalLoss: number | string;
    totalOpenFee: number | string;
    totalProfit: number | string;
    type: number | string;
    usdtRate: number | string;
    visible: number | string;
    username: string;
    icon?: string;
    isHot?: number | null;
    minScale?: number | string;
}

/**
 * 用户类型
 */
export interface MemberBoardResponseData {
    registrationNum: any;
    yesterdayRegistrationNum: any;
    applicationNum: any;
    yesterdayApplicationNum: any;
    bussinessNum: any;
    yesterdayBussinessNum: any;
}
