Computes deterministic Alpha101, Alpha158, and Alpha191 factor values from long-form OHLCV CSV market data. Supports full or selected factor sets, wide CSV output, and skipped-factor metadata.
Ships in factor-alpha191-alpha101. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
{
"version": 1,
"task": {
"placeholder": "说明 OHLCV 数据文件、计算范围及输出要求;请上传或指明输入数据",
"required": true
},
"fields": [
{
"key": "alpha_sets",
"label": "因子库",
"type": "select",
"default": "all",
"options": [
{ "value": "all", "label": "Alpha101 + Alpha158 + Alpha191" },
{ "value": "alpha101", "label": "仅 Alpha101" },
{ "value": "alpha158", "label": "仅 Alpha158" },
{ "value": "alpha191", "label": "仅 Alpha191" }
]
},
{
"key": "alpha_names",
"label": "指定因子",
"type": "textarea",
"placeholder": "留空计算全部;可填 alpha101:alpha_001、alpha158:ma.p5、alpha191:alpha_018 等"
},
{
"key": "exclude_alpha_names",
"label": "排除因子",
"type": "textarea",
"placeholder": "可选,填写不需要计算的因子名"
}
],
"prompt_template": "{{#task}}任务与材料:\n{{task}}\n\n{{/task}}{{#attachments}}用户上传的材料(已放入工作区):\n{{attachments}}\n\n{{/attachments}}依据输入契约从长表 OHLCV 数据确定性计算因子值。因子库范围:{{alpha_sets}}(all 表示 Alpha101+Alpha158+Alpha191 全部)。{{#alpha_names}}仅计算指定因子:{{alpha_names}};{{/alpha_names}}{{#exclude_alpha_names}}排除:{{exclude_alpha_names}};{{/exclude_alpha_names}}导出宽表因子 CSV、运行配置、计算摘要和跳过因子清单,不执行 IC、回测或投资判断,输出中文报告。"
}
Use this skill to compute deterministic Alpha101, Alpha158, and Alpha191 factor-library values from long-form OHLCV market data.
references/input_schema.md before preparing the input JSON.alpha_sets: alpha101, alpha158, alpha191, or any combination.alpha_names and exclude_alpha_names to select factors. Qualified names such as alpha101:alpha_001, alpha158:ma.p5, and alpha191:alpha_018 are supported.python scripts/compute_alpha_factors.py --input examples/compute_input.json
references/output_contract.md before consuming generated artifacts.The skill writes wide CSV factor values and JSON metadata under the configured output directory:
alpha101_values.csv when Alpha101 factors are computedalpha158_values.csv when Alpha158 factors are computedalpha191_values.csv when Alpha191 factors are computedalpha_compute_summary.jsonskipped_factors.jsonrun_config.jsonThis is a factor-library computation skill. It does not compute IC, ICIR, portfolio returns, backtests, or trading recommendations.
references/input_schema.md for input fields.references/output_contract.md for artifact names and result fields.references/source_boundary.md for source and data boundaries.references/validation_notes.md for implementation assumptions and limitations.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/factor-alpha191-alpha101:factor-alpha191-alpha101from factor-alpha191-alpha101
factor-alpha191-alpha101@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin factor-alpha191-alpha101Other plugins' skills for the same job