All datasets

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.

Source: Trade Balance Signals (derived)1,369 rowsUpdated: 9/22/2026
tradetrade-balancetrade-deficitexportsimportsnet-exportscurrent-accountvolatilitymomentumanomaly-detectionforecastingsignalsfred

Quality

98.1

Attribution

Federal Reserve Bank of St. Louis (FRED; derived signals by Frontier Data Hub)

Schema

ColumnTypeDescription
datestringObservation date (FRED API field date; YYYY-MM-DD).
countrystring
country_codestring
series_idstringFRED series ID, e.g. BOPGSTB, EXPGS, IMPGS, NETEXP; resolves to the series page at https://fred.stlouisfed.org/series/<id>.
series_labelstringOfficial FRED series title as published for the series.
valuefloatObservation 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_30dfloat
momentum_3mfloat
yoy_changefloat
anomaly_flaginteger
forecast_1mfloat
rankinteger
deficit_tracker_mfloat

Sample rows

datecountrycountry_codeseries_idseries_labelvaluevolatility_30dmomentum_3myoy_changeanomaly_flagforecast_1mrankdeficit_tracker_m
1947-01-01United StatesUSAEXPGSExports of Goods and Services18.3940
1947-01-01United StatesUSAIMPGSImports of Goods and Services7.5190
1947-01-01United StatesUSANETEXPNet Exports of Goods and Services10.8750
1947-04-01United StatesUSAEXPGSExports of Goods and Services19.4971.10300000000000150
1947-04-01United StatesUSAIMPGSImports of Goods and Services8.2030.68399999999999930

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.