跳到正文
TakoAPI
返回技能列表

multi-factor-strategy

由 wumu2013 提供

Coding Agents & IDEs
3.1k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Clarify holding period and desired selection size

  2. 2

    Select momentum and volume ratio as primary factors

  3. 3

    Define screening conditions to exclude loss-making stocks

  4. 4

    Assign factor weights and set zscore normalization

  5. 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 或你在用的任意编程智能体里。

链接