stock-data-fetcher
Installation
SKILL.md
Stock Data Fetcher
获取A股数据并保存到本地CSV,通过grep/read按需查看,避免上下文膨胀。
快速开始
# 获取K线数据(默认1年,前复权,保存到 ./data/cache)
uv run python .claude/skills/stock-data-fetcher/scripts/fetch_stock_data.py sh.601138
# 获取近2年数据
uv run python .claude/skills/stock-data-fetcher/scripts/fetch_stock_data.py sh.601138 --days 730
# 指定日期范围
uv run python .claude/skills/stock-data-fetcher/scripts/fetch_stock_data.py sh.600000 --start 2024-01-01 --end 2024-12-31
# 获取财务数据
uv run python .claude/skills/stock-data-fetcher/scripts/fetch_stock_data.py sh.601138 --type profit --year 2024 --quarter 3