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