backtest-expert
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating…
Judge whether a market FAILED to react to news favorable to a crowded speculative position — step 2 of Jason Shapiro's COT contrarian process. Consumes a cot-contrarian-detector report (or an explicit direction) plus a Claude-curated events JSON, fetches the underlying price
Claude Code
$ npx -y skills add tradermonty/claude-trading-skills --skill news-reaction-failure-analyzer --agent claude-code
Codex
$ npx skills add tradermonty/claude-trading-skills --skill news-reaction-failure-analyzer -a codex -y
Cursor
$ npx skills add tradermonty/claude-trading-skills --skill news-reaction-failure-analyzer -a cursor -y
Gemini CLI
$ npx skills add tradermonty/claude-trading-skills --skill news-reaction-failure-analyzer -a gemini-cli -y
GitHub Copilot
$ npx skills add tradermonty/claude-trading-skills --skill news-reaction-failure-analyzer -a github-copilot -y
OpenCode
$ npx skills add tradermonty/claude-trading-skills --skill news-reaction-failure-analyzer -a opencode -y
Windsurf
$ npx skills add tradermonty/claude-trading-skills --skill news-reaction-failure-analyzer -a windsurf -y
name: news-reaction-failure-analyzer description: Judge whether a market FAILED to react to news favorable to a crowded speculative position — step 2 of Jason Shapiro's COT contrarian process. Consumes a cot-contrarian-detector report (or an explicit direction) plus a Claude-curated events JSON, fetches the underlying price series with a documented fallback chain, and produces a fail-closed CONFIRMED / NOT_CONFIRMED / INSUFFICIENT_EVIDENCE verdict using a statistically validated drift-significance test (not a naive failure-ratio, which false-confirms on pure noise). Generic beyond COT — reusable for PEAD and macro-crowding news-failure checks. Use when the user asks to check news-failure confirmation, whether a crowded market "shrugged off" good/bad news, or wants to run Shapiro step 2 on a CROWDED_LONG/CROWDED_SHORT market.
Implements step 2 of Jason Shapiro's COT contrarian process: once a market is flagged as crowded (`cot-contrarian-detector`, step 1), check whether it FAILED to react to news that should have rewarded the crowd. A crowded-long market that doesn't rally on genuinely bullish news, or a crowded-short market that doesn't sell off on genuinely bearish news, is the core behavioral tell that the crowd has run out of buying/selling power — this is the confirmation step that turns "crowded" into a contrarian setup candidate (steps 3-5, still manual: price-action confirmation, entry, exit).
**Why this isn't a naive failure-ratio check:** an earlier design flagged "news failure" whenever fewer than half the relevant events "responded" — but under pure noise, roughly 69% of individual events fail to respond by chance, so that rule would CONFIRM on random noise 48-83% of the time depending on sample size. This skill instead requires the market to have moved *significantly against* the crowd's favorable news (a drift- significance test with a Monte-Carlo-verified null false-positive bound), never merely "didn't respond enough." See `references/news-failure-patterns.md` for the full statistical rationale.
**English:**
and the user wants to move to step 2
**Japanese:**
**Do NOT use when:**
fail-closed without an explicit `--direction` override
below); never fabricate events or URLs to get a verdict
for price data only (`stable/historical-price-eod/light`) — coverage varies by symbol; see `references/price-source-map.md`.
gracefully without it (states the limitation; never fabricates events).
to auto-resolve symbol + direction, or supply `--direction` explicitly.
Validate `run_context.data_date` and every supplied vintage for the selected market: `markets[].data_date` and `data_provenance.market_data_dates[symbol]`. Each must be nonempty, parseable, not after `--as-of`, and no older than `--max-detector-age-days` (the boundary itself is accepted). Use the oldest validated date for the audit age; keep the original run context unchanged. Legacy reports may omit row/map dates and fall back to the report date. A present invalid/null/empty date or malformed provenance/map container fails closed using the existing missing/invalid/future/stale reason codes. Other symbols' row/map dates do not replace the selected market's vintage. Existing first-10-character date parsing remains compatible; this is not a stricter full-timestamp or provenance-schema validator.
From a `cot-contrarian-detector` report (`--detector-json`, symbol looked up in `markets[]`) or directly from the user (`--symbol` + `--direction`). A `NEUTRAL` classification, a symbol missing from the report, or a report older than `--max-detector-age-days` (default 10) all refuse fail-closed with a specific reason — only an explicit `--direction` overrides.
Search news in the evaluation window (`--window-days`, default 10) using the 4-tier source hierarchy (issuer/primary → SEC/official stats → wire → portal — see `references/news-failure-patterns.md`). Write findings into an events JSON from `references/news-failure-patterns.md`'s template — `event`, `event_time` (ISO8601 with explicit UTC offset), `source_url`, `source_tier`, `expected_impact` (BULLISH/BEARISH) per event.
**Never fabricate events or URLs.** WebSearch unavailable → state it explicitly; proceed without an events JSON only if the user accepts an `INSUFFICIENT_EVIDENCE` result (reason `no_events_provided`) — the CLI never raises an exception for a missing events file, it always exits 0 with a documented reason.
python3 skills/news-reaction-failure-analyzer/scripts/analyze_news_reaction.py \ --symbol B6 --detector-json reports/cot_crowding_2026-07-12.json \ --events-json reports/nrf_events_B6_2026-07-12.json \ --output-dir reports/
The script fetches the price series (documented fallback chain — futures symbol first, ETF proxy if 402/restricted or `rows == 0`; see `references/price-source-map.md`), computes effective dates / returns / z-scores per event, clusters events whose 3-trading-day windows overlap (independence guard), and synthesizes the verdict.
Data handling: Privacy policy · Security policy Claude Trading Skills started as a personal project to use AI to improve my own trading process. Claude Trading Skills is a Claude Skills-based trading workflow toolkit for time-constrained individual investors.
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating…
This skill should be used when analyzing market breadth charts, specifically the S&P 500 Breadth Index (200-Day MA based) and the…
Generate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat…
Screen US stocks using William O'Neil's CANSLIM growth stock methodology. Use when user requests CANSLIM stock screening, growth…
Synthesize the three Jason Shapiro contrarian-pipeline verdicts (COT crowding, news-reaction failure, weekly price-action…
Detect crowded speculative positioning in CFTC futures markets (COT report analysis) to find contrarian setups using Jason…
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…