multi-factor-strategy
oleh wumu2013
Coding Agents & IDEsRingkasan
Guide users to create multi-factor stock selection strategies and generate independent YAML configuration files.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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
Persyaratan
- quantcli Python package (pip install quantcli)
Instalasi
clawhub install wumu2013/multi-factor-strategyJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.