akshare

Retrieve Chinese stock, index, and sector data using the akshare Python library.

276|46|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/nicepkg/ai-workflow --skill akshare-nicepkg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: akshare
Source: https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/akshare
Command: npx skills add https://github.com/nicepkg/ai-workflow --skill akshare-nicepkg

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides access to real-time and historical financial data for Chinese markets, eliminating the need for manual data collection and analysis from disparate sources.

Core Features & Use Cases

  • Real-time Quotes: Get live stock and index prices.
  • Historical Data: Retrieve daily, weekly, or monthly K-line data for stocks and indices.
  • Market Overview: View summaries of major A-share indices and hot sectors.
  • Financials: Access basic stock information and financial indicators.
  • Use Case: Quickly check the latest price and daily performance of a specific stock (e.g., 000001.SZ) or get the historical daily closing prices for the last month.

Quick Start

Use the akshare skill to get the real-time quote for the stock code 000001.

Frequently Asked Questions about akshare

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

FAQPage Schema
How do I get real-time stock quotes for the Chinese A-share market?

To get real-time stock quotes for the Chinese A-share market, use this skill to retrieve live spot prices and daily performance metrics for specific stock codes like 000001.SZ. It fetches current pricing directly using the akshare library.

Can I retrieve historical K-line data for Chinese stocks and indices?

Yes, you can retrieve historical K-line data for Chinese stocks and indices. This skill fetches daily, weekly, or monthly historical prices and market data using akshare, allowing you to analyze past performance of specific stock codes.

Do I need pandas installed to fetch Chinese financial market data?

Yes, you need pandas installed to fetch Chinese financial market data. Both akshare and pandas are required dependencies for this skill to process data retrieval and format the returned real-time and historical financial market information.

What is the best way to view major A-share indices and hot sector performance?

The best way to view major A-share indices and hot sector performance is to use this skill to generate a market overview. It retrieves sector summaries and index performance data directly from the Chinese financial market via akshare.

Does akshare provide basic financial indicators for individual Chinese stocks?

Yes, akshare provides basic financial indicators for individual Chinese stocks. This skill supports accessing basic stock information and financial metrics, allowing you to retrieve fundamental data for specific market securities.

Are there limitations when retrieving real-time data for the China market with akshare?

When retrieving real-time data for the China market with akshare, limitations include dependency on the akshare library's available endpoints for spot quotes and historical K-lines. Data retrieval is constrained to supported Chinese stocks, indices, and sectors.