mcpField
B
breakout-trade-planner

breakout-trade-planner

github.com/tradermontyOther3.4k3.1k installsUpdated 2d ago
Repository

About breakout-trade-planner

A trade-planning skill that turns VCP screener JSON into breakout plans based on Mark Minervini’s methodology. It is for traders sizing positions and reviewing risk limits, and produces Alpaca-compatible order templates alongside reports.

Key features

  1. 01Apply Minervini candidate filters
  2. 02Calculate position sizes and portfolio heat
  3. 03Set entry, stop, and target levels
  4. 04Create Alpaca-compatible order templates
  5. 05Export JSON and Markdown reports

Use cases

  1. 01Plan trades from VCP screener output
  2. 02Check exposure against portfolio limits
  3. 03Prepare order templates for breakout candidates

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tradermonty/claude-trading-skills --skill breakout-trade-planner

After installing, type/breakout-trade-plannerin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

requirements.txt
references/
minervini_entry_rules.md
scripts/
_market_calendar.py
order_builder.py
plan_breakout_trades.py
risk_calculator.py
scripts/tests/
conftest.py
test_market_calendar_contract.py
test_order_builder.py
test_plan_breakout_trades.py
test_risk_calculator.py

Details

From the project README

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

Comments

Markdown supported