edge-strategy-designer
Convert abstract edge concepts into strategy draft variants and optional exportable ticket YAMLs for edge-candidate-agent export/validation.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 32
- Forks
- 6
01 前言 Front Matter
- name
- edge-strategy-designer
- description
- Convert abstract edge concepts into strategy draft variants and optional exportable ticket YAMLs for edge-candidate-agent export/validation.
02 资源文件 6
- 参考文档agents/openai.yaml249 B
- 参考文档README.md2.1 KB
- 参考文档references/strategy_draft_schema.md1.1 KB
- 脚本scripts/design_strategy_drafts.py15.9 KB
- 脚本scripts/tests/conftest.py150 B
- 脚本scripts/tests/test_design_strategy_drafts.py8.1 KB
03 SKILL.md 正文
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.yamland 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+
PyYAMLedge_concepts.yamlproduced by concept synthesis
Output
strategy_drafts/*.yamlstrategy_drafts/run_manifest.json- Optional
exportable_tickets/*.yamlfor downstreamexport_candidate.py
Workflow
- Load
edge_concepts.yaml. - Choose risk profile (
conservative,balanced,aggressive). - Generate per-concept variants with hypothesis-type exit calibration.
- Apply
HYPOTHESIS_EXIT_OVERRIDESto adjust stop-loss, reward-to-risk, time-stop, and trailing-stop per hypothesis type (breakout, earnings_drift, panic_reversal, etc.). - Clamp reward-to-risk at
RR_FLOOR=1.5to prevent C5 review failures. - Export v1-ready ticket YAML when applicable.
- Hand off exportable tickets to
skills/edge-candidate-agent/scripts/export_candidate.py.
Quick Commands
Generate drafts only:
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:
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.pyreferences/strategy_draft_schema.mdskills/edge-candidate-agent/scripts/export_candidate.py
04 同仓库更多 Skills
order-lifecycle-safety
Idempotency, reconcile-before-retry, audit-before-forward and environment-proof preflight rules for any code or agent that places broker orders. Use when building or reviewing an order path, handling a timeout or unknown order outcome, adding client_order_id, deciding whether a retry is safe, or confirming paper vs live before sending an order.
order-lifecycle-safety
Idempotency, reconcile-before-retry, audit-before-forward and environment-proof preflight rules for any code or agent that places broker orders. Use when building or reviewing an order path, handling a timeout or unknown order outcome, adding client_order_id, deciding whether a retry is safe, or confirming paper vs live before sending an order.
write-a-skill
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.
wireframe-sketch
A hand-drawn wireframe exploration — graph-paper background, marker / pencil tone, multiple tab labels for variants, sticky-note annotations, scribbled chart placeholders, hatched fills. Reads like a designer's whiteboard before any pixels are committed. Use when the brief asks for "wireframe", "sketch wireframe", "hand-drawn", "lo-fi", "whiteboard", "草稿", or "手绘原型".
weekly-update
Single-file horizontal-swipe slide deck for a weekly team update — shipped, in flight, blocked, metrics, asks. 6–8 slides. Use when the brief mentions "weekly update", "team update slides", "weekly status", "周报演示".
webull-openapi
Trade stocks, options, futures, crypto, and event contracts on Webull. Query real-time and historical market data. Manage accounts and positions. Supports US, HK, JP, SG, TH, MY, UK, MX, BR, EU, ZA, and AU regions with configurable risk controls.