AI Agent Hub
Back to skills
China Galaxy Securities Factor Analysis Framework icon

China Galaxy Securities Factor Analysis Framework

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md to install @org-rwhv0nty/ad-factor-analysis into your AI assistant.

About this skill

What Problem It Solves

Factor research often stalls at the gap between computing a factor and judging whether it is usable. Factor values, preprocessing, IC, quantile returns, collinearity, orthogonalization, and multi-factor synthesis are often scattered across scripts with inconsistent assumptions. This skill organizes the China Galaxy Securities factor analysis workflow into a reusable framework that takes a factor matrix and produces diagnostic, interpretable results.

How It Works

It runs on AmazingData market data, with core steps such as:
- Factor preparation: after fetching data, reshape custom factors into a pd.DataFrame with index=date and columns=ticker.
- Preprocessing: apply winsorization, industry and size neutralization, standardization, and missing-value handling.
- Validity diagnostics: run IC analysis, regression, layering, NAV performance, crowding, and significance checks; for example, VIF > 10 signals severe collinearity, while a higher share of |T| > 2 usually indicates stronger factor significance.
- Multi-factor synthesis: perform collinearity checks, orthogonalization, weighting, and stock scoring. Common weighting methods include equal_weight, ic_mean, ic_ir, max_ic, and return_ir, and it can render a report.

Boundaries

This skill requires an AmazingData account and environment variables, and data calls must be made after login; single sign-on may limit concurrent sessions. It produces factor calculations and diagnostics, not investment advice. It is useful for reproducible factor testing, comparing multi-factor synthesis methods, and consolidating ad hoc scripts into a standard process.

Use Cases

  • Before an industry rotation backtest, run winsorization, industry and size neutralization, and standardization on a custom industry momentum factor.
  • When comparing candidate factors, run IC, quantile, and NAV performance diagnostics to produce significance and crowding conclusions.
  • When building a composite equity factor, apply collinearity checks, orthogonalization, and ic_ir weighting across momentum, volatility, and value factors.
  • When submitting a factor report to a research team, generate a document covering preprocessing, IC, layering, and synthesis results.

Best For

  • Quant researcher who needs to take a custom factor from a date-by-ticker panel through IC, quantile, and synthesis diagnostics.
  • Securities research analyst who needs to assess factor significance after industry and size neutralization and produce a report.
  • Strategy engineer who needs to reproduce orthogonalization, weighting, and stock scoring in multi-factor synthesis.
  • AmazingData user who needs to run factor preprocessing and diagnostics from account market data.