Edge Strategy Designer

作者 tradermontyeab8d5cb97b9无许可证2.9K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库3天前更新

Convert abstract edge concepts into strategy draft variants and optional exportable ticket YAMLs for edge-candidate-agent export/validation.

包含脚本Business & Finance
AI 生成的概览

将边缘概念假设转化为策略草案 YAML 变体,包含校准后的退出参数和可选的可导出票据。

功能
读取 edge_concepts.yaml 文件,为每个概念生成策略草案规格 YAML,产出核心、保守、研究探针等多种变体。它会按假设类型应用退出覆盖,调整止损、盈亏比、时间止损和移动止损,并将盈亏比下限钳制在 1.5,同时写出运行清单。它还可以生成供下游导出校验使用的可导出票据 YAML。
适用场景
适用于概念综合之后、已有 edge_concepts.yaml 并需要具体策略候选的场景。适合需要为每个概念生成多种风险偏好变体,或需要为接口 v1 系列生成可导出票据的工作流。
运行要求
需要 Python 3.9+ 和 PyYAML,以及由概念综合生成的 edge_concepts.yaml。该技能附带可执行脚本,并将结果写入指定目录;下游导出使用另一个 edge-candidate-agent 脚本。

Edge Strategy Designer

Overview

Translate concept-level hypotheses into concrete strategy draft specs. This skill sits after concept synthesis and before pipeline export validation.

When to Use

  • You have edge_concepts.yaml and need strategy candidates.
  • You want multiple variants (core/conservative/research-probe) per concept.
  • You want optional exportable ticket files for interface v1 families.

Prerequisites

  • Python 3.9+
  • PyYAML
  • edge_concepts.yaml produced by concept synthesis

Output

  • strategy_drafts/*.yaml
  • strategy_drafts/run_manifest.json
  • Optional exportable_tickets/*.yaml for downstream export_candidate.py

Workflow

  1. Load edge_concepts.yaml.
  2. Choose risk profile (conservative, balanced, aggressive).
  3. Generate per-concept variants with hypothesis-type exit calibration.
  4. Apply HYPOTHESIS_EXIT_OVERRIDES to adjust stop-loss, reward-to-risk, time-stop, and trailing-stop per hypothesis type (breakout, earnings_drift, panic_reversal, etc.).
  5. Clamp reward-to-risk at RR_FLOOR=1.5 to prevent C5 review failures.
  6. Export v1-ready ticket YAML when applicable.
  7. Hand off exportable tickets to skills/edge-candidate-agent/scripts/export_candidate.py.

Quick Commands

Generate drafts only:

bash
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

Generate drafts + exportable tickets:

bash
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

Resources

  • skills/edge-strategy-designer/scripts/design_strategy_drafts.py
  • references/strategy_draft_schema.md
  • skills/edge-candidate-agent/scripts/export_candidate.py

来源与署名

来源:tradermonty/claude-trading-skills位于skills/edge-strategy-designer提交eab8d5c

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架

更多来自 tradermonty/claude-trading-skills 的技能

Weekly Performance Digest

tradermonty

将已平仓的交易论点汇总为每周绩效报告,包含指标、模式分解和经验教训。

包含脚本
Data & Analytics2.9K3天前更新

Trade Performance Coach

tradermonty

审查已记录的交易,评估流程遵守、风险纪律、执行质量与行为模式,并生成教练报告。

包含脚本
Business & Finance2.9K3天前更新

Strategy Pivot Designer

tradermonty

检测回测迭代停滞,并为交易策略生成结构不同的策略转向方案。

包含脚本
Business & Finance2.9K3天前更新

Skill Designer

tradermonty

Design new Claude skills from structured idea specifications. Use when the skill auto-generation pipeline needs to produce a Claude CLI prompt that creates a complete skill directory (SKILL.md, references, scripts, tests) following repository conventions.

包含脚本
待分类2.9K3天前更新

Residual Edge Analyzer

tradermonty

Separate a strategy return series into declared baseline exposure and residual edge with returns-based OLS attribution, HAC inference, rolling stability, alternate-baseline sensitivity, and regime breakdowns. Use when evaluating whether backtest, out-of-sample, or live returns contain independent alpha beyond market, equal-weight, momentum, sector, or user-supplied factor returns; when explaining whether a drawdown came from baseline exposure or strategy-specific behavior; or when a strategy needs an attribution quality gate after backtesting. Do not use for holdings-based Brinson attribution, feature-level Shapley explanations, or analysis from summary metrics without a dated return series.

包含脚本
待分类2.9K3天前更新

Pre Trade Discipline Gate

tradermonty

离线交易前检查清单闸门,批准、复核或阻止计划中的手动订单并记录决策。

包含脚本
Business & Finance2.9K3天前更新