macro-economy

Aggregate China and US macroeconomic data with AkShare, yfinance, and pandas.

6|2|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/EricOo0/stock-trading-platform --skill macro-economy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: macro-economy
Source: https://github.com/EricOo0/stock-trading-platform/tree/main/backend/skills/macro-economy
Command: npx skills add https://github.com/EricOo0/stock-trading-platform --skill macro-economy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill aggregates macroeconomic data, market risk indicators, and economic calendars into a single, accessible source for research and investment decision-making.

Core Features & Use Cases

  • China Macro Data: GDP, CPI, PMI, PPI, M2, LPR
  • US Macro Data: CPI, Unemployment Rate, Fed Interest Rate
  • Market Risk: VIX, US10Y Yield, DXY, Gold, Crude Oil
  • Economic Calendar: Major events and data releases
  • Use Case: An analyst tracks macro shifts across regions to build scenarios and generate periodic market reports.

Quick Start

Use the macro-economy skill to fetch the latest China GDP data via the CLI: .venv/bin/python scripts/macro.py cn_macro GDP

Frequently Asked Questions about macro-economy

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

FAQPage Schema
How do I fetch China macro data like GDP and CPI for investment analysis?

You can fetch China macro data such as GDP, CPI, and PMI for investment analysis by running the macro-economy script via the CLI using a Python virtual environment. It utilizes the AkShare library to retrieve the requested economic metrics directly.

What is the best way to track market risk indicators like VIX and US10Y yield?

The best way to track market risk indicators like VIX and US10Y yield is to use a Python script that aggregates global risk signals. This tool automatically collects real-time metrics for gold, crude oil, and DXY alongside volatility and treasury yields.

Can I use akshare and yfinance in a Python virtual environment to get economic calendars?

Yes, you can use akshare and yfinance within a Python virtual environment to retrieve economic calendars. The setup supports fetching major economic events and data releases to help monitor macro shifts across different regions.

Does this macro data tool support US macro metrics like unemployment rate and Fed interest rate?

Yes, this macro data tool supports US macro metrics including the unemployment rate and Fed interest rate. It specifically aggregates these alongside CPI data to provide comprehensive monitoring of United States economic conditions.

What macro data sources are available for building investment scenarios across China and the US?

Available macro data sources for building investment scenarios include China metrics like GDP, M2, and LPR, and US metrics like CPI and Fed Interest Rate. The tool aggregates these with global risk signals to support research and decision making.