Edge Concept Synthesizer

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

Abstract detector tickets and hints into reusable edge concepts with thesis, invalidation signals, and strategy playbooks before strategy design/export.

包含脚本Data & Analytics
AI 生成的概览

将检测器工单证据聚类为抽象边缘概念,包含论点、失效信号与导出就绪标记。

功能
该技能在检测工单与策略实现之间建立抽象层。它读取工单 YAML 文件,可选匹配提示,聚类反复出现的条件,去重重叠概念,并输出 edge_concepts.yaml,其中包含概念簇、支持统计、抽象论点、失效信号和导出就绪标记。它附带 Python 脚本、测试和概念模式参考文档。
适用场景
当你拥有大量原始检测工单,需要机制层面的结构而非直接的工单到策略映射时使用。它适合在策略起草前进行概念层面的审查,并有助于减少由单个工单导致的过拟合。
运行要求
需要 Python 3.9 或更高版本以及 PyYAML。需要来自检测器输出的工单 YAML 目录,例如 tickets/exportable 或 tickets/research_only,并可选提供 hints.yaml 文件。它附带可执行脚本,包括合成脚本和测试。

Edge Concept Synthesizer

Overview

Create an abstraction layer between detection and strategy implementation. This skill clusters ticket evidence, summarizes recurring conditions, and outputs edge_concepts.yaml with explicit thesis and invalidation logic.

When to Use

  • You have many raw tickets and need mechanism-level structure.
  • You want to avoid direct ticket-to-strategy overfitting.
  • You need concept-level review before strategy drafting.

Prerequisites

  • Python 3.9+
  • PyYAML
  • Ticket YAML directory from detector output (tickets/exportable, tickets/research_only)
  • Optional hints.yaml

Output

  • edge_concepts.yaml containing:
    • concept clusters
    • support statistics
    • abstract thesis
    • invalidation signals
    • export readiness flag

Workflow

  1. Collect ticket YAML files from auto-detection output.
  2. Optionally provide hints.yaml for context matching.
  3. Run scripts/synthesize_edge_concepts.py.
  4. Deduplicate concepts: merge same-hypothesis concepts with overlapping conditions (containment > threshold).
  5. Review concepts and promote only high-support concepts into strategy drafting.

Quick Commands

bash
python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \  --tickets-dir /tmp/edge-auto/tickets \  --hints /tmp/edge-hints/hints.yaml \  --output /tmp/edge-concepts/edge_concepts.yaml \  --min-ticket-support 2
# With hint promotion and synthetic cappython3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \  --tickets-dir /tmp/edge-auto/tickets \  --hints /tmp/edge-hints/hints.yaml \  --output /tmp/edge-concepts/edge_concepts.yaml \  --promote-hints \  --max-synthetic-ratio 1.5
# With custom dedup threshold (or disable dedup)python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \  --tickets-dir /tmp/edge-auto/tickets \  --output /tmp/edge-concepts/edge_concepts.yaml \  --overlap-threshold 0.6
python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \  --tickets-dir /tmp/edge-auto/tickets \  --output /tmp/edge-concepts/edge_concepts.yaml \  --no-dedup

Resources

  • skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py
  • references/concept_schema.md

来源与署名

来源:tradermonty/claude-trading-skills位于skills/edge-concept-synthesizer提交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天前更新