screamer.js
    Preparing search index...

    Interface BacktestReportResult

    interface BacktestReportResult {
        byGroup?: Map<string | number, Record<string, number>>;
        perAsset?: Record<string, number>[];
        running: Record<string, Float64Array>;
        summary: Record<string, number>;
    }
    Index
    byGroup?: Map<string | number, Record<string, number>>

    With by: for each label, in order of first appearance, total_pnl, total_cost, turnover, sharpe, max_drawdown, and steps, as Python's summary["by_group"].

    perAsset?: Record<string, number>[]

    For a [T, K, 4] input: the summary of each asset alone, as backtestReport gives it for that asset's [T, 4] output (Python's summary["per_asset"]).

    running: Record<string, Float64Array>

    The engine columns equity, pnl, position, cost, the BacktestReport columns, the BacktestStats columns, and index when one was given. Each is a causal series whose last finite value is the summary. For a [T, K, 4] input, the book's equity, pnl, and cost replace the engine columns.

    summary: Record<string, number>

    The final statistics, keyed as Python's backtest_report summary.