A股量化 AkShare

v1.0.1

A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。

63· 20.9k·257 current·267 all-time
byttbb@mbpz
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, SKILL.md examples, and the included Python script all consistently target retrieving A‑share market, K‑line, financial and board data via the AkShare library. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs to pip install akshare and shows usage examples. Instructions do network I/O via AkShare (expected for market data). The included script is straightforward and prints JSON; it does not read arbitrary files or exfiltrate data to unexpected endpoints. Note: the script contains a bug (get_fund_flow calls stock_individual_fund_flow without qualifying it with ak.), which will raise a NameError at runtime unless corrected.
Install Mechanism
No automated install spec is provided (instruction-only). SKILL.md asks users to run 'pip install akshare' which pulls from PyPI — expected for a Python data-fetching tool. This is a normal, low-risk installation pattern; review PyPI package provenance before install if you have strong supply-chain concerns.
Credentials
The skill requests no environment variables, credentials, or config paths. That is proportionate to the described functionality. The only external requirement is network access for AkShare to query data providers.
Persistence & Privilege
always is false and model invocation is not disabled (normal). The skill does not request persistent system-level privileges or modify other skills. It does not attempt to store tokens or alter agent-wide configuration.
Assessment
This skill appears to do exactly what it says: run AkShare calls to fetch A‑share data. Before installing: 1) run pip install akshare in a virtualenv to avoid affecting your system Python; 2) be aware AkShare will make outbound requests to public data sources (network traffic and query content may leave your machine) — if that matters, run it in an isolated environment; 3) review the AkShare package/version on PyPI and its dependencies for supply-chain concerns; 4) note and fix the minor bug in scripts/stock_cli.py (get_fund_flow should call ak.stock_individual_fund_flow) before using; 5) avoid running with elevated privileges. If you need stronger guarantees about data privacy or package integrity, request a pinned package version and verify its source (GitHub release or checksum) before installing.

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

chinavk97efgd572br0ebsdc0fw77hwn8240xvfinancevk97efgd572br0ebsdc0fw77hwn8240xvlatestvk97efgd572br0ebsdc0fw77hwn8240xvquantvk97efgd572br0ebsdc0fw77hwn8240xvstockvk97efgd572br0ebsdc0fw77hwn8240xv

License

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

Comments