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

    Type Alias EquityCurveResult

    An equity curve, shaped per meta.outMode: points when ARRAY, timestamps + equities (parallel arrays) when SHORT. Used identically wherever a curve is returned — a plain backtest's inline equityCurve and a sweep row's equityCurve are the same type. url is present instead of any points when the curve is served by pointer rather than inline (a sweep row's top-N winners only): GET it separately to fetch this exact same shape with the points populated.

    type EquityCurveResult = {
        equities?: number[];
        meta: EquityCurveMeta;
        points?: EquityPoint[];
        timestamps?: number[];
        url?: string;
    }
    Index
    equities?: number[]

    Present when meta.outMode is SHORT and the curve is inline (not a pointer), parallel to timestamps (same index, same point).

    points?: EquityPoint[]

    Present when meta.outMode is ARRAY and the curve is inline (not a pointer).

    timestamps?: number[]

    Present when meta.outMode is SHORT and the curve is inline (not a pointer).

    url?: string

    Present only for a sweep row's pointer curve. GET this to fetch the curve itself, in this exact {points|timestamps+equities, meta} shape — meta there is the real, possibly size-guarded outcome; this outer meta is a raw, untransformed preview from the moment the sweep selected this trial's curve, and the two can legitimately differ.