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

    Type Alias GetSweepRunEquityCurveData

    type GetSweepRunEquityCurveData = {
        body?: never;
        path: {
            exchangeId: string;
            requestId: string;
            runIx: number;
            sweepId: string;
            type: DataSourceType;
        };
        query?: {
            differential?: boolean;
            outMode?: EquityCurveOutMode;
            resample?: number;
        };
        url: "/backtest/{exchangeId}/{type}/executeSweep/{requestId}/{sweepId}/runs/{runIx}/equityCurve";
    }
    Index
    body?: never
    path: {
        exchangeId: string;
        requestId: string;
        runIx: number;
        sweepId: string;
        type: DataSourceType;
    }

    Type Declaration

    • exchangeId: string
    • requestId: string

      The jobId returned by POST /backtest/{exchangeId}/{type}/prepare.

    • runIx: number

      The trial's runIx, as it appears on its leaderboard row.

    • sweepId: string
    • type: DataSourceType
    query?: {
        differential?: boolean;
        outMode?: EquityCurveOutMode;
        resample?: number;
    }

    Type Declaration

    • Optionaldifferential?: boolean

      Delta-encode both fields from the second point onward. Omit to use the sweep's submitted default.

    • OptionaloutMode?: EquityCurveOutMode

      Requested JSON shape. Omit to use the sweep's submitted default; may be overridden either way by the server's size guard.

    • 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 to use the sweep's submitted default (itself omittable, for no downsampling).

    url: "/backtest/{exchangeId}/{type}/executeSweep/{requestId}/{sweepId}/runs/{runIx}/equityCurve"