qj-strategy-reviewer

qj-strategy-reviewer is a skill for Claude Code, Codex from QuantJourneyOrg/quantjourney-bt. It costs 0 tokens per session (451 once invoked), scanned A, original, Apache-2.0.

A review checklist for QuantJourney investment strategies, which are computer programs that simulate trading decisions against historical market data. It checks timing, data handling, portfolio weights, and trading costs.

In plain words
What is it for?
It is for reviewing backtests before trusting their results, including long, short, cash, and market-neutral strategies.
Why use it?
It helps detect results that look good only because the strategy used future information, mishandled missing data, or ignored realistic costs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for reviewing backtests before trusting their results, including long, short, cash, and market-neutral strategies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quantjourneyorg/quantjourney-bt/qj-strategy-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add QuantJourneyOrg/quantjourney-bt --skill qj-strategy-reviewer
Clone the repo
git clone --depth 1 https://github.com/QuantJourneyOrg/quantjourney-bt

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qj-strategy-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/quantjourneyorg/quantjourney-bt/qj-strategy-reviewer/github.svg)](https://agentmods.dev/skills/quantjourneyorg/quantjourney-bt/qj-strategy-reviewer)
Your own site
<a href="https://agentmods.dev/skills/quantjourneyorg/quantjourney-bt/qj-strategy-reviewer"><img src="https://agentmods.dev/badge/skills/quantjourneyorg/quantjourney-bt/qj-strategy-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qj-strategy-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/quantjourneyorg/quantjourney-bt/qj-strategy-reviewer"><img src="https://agentmods.dev/badge/skills/quantjourneyorg/quantjourney-bt/qj-strategy-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 451 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00451
Opus 5 $0.00000 $0.00226
Sonnet 5 $0.00000 $0.00090
Haiku 4.5 $0.00000 $0.00045

Measured 11d ago against content hash e56afd5139c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

qj-strategy-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/qj-strategy-reviewer/SKILL.md · 50 lines

What it actually says

QuantJourney Strategy Reviewer

Use this skill to review a QuantJourney strategy for correctness before trusting its results. Check each item.

Timing / look-ahead

  • Signals must use data available at decision time. The engine lags weights by one bar (shift(1)); do not also peek forward inside _compute_signals (e.g. .shift(-1), centered rolling windows, using iloc[i+1]).
  • Rolling indicators must not include the current bar's future. Warm-up bars should be NaN/0, not filled with later data.

Data handling

  • Missing bars stay unavailable, not 0% returns. Don't fillna(0) on a returns series you then treat as real observations.
  • _compute_weights returning NaN → the name should drop out, not distort the normalization.

Weights and exposure

  • Long/cash: weights in [0, cap], sum ≤ 1. Confirm max_position_size matches the intended cap.
  • Long/short: check gross (Σ|w|) and net (Σw). Market-neutral should be net ≈ 0; a stray leg breaks neutrality.
  • Renormalization should not silently move positions you meant to freeze.

Costs and realism

  • A strategy that only works at zero cost does not work. Confirm slippage and commissions are set for anything turnover-heavy (intraday, reversal, daily rebalancing).
  • Short strategies: borrow/financing is not modeled — is the edge just the omitted carry? Flag it.

Mode fit

  • If the edge depends on stop-losses, brackets, or limit fills, it belongs in order mode, not weight mode.
  • Order mode: check gap handling expectations (a gap through a stop fills at the open, not the stop price) and that per-order commission minimums aren't assumed per fill.

Output

Report findings as: severity, where (method/line), what's wrong, and the fix. Separate real correctness bugs from style. Verify claims against the code, not assumptions.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 50 lines · 0 tokens per session scan A e56afd5139c3

Subscribe to this mod's changes

qj-strategy-reviewer is a skill published in the GitHub repository QuantJourneyOrg/quantjourney-bt (53 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 451 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

tushare

A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.

HKUDS/Vibe-Trading · 79 tokens

social-media-intelligence

Social media intelligence: financial signal extraction from Twitter/X, Telegram, Discord, and Reddit for sentiment-driven trading strategies.

HKUDS/Vibe-Trading · 28 tokens

credit-analysis

A guide to analysing bonds and other fixed-income investments, including issuer credit quality, interest payments, default risk, credit spreads, and convertible bonds. It also covers Chinese fixed-income markets and local-government financing bonds.

HKUDS/Vibe-Trading · 36 tokens

geopolitical-risk

Geopolitical risk analysis: quantify crisis signals, identify precursors, and build event-driven strategies for war, sanctions, and supply disruption scenarios.

HKUDS/Vibe-Trading · 34 tokens

vibe-trading

Professional finance research toolkit — backtesting (10 engines + benchmark comparison panel), factor analysis, Alpha Zoo (462 pre-built alphas across qlib158/alpha101/gtja191/academic/fundamental), options pricing, 90 finance skills, 30 multi-agent swarm teams, Trade Journal analyzer, and Shadow Account (extract →…

HKUDS/Vibe-Trading · 173 tokens

correlation-regime

Correlation-regime detection and crisis attribution — edge-density regime states with hysteresis, causal (no look-ahead) smoothing, regime-aware exposure context, first-mover crisis attribution with honest NAME / MACRO / AMBIGUOUS / ABSTAIN verdicts, and a correlation-rewiring leaderboard that catches slow bleed-outs.

HKUDS/Vibe-Trading · 70 tokens