Loading...
Loading...
Factor research framework for evaluating single-factor effectiveness across A-shares, HK, and US stocks — information coefficient (IC), information ratio (IR), decile portfolio backtests, and IC decay (serial autocorrelation). Triggers: "因子研究", "IC分析", "信息比率", "分层回测", "因子有效性", "单因子测试", "因子衰减", "因子评估", "IC分析", "信息比率", "分層回測", "因子有效性", "單因子測試", "factor research", "information coefficient", "IC", "IR information ratio", "factor backtest", "decile portfolio", "factor decay", "factor effectiveness".
npx skill4agent add longbridge/skills longbridge-factor-researchResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
longbridge-factor-screenlongbridge-ml-strategylongbridge constituent --help
longbridge constituent <INDEX> --format jsonstocks000300.SHHSI.HKSPX.USlongbridge calc-index <SYMBOL> --format json # valuation, growth metrics
longbridge kline <SYMBOL> --period day --count 252 --format json # price history for returns--helpIC_t = rank_correlation(factor_value_t, forward_return_t+h)h| Metric | Formula | Good signal threshold |
|---|---|---|
| Mean IC | Average of IC time series | > 0.03 (positive) |
| IC Std Dev | Standard deviation of IC | Lower is better |
| IR (Information Ratio) | Mean IC / Std Dev IC | > 0.5 is promising |
| IC > 0 hit rate | % of periods IC > 0 | > 55% |
| ICIR (annualised) | IR × √(periods per year) | > 1.0 strong |
autocorr(IC, lag=1)longbridge constituent --help
longbridge calc-index --help
longbridge kline --help
longbridge constituent <INDEX> --format json
longbridge calc-index <SYMBOL> --format json
longbridge kline <SYMBOL> --period day --count 252 --format json| Situation | 简体回复 | 繁體回覆 | English reply |
|---|---|---|---|
| 请安装 longbridge-terminal 或检查 MCP 配置。 | 請安裝 longbridge-terminal 或檢查 MCP 配置。 | Install longbridge-terminal or check MCP config. |
stderr: | 请运行 | 請執行 | Run |
| Index not found | 请检查指数代码格式,如 000300.SH / HSI.HK / SPX.US。 | 請確認指數代碼,如 000300.SH / HSI.HK / SPX.US。 | Check index ticker format, e.g. 000300.SH / HSI.HK / SPX.US. |
| Insufficient history | 该标的历史数据不足以进行回测,请缩短测试期或更换标的。 | 歷史數據不足,請縮短測試期或更換標的。 | Insufficient price history; shorten the test period or change the symbol. |
longbridge-factor-screenlongbridge-multifactorlongbridge-quant-statslongbridge-ml-strategyskills/longbridge-factor-research/
└── SKILL.md