global-macro
Fungsinya
Skill ini menjelaskan bagaimana keputusan suku bunga dan perubahan mata uang menggerakkan ekonomi dan pasar. Skill ini untuk investor yang ingin gambaran besar sebelum memilih aset tertentu.
Kapan dipakai
- โSaat bank sentral seperti The Fed, ECB, atau BOJ baru saja mengubah suku bunganya.
- โSaat Anda ingin tahu bagaimana pergerakan mata uang bisa memengaruhi investasi Anda.
- โSaat Anda merencanakan berapa banyak yang akan dipegang dalam saham, obligasi, atau kas dalam beberapa bulan ke depan.
Link skill
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/global-macro/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โApa arti keputusan suku bunga terbaru The Fed untuk campuran saham dan obligasi saya?โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini mengikuti rantai dari suku bunga kebijakan ke imbal hasil obligasi, biaya kredit, laba perusahaan, dan harga saham. Setelah itu gambaran tersebut diubah menjadi sinyal sederhana untuk setiap aset utama.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Bank sentral mana saja yang dibahas?
Skill ini mencakup Federal Reserve, Bank Sentral Eropa, dan Bank of Japan, beserta indikator utama mereka.
Apakah skill ini memberi tahu saya apa yang harus dibeli?
Tidak. Skill ini memberi pandangan makro yang memandu alokasi luas, dan alat lain menangani waktu yang tepat.
Apakah berguna bagi orang yang baru berinvestasi?
Skill ini ditulis untuk pembaca keuangan, jadi pemula mungkin memerlukan penjelasan singkat tentang istilah seperti yield atau FX.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 37k
- Peringkat
- #7522
- Lisensi
- MIT
- Diperbarui
- 1/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
vibe-trading
37kMemberi agent Anda perangkat riset keuangan lengkap, mencakup backtest, analisis faktor, penetapan harga opsi, dan data pasar di banyak pasar.
adr-hshare
37kMenunjukkan kepada agent Anda cara membandingkan harga perusahaan Tiongkok yang terdaftar di beberapa pasar, seperti ADR AS dan saham Hong Kong.
akshare
37kMemungkinkan agent Anda mengambil data pasar gratis untuk saham Tiongkok dan global, futures, forex, dan indikator ekonomi, tanpa perlu kunci API.
alpha-zoo
37kMemungkinkan agent Anda menelusuri pustaka faktor saham siap pakai dan menguji seberapa baik sekumpulan faktor itu memprediksi imbal hasil di pasar pilihan.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.