SKILL.md
只读
名称
edge-strategy-designer
描述
将抽象的边缘概念转换为策略草案变体,并可选择性生成用于 edge-candidate-agent 导出/验证的可导出工单 YAML。
Edge Strategy Designer
概述
将概念层面的假设转化为具体的策略草案规范。
本技能位于概念综合之后、流水线导出验证之前。
适用场景
- 您已有
edge_concepts.yaml并需要候选策略。 - 您希望每个概念包含多个变体(核心/保守/研究探索)。
- 您希望为接口 v1 系列生成可选的可导出工单文件。
先决条件
- Python 3.9+
PyYAML- 由概念综合生成的
edge_concepts.yaml
输出
strategy_drafts/*.yamlstrategy_drafts/run_manifest.json- 可选的
exportable_tickets/*.yaml,供下游export_candidate.py使用
工作流程
- 加载
edge_concepts.yaml。 - 选择风险偏好(
conservative、balanced、aggressive)。 - 生成包含假设类型出场校准的单概念变体。
- 应用
HYPOTHESIS_EXIT_OVERRIDES,针对每种假设类型(突破、财报漂移、恐慌反转等)调整止损、盈亏比、时间止损和追踪止损。 - 将盈亏比下限截断在
RR_FLOOR=1.5,以防止 C5 审核失败。 - 在适用时导出适配 v1 的工单 YAML。
- 将可导出工单移交给
skills/edge-candidate-agent/scripts/export_candidate.py。
快捷命令
仅生成草案:
python3 skills/edge-strategy-designer/scripts/design_strategy_drafts.py \
--concepts /tmp/edge-concepts/edge_concepts.yaml \
--output-dir /tmp/strategy-drafts \
--risk-profile balanced
生成草案 + 可导出工单:
python3 skills/edge-strategy-designer/scripts/design_strategy_drafts.py \
--concepts /tmp/edge-concepts/edge_concepts.yaml \
--output-dir /tmp/strategy-drafts \
--exportable-tickets-dir /tmp/exportable-tickets \
--risk-profile conservative
相关资源
skills/edge-strategy-designer/scripts/design_strategy_drafts.pyreferences/strategy_draft_schema.mdskills/edge-candidate-agent/scripts/export_candidate.py






