Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aifinlab/ashare-data
Ashare 最轻量 A 股行情获取工具(3.2k Stars),基于新浪+腾讯双核心数据源,零依赖(仅需 requests+pandas),无需注册,支持日/周/月线及 1m/5m/15m/30m/60m 分钟级K线。当用户需要快速获取 A 股/指数行情而其他数据源不可用时,Ashare 是最可靠的回退方案——它使用新浪为主、腾讯为备的双核心架构,自动切换,极少出错。
Passed 17 of 21 test cases with the skill, and 5 of 21 without it.
and 12 more in the full report
13 fixed6 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need 100 bars of 1-minute high-frequency intraday data for Shanghai SSE Index (sh000001) via quote_data.py. Which frequency argument should be supplied?
| Checked | Without skill | With skill |
|---|---|---|
| Uses --freq 1m for 1-minute frequency | Missed | Passed |
The instructions your model reads when the skill loads.
Ashare 是 GitHub 上 3.2k Stars 的极简 A 股行情库,单文件、零配置、零注册。核心只有一个函数 get_price(),用新浪+腾讯双数据源自动切换,稳定性极高。
它的价值不在于数据丰富度(只有行情K线),而在于可靠性——当 akshare、efinance、adata 因为上游网站改版或反爬而暂时不可用时,Ashare 几乎总是能正常工作。
pip install requests pandas
无需安装额外包,requests 和 pandas 通常已存在于 Python 环境中。
唯一脚本:scripts/quote_data.py
# 日线(最近30天)
python quote_data.py quote --code sh000001 --count 30
# 周线
python quote_data.py quote --code sh600519 --freq 1w --count 20
# 月线
python quote_data.py quote --code sz000001 --freq 1M --count 12
# 5分钟线
python quote_data.py quote --code sh600519 --freq 5m --count 48
# 指定结束日期
python quote_data.py quote --code sh600519 --freq 1d --count 60 --end 2026-01-31
test cases passed, vs 5 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.