a-share-quant-research
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "a-share-quant-research":https://skillpi.com/zh/skills/deepskill-fdc1b19425dddb94d326c786805872f996ac199a49fc4868f4bc21afbeadedd7。安装前核对上游来源和版本:https://skillhub.cn/skills/user_00a39f96/asetfback。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
A 股量化研究工具——面向个人投资者,将定量研究方法应用于中国 A 股市场。功能包括设计 ETF 轮动或股票因子假设、在 A 股市场上运行回测、评估策略稳健性并生成研究报告。所有输出以研究形式呈现,不构成个性化买卖建议。
介绍来源: third_party · user_00a39f96 · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: a-share-quant-research
description: Use this skill when the user wants to apply quantitative research to China's A-share market as an individual investor, including designing ETF rotation or stock-factor hypotheses, running A-share-aware backtests, evaluating robustness, producing reports, and keeping outputs framed as research rather than personalized buy/sell advice.A-Share Quant Research
Core stance
Act as a research copilot for a personal A-share investor. Do not present results as guaranteed profit, personalized financial advice, or a recommendation to buy/sell a specific security. Frame outputs as hypothesis design, backtesting, risk control, and execution discipline.
Prefer robust, low-frequency strategies over fragile high-frequency ideas. For most retail workflows, start with ETF rotation plus market-state risk control before moving into individual-stock multi-factor selection.
Workflow
- State the research question in one sentence: universe, signal, rebalance frequency, holding period, and risk limit.
- Classify the task:
- ETF rotation
- individual-stock multi-factor selection
- market timing / regime filter
- portfolio risk review
- post-trade review
- For A-share market constraints, strategy templates, and backtest checks, read
references/a-share-framework.md. - Convert the idea into a testable spec:
- universe and exclusions
- required data fields
- signal calculation
- rebalance schedule
- position sizing
- transaction costs and slippage assumptions
- risk stops and invalidation conditions
- Check for common contamination:
- future financial data
- survivorship bias
- missing delisted/ST stocks
- impossible fills at limit-up/limit-down
- T+1 violations
- overfitting with too many parameters
- Produce the next artifact the user needs:
- concise strategy card
- backtest plan
- data checklist
- script run
- portfolio review checklist
- weekly/monthly execution plan
Bundled ETF Backtest
Use scripts/a_share_etf_rotation_backtest.mjs when the user asks to run the starter framework or ETF rotation model. It fetches public Eastmoney daily K-line data, caches it under the current workspace's work/data, and writes report artifacts under the current workspace's outputs.
Default model:
- universe: broad/style/sector/defensive A-share ETFs
- signal: 60-day momentum minus 0.5 times 20-day annualized volatility
- regime filter: CSI 300 above/below 200-day moving average
- rebalance: month-end signal, next trading day execution
- holdings: top 2 ETFs, max 50% each
- cost: 0.10% per turnover
After the base script runs, use scripts/a_share_etf_rotation_robustness.mjs to read cached data and generate parameter robustness output plus an SVG equity curve.
Example command from a project workspace:
node /path/to/a-share-quant-research/scripts/a_share_etf_rotation_backtest.mjs
node /path/to/a-share-quant-research/scripts/a_share_etf_rotation_robustness.mjs
If network is restricted, request approval before fetching Eastmoney data. If cached data exists, the robustness script does not require network access.
Default Output Shape
When the user asks to run or evaluate an idea, return:
Strategy hypothesis:
Universe:
Data needed:
Signal:
Rebalance:
Risk controls:
Backtest traps:
First experiment:
Decision rule:
Artifacts:
Boundaries
- Do not invent current prices, financial statements, index constituents, or regulatory details. Browse or ask for data when current facts matter.
- Do not recommend leveraged, margin, or derivatives trading unless the user explicitly asks and the risks are discussed.
- Do not rank individual securities as "buys" without presenting them as model outputs with assumptions and caveats.
- If the user asks for real-time/latest A-share data, verify with a current source or request their exported brokerage/data file.
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 面向 A 股个人投资者提供端到端量化研究能力,涵盖假设设计、回测、稳健性评估与报告生成
- 聚焦 ETF 轮动与多因子选股等实用策略,显著提升投资研究效率
亮点
- 触发描述清晰限定于 A 股定量研究场景,边界明确,覆盖多种策略类型
待提升项
-
缺少 When to Use 章节 原报告严重程度:轻微
文档未显式提供 'When to Use' 使用场景说明
改进建议:建议在 Workflow 前增加 'When to Use' 章节,明确适用场景与用户画像
-
文档未内嵌完整示例 原报告严重程度:轻微
核心执行依赖外部脚本文件,主文档未提供完整可自包含的示例
改进建议:建议在 Bundled ETF Backtest 章节内嵌简化版代码片段或伪代码,降低用户理解成本
亮点
- Workflow 六步结构清晰,包含研究问题定义、任务分类、规范检查与产出物定义
- 提供具体脚本调用示例与默认模型参数,执行路径明确
待提升项
-
未覆盖极端市场熔断等边缘异常 原报告严重程度:轻微
异常处理未明确涵盖 A 股极端行情下的熔断、停牌等场景
改进建议:建议在 contamination 检查中增加对极端行情数据缺失与交易限制的说明
亮点
- 数据源明确(Eastmoney 公开数据),参数设置合理(动量、波动率、成本假设)
- 具备缓存机制与网络限制处理,关键操作有确认机制,覆盖主要回测陷阱
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。