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.
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:
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:
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
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
1---2name: stockbee-setup-fluency-trainer3description: 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.4---56# Stockbee Setup Fluency Trainer78Build 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.910## When to Use1112- User wants to study Stockbee Momentum Burst setups systematically13- User asks to build a model book from `stockbee-momentum-burst-screener` output14- User wants to review failed candidates, missed trades, or A/B setup quality15- User wants 3-day / 5-day forward returns, MFE, MAE, and stop-hit outcomes16- User wants to improve setup recognition before increasing position size17- User asks which Stockbee tags should be promoted, downgraded, or filtered1819## Prerequisites2021- Python 3.10+22- A `stockbee-momentum-burst-screener` JSON report, or compatible candidate JSON23- Optional: FMP API key for outcome updates when offline OHLCV JSON is not supplied24- Recommended local state path: `state/stockbee/model_book.jsonl`2526## Workflow2728### Step 1: Ingest Momentum Burst Candidates2930Run after the Stockbee Momentum Burst screener has produced a JSON report.3132```bash33python3 skills/stockbee-setup-fluency-trainer/scripts/build_model_book.py ingest \34 --screener-json reports/stockbee_momentum_burst_YYYY-MM-DD_HHMMSS.json \35 --model-book state/stockbee/model_book.jsonl \36 --output-dir reports/37```3839Use `--include-rejects` when intentionally building a negative-example set. Otherwise rejected candidates are skipped.4041### Step 2: Update 3-Day and 5-Day Outcomes4243Use FMP:4445```bash46python3 skills/stockbee-setup-fluency-trainer/scripts/build_model_book.py update \47 --model-book state/stockbee/model_book.jsonl \48 --horizons 3,5 \49 --output-dir reports/50```5152Use offline OHLCV JSON:5354```bash55python3 skills/stockbee-setup-fluency-trainer/scripts/build_model_book.py update \56 --model-book state/stockbee/model_book.jsonl \57 --prices-json data/daily_ohlcv.json \58 --horizons 3,5 \59 --output-dir reports/60```6162The update step records:6364- Forward close return for each horizon65- MFE and MAE over each horizon66- Stop-hit status and first stop-hit date67- Outcome tags such as `STRONG_WINNER`, `WORKED`, `FAILED_STOP`, `FAILED_FADE`, `CHOPPY_FAILURE`, or `NEUTRAL`6869### Step 3: Summarize Cohorts7071```bash72python3 skills/stockbee-setup-fluency-trainer/scripts/build_model_book.py summarize \73 --model-book state/stockbee/model_book.jsonl \74 --group-by rating,primary_trigger,setup_tags \75 --min-sample 5 \76 --output-dir reports/77```7879Review the generated Markdown and JSON reports. Treat `rule_candidates` as evidence prompts, not automatic rule changes.8081### Step 4: Convert Evidence Into Practice8283For cohorts with enough examples:8485- Promote tags with high win rate, positive 5-day expectancy, and acceptable average MAE86- Downgrade or filter tags with weak 5-day expectancy, frequent stop hits, or repeated fade failures87- Inspect representative charts manually before changing trade rules88- Log accepted lessons in `trader-memory-core` or the monthly review process8990## Model Book Fields9192Each JSONL record includes:9394- `record_id`, `symbol`, `setup_date`, `primary_trigger`95- `rating`, `setup_score`, `setup_tags`96- `entry_reference`, `stop_reference`, `risk_pct_to_stop`97- `human_label`, `human_decision`, `human_notes`98- `outcomes.3d` and `outcomes.5d`99- `overall_outcome`, `matured`, `raw_candidate`100101## Interpretation Rules102103- `STRONG_WINNER`: 5-day close return >= 8% or MFE >= 12%, with no stop hit104- `WORKED`: 5-day close return >= 4% or MFE >= 6%, with no stop hit105- `FAILED_STOP`: Stop was touched within the horizon106- `FAILED_FADE`: Forward return <= -2% without a recorded stop hit107- `CHOPPY_FAILURE`: Adverse excursion was large and forward progress was poor108- `NEUTRAL`: No decisive follow-through or failure109- `PENDING`: Not enough future bars yet110111## Output112113- `state/stockbee/model_book.jsonl` - Durable setup model book114- `stockbee_setup_fluency_ingest_YYYY-MM-DD_HHMMSS.json/md`115- `stockbee_setup_fluency_update_YYYY-MM-DD_HHMMSS.json/md`116- `stockbee_setup_fluency_summary_YYYY-MM-DD_HHMMSS.json/md`117118## Resources119120- `references/model_book_schema.md` - JSONL schema and lifecycle states121- `references/outcome_tags.md` - Outcome classification and tag definitions122- `references/review_workflow.md` - Daily, 3-day, 5-day, and monthly review routine