global-macro
하는 일
이 스킬은 금리 결정과 환율 변화가 경제와 시장을 어떻게 움직이는지 설명합니다. 특정 자산을 고르기 전에 큰 그림을 보려는 투자자를 위한 스킬입니다.
사용하는 경우
- ✓연준, ECB, 일본은행 같은 중앙은행이 방금 금리를 바꿨을 때.
- ✓환율 변화가 내 투자에 어떤 영향을 줄지 알고 싶을 때.
- ✓앞으로 몇 달 동안 주식, 채권, 현금을 얼마나 보유할지 계획할 때.
스킬 링크
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/global-macro/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“연준의 최근 금리 결정이 제 주식과 채권 비중에 무엇을 뜻하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 정책금리에서 채권 수익률, 대출 비용, 기업 이익, 주가로 이어지는 흐름을 따라갑니다. 그다음 그 그림을 주요 자산별 단순 신호로 바꿉니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
어떤 중앙은행을 다루나요?
연방준비제도, 유럽중앙은행, 일본은행을 다루며, 각각의 주요 지표를 함께 봅니다.
정확히 무엇을 사야 하는지 알려 주나요?
아닙니다. 넓은 자산 배분을 안내하는 거시 관점을 제공하며, 정확한 타이밍은 다른 도구가 맡습니다.
투자 초보자에게도 유용한가요?
금융 독자를 대상으로 쓰였으므로, 초보자는 수익률이나 환율 같은 용어에 대한 짧은 설명이 필요할 수 있습니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 37k
- 순위
- #7522
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
vibe-trading
37k에이전트에게 백테스트, 팩터 분석, 옵션 가격 결정, 여러 시장의 시장 데이터를 포함하는 완전한 금융 연구 도구 모음을 제공합니다.
adr-hshare
37k에이전트에게 미국 ADR과 홍콩 주식처럼 여러 시장에 상장된 중국 기업의 가격을 비교하는 방법을 보여 줍니다.
akshare
37k에이전트가 API 키 없이 중국과 해외 주식, 선물, 외환, 경제 지표의 무료 시장 데이터를 가져오도록 돕습니다.
alpha-zoo
37k에이전트가 만들어진 주식 팩터 라이브러리를 둘러보고, 선택한 시장에서 팩터 묶음이 수익률을 얼마나 잘 예측하는지 시험하도록 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.