macro-orders-trade / README.md
FinzData's picture
Weekly refresh 2026-11-01
b41d1fa verified
|
Raw History Blame Contribute Delete
5.31 kB
metadata
license: other
license_name: public-domain-source-us-government
pretty_name: 'US Macro Data: Orders and Trade'
language:
  - en
tags:
  - finance
  - economics
  - macroeconomics
  - time-series
  - fred
  - orders-trade
  - quant
  - backtesting
size_categories:
  - n<1K
configs:
  - config_name: long
    data_files: data/long.parquet
    default: true
  - config_name: wide_monthly
    data_files: data/wide_monthly.parquet
  - config_name: wide_quarterly
    data_files: data/wide_quarterly.parquet

US macro data: Orders and Trade (50 series)

50 orders and trade series from US government sources, cleaned into one consistent format and ready for pandas. This free package holds the last 12 months (2025-11-01 on) of each series' latest values. It is refreshed weekly.

import pandas as pd
df = pd.read_parquet("hf://datasets/FinzData/macro-orders-trade/data/long.parquet")      # series_id, date, value
wide = pd.read_parquet("hf://datasets/FinzData/macro-orders-trade/data/wide_monthly.parquet")  # one column per series

or datasets.load_dataset("FinzData/macro-orders-trade"). Wide tables by frequency: wide_monthly (33 series), wide_quarterly (17 series). series.csv lists every series with its title, units, frequency and how far back the full history goes.

The full history, point in time, through one API

The FinzData API serves every series back to its first observation, every revision (what was known on any past date, so backtests do not peek at later revisions), and daily updates, in the same format:

import finzdata as fz                     # pip install finzdata
c = fz.Client()                           # free API key: https://api.finzdata.com/
c.macro("BOPGSTB")                        # full history, latest values
c.macro("BOPGSTB", vintage="first")       # as first released
c.macro("BOPGSTB", as_of="2020-03-01")    # exactly what was known on that date
c.macro_series(category="orders_trade")          # the catalogue for this category

Most-watched series in this package

ID Title Units Frequency Full history from
BOPGSTB Trade Balance: Goods and Services, Balance of Payments Basis Millions of Dollars Monthly 1992
NEWORDER Manufacturers' New Orders: Nondefense Capital Goods Excluding Aircraft Millions of Dollars Monthly 1968
ISRATIO Total Business: Inventories to Sales Ratio Ratio Monthly, End of Period 1948
AMTMNO Manufacturers' New Orders: Total Manufacturing Millions of Dollars Monthly 1992
BUSINV Total Business Inventories Millions of Dollars Monthly, End of Period 1980
NETEXP Net Exports of Goods and Services Billions of Dollars Quarterly 1946
BOPGTB Trade Balance: Goods, Balance of Payments Basis Millions of Dollars Monthly 1992
EXPGS Exports of Goods and Services Billions of Dollars Quarterly 1946
IMPCH U.S. Imports of Goods by Customs Basis from China Millions of Dollars Monthly 1985
IMPGS Imports of Goods and Services Billions of Dollars Quarterly 1946
AUINSA Domestic Auto Inventories Thousands of Units Monthly 1993
EXPGSC1 Real Exports of Goods and Services Billions of Chained 2017 Dollars Quarterly 1947
IMPGSC1 Real imports of goods and services Billions of Chained 2017 Dollars Quarterly 1947
IMPTOTUS Imports of Goods for United States Millions of Dollars Monthly 2008
WHLSLRIMSA Merchant Wholesalers Inventories Millions of Dollars Monthly, End of Period 1992
BOPTEXP Exports of Goods and Services, Balance of Payments Basis Millions of Dollars Monthly 1992
EXPCH U.S. Exports of Goods by F.A.S. Basis to Mainland China Millions of Dollars Monthly 1985
NETEXC Real Net Exports of Goods and Services Billions of Chained 2017 Dollars Quarterly 1947
IMPMX U.S. Imports of Goods by Customs Basis from Mexico Millions of Dollars Monthly 1985
BOPTIMP Imports of Goods and Services: Balance of Payments Basis Millions of Dollars Monthly 1992
CBI Change in Private Inventories Billions of Dollars Quarterly 1939
IMPCA U.S. Imports of Goods by Customs Basis from Canada Millions of Dollars Monthly 1985
EXPCA U.S. Exports of Goods by F.A.S. Basis to Canada Millions of Dollars Monthly 1985
IEAXGS Exports of goods and services Millions of Dollars Quarterly 1999
BOGZ1FL564090005Q Exchange-Traded Funds; Total Financial Assets, Level Millions of U.S. Dollars Quarterly, End of Period 1945

All 50 series: series.csv. Browse them at https://finzdata.com/macro/category/orders-trade.

More from FinzData

Source: U.S. government agencies via FRED/ALFRED (Federal Reserve Bank of St. Louis). Compiled by FinzData. Data for research, not investment advice.