findata-toolkit-cn

Original🇨🇳 Chinese
Translated
5 scriptsChecked / no sensitive code detected

A-share financial data toolkit. Provides scripts to obtain real-time A-share market quotes, financial indicators, share increases/reductions by directors, supervisors and senior executives, northbound capital flows, and macroeconomic data (LPR, CPI/PPI, PMI, social financing, M2). Used when real-time A-share market data is required to support investment analysis. All data sources are free and no API key is required.

16installs
Added on

NPX Install

npx skill4agent add geeksfino/finskills findata-toolkit-cn

SKILL.md Content (Chinese)

View Translation Comparison →

Financial Data Toolkit — A-share Market

A self-contained data toolkit that provides real-time financial data and quantitative calculations for the A-share market. All data sources are free and no API key is required.

Installation

Install dependencies (one-time):
bash
pip install -r requirements.txt

Available Tools

All scripts are located in the
scripts/
directory. Run from the skill root directory.

1. A-share Data (
scripts/stock_data.py
)

Obtain A-share fundamentals, market quotes, and financial indicators via AKShare.
CommandPurpose
python scripts/stock_data.py 600519
Basic information (Kweichow Moutai)
python scripts/stock_data.py 600519 --metrics
Complete financial indicators (valuation, profitability, leverage, growth)
python scripts/stock_data.py 600519 --history
Historical OHLCV market quotes
python scripts/stock_data.py 600519 --financials
Income statement, balance sheet, cash flow statement
python scripts/stock_data.py 600519 --insider
Data on share increases/reductions by directors, supervisors and senior executives
python scripts/stock_data.py --northbound
Northbound capital flows (Shanghai Stock Connect/Shenzhen Stock Connect)
python scripts/stock_data.py 600519 000858 --screen
Batch screening

2. Macroeconomic Data (
scripts/macro_data.py
)

Obtain Chinese macroeconomic indicators via AKShare.
CommandPurpose
python scripts/macro_data.py --dashboard
Complete macroeconomic dashboard
python scripts/macro_data.py --rates
Interest rate data (LPR, Shibor)
python scripts/macro_data.py --inflation
CPI/PPI data
python scripts/macro_data.py --pmi
PMI data (manufacturing/non-manufacturing)
python scripts/macro_data.py --social-financing
Social financing scale + M2
python scripts/macro_data.py --cycle
Judgment of economic cycle stages

Data Sources

Data SourceData ContentAPI Key
AKShareA-share market quotes, financial data, insider transactions by directors, supervisors and senior executives, northbound capital, macro indicatorsNot required

Output Format

All scripts output to standard output in JSON format for easy parsing. Error messages are output to standard error.

Configuration

Optional: Edit
config/data_sources.yaml
to customize rate limits or add API keys for paid data sources.