screamer.js
    Preparing search index...

    Interface BacktestReportOptions

    interface BacktestReportOptions {
        by?: ArrayLike<string | number>;
        index?: ArrayLike<number>;
        periodsPerYear?: number;
    }
    Index
    by?: ArrayLike<string | number>

    One label per row, numbers or strings (Python's by=). The result then holds byGroup.

    index?: ArrayLike<number>

    An index for the rows, returned as running.index, a Float64Array. Its values must be numbers (a string is a TypeError); Python passes any index through.

    periodsPerYear?: number

    Annualizes sharpe, sortino, and calmar (for example 252 for daily bars). The default 1 gives per-step ratios.