AkShare Mastery
CommunityFetch A-share data reliably with resilience patterns.
Authorsunny-kobe
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you reliably fetch Chinese A-share market data using AkShare despite frequent upstream changes and IP blocking, so your investment research workflow doesn’t break mid-run.
Core Features & Use Cases
- Proxy & environment configuration: Ensures AkShare traffic can pass through your network using standard HTTP(S) proxy environment variables.
- Core AkShare interfaces for common tasks: Covers real-time spot quotes, historical daily K-lines, and market breadth indicators such as northbound fund flows.
- Resilience patterns for production robustness: Adds timeout protection, retry strategies, and empty-result validation to prevent silent failures and misleading outputs.
- Use Case: You want to generate a research report that blends today’s spot snapshot with historical daily candles for selected symbols; this skill teaches how to fetch both safely and detect when data is missing or blocked.
Quick Start
Ask the AI to explain how to set HTTP_PROXY/HTTPS_PROXY and implement a retry + empty-data validation wrapper around ak.stock_zh_a_hist for a given stock symbol and date range.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: AkShare Mastery Download link: https://github.com/sunny-kobe/ai_sentiney/archive/main.zip#akshare-mastery Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.