Statistical Arbitrage 統計套利
Analysis
The skill’s stated stock-pair backtesting purpose is coherent, but the included script is hardcoded and does not implement the documented user-controlled analysis or report generation.
Findings (3)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
python3 scripts/statistical_arbitrage.py \ --stock1 <股票1> \ --stock2 <股票2> ... --output <輸出目錄> ... 腳本自動生成: ... report.html
The skill tells users and the agent that user-selected tickers, parameters, and an output directory are honored and that reports are generated, but the included source does not implement those documented controls or outputs.
_c1 = {
's1': '1398.HK', 's2': '0939.HK', 'd0': '2020-01-01', 'd1': '2026-12-31', ...
}
...
_d6 = _f1(_c1['s1'], _c1['d0'], _c1['d1'])
_d7 = _f1(_c1['s2'], _c1['d0'], _c1['d1'])The executable uses hardcoded symbols and dates from its internal dictionary, with no visible CLI parsing for the arguments documented in SKILL.md.
"install-deps": "pip install yfinance pandas numpy statsmodels matplotlib" ... "url": "https://github.com/your-repo/openclaw-skill-statistical-arbitrage"
The dependency installation is purpose-aligned, but it uses unpinned package installs and the repository URL is a placeholder rather than verifiable provenance.
