factor-research

Compute IC/IR statistics and quantile backtest curves for factor selection.

30.4k|4.9k|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/HKUDS/Vibe-Trading --skill factor-research-hkuds
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: factor-research
Source: https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/factor-research
Command: npx skills add https://github.com/HKUDS/Vibe-Trading --skill factor-research-hkuds

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quantitative researchers need to confirm whether a factor truly predicts future returns before incorporating it into a strategy, and this skill centralizes the IC/IR diagnostics and backtesting needed to decide. It translates aligned factor values and forward returns into easily interpretable metrics, thresholds, and warnings so you can avoid look-ahead bias and unstable signals.

Core Features & Use Cases

  • IC/IR analysis: computes daily IC series, summary statistics, and stability clues, with thresholds for basic, strong, and suspicious performance.
  • Quantile backtests: generates group equity curves to assess monotonicity, long-short spread, and nonlinearity across sorted factor quantiles.
  • Factor combination guidance: describes equal-weighted, IC-weighted, and orthogonalized aggregation techniques for multi-factor portfolios, including a practical example of screening and merging effective factors.

Quick Start

Send the factor-research skill a factor CSV, return CSV, and output folder to compute IC/IR metrics and quantile backtests.

Frequently Asked Questions about factor-research

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate a stock factor using IC and IR analysis?

Quantile backtests generate group equity curves across sorted factor quantiles to assess monotonicity, long-short spread, and nonlinearity, allowing you to visually confirm whether higher quantiles consistently outperform lower ones over time.

What is the best way to combine multiple effective factors for stock selection?

The best way to combine multiple effective factors is using equal-weighted, IC-weighted, or orthogonalized aggregation techniques, which merges screened effective factors into a multi-factor portfolio to streamline quantitative stock selection.

How do I run a quantile backtest to check factor monotonicity?

You run a quantile backtest by inputting aligned factor CSV and return CSV files, which generates group equity curves to assess monotonicity, long-short spread, and nonlinearity across sorted factor quantiles for cross-sectional research.

Does factor backtesting require specific data formats for cross-sectional research?

Factor backtesting requires aligned factor and forward return matrices formatted as CSV files, along with a designated output folder, to properly compute IC/IR statistics and quantile backtest curves without look-ahead bias.

Why does my factor backtest show unstable IC performance?

Unstable IC performance indicates suspicious factor validity, flagged by computed summary statistics and stability clues that compare your daily IC series against established thresholds for basic, strong, or suspicious performance.