Skip to content
Skillpedia
Analysis & spreadsheets37k · #7522

global-macro

What it does

This skill explains how interest rate decisions and currency changes move the economy and markets. It is for investors who want a big-picture view before picking specific assets.

When to use it

  • ✓When a central bank such as the Fed, ECB, or BOJ has just changed its rates.
  • ✓When you want to know how currency moves could affect your investments.
  • ✓When you are planning how much to hold in stocks, bonds, or cash over the coming months.

Skill link

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/global-macro/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/global-macro/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“What does the Fed's latest rate decision mean for my stock and bond mix?”

5 new skills a week. 1 minute to read.

How it works

It follows the chain from policy rates to bond yields, credit costs, company profits, and stock prices. It then turns that picture into simple signals for each major asset.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Global Macro Analysis

Overview

Builds a macro analysis framework from three dimensions: central-bank policy, exchange-rate regimes, and geopolitics. Outputs quantifiable macro factor signals to drive cross-asset allocation decisions. Core logic: macro cycles determine major asset direction, while micro-level timing is delegated to other skills.

Core Concepts

1. Central Bank Policy Transmission Chain

Policy-rate changes → government bond yield curve → credit spreads → financing costs for the real economy → corporate earnings → equity valuation

Monitoring framework for the three major central banks:

Central Bank Core Indicators Forward Signals Lagging Confirmation
Federal Reserve (Fed) FFR, dot plot, SEP CME FedWatch probabilities nonfarm payrolls / CPI / PCE
European Central Bank (ECB) Main refinancing rate Eurozone PMI, HICP credit growth
Bank of Japan (BOJ) YCC band, policy rate JPY exchange rate, JGB yields core CPI

Historical transmission of Fed hiking / cutting cycles to China A-shares (empirical):

  • Late in a Fed hiking cycle (the last 1-2 hikes), China A-shares often have already priced it in, and the average drawdown of the CSI 300 narrows to -3%
  • In the 3 months after the first Fed cut, the CSI 300 has averaged +8.2% (mean of the 2001 / 2007 / 2019 cycles)
  • But rate cuts do not automatically mean gains. In 2008, cuts came with recession and China A-shares still fell

2. Exchange Rate Forecasting Framework

Three-layer model:

Model Applicable Horizon Core Variables Accuracy
Purchasing Power Parity (PPP) 3-5 years CPI gap between two countries Long-term anchor
Interest Parity (UIP/CIP) 3-12 months rate differential + forward premium/discount Medium-term direction
BEER model 1-3 years terms of trade + net foreign inflows + productivity Equilibrium estimate

USD/CNY practical checklist:

  • China-US 10Y spread > 0: appreciation pressure on the RMB (capital inflows)
  • China-US 10Y spread < -150bp: rising depreciation pressure on the RMB
  • Net FX settlement surplus / deficit: directly reflects conversion direction of corporates and households
  • PBOC fixing vs market expectation: signal that the countercyclical factor has been activated

3. Geopolitical Risk Assessment

Quantitative approach (proxy for the GPR index):

# Geopolitical risk proxy indicators
risk_indicators = {
    "vix": "Fear index > 25 = high risk",
    "gold_oil_ratio": "Gold / oil > 25 = rising risk aversion",
    "usd_index": "DXY jump > 2% / week = capital flowing back to USD",
    "credit_spread": "IG spread > 150bp = credit tightening",
    "em_spread": "EMBI spread widening > 50bp / month = emerging-market stress"
}

Typical asset impacts of geopolitical events (historical averages):

  • Local conflicts: gold +3-5%, oil +5-15%, equities -2-5%, with impact lasting 1-4 weeks
  • Trade friction: affected sectors -10-20%, beneficiary substitute sectors +5-10%, lasting 3-6 months
  • Financial sanctions: sanctioned-country currency -10-30%, commodity supply side hit

4. Global Capital Flow Tracking

Key data sources:

  • EPFR fund flows: weekly net inflows into global equity / bond funds
  • Northbound flows (Shanghai-Shenzhen-Hong Kong Stock Connect): daily, with net buying > 10 billion RMB in a day as a strong signal
  • US Treasury TIC data: monthly, showing changes in foreign holdings of Treasuries
  • FX reserve changes: quarterly, indicating central-bank asset allocation direction

Northbound flow signal rules (China A-share practice):

Signal Condition Meaning
Strong buy Net buying for 5 consecutive days and cumulative amount > 20 billion RMB Foreign investors are building positions trendwise
Weak buy Single-day net buying > 8 billion RMB Short-term sentiment is bullish
Warning Net selling for 5 consecutive days and cumulative amount > 15 billion RMB Foreign investors are reducing positions trendwise
Neutral Daily net flow within ±3 billion RMB No directional signal

5. Dollar Cycle and Emerging Markets

Four-stage dollar cycle model:

Strong-dollar phase (DXY rising) → capital outflows from emerging markets → EM currency depreciation → EM equities and bonds both sell off
Weak-dollar phase (DXY falling) → capital flows back into EM → EM curren
FAQ

Which central banks does it cover?

It covers the Federal Reserve, the European Central Bank, and the Bank of Japan, with their main indicators.

Does it tell me exactly what to buy?

No. It gives a macro view that guides broad allocation, and other tools handle precise timing.

Is it useful for someone new to investing?

It is written for finance readers, so beginners may need a short explanation of terms like yield or FX.

Details

Original description by the author

Global macro analysis framework (central bank policy transmission / FX forecasting / geopolitical risk / capital flows), used to build macro factor signals that drive cross-asset allocation.

repo: HKUDS/Vibe-Trading

Popularity

GitHub stars
37k
Ranking position
#7522
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills