Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By quantskillsGPL-3.0In 1 marketplace
Strips industry, market-cap, style and prior-factor exposures from a factor signal with daily cross-sectional OLS, leaving residual factors. Industry classifications come from Pandadata, and the repo ships no market data.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
逐日截面 OLS 正交化:剥离行业(L1 one-hot) + 市值(log_dollar_vol) + 风格(beta/volatility) + 旧因子暴露,输出残差因子与暴露清零诊断报告。
role: skill output: residual factor + diag report paradigm: daily cross-sectional OLS
skill-factor-orthogonalize 是 PandaAI Quant Skills 提供的因子正交化 Skill。给定一个截面因子信号 [date × symbol],通过逐日 OLS 回归剥离行业、市值、风格和旧因子暴露,输出残差因子。
原始因子可能包含的是"行业偏好"而不是"选股能力":
这些暴露不剥离,因子评估和合并的结论都会失真。 本 Skill 逐日截面回归,确保每个交易日独立剥离暴露,残差后重新 z-score 标准化。
1. 校验信号契约:shape、date/symbol、NaN、截面 std、覆盖率
2. 明确控制变量:industry / log_mktcap / beta / volatility / existing factors
3. 对齐同一时点可得数据:T 日信号只能用 T 日已知暴露
4. 截面预处理:MAD-based winsorize (5σ) → z-score → mask 不可交易股票
5. 逐日回归:signal_t = X_t β_t + residual_t(np.linalg.lstsq)
6. 残差标准化:对 residual_t 做 z-score,保留原始 mask
7. 输出正交诊断:暴露清零 + IC 保留率 + turnover + coverage
[date, symbol, factor_value] parquet 文件get_stock_detail 批量拉取(sector_code_name, L1 分类)log_dollar_vol、beta_60d、volatility_20d(基于 OHLCV 日线自动计算)# 批量正交化 data/factors/ 下所有因子
python orthogonalize_real.py
输入:data/factors/F*.parquet
输出:
data/factors_orthogonalized/F*_residual.parquet — 残差因子data/orthogonalize_report.txt — 暴露清零 + IC 保留率对比表因子评估 → 正交化(本Skill) → 衰减分析 → 因子合并
位于因子评估之后、衰减分析之前的质量把控节点。
skill-factor-orthogonalize/
├── SKILL.md
├── README.md / README.en.md
├── references/
│ ├── methods.md
│ ├── report-format.md
│ └── anti-patterns.md
└── agents/
├── cursor-rule.mdc
└── portable-loader.md
| Skill | 用途 |
|---|---|
| skill-factor-evaluate | 给原始或残差因子打分 |
| skill-factor-orthogonalize | 剥离风格 / 行业 / 旧因子暴露 |
| skill-factor-decay | 分析残差因子的 IC 衰减与半衰期 |
| skill-factor-blend | 把多个低相关残差因子合成复合 Alpha |
GPL-3.0. Copyright (C) 2026 QuantSkills.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
factor-orthogonalize@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin factor-orthogonalizePlugins from other owners that cover similar ground