Validates historical behavior of stock ranking, factor, and portfolio-selection strategies using reproducible backtests, benchmark comparison, turnover, draw...
使用可复现的回测、基准对比、换手率和回撤等方法,验证股票排名、因子及投资组合选择策略的历史表现。
ndtchan
未分类clawhubv1.0.01 版本99621.2Key: 无需
★ 0
Stars
📥 263
下载
💾 1
安装
1
版本
#latest
概述
Strategy Backtester
Purpose
Use this skill to test whether a ranking, factor mix, or portfolio-selection rule had useful historical behavior before treating it as an investment signal.
Scope
Equity ranking and selection strategies.
Periodic rebalance backtests from local CSV inputs.
Benchmark comparison when benchmark data is available.
Bias and robustness review.
Non-goals
Do not claim that historical performance predicts future returns.
Do not optimize parameters until a preferred result appears.
Do not issue absolute buy/sell instructions.
Do not fetch live market data.
Input contract
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.
Execution workflow
Validate input files and required columns.
Estimate whether the test window and symbol coverage are sufficient.
Run scripts/backtest_strategy.py with explicit rebalance, fee, slippage, and top-N assumptions.
Review performance metrics and benchmark comparison.
Identify bias risks and robustness gaps.
Return the required output sections.
Required output format
Backtest Setup
Strategy name, test window, rebalance frequency, top-N, fees, slippage, benchmark.
Performance Summary
Total return, CAGR, volatility, max drawdown, Sharpe, Sortino, turnover, hit rate when available.
Benchmark Comparison
Relative return, relative drawdown, and tracking observations when benchmark data exists.