Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

factor-research

Skill by HKUDS

Factor Research is a skill that tests whether factors predict returns across multiple instruments. It runs IC/IR analysis and quantile backtests, then helps combine validated factors. It is for quantitative researchers doing cross-sectional factor evaluation.

  • Score 91
  • 40k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install factor-research

Built from the published package, never by AI.

git clone --depth 1 https://github.com/HKUDS/Vibe-Trading /tmp/Vibe-Trading && mkdir -p ~/.claude/skills && cp -r /tmp/Vibe-Trading/agent/src/skills/factor-research ~/.claude/skills/factor-research

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install factor-research in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Factor Research is a skill for testing whether one or more factors have stock-selection power. It computes IC and IR statistics and runs quantile backtests that sort instruments into groups, five by default, with equal-weight holdings in each group. The factor_analysis tool takes a factor CSV, a forward return CSV and an output directory. It writes ic_series.csv, ic_summary.json and group_equity.csv.

The skill also covers combining validated factors with equal weights, IC-based weights or orthogonalization. It includes guidance on look-ahead bias, skewed factor distributions, industry neutralization and survivorship bias. The source also points to a registry of pre-built alphas. It is aimed at quantitative researchers who screen and combine factors for cross-sectional evaluation.

Written from the project's SKILL.md and checked against it.

What it can do

  • factor_analysisComputes daily IC series, IC summary and quantile group equity from factor and return CSVs.
  • IC/IR interpretationJudges factor validity against IC mean, IR and share of positive IC thresholds.
  • Quantile backtestSorts instruments into groups and checks monotonicity and the long-short spread.
  • Factor combinationCovers equal-weight, IC-weighted and orthogonalized composite factor methods.
  • combine_factorsReusable call with equal, ic or icir methods that returns the weights it used.
  • Cross-sectional neutralizationResidualizes factors against named exposures with OLS or WLS, and compresses them with PCA.
  • Alpha Zoo registryLists and computes pre-built alphas through a Registry with metadata filters.

What you need

  • Python
  • pandas
  • numpy
  • scipy

Try asking

  • Test whether my momentum factor predicts returns across my stock universe
  • Run IC and quantile backtest analysis on this factor CSV and return CSV
  • Combine my value and momentum factors with IC-based weights

Good to know

  • Each cross-section needs at least 5 valid instruments for meaningful IC.
  • Factor and return CSVs must align by date and code, using forward returns only.
  • Use full-sample data including delisted stocks to avoid survivorship bias.
  • An IC mean above 0.10 is unusually high and should be checked for look-ahead bias.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agent/src/skills/factor-research/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/combination.md10 KB
  • references/neutralization.md10 KB
  • references/research_contract.md2 KB

Alternatives to factor-research

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

factor-research: common questions

What does the factor_analysis tool output?

It writes ic_series.csv with the daily IC series, ic_summary.json with IC mean, IC standard deviation, IR and share of positive IC, and group_equity.csv with quantile group equity curves.

What IC and IR values count as a good factor?

The skill lists an IC mean above 0.03 as basic predictive power and above 0.05 as strong. An IR above 0.5 is described as stably effective.

How does the skill avoid look-ahead bias?

Factor values use data from day T and earlier, while returns must be forward returns from T+1 onward. Weights from combine_factors use only rows strictly before the row they apply to.

How do I install factor-research?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is factor-research free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is factor-research safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to factor-research?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

factor-research Install

Add to stack

Loading.