Skip to content
Back to skills

Quant Finance

ASecurity

"Run and troubleshoot RD-Agent quantitative-finance factor and

  • 247 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 9, 2026
researchbashdocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill quant-finance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quant Finance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quant Finance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-quant-finance/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-quant-finance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: quant-finance
description: "Run and troubleshoot RD-Agent quantitative-finance factor and
  model workflows backed by Qlib, including factor-report and co-optimization
  loops."
metadata:
  disco-role: operating
  parent-skill: rd-agent
license: MIT
disable-model-invocation: true
---

# RD-Agent quantitative finance

Use this sub-skill for RD-Agent(Q), factor generation, factor reports, Qlib model research, finance data-agent/model-agent loops, and backtest interpretation.

## Choose the workflow

- `rdagent fin_quant` is the finance quant agent entry point for factor/model co-optimization.
- `rdagent fin_factor_report` is the inspected CLI entry point for factor-report-driven workflows. Run `--help` in the active version before using it; older documentation may call the flow `fin_factor`.
- Read the Qlib experiment templates and the active scenario config before changing dates, provider paths, model, or evaluator settings.

A typical safe sequence is:

```bash
rdagent fin_quant --help
rdagent fin_factor_report --help
# inspect the resolved configuration and data path
# run a tiny/debug iteration before a full loop
```

## Data and split contract

The documented defaults use local Qlib data (commonly `~/.qlib/qlib_data/cn_data`), the CSI300 universe, and `SH000300` as benchmark. The reference templates use chronological splits around 2008–2014 for training, 2015–2016 for validation, and 2017–2020 for test/backtest. Treat those values as template evidence, not universal defaults: record the actual provider URI, market, benchmark, dates, and timezone used by the run.

Factor-agent loop:

1. formulate a financially motivated hypothesis;
2. implement a factor with a name, description, formula, and variables;
3. evaluate it on the configured data;
4. combine new factors with the baseline feature set and run the model/backtest;
5. inspect signal and portfolio records;
6. use feedback to refine the next hypothesis.

Model-agent loop follows the same evidence discipline but may read a report/paper and generate model code. Do not compare runs if the universe, date split, transaction costs, or evaluator changed.

## Backtest hygiene

- Check chronological ordering and fit/validation/test boundaries before evaluating.
- Record the feature source, missing-value/normalization pipeline, model seed, `n_jobs`, device, and transaction-cost assumptions.
- Treat `SignalRecord`, signal analysis, and portfolio analysis as separate artifacts.
- Investigate leakage, survivorship bias, look-ahead features, and accidental test-set use before celebrating a metric.
- A generated factor that imports successfully is not a validated factor; require evaluator output and a reproducible artifact.

Read [qlib-contract.md](references/qlib-contract.md) for the template/data/evaluation contract. Use [the parent troubleshooting guide](../../references/troubleshooting.md) for provider, generated-code, and evaluator failures.

Files in this skill

  • SKILL.md2.9 KB
  • references/qlib-contract.md1.3 KB
  • scripts/check_qlib_data.py803 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.