@qtsurfer/api-client
    Preparing search index...

    Type Alias LivePaperAccount

    One simulated account — one per quote currency the run trades.

    type LivePaperAccount = {
        currency: string;
        equity: number;
        equityAtMs?: number;
        equityKind?: "equity" | "mark";
        gaps: number;
        initialFunding: number;
        kpi?: LivePaperKpi;
        openPositions: LivePaperPosition[];
        realisedPnl: number;
        trades: number;
    }
    Index
    currency: string

    The account's quote currency; every amount below is in it.

    equity: number

    Latest recorded equity — see equityKind.

    equityAtMs?: number

    Market time of that value. Absent while the account holds its starting capital.

    equityKind?: "equity" | "mark"

    equity at a closed trade, mark at a periodic mark-to-market (includes open positions at market price).

    gaps: number

    Times open positions were lost because the run was restarted with them open.

    initialFunding: number
    openPositions: LivePaperPosition[]
    realisedPnl: number

    Sum of the PnL of the closed trades.

    trades: number

    Closed trades.