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.
Quality
Attribution
Federal Reserve Bank of St. Louis (FRED; derived signals by Frontier Data Hub)
Schema
| Column | 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 |
Sample rows
| 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 | — | — | — |
Download sample data
Download the full sample snapshot for this dataset (sample rows, not the complete dataset).
Use with an LLM
Point any LLM at the metadata endpoint — the documentation above is machine-readable too (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)API endpoint: https://datazimuts.com/v1/datasets/trade_signals/us_trade_balance_signals
Tip: fetch /llms.txt for the full machine-readable catalog.