wf_stitch: Stitch Out-of-Sample Results (overlap-safe)
Description
Concatenates OOS backtests and safely compounds returns on overlapping dates.
Usage
wf_stitch(oos_results, initial_value = 1e+05)
Value
Data frame with columns: Date, Value.
Arguments
- oos_results
List of backtest_result objects, each with $portfolio_values and $dates.
- initial_value
Numeric starting value for the stitched equity curve (default 100000).