Skip to main content
skill CX Codex

stockbee-setup-fluency-trainer — Claude Code skill: setup model book

Turns Stockbee Momentum Burst screener candidates into a study model book and fills in 3-day and 5-day outcomes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add tradermonty/claude-trading-skills --skill stockbee-setup-fluency-trainer -a claude-code
Open on GitHub

What stockbee-setup-fluency-trainer does

The skill reads a JSON report from stockbee-momentum-burst-screener and writes each candidate into a durable model book. A record keeps the symbol, setup date, primary trigger, rating, setup tags, entry and stop references, plus your own labels and notes. Rejected candidates are skipped unless you pass --include-rejects to build a negative-example set on purpose.

Once the 3-day and 5-day windows mature, the update step fills in forward close return, MFE and MAE, whether the stop was touched and on which date. Each record then gets an outcome tag such as STRONG_WINNER, WORKED, FAILED_STOP, FAILED_FADE, CHOPPY_FAILURE or NEUTRAL. Price data comes either from FMP with an API key or from a local OHLCV JSON file when you would rather stay offline.

The summarize step groups records by rating, primary trigger and setup tags, and writes Markdown and JSON reports. --min-sample sets how many examples a cohort needs. Treat the generated rule_candidates as prompts for review, not as automatic rule changes — open the charts of representative names by hand before you touch your trading rules. Python 3.10+ is required.

What it helps with

  • build a setup model book from a screener report
  • track failed candidates and missed entries
  • compute 3-day and 5-day forward returns
  • measure MFE, MAE and stop-hit status
  • compare setup quality across tag cohorts

Example prompts for the agent

  • Build the model book from reports/stockbee_momentum_burst_2024-05-01_093000.json
  • Update 3-day and 5-day outcomes for state/stockbee/model_book.jsonl
  • Summarize cohorts by rating and setup tags with a minimum sample of 5

How to install stockbee-setup-fluency-trainer

1Skills CLI (Vercel)

npx skills add tradermonty/claude-trading-skills --skill stockbee-setup-fluency-trainer -a claude-code

2Manually: put the files in place

~/.claude/skills/stockbee-setup-fluency-trainer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/stockbee-setup-fluency-trainer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about stockbee-setup-fluency-trainer

How do I install stockbee-setup-fluency-trainer in Claude Code?

Run npx skills add tradermonty/claude-trading-skills --skill stockbee-setup-fluency-trainer -a claude-code. The skill lands at ~/.claude/skills/stockbee-setup-fluency-trainer/SKILL.md.

What does stockbee-setup-fluency-trainer do?

It builds a Momentum Burst model book from screener candidates, updates 3-day and 5-day outcomes, and summarizes cohort statistics by tag.

What do I need to run the skill?

Python 3.10+ and a JSON report from stockbee-momentum-burst-screener or a compatible candidates file. Outcome updates need an FMP API key or a local OHLCV JSON file.

Source text

SKILL.md · MIT
---
name: stockbee-setup-fluency-trainer
description: Build a Stockbee-style setup model book from momentum-burst screener candidates, then update 3-day and 5-day forward outcomes with MFE/MAE, stop-hit status, outcome tags, and cohort statistics. Use when the user wants to study Stockbee Momentum Burst examples, track failed candidates, build setup fluency, review A/B setup quality, or convert screener outputs into a learning loop rather than immediate trade signals.
---

# Stockbee Setup Fluency Trainer

Build and maintain a model book for Stockbee-style Momentum Burst setups. This skill turns daily screener candidates into structured study records, updates them after the 3-day and 5-day windows mature, and summarizes which setup features are working or failing.

## When to Use

- User wants to study Stockbee Momentum Burst setups systematically
- User asks to build a model book from `stockbee-momentum-burst-screener` output
- User wants to review failed candidates, missed trades, or A/B setup quality
- User wants 3-day / 5-day forward returns, MFE, MAE, and stop-hit outcomes
- User wants to improve setup recognition before increasing position size
- User asks which Stockbee tags should be promoted, downgraded, or filtered

## Prerequisites

- Python 3.10+
- A `stockbee-momentum-burst-screener` JSON report, or compatible candidate JSON
- Optional: FMP API key for outcome updates when offline OHLCV JSON is not supplied
- Recommended local state path: `state/stockbee/model_book.jsonl`

## Workflow

### Step 1: Ingest Momentum Burst Candidates

Run after the Stockbee Momentum Burst screener has produced a JSON report.

```bash
python3 skills/stockbee-setup-fluency-trainer/scripts/build_model_book.py ingest \
  --screener-json reports/stockbee_momentum_burst_YYYY-MM-DD_HHMMSS.json \
  --model-book state/stockbee/model_book.jsonl \
  --output-dir reports/
```

Use `--include-rejects` when intentionally building a negative-example set. Otherwise rejected candidates are skipped.

### Step 2: Update 3-Day and 5-Day Outcomes

Use FMP:

```bash
python3 skills/stockbee-setup-fluency-trainer/scripts/build_model_book.py update \
  --model-book state/stockbee/model_book.jsonl \
  --horizons 3,5 \
  --output-dir reports/
```

Use offline OHLCV JSON:

```bash
python3 skills/stockbee-setup-fluency-trainer/scripts/build_model_book.py update \
  --model-book state/stockbee/model_book.jsonl \
  --prices-json data/daily_ohlcv.json \
  --horizons 3,5 \
  --output-dir reports/
```

The update step records:

- Forward close return for each horizon
- MFE and MAE over each horizon
- Stop-hit status and first stop-hit date
- Outcome tags such as `STRONG_WINNER`, `WORKED`, `FAILED_STOP`, `FAILED_FADE`, `CHOPPY_FAILURE`, or `NEUTRAL`

### Step 3: Summarize Cohorts

```bash
python3 skills/stockbee-setup-fluency-trainer/scripts/build_model_book.py summarize \
  --model-book state/stockbee/model_book.jsonl \
  --group-by rating,primary_trigger,setup_tags \
  --min-sample 5 \
  --output-dir reports/
```

Review the generated Markdown and JSON reports. Treat `rule_candidates` as evidence prompts, not automatic rule changes.

### Step 4: Convert Evidence Into Practice

For cohorts with enough examples:

- Promote tags with high win rate, positive 5-day expectancy, and acceptable average MAE
- Downgrade or filter tags with weak 5-day expectancy, frequent stop hits, or repeated fade failures
- Inspect representative charts manually before changing trade rules
- Log accepted lessons in `trader-memory-core` or the monthly review process

## Model Book Fields

Each JSONL record includes:

- `record_id`, `symbol`, `setup_date`, `primary_trigger`
- `rating`, `setup_score`, `setup_tags`
- `entry_reference`, `stop_reference`, `risk_pct_to_stop`
- `human_label`, `human_decision`, `human_notes`
- `outcomes.3d` and `outcomes.5d`
- `overall_outcome`, `matured`, `raw_candidate`

## Interpretation Rules

- `STRONG_WINNER`: 5-day close return >= 8% or MFE >= 12%, with no stop hit
- `WORKED`: 5-day close return >= 4% or MFE >= 6%, with no stop hit
- `FAILED_STOP`: Stop was touched within the horizon
- `FAILED_FADE`: Forward return <= -2% without a recorded stop hit
- `CHOPPY_FAILURE`: Adverse excursion was large and forward progress was poor
- `NEUTRAL`: No decisive follow-through or failure
- `PENDING`: Not enough future bars yet

## Output

- `state/stockbee/model_book.jsonl` - Durable setup model book
- `stockbee_setup_fluency_ingest_YYYY-MM-DD_HHMMSS.json/md`
- `stockbee_setup_fluency_update_YYYY-MM-DD_HHMMSS.json/md`
- `stockbee_setup_fluency_summary_YYYY-MM-DD_HHMMSS.json/md`

## Resources

- `references/model_book_schema.md` - JSONL schema and lifecycle states
- `references/outcome_tags.md` - Outcome classification and tag definitions
- `references/review_workflow.md` - Daily, 3-day, 5-day, and monthly review routine

© tradermonty · MIT · tradermonty/claude-trading-skills

Similar skills

Everything for Finance and business →

From the same set73

pre-trade-discipline-gate Scores a local pre-trade checklist before manual order entry and blocks planless, oversized, or revenge-risk entries. CX Codex +1 2,700installs stockbee-momentum-burst-screener Screens US stocks for Pradeep Bonde momentum burst setups using 4% breakouts and range expansion. Built for finding short-term 3-5 day swing candidates. CX Codex +1 2,700installs stockbee-20pct-study Builds a structured model book of US equities moving 20% or more, tracks catalysts, and calculates multi-day forward outcomes for pattern research. CX Codex +1 2,600installs stockbee-exhaustion-hammer-screener This skill screens US stocks for Stockbee-style selling-exhaustion hammers. Use it to build candidates for manual trade review. CX Codex +1 2,600installs stockbee-episodic-pivot-analyzer Evaluates Day 1 Episodic Pivot setups using Stockbee criteria. It pairs corporate catalysts with volume shocks and opening range price expansion. CX Codex +1 2,600installs fxmacrodata-calendar Pulls official FXMacroData release dates so a trade plan can pause entries ahead of CPI, NFP or a central-bank decision. CX Codex +1 2,500installs contrarian-setup-gate Synthesizes COT crowding, news-reaction failure, and weekly price action reports into one actionable trade setup status. Useful before sizing contrarian positions. CX Codex +1 2,500installs news-reaction-failure-analyzer Tests whether a crowded speculative position failed to benefit from favorable news. It handles step two of the COT contrarian process. CX Codex +1 2,500installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor