screamer.js
    Preparing search index...

    Interface WalkForwardOptions

    interface WalkForwardOptions {
        anchored?: boolean;
        carry?: ArrayLike<number> | NdArray | ArrayLike<number>[];
        carryMultiplier?: number;
        largerIsBetter?: boolean;
        metric?: PositionTestMetric;
        periodsPerYear?: number;
        test: number;
        train: number;
    }
    Index
    anchored?: boolean

    Train on everything before the test window instead of the last train steps.

    carry?: ArrayLike<number> | NdArray | ArrayLike<number>[]

    Per-step carry rate (funding, borrow), one value per row, with the sign and timing BacktestCarry documents. Every run is scored after BacktestCarry, marked with the engine's markInput. A [T, K] NdArray, or T rows of K values, for a portfolio engine.

    carryMultiplier?: number

    The carry's contract multiplier (default 1).

    largerIsBetter?: boolean
    periodsPerYear?: number

    Annualizes the ratios, as in backtestReport (default 1: per step).

    test: number

    Length of each test window (at least 1).

    train: number

    Length of each training window (at least 2, shorter than the series).