Install
openclaw skills install strategy-backtesterValidates historical behavior of stock ranking, factor, and portfolio-selection strategies using reproducible backtests, benchmark comparison, turnover, drawdown, and bias warnings.
openclaw skills install strategy-backtesterUse this skill to test whether a ranking, factor mix, or portfolio-selection rule had useful historical behavior before treating it as an investment signal.
Required inputs:
SIGNAL_CSV: rows with date, ticker, and score.PRICE_CSV: rows with date, ticker, and close.REBALANCE_FREQUENCY: monthly, quarterly, or yearly.TOP_N: number of selected names per rebalance.Optional inputs:
BENCHMARK_CSV: rows with date and close or return.FEE_BPS: round-trip fee assumption in basis points.SLIPPAGE_BPS: slippage assumption in basis points.UNIVERSE_HISTORY: point-in-time membership if available.scripts/backtest_strategy.py with explicit rebalance, fee, slippage, and top-N assumptions.Backtest SetupPerformance SummaryBenchmark ComparisonRobustness and Bias WarningsConfidence and Data GapsHandoff Bundlestrategy_name, test_window, rebalance_frequency, fee_assumption, slippage_assumption, benchmark, metrics, bias_warnings, confidence, and data_gaps.High: point-in-time signals, adequate price coverage, benchmark available, fees/slippage included, and test window covers multiple market regimes.Medium: usable history and price coverage, but one major robustness input is missing.Low: short history, missing benchmark, sparse price coverage, likely survivorship/lookahead risk, or no fee/slippage assumptions.stock-picker-orchestrator, not as a trading command.