Akshare Backtest

v1.0.2

A股量化策略回测工具。基于 AkShare 获取历史行情数据,模拟执行强势股轮动策略。 支持自定义初始资金、回测周期、止盈止损参数。输出收益曲线、买卖记录、月度统计。 适用于验证"涨停基因+均线多头+量价配合"等短线策略的历史表现。

0· 153·0 current·0 all-time
byGingin@gracexiaoo
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (A股回测 using AkShare) aligns with the contents: a Python script implementing a backtest and the declared pip dependencies (akshare, pandas, numpy). There are no unrelated environment variables, binaries, or config paths requested.
Instruction Scope
SKILL.md only instructs installing the listed Python packages and running scripts/backtest.py with standard CLI args. The instructions and script operate on market data and write CSV outputs to a local output directory; they do not request or read secrets, system configuration, or unrelated files.
Install Mechanism
Install spec is a simple pip install of well-known Python packages (akshare, pandas, numpy). This is a low-risk, standard mechanism. Note: AkShare itself fetches market data over the network (expected for the use case).
Credentials
No environment variables, credentials, or config paths are required. The script does not attempt to access secrets. It does require internet access to fetch market data via AkShare, which is proportionate to its purpose.
Persistence & Privilege
The skill is not forced-always, does not request elevated/persistent privileges, and does not modify other skills or global agent config.
Assessment
This skill appears coherent and implements the stated backtest. Before installing: (1) run it in a virtual environment or sandbox to isolate dependencies; (2) pin package versions (e.g., akshare) to avoid unexpected upstream changes; (3) be aware AkShare performs network calls to fetch market data—ensure this is acceptable for your environment and network policy; (4) review and adapt hard-coded assumptions (symbol lists, position sizing) before using results for real trading; (5) treat backtest outputs as informational only—they are not financial advice.

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

latestvk974qgmw14cy9e0sn4gtw48ked8401skmx xiaojinvk976ten12vy0m7rwfcv6er94x98417k3newvk974qgmw14cy9e0sn4gtw48ked8401skstablevk974qgmw14cy9e0sn4gtw48ked8401skxiaojinvk974qgmw14cy9e0sn4gtw48ked8401sk

License

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

Comments