US trade balance signals (deficit tracker, export/import momentum, anomalies, forecasts)
Signals derived from FRED's US international-trade series: 30-period annualized volatility of changes, 3-month momentum, year-over-year level change (balance series cross zero, so YoY is a level change, not a percent), 3-sigma anomaly flags, naive-drift 1-month forecasts, a per-date cross-series volatility rank, and a monthly trade-deficit tracker (positive = deficit) mapped onto every row's month. Covers BOPGSTB (monthly trade balance, goods & services), EXPGS/IMPGS (quarterly real exports/imports of goods & services) and NETEXP (quarterly real net exports). All rows are normalized to country_code USA so they join cleanly with US macro data. Raw series: Federal Reserve Bank of St. Louis (FRED); underlying data from the U.S. Census Bureau and the Bureau of Economic Analysis.
Qualité
Attribution
Federal Reserve Bank of St. Louis (FRED; derived signals by Frontier Data Hub)
Schéma
| Colonne | Type | Description |
|---|---|---|
| date | string | Observation date (FRED API field date; YYYY-MM-DD). |
| country | string | |
| country_code | string | |
| series_id | string | FRED series ID, e.g. BOPGSTB, EXPGS, IMPGS, NETEXP; resolves to the series page at https://fred.stlouisfed.org/series/<id>. |
| series_label | string | Official FRED series title as published for the series. |
| value | float | Observation value as published by FRED for this series (BOPGSTB in millions of dollars; EXPGS, IMPGS and NETEXP in billions of chained 2017 dollars); see the series notes for methodology and revisions. |
| volatility_30d | float | |
| momentum_3m | float | |
| yoy_change | float | |
| anomaly_flag | integer | |
| forecast_1m | float | |
| rank | integer | |
| deficit_tracker_m | float |
Exemple de lignes
| date | country | country_code | series_id | series_label | value | volatility_30d | momentum_3m | yoy_change | anomaly_flag | forecast_1m | rank | deficit_tracker_m |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1947-01-01 | United States | USA | EXPGS | Exports of Goods and Services | 18.394 | — | — | — | 0 | — | — | — |
| 1947-01-01 | United States | USA | IMPGS | Imports of Goods and Services | 7.519 | — | — | — | 0 | — | — | — |
| 1947-01-01 | United States | USA | NETEXP | Net Exports of Goods and Services | 10.875 | — | — | — | 0 | — | — | — |
| 1947-04-01 | United States | USA | EXPGS | Exports of Goods and Services | 19.497 | — | 1.1030000000000015 | — | 0 | — | — | — |
| 1947-04-01 | United States | USA | IMPGS | Imports of Goods and Services | 8.203 | — | 0.6839999999999993 | — | 0 | — | — | — |
Télécharger un échantillon
Téléchargez l'échantillon complet de ce jeu de données (lignes d'exemple, pas le jeu complet).
Utiliser avec un LLM
Dirigez n’importe quel LLM vers le point d’accès des métadonnées — la documentation ci-dessus est aussi lisible par machine (JSON-LD + Croissant).
cURL
curl "https://datazimuts.com/v1/datasets/trade_signals/us_trade_balance_signals" | jq '{title, rows, columns_count, license}'Python
import requests
ds = requests.get("https://datazimuts.com/v1/datasets/trade_signals/us_trade_balance_signals").json()
print(ds["title"], ds["rows"], "rows")
# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
print(row)Point d’accès API: https://datazimuts.com/v1/datasets/trade_signals/us_trade_balance_signals
Astuce : récupérez /llms.txt pour le catalogue complet lisible par machine.