qj-config-helper

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

A configuration guide for QuantJourney Backtester, a tool that tests trading strategies on historical market data.

In plain words
What is it for?
Use it to set up daily or intraday backtests, weight-based or order-based trading, risk overlays, position limits, rebalance rules, and report plots.
Why use it?
It helps you select compatible settings for instruments, dates, data frequency, execution style, portfolio risk, rebalancing, benchmarks, and reports.

Skill for Claude CodeCodex

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

Good fit Use it to set up daily or intraday backtests, weight-based or order-based trading, risk overlays, position limits, rebalance rules, and report plots.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quantjourneyorg/quantjourney-bt/qj-config-helper
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-config-helper
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-config-helper

README.md
[![agentmods](https://agentmods.dev/badge/skills/quantjourneyorg/quantjourney-bt/qj-config-helper/github.svg)](https://agentmods.dev/skills/quantjourneyorg/quantjourney-bt/qj-config-helper)
Your own site
<a href="https://agentmods.dev/skills/quantjourneyorg/quantjourney-bt/qj-config-helper"><img src="https://agentmods.dev/badge/skills/quantjourneyorg/quantjourney-bt/qj-config-helper/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-config-helper

Your own site · 80×15
<a href="https://agentmods.dev/skills/quantjourneyorg/quantjourney-bt/qj-config-helper"><img src="https://agentmods.dev/badge/skills/quantjourneyorg/quantjourney-bt/qj-config-helper.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 752 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00752
Opus 5 $0.00000 $0.00376
Sonnet 5 $0.00000 $0.00150
Haiku 4.5 $0.00000 $0.00075

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

Security

Grade A, and why

qj-config-helper 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-config-helper/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

QuantJourney Config Helper

Use this skill to configure a QuantJourney Backtester — choose the right parameters, rebalance policy, risk overlay, granularity, and report settings.

Core parameters

strategy = MyStrategy(
    strategy_name="...",                 # names the report folder
    instruments=["AAPL", "MSFT", ...],   # or a market-neutral pair, or a wide universe
    backtest_period={"start": "2015-01-01", "end": "2025-01-01"},
    source="yfinance",                   # intraday requires yfinance
    granularity="1d",                    # 1d | 1m | 5m | 15m | 30m | 1h
    execution_mode="weights",            # weights | orders
    initial_capital=100_000,
    max_position_size=0.25,              # per-name cap; use 1.0 for long/short legs
    indicators_config=[...],             # declares SMA/EMA/RSI features
    benchmark_symbol="^GSPC",
    reporting_frequency="daily",         # daily | weekly | monthly | quarterly
    theme_plots="quantjourney",          # or bloomberg, dark, academic, minimal
    show_text_reports=True, save_portfolio_plots=True,
)

Rebalance policy (weight mode)

Compose triggers with RebalancePolicy(...):

  • frequency"D", "W" (+weekday), "BME", "BQE", "BYE", or None.
  • drift_threshold (+drift_type) — rebalance only when a weight drifts past X.
  • tracking_error_threshold (+tracking_error_window) — rebalance vs benchmark TE.
  • rebalance_on_signal_change (+signal_change_threshold) — trade only on flips.
  • max_drawdown_trigger (+max_drawdown_action, circuit_breaker_cooldown_days) — circuit breaker.
  • max_annual_turnover — turnover budget (cost gate).
  • partial_rebalance — trade only the drifted names.

Risk overlays (weight mode)

Attach via risk_model=; applied between weights and rebalance:

  • VolTargetModel(target_vol=0.10, lookback=63, max_leverage=1.5)
  • RiskParityModel(lookback=63) — equal risk contribution
  • InverseVolModel(lookback=63)
  • PositionLimitModel(max_weight=0.25)
  • RiskModelChain([...]) — apply several in order

Read the full file on GitHub · 65 lines

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 · 65 lines · 0 tokens per session scan A d1dc3c84d6d2

Subscribe to this mod's changes

qj-config-helper 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 752 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

correlation-analysis

Correlation and cointegration analysis — co-movement discovery, deep return-correlation analysis, sector clustering, realized correlation, Engle-Granger / Johansen cointegration, half-life, Kalman dynamic hedge ratio, cross-market linkage analysis, and pair-trading signal generation.

HKUDS/Vibe-Trading · 57 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

etf-analysis

A framework for comparing exchange-traded funds (ETFs), which are funds bought and sold on a stock exchange and usually track an index, industry, asset, or strategy. It covers fees, how closely an ETF follows its target, trading activity, and portfolio use.

HKUDS/Vibe-Trading · 39 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