Skill: macro-dashboard
Purpose
Build a comprehensive macro-economic dashboard using EODHD data — combining macro indicators across countries, Treasury yield curves, and economic events calendar for a complete economic picture.
Trigger
Activate when the user asks for:
- Macro-economic overview or dashboard
- GDP, inflation, unemployment data
- Interest rate trends or yield curve analysis
- Economic calendar or upcoming events
- Country economic comparison
- "How's the economy?"
- Trade balance or current account data
- Central bank policy context
Workflow
- Determine scope — country/countries and indicators of interest
- Fetch macro indicators —
macro-indicator for GDP, CPI, unemployment, etc.
- Fetch Treasury rates —
ust/yield-rates, ust/bill-rates, ust/long-term-rates, ust/real-yield-rates
- Fetch economic events —
economic-events for upcoming releases. Always pass an explicit
--from-date/--to-date window (e.g. today → +14d) and --country — without them the API returns
arbitrary far-future events with empty fields. Field mapping: event name = type (NOT event),
forecast = estimate (NOT forecast), plus previous/actual (actual is null until released).
- Calculate trends — YoY changes, trends, inflection points
- Compile dashboard
Available Macro Indicators
Key indicators available via macro-indicator endpoint (codes below are
verified valid — passing an unknown code returns Indicator or Country are Not Found or silently falls back to GDP):
gdp_current_usd — GDP in current USD
gdp_growth_annual — Annual GDP growth %
inflation_consumer_prices_annual — CPI annual %
unemployment_total_percent — Unemployment rate %
real_interest_rate — Real interest rate % (EODHD has no nominal policy-rate indicator)
net_trades_goods_services — Trade balance / net exports (absolute USD, not % of GDP)
merchandise_trade_percent_gdp — Merchandise trade as % of GDP (trade volume, not balance)
debt_percent_gdp — Central government debt as % of GDP
population_total — Total population
- Many more (50+ indicators per country)
Country codes: USA, GBR, DEU, JPN, CHN, FRA, CAN, AUS, etc.
Output Structure
Macro Dashboard — [Country/Region] — [Date]
Key Economic Indicators
| Indicator |
Latest |
Previous |
YoY Change |
Trend |
| GDP Growth |
— |
— |
— |
↑/↓/→ |
| CPI (Annual) |
— |
— |
— |
↑/↓/→ |
| Unemployment |
— |
— |
— |
↑/↓/→ |
| Interest Rate |
— |
— |
— |
↑/↓/→ |
| Trade Balance |
— |
— |
— |
↑/↓/→ |
| Govt Debt/GDP |
— |
— |
— |
↑/↓/→ |
US Treasury Yield Curve
| Maturity |
Current Yield |
1M Ago |
1Y Ago |
| 1M |
— |
— |
— |
| 3M |
— |
— |
— |
| 6M |
— |
— |
— |
| 1Y |
— |
— |
— |
| 2Y |
— |
— |
— |
| 5Y |
— |
— |
— |
| 10Y |
— |
— |
— |
| 20Y |
— |
— |
— |
| 30Y |
— |
— |
— |
- 2Y-10Y Spread: — bps (normal/inverted)
- Real yields (inflation-adjusted): 5Y —, 10Y —, 30Y —
Upcoming Economic Events
| Date |
Event |
Country |
Actual |
Forecast |
Previous |
Economic Narrative
- Summary of current economic cycle phase
- Key risks and tailwinds
- Central bank policy outlook
- Cross-country comparisons (if multi-country)
This is not financial advice. Data is for informational purposes only.
Endpoints Used
| Endpoint |
Purpose |
Cost |
macro-indicator |
GDP, CPI, unemployment, etc. |
1 call each |
ust/yield-rates |
Par yield curve |
1 call |
ust/bill-rates |
Short-term Treasury rates |
1 call |
ust/long-term-rates |
Long-term Treasury rates |
1 call |
ust/real-yield-rates |
Inflation-adjusted yields |
1 call |
economic-events |
Upcoming economic releases |
1 call |
References
../eodhd-api/references/endpoints/macro-indicator.md
../eodhd-api/references/endpoints/ust-yield-rates.md
../eodhd-api/references/endpoints/ust-bill-rates.md
../eodhd-api/references/endpoints/ust-long-term-rates.md
../eodhd-api/references/endpoints/ust-real-yield-rates.md
../eodhd-api/references/endpoints/economic-events.md
1---2name: macro-dashboard3description: Macro-economic dashboard — GDP, CPI, unemployment, interest rates, Treasury yields, trade balance, and economic events calendar. Use when the user asks about the economy, macro trends, interest rates, or economic indicators.4---56# Skill: macro-dashboard78## Purpose910Build a comprehensive macro-economic dashboard using EODHD data — combining macro indicators across countries, Treasury yield curves, and economic events calendar for a complete economic picture.1112## Trigger1314Activate when the user asks for:15- Macro-economic overview or dashboard16- GDP, inflation, unemployment data17- Interest rate trends or yield curve analysis18- Economic calendar or upcoming events19- Country economic comparison20- "How's the economy?"21- Trade balance or current account data22- Central bank policy context2324## Workflow25261. **Determine scope** — country/countries and indicators of interest272. **Fetch macro indicators** — `macro-indicator` for GDP, CPI, unemployment, etc.283. **Fetch Treasury rates** — `ust/yield-rates`, `ust/bill-rates`, `ust/long-term-rates`, `ust/real-yield-rates`294. **Fetch economic events** — `economic-events` for upcoming releases. Always pass an explicit30 `--from-date`/`--to-date` window (e.g. today → +14d) and `--country` — without them the API returns31 arbitrary far-future events with empty fields. Field mapping: event name = `type` (NOT `event`),32 forecast = `estimate` (NOT `forecast`), plus `previous`/`actual` (`actual` is null until released).335. **Calculate trends** — YoY changes, trends, inflection points346. **Compile dashboard**3536## Available Macro Indicators3738Key indicators available via `macro-indicator` endpoint (codes below are39verified valid — passing an unknown code returns `Indicator or Country are40Not Found` or silently falls back to GDP):41- `gdp_current_usd` — GDP in current USD42- `gdp_growth_annual` — Annual GDP growth %43- `inflation_consumer_prices_annual` — CPI annual %44- `unemployment_total_percent` — Unemployment rate %45- `real_interest_rate` — Real interest rate % (EODHD has no nominal policy-rate indicator)46- `net_trades_goods_services` — Trade balance / net exports (absolute USD, not % of GDP)47- `merchandise_trade_percent_gdp` — Merchandise trade as % of GDP (trade volume, not balance)48- `debt_percent_gdp` — Central government debt as % of GDP49- `population_total` — Total population50- Many more (50+ indicators per country)5152Country codes: `USA`, `GBR`, `DEU`, `JPN`, `CHN`, `FRA`, `CAN`, `AUS`, etc.5354## Output Structure5556### Macro Dashboard — [Country/Region] — [Date]5758**Key Economic Indicators**59| Indicator | Latest | Previous | YoY Change | Trend |60|-----------|--------|----------|-----------|-------|61| GDP Growth | — | — | — | ↑/↓/→ |62| CPI (Annual) | — | — | — | ↑/↓/→ |63| Unemployment | — | — | — | ↑/↓/→ |64| Interest Rate | — | — | — | ↑/↓/→ |65| Trade Balance | — | — | — | ↑/↓/→ |66| Govt Debt/GDP | — | — | — | ↑/↓/→ |6768**US Treasury Yield Curve**69| Maturity | Current Yield | 1M Ago | 1Y Ago |70|----------|--------------|--------|--------|71| 1M | — | — | — |72| 3M | — | — | — |73| 6M | — | — | — |74| 1Y | — | — | — |75| 2Y | — | — | — |76| 5Y | — | — | — |77| 10Y | — | — | — |78| 20Y | — | — | — |79| 30Y | — | — | — |8081- 2Y-10Y Spread: — bps (normal/inverted)82- Real yields (inflation-adjusted): 5Y —, 10Y —, 30Y —8384**Upcoming Economic Events**85| Date | Event | Country | Actual | Forecast | Previous |86|------|-------|---------|--------|----------|----------|8788**Economic Narrative**89- Summary of current economic cycle phase90- Key risks and tailwinds91- Central bank policy outlook92- Cross-country comparisons (if multi-country)9394> This is not financial advice. Data is for informational purposes only.9596## Endpoints Used9798| Endpoint | Purpose | Cost |99|----------|---------|------|100| `macro-indicator` | GDP, CPI, unemployment, etc. | 1 call each |101| `ust/yield-rates` | Par yield curve | 1 call |102| `ust/bill-rates` | Short-term Treasury rates | 1 call |103| `ust/long-term-rates` | Long-term Treasury rates | 1 call |104| `ust/real-yield-rates` | Inflation-adjusted yields | 1 call |105| `economic-events` | Upcoming economic releases | 1 call |106107## References108109- `../eodhd-api/references/endpoints/macro-indicator.md`110- `../eodhd-api/references/endpoints/ust-yield-rates.md`111- `../eodhd-api/references/endpoints/ust-bill-rates.md`112- `../eodhd-api/references/endpoints/ust-long-term-rates.md`113- `../eodhd-api/references/endpoints/ust-real-yield-rates.md`114- `../eodhd-api/references/endpoints/economic-events.md`