global-macro
Что он делает
Этот скилл объясняет, как решения о процентных ставках и изменения валют влияют на экономику и рынки. Он нужен инвесторам, которым нужен общий взгляд до выбора конкретных активов.
Когда использовать
- ✓Когда центральный банк, например ФРС, ЕЦБ или Банк Японии, только что изменил ставки.
- ✓Когда вы хотите понять, как движения валют могут повлиять на ваши инвестиции.
- ✓Когда вы планируете, сколько держать в акциях, облигациях или наличных в ближайшие месяцы.
Ссылка на скилл
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/global-macro/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Что последнее решение ФРС по ставке значит для моего соотношения акций и облигаций?”
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
Частые вопросы
Какие центральные банки он охватывает?
Федеральную резервную систему США, Европейский центральный банк и Банк Японии, с их основными индикаторами.
Он скажет, что точно покупать?
Нет. Он дает макровзгляд, который помогает с широким распределением, а точное время выбирают другие инструменты.
Полезен ли он новичку в инвестициях?
Он написан для читателей, знакомых с финансами, поэтому новичкам могут понадобиться короткие пояснения терминов, например доходности или FX.
Подробности
Оригинальное описание автора
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
- Обновлён
- 01.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
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 для скриптов.