跳到正文
cccskills
免费在 GitHub 公开

breakout-trade-planner

Turn VCP screening results, which identify narrowing price swings, into breakout trade plans. Calculate entry, stop-loss, target prices, and position sizes using worst-case entries, while applying portfolio risk limits and producing Alpaca-compatible order templates.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Generate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat management, and Alpaca-compatible order templates (stop-limit bracket for pre-placement, limit bracket for post-confirmation). Use when user has VCP screener results and wants actionable trade plans with entry/stop/target levels and position sizing.

实测评分 未实测

查看安装方法

适用场景

  • Planning entries, stop-losses, and profit targets for VCP candidates
  • Calculating position sizes from account size and risk limits
  • Checking total portfolio risk and sector exposure
  • Preparing Alpaca-compatible order templates

包含的文件(12)

  • SKILL.md4.1 KB
  • references/minervini_entry_rules.md2.3 KB
  • requirements.txt187 B
  • scripts/_market_calendar.py11.1 KB
  • scripts/order_builder.py4.3 KB
  • scripts/plan_breakout_trades.py22.7 KB
  • scripts/risk_calculator.py6.1 KB
  • scripts/tests/conftest.py254 B
  • scripts/tests/test_market_calendar_contract.py5.0 KB
  • scripts/tests/test_order_builder.py4.9 KB
  • scripts/tests/test_plan_breakout_trades.py12.5 KB
  • scripts/tests/test_risk_calculator.py7.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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:

ConditionPre-breakoutBreakout
valid_vcpTrueTrue
rating_bandgood/strong/textbookgood/strong/textbook
risk_pct_worst<= 8.0%<= 8.0%
breakout_volume—True
distance_from_pivot—<= max_chase_pct
current_price—<= worst_entry

CLI Parameters

ParameterDefaultDescription
--account-size(required)Account equity in dollars
--risk-pct0.5Base risk % per trade
--max-position-pct10.0Max single position %
--max-sector-pct30.0Max sector exposure %
--max-portfolio-heat-pct6.0Max total open risk %
--target-r-multiple2.0Take-profit R-multiple
--stop-buffer-pct1.0Stop buffer below contraction low
--max-chase-pct2.0Max chase above pivot
--pivot-buffer-pct0.1Pivot buffer for buy-stop trigger
--current-exposure-jsonNoneExisting 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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Plan and assess backtests, which test trading rules against historical data. Examine sensitivity to rule changes, trading costs, and data bias, then use supplied performance metrics to generate a structured evaluation with reasons that block adoption.

中文简介正在准备中。当前显示英语简介。

  • Define a backtesting plan for rule-based trading
  • Test sensitivity to parameters and trading costs
  • Investigate suspiciously strong backtest results
tradermonty/claude-trading-skills32442026年10月24日 更新

Analyze chart images showing how broadly US stocks are participating in market trends. Assess medium-term conditions and short-term signals, then produce an English report with positioning guidance, alternative scenarios, and risks based on the visible data.

中文简介正在准备中。当前显示英语简介。

  • Assessing the market cycle from an S&P 500 breadth chart
  • Checking short-term signals in an uptrend stock ratio chart
  • Comparing medium-term and short-term market signals
tradermonty/claude-trading-skills32442026年10月24日 更新

Assess how broadly US stock market gains are shared across stocks using public CSV data and optional charts. Produce English reports covering market conditions, trading signals, scenarios, and positioning for different investment timeframes.

中文简介正在准备中。当前显示英语简介。

  • Checking how broadly US stocks are participating in a market rise
  • Reviewing medium- to long-term market positioning
  • Assessing short-term swing trading signals
tradermonty/claude-trading-skills32442026年10月24日 更新

Screen US growth stocks with William O'Neil's CANSLIM method, which evaluates seven factors including earnings, price strength, trading volume, and market direction. Receive ranked candidates with composite scores, factor breakdowns, market warnings, and data quality notes.

中文简介正在准备中。当前显示英语简介。

  • Find US stocks with earnings growth and price momentum
  • Compare a chosen list of stocks using CANSLIM scores
  • Screen a sector-focused stock list
tradermonty/claude-trading-skills32442026年10月24日 更新

Combine three reports on crowded positions, failed reactions to news, and weekly price reversals into one trading setup status. Identify missing or invalid evidence and determine whether the setup is ready for planning.

中文简介正在准备中。当前显示英语简介。

  • Combine three contrarian strategy reports
  • Check which confirmations are still missing
  • Find stale or inconsistent input reports
tradermonty/claude-trading-skills32442026年10月24日 更新

Screen futures markets for unusually crowded speculative positions using COT reports, which track traders’ holdings. Compare three-year and 26-week positioning measures, produce ranked reports, and identify markets for further contrarian research without generating trade signals.

中文简介正在准备中。当前显示英语简介。

  • Finding futures markets with crowded speculative positions
  • Checking positioning in a specific futures market
  • Reviewing weekly changes in speculative holdings
tradermonty/claude-trading-skills32442026年10月24日 更新

查看 tradermonty 的全部技能

报告此技能的问题