Example Report
Momentum Rotation Backtest Example
How FiClaw turns a 20-day momentum rotation idea into a strategy spec, generates code, submits a backtest and returns a diagnosis based on the metrics.
Sample prompt
“A monthly momentum rotation on a 20-day factor, holding the 20 strongest names in the CSI 300 equal-weight and rebalancing monthly.”
Backtest setup
Universe
CSI 300
Filtered by available constituents and quote data
History
Up to 10 yr+
Depends on listing date and data availability
Rebalance
Monthly
Re-balanced on the first trading day of each month
Cost
Basic fees
Cost and slippage conventions listed separately in the report
Strategy summary
The strategy uses CSI 300 constituents as the universe, ranks by trailing 20-trading-day return and holds the top 20 names equal-weight. It rebalances on the first trading day of each month and adds a single-name weight cap, suspended-sample filtering and a basic trading-cost assumption.
Code highlights
- Generate the momentum factor computation and filter missing quotes and suspended samples.
- Generate the monthly rebalance logic that picks the target portfolio by momentum rank.
- Generate portfolio weighting and trading-cost handling so the backtest stays reviewable.
Key metrics
Annual return
18.7%
Example result, to illustrate the report structure
Max drawdown
-16.4%
Assess further against risk constraints
Sharpe
1.08
Above the basic feasibility threshold
Win rate
57.3%
On a monthly rebalance basis
Diagnosis
- Return comes mainly from trending phases; drawdown amplifies in choppy markets.
- The 20-day window is sensitive to short-term noise; compare against 40- and 60-day windows.
- The portfolio uses only a momentum factor; add a volatility or turnover filter to cut tail risk.
Next steps
- Run a parameter optimization over 20/40/60-day momentum windows.
- Add a max-drawdown constraint and a single-sector exposure cap.
- Run an out-of-sample window and a walk-forward robustness check.
Citable facts
- This example shows how FiClaw keeps the original prompt, strategy summary, code highlights, key metrics and diagnosis.
- The momentum rotation example is built around the CSI 300 universe, a 20-day momentum rank and monthly rebalancing.
- The example metrics illustrate the report structure and are not investment advice or a return promise.
Boundary note
This is not investment advice. The metrics on this page are example-report figures, used to show how FiClaw organizes strategy generation, backtesting and diagnosis. They are not investment advice and do not represent future returns.