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.
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-researchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading /tmp/Vibe-Trading && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Vibe-Trading/agent/src/skills/factor-research ~/.gemini/antigravity-cli/skills/factor-researchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
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.
