投资组合分析技能

v1.0.2

提供基于免费数据的多资产投资组合风险平价分析、滚动调仓回测及图文报告生成功能。

0· 387·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the actual code and files: the package implements rolling-window risk-parity analysis, backtest and local report/chart generation. It does not request unrelated credentials or binaries.
Instruction Scope
Runtime instructions restrict the skill to local CSV input and local outputs. The only caveats are documentation references to a default, user-specific CSV path (C:\Users\wu_zhuoran\.openclaw\workspace\data\marketdata.csv) which is a leftover dev default and should be changed; otherwise instructions do not instruct access to unrelated system files or network endpoints.
Install Mechanism
No install spec is provided (instruction-only + bundled code). No downloads from external URLs or extraction steps. Dependency lists are standard Python libs (pandas/numpy/matplotlib/seaborn).
Credentials
The skill declares no required environment variables or credentials. The code reads a CSV and writes outputs only; this is proportionate for a local backtest tool.
Persistence & Privilege
Skill does not request always:true and does not modify other skills or system configurations. It only reads a provided CSV path and writes output files to the output directory.
Assessment
This skill appears coherent and local-only, but take these precautions before installing or running it: - Run it first in an isolated/sandbox environment and monitor network traffic to confirm no outbound connections occur. - Inspect and, if desired, change the default CSV path in optimized_main.py to avoid accidental reads of developer-specific paths. - Note a minor docs inconsistency: SKILL.md lists 'pip install yfinance ...' while other docs and the code do not import yfinance; remove yfinance from install instructions unless you intend to use it. - Review output directory settings to ensure results are written to an intended location (avoid writing into sensitive system folders). - If you will supply real/secret financial files, ensure they are stored/processed according to your data-handling policies.

Like a lobster shell, security has layers — review code before you run it.

latestvk9757g7b0my3j4wa9e0n8qh46981wfzs

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments