akshare-finance

Retrieve financial market and macroeconomic data as Pandas DataFrames or JSON.

2|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/papachong/RHClaw --skill akshare-finance-papachong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: akshare-finance
Source: https://github.com/papachong/RHClaw/tree/main/RHClaw-Desktop/src-tauri/skills/akshare-finance
Command: npx skills add https://github.com/papachong/RHClaw --skill akshare-finance-papachong

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Provides easy programmatic access to a wide range of financial market and macroeconomic data, removing the need for manual scraping, format conversions, and fragmented API handling.

Core Features & Use Cases

  • Market data: Retrieve real-time and historical prices, K-lines, and market snapshots for A-share, HK, US stocks, futures, forex, and major cryptocurrencies.
  • Fundamentals & macro indicators: Access company fundamental data, valuation metrics, GDP, CPI, PMI, M2 and other macroeconomic series.
  • Scriptable automation: Ready-to-run Python scripts return Pandas DataFrames or JSON for integration into analytics, portfolio monitoring, and trading automation workflows.
  • Use case: Monitor a portfolio of A-share and crypto assets, aggregate latest prices and pct changes, and feed the results into an automated alert or reporting pipeline.

Quick Start

Use the akshare-finance skill to fetch the latest BTC/USDT price as JSON using the provided crypto script.

Frequently Asked Questions about akshare-finance

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

FAQPage Schema
How do I get real-time and historical cryptocurrency prices using Python?

Retrieve real-time and historical cryptocurrency prices using Python by running script invocations that return Pandas DataFrames or JSON. This provides unified access to major crypto market data, including the latest BTC/USDT prices and historical K-lines.

How do I fetch A-share, HK, and US stock market data for automated analytics?

Fetch A-share, HK, and US stock market data for automated analytics by executing ready-to-run Python scripts. The scripts retrieve real-time prices, K-lines, and market snapshots, outputting structured Pandas DataFrames or JSON for immediate integration into analytics workflows.

Can I use Python to access macroeconomic indicators like GDP, CPI, and M2?

You can access macroeconomic indicators like GDP, CPI, PMI, and M2 using Python. The provided scripts query macro summary data and return the results as Pandas DataFrames or JSON, removing the need for manual scraping and format conversions.

Do I need pandas and akshare installed to retrieve financial market data?

Yes, you need both akshare and pandas installed to retrieve financial market data. The script invocations rely on these dependencies to query equities, futures, forex, and crypto markets, returning structured Pandas DataFrames or JSON outputs for your analytics pipeline.

What is the best way to monitor a portfolio of stocks and crypto assets in Python?

The best way to monitor a portfolio of stocks and crypto assets in Python is using scriptable automation to aggregate latest prices and percentage changes. This approach retrieves real-time market snapshots and feeds the results directly into automated alert or reporting pipelines.

Does this approach support retrieving company fundamentals and valuation metrics?

Yes, this approach supports retrieving company fundamentals and valuation metrics. It provides programmatic access to a wide range of financial market and macroeconomic data, operating within Python analytics and research workflows to deliver structured data without fragmented API handling.