Mayson Monorepo Documentation
    Preparing search index...

    Interface VirtualPortfolioResponse

    Response from getting virtual portfolio

    interface VirtualPortfolioResponse {
        startingBalance: number;
        currentValue: number;
        pnl: number;
        pnlPercent: number;
        balances: VirtualBalance[];
        totalTrades: number;
    }
    Index

    Properties

    startingBalance: number

    Starting balance

    currentValue: number

    Current portfolio value in USDT

    pnl: number

    Total P&L in USDT

    pnlPercent: number

    P&L percentage

    balances: VirtualBalance[]

    Virtual balances

    totalTrades: number

    Total number of trades