Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aifinlab/a-share-cointegration-test
A股协整检验/长期均衡关系分析。当用户说"协整"、"cointegration"、"长期均衡"、"价差平稳"、"XX和YY协整吗"时触发。量化检验股票间的协整关系。支持formal和brief风格。
Passed 9 of 15 test cases with the skill, and 8 of 15 without it.
and 1 more in the full report
4 fixed9 passed either way6 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
The instructions your model reads when the skill loads.
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
python "$SCRIPTS/cn_stock_data.py" kline --code [CODE] --freq daily --start [日期]
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE]
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]
估计长期均衡关系和短期调整速度
| 维度 | formal | brief |
|---|---|---|
| 单位根 | ADF+KPSS结果 | 是否I(1) |
| 协整 | 检验统计量+p值 | 是否协整 |
| 价差分析 | 半衰期+均值回归参数 | 配对可行性 |
| 默认风格:brief。 |
# 调用 skill
result = run_skill({
"param1": "value1",
test cases passed, vs 8 / 15 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.