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 天前更新