akshare-stock

Retrieve A-share market data and return structured JSON records.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Jaykaijack/openclaw-backup --skill akshare-stock-jaykaijack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: akshare-stock
Source: https://github.com/Jaykaijack/openclaw-backup/tree/main/skills/akshare-stock
Command: npx skills add https://github.com/Jaykaijack/openclaw-backup --skill akshare-stock-jaykaijack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires akshare, and includes scripts (resource) components.

What problem does it solve?

解决获取与整合A股市场数据的繁琐流程,提供统一的接口来读取实时行情、历史K线、财务报表、板块和资金流等多源数据,方便量化分析、选股和研究。

Core Features & Use Cases

  • 实时行情查询: 快速获取A股个股与板块的实时报价,适用于监控和策略触发。
  • 历史K线与数据回测: 支持日/周/月K线及复权处理,便于回测和时间序列分析。
  • 财务与指标分析: 拉取财务摘要与主要财务指标,用于基本面筛选与估值分析。
  • 板块/概念与资金流: 查询行业、概念板块信息和个股资金流向,支持行业轮动与资金面判断。
  • 命令行脚本: 提供 CLI 脚本以快速导出 JSON 记录,适合在脚本化流程中调用。

Quick Start

使用 akshare-stock 检索股票 000001 最近 30 天的日K线并返回 JSON 格式的记录。

Frequently Asked Questions about akshare-stock

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve A-share historical K-line data for quantitative backtesting?

To retrieve A-share historical K-line data for quantitative backtesting, you can query daily, weekly, or monthly K-lines with adjustment processing. The Skill returns structured JSON-compatible records for specified symbols and date ranges, suitable for time series analysis.

What is the best way to get real-time stock quotes and sector fund flow for A-share markets?

The best way to get real-time stock quotes and sector fund flow for A-share markets is by using an integrated data interface that fetches live quotes and capital flow data. This Skill queries real-time individual stock and sector information, returning structured JSON for monitoring and strategy triggering.

Can I extract A-share financial statements and fundamental indicators using Python?

Yes, you can extract A-share financial statements and fundamental indicators using Python. This Skill pulls financial summaries and key financial metrics, returning JSON-compatible records for basic screening and valuation analysis.

Does akshare support retrieving margin trading and Dragon Tiger Board data for A-shares?

Yes, akshare supports retrieving margin trading and Dragon Tiger Board (LHB) data for A-shares. This Skill integrates the akshare Python library to fetch margin data, IPO records, and LHB information, returning structured JSON-compatible records for research.

How do I export A-share market data to JSON format for scripted workflows?

To export A-share market data to JSON format for scripted workflows, use the provided CLI script. This Skill integrates a command-line script to quickly retrieve and export JSON records for symbols, periods, and date ranges, fitting seamlessly into automated pipelines.

What are the limitations of using akshare for A-share quantitative analysis?

A limitation of using akshare for A-share quantitative analysis is its reliance on the Python library's available data endpoints. While it provides extensive market, financial, and fund flow data, users must handle rate limits and structured JSON parsing within their own scripts.