BaoStock A-Share Data
Simplifies fetching China A-share securities data, financial indicators, and macroeconomic metrics via a unified Python API.
This skill enables Claude to efficiently retrieve and process China A-share market data using the BaoStock platform. It provides access to historical price data (K-line), comprehensive financial statements, quarterly performance reports, and macroeconomic indicators like interest rates and money supply. Designed for quantitative analysis and financial modeling, the skill addresses common technical pitfalls such as pandas 2.0+ compatibility and string-to-numeric conversion, ensuring reliable data extraction for investment research or algorithmic trading development within the Claude Code environment.
Key Features
01Access historical daily, weekly, monthly, and minute-level K-line data for China A-shares.
02Automate industry classification and constituent tracking for major indices like CSI 300 and SSE 50.
03Includes pre-built patterns for pandas 2.0+ compatibility and automatic data type conversion.
0414 GitHub stars
05Retrieve fundamental financial data including profitability, growth, and solvency metrics.
06Query macroeconomic data including deposit/loan rates and money supply indicators.
Use Cases
01Monitoring macroeconomic trends and their impact on market liquidity and industry performance.
02Performing automated fundamental analysis and financial health checks on listed companies.
03Building quantitative trading strategies and backtesting models for the China A-share market.