OptionalanchoredOptionalcarryPer-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.
OptionalcarryThe carry's contract multiplier (default 1).
OptionallargerOptionalmetricOptionalperiodsAnnualizes the ratios, as in backtestReport (default 1: per step).
Length of each test window (at least 1).
Length of each training window (at least 2, shorter than the series).
Train on everything before the test window instead of the last
trainsteps.