跳到主要内容
知仓学习社ZHICANG

breakout-trade-planner

Generate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat management, and Alpaca-compa…

写文件无严重或高危命中tradermonty/claude-trading-skills

它会碰到什么

扫了多少12 个文本文件,80 KB
它会碰到什么写文件
命中总数2 处
命中统计严重 0 · 高 0 · 中 2 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Breakout Trade Planner

Generate trade plans from VCP screener output following Mark Minervini's breakout methodology. Calculate position sizes using worst-case entry prices, enforce portfolio risk limits, and output Alpaca API-compatible order templates.

When to Use

  • User has VCP screener JSON output and wants trade plans
  • User asks for breakout entry/stop/target calculation
  • User wants Alpaca order templates for VCP breakout candidates
  • User needs position sizing with portfolio heat management

Prerequisites

  • VCP screener JSON output with schema_version: "1.0"
  • No API keys required (works with local JSON files)
  • No external skill dependencies (position sizing is built-in)

Workflow

Step 1: Generate Trade Plans

Run the planner with VCP screener output:

python3 skills/breakout-trade-planner/scripts/plan_breakout_trades.py \
  --input reports/vcp_screener_YYYY-MM-DD.json \
  --account-size 100000 \
  --risk-pct 0.5 \
  --output-dir reports/

Step 2: Review Output

Read the generated JSON and Markdown reports. Present:

  1. Actionable Orders — Pre-breakout candidates with order templates
  2. Revalidation — Breakout-state candidates needing live confirmation
  3. Watchlist — Developing VCP candidates to monitor
  4. Rejected/Deferred/Constrained — Candidates filtered by Gate or portfolio limits

Step 3: Explain Trade Plans

For each actionable order, explain:

  • Entry levels (signal vs worst-case) and stop-loss placement
  • R-multiple targets and reward-risk ratio
  • Two execution modes: pre_place (stop-limit) vs post_confirm (limit after 5min confirmation)
  • Portfolio risk contribution and cumulative heat
  • Broker and intraday constraints: these templates are planning artifacts, not broker permission. If the plan could create same-day round trips or use margin, confirm the user's broker-specific intraday/day-trading controls. FINRA replaced the old pattern-day-trader day-count and $25,000 minimum-equity requirements with intraday margin standards effective 2026-06-04, with broker phase-in allowed through 2027-10-20.

Minervini Gate (Filtering Criteria)

Candidates must pass ALL conditions:

| Condition | Pre-breakout | Breakout |

|-----------|-------------|----------|

| valid_vcp | True | True |

| rating_band | good/strong/textbook | good/strong/textbook |

| risk_pct_worst | <= 8.0% | <= 8.0% |

| breakout_volume | — | True |

| distance_from_pivot | — | <= max_chase_pct |

| current_price | — | <= worst_entry |

CLI Parameters

| Parameter | Default | Description |

|-----------|---------|-------------|

| --account-size | (required) | Account equity in dollars |

| --risk-pct | 0.5 | Base risk % per trade |

| --max-position-pct | 10.0 | Max single position % |

| --max-sector-pct | 30.0 | Max sector exposure % |

| --max-portfolio-heat-pct | 6.0 | Max total open risk % |

| --target-r-multiple | 2.0 | Take-profit R-multiple |

| --stop-buffer-pct | 1.0 | Stop buffer below contraction low |

| --max-chase-pct | 2.0 | Max chase above pivot |

| --pivot-buffer-pct | 0.1 | Pivot buffer for buy-stop trigger |

| --current-exposure-json | None | Existing portfolio exposure |

Output

  • breakout_trade_plan_YYYY-MM-DD_HHMMSS.json — Structured plans with order templates
  • breakout_trade_plan_YYYY-MM-DD_HHMMSS.md — Human-readable report

Exchange Calendar and Replay

Install requirements.txt before running the planner. --as-of accepts either

YYYY-MM-DD (00:00 America/New_York) or an offset-bearing ISO-8601 timestamp.

Plan validity uses the current not-yet-closed XNYS session or the next real

session after a close, weekend, or exchange holiday.

Resources

  • references/minervini_entry_rules.md — Entry methodology and rules

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。