---
name: stockbee-setup-fluency-trainer
description: Use when studying Stockbee Momentum Burst setups: build a model book from screener candidates and track 3-day and 5-day outcomes, MFE/MAE and stop hits.
---
# Stockbee Setup Fluency Trainer
## What this does
Turns daily Stockbee Momentum Burst 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. It also supports blind replay of your own VCP enter/wait/pass decisions.
## When to use
- Studying Stockbee Momentum Burst setups systematically
- Building a model book from `stockbee-momentum-burst-screener` output
- Reviewing failed candidates, missed trades, or A/B setup quality
- Wanting 3-day / 5-day forward returns, MFE, MAE and stop-hit outcomes
- Improving setup recognition before increasing position size
- Running a weekly blind replay of your own VCP decisions
Requires Python 3.10+, a screener JSON report, and local state at `state/stockbee/model_book.jsonl`; live outcome updates use an optional FMP API key.
## How to run it
1. Ingest candidates after the screener produces its 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/
```
Add `--include-rejects` only to build a negative-example set; otherwise rejected candidates are skipped.
2. Update 3-day and 5-day outcomes:
```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/
```
Add `--prices-json data/daily_ohlcv.json` to work offline instead of via FMP. This records forward close return, MFE and MAE per horizon, stop-hit status and first stop-hit date, and outcome tags.
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/
```
Treat `rule_candidates` as evidence prompts, not automatic rule changes.
4. Convert evidence into practice: 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 rules; log accepted lessons in `trader-memory-core` or the monthly review.
5. Blind replay of your own VCP decisions (screen after the close, capture the same evening). Decisions are a JSON list of `{symbol, decision, reason}` for every candidate, with `decision` one of `enter`, `wait`, `pass`:
```bash
python3 skills/stockbee-setup-fluency-trainer/scripts/decision_replay.py capture \
--screener-json reports/vcp_screener_YYYY-MM-DD_HHMMSS.json \
--decisions decisions_YYYY-MM-DD.json \
--market-gate open \
--store-dir state/decision_replay/
```
```bash
python3 skills/stockbee-setup-fluency-trainer/scripts/decision_replay.py replay \
--sample-size 10 \
--decided-on-or-before YYYY-MM-DD \
--store-dir state/decision_replay/ \
--output-dir reports/
```
Record enter/wait/pass plus a one-line reason for every case in `answers.json` (`[{case_id, decision, reason}]`) before revealing. While answering, do not fetch charts, news or prices for these symbols and do not comment on the setups.
```bash
python3 skills/stockbee-setup-fluency-trainer/scripts/decision_replay.py reveal \
--session-id {session_id} \
--answers answers.json \
--prices-json data/daily_ohlcv.json \
--store-dir state/decision_replay/ \
--output-dir reports/
```
Reveal shows the original and replay decision side by side with the rule result and later path, counting rule adherence and outcome as separate quadrants — never merged.
## Outcome tags
`STRONG_WINNER` (5-day close >= 8% or MFE >= 12%, no stop hit), `WORKED` (5-day close >= 4% or MFE >= 6%, no stop hit), `FAILED_STOP` (stop touched), `FAILED_FADE` (return <= -2% without a stop hit), `CHOPPY_FAILURE` (large adverse excursion, poor progress), `NEUTRAL`, `PENDING`.
## Output
Hand back `state/stockbee/model_book.jsonl`, the ingest/update/summary JSON and Markdown reports, and the replay blind and reveal reports.
Credit: Based on public content by tradermonty, packaged by Orbit.