multi-factor-strategy
由 wumu2013 提供
Coding Agents & IDEs简介
Guide users to create multi-factor stock selection strategies and generate independent YAML configuration files.
描述
该技能的功能
Guides users through building multi-factor stock selection strategies and outputs them as runnable YAML configuration files for quantcli. Covers factor selection, screening conditions, weight allocation, and inline or external Alpha101 factor references.
The guided workflow handles factor expression syntax and weight configuration in one conversation, producing a complete quantcli-compatible YAML file without manual trial and error.
何时使用
- Build a value-growth hybrid screener using ROE and P/E conditions
- Combine Alpha101 built-in factors with custom momentum expressions
- Generate a ready-to-run YAML strategy file without writing config manually
- Tune factor weights for fundamental vs technical score blending
- Screen stocks by moving average position before applying factor ranking
示例工作流
User asks: Create a momentum strategy that picks the top 20 stocks
- 1
Clarify holding period and desired selection size
- 2
Select momentum and volume ratio as primary factors
- 3
Define screening conditions to exclude loss-making stocks
- 4
Assign factor weights and set zscore normalization
- 5
Output a complete strategy YAML with output limit set to 20
A complete YAML file ready to run with: quantcli filter run -f strategy.yaml --top 20
前置要求
- quantcli Python package (pip install quantcli)
安装
clawhub install wumu2013/multi-factor-strategy运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。