File size: 5,306 Bytes
b1e0be9 47ebc8d b1e0be9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | ---
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-02 on) of each series' latest values. It is refreshed weekly.
```python
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:
```python
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
- Every macro category: https://huggingface.co/FinzData · index on GitHub: https://github.com/FinzData/macro-data
- Survivorship-free US stock prices since 2000, COT positioning, 13F holdings, insider trades, short interest
- Pricing (history bundles from $195 once): https://finzdata.com/pricing
- Python client (open source): https://github.com/FinzData/finzdata-python
Source: U.S. government agencies via FRED/ALFRED (Federal Reserve Bank of St. Louis). Compiled by FinzData.
Data for research, not investment advice.
|