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

    Type Alias GetLiveRunPaperEquityData

    type GetLiveRunPaperEquityData = {
        body?: never;
        path: { runId: string };
        query?: {
            currency?: string;
            cursor?: string;
            differential?: boolean;
            instrument?: string;
            limit?: number;
            measure?: "realisedPnl" | "totalPnl";
            outMode?: EquityCurveOutMode;
            resample?: number;
            sinceMs?: number;
        };
        url: "/live/{runId}/paper/equity";
    }
    Index
    body?: never
    path: { runId: string }
    query?: {
        currency?: string;
        cursor?: string;
        differential?: boolean;
        instrument?: string;
        limit?: number;
        measure?: "realisedPnl" | "totalPnl";
        outMode?: EquityCurveOutMode;
        resample?: number;
        sinceMs?: number;
    }

    Type Declaration

    • Optionalcurrency?: string

      One account's quote currency, e.g. USDT. May be left out when the run has a single account, or none yet, or when instrument is given.

    • Optionalcursor?: string

      Continue from a previous page's _links.next. Giving it turns the answer into one page of the raw curve; it cannot be combined with resample.

    • Optionaldifferential?: boolean

      Delta-encode both fields from the second point onward (from the second point of each page, when paging).

    • Optionalinstrument?: string

      One instrument of the account, as BASE/QUOTE: answers its cumulative realised PnL instead of the account's equity. Its account is its quote currency; a currency that is another one is a 400. In a run started with accounts: instrument it selects the account of that instrument instead and the answer is the account's own equity curve.

    • Optionallimit?: number

      Page size, in entries (a gap is one). Giving it turns the answer into one page of the raw curve; it cannot be combined with resample.

    • Optionalmeasure?: "realisedPnl" | "totalPnl"

      With instrument: realisedPnl (the default) or totalPnl, which adds the unrealised value of its open position at each mark. Without instrument it is a 400, and so it is in a run started with accounts: instrument, whose accounts have one curve.

    • OptionaloutMode?: EquityCurveOutMode

      Requested JSON shape. May be overridden by the server's size guard; meta.outMode in the response is the source of truth.

    • Optionalresample?: number

      Downsample to at most this many points (extrema-preserving — the global max/min and the exact first/last point are always kept). Omit for no downsampling.

    • OptionalsinceMs?: number

      Start from this market time (epoch ms), inclusive. Ignored when cursor is given.

    url: "/live/{runId}/paper/equity"