m.economy.inflation¶
US inflation: CPI, core CPI, and the PCE price indexes and spending, one row per month.
Call it from a session m, made with dm.MassiveSession():
m.economy.inflation(*, start=None, end=None, sort=None, order=None, limit=None, filters=None, on_error=None)
- Methods:
fetch(),poll(interval) - Read from: REST
poll()by default:dm.PollMode.REPLACE, which holds only the latest poll's rows, one row perDate
Arguments¶
A linked argument follows its rule under shared arguments on the dataset index.
| Argument | Description |
|---|---|
start |
The first date. |
end |
The last date. |
sort |
Any of Massive's field names, such as "cpi_year_over_year". Fields: any REST field under Massive fields. |
order |
The direction of sort. |
limit |
The most rows to return, in total. |
filters |
Further endpoint parameters. Keys: none. |
on_error |
What a bad symbol or row does in this call (dm.ErrorPolicy). None, the default, takes each cause from the session's MassiveConfig.on_error. |
Plans¶
How recent the data is on each of Massive's plans, and how far back its history goes, as Massive's pages state them.
| Plan | Inflation (REST) |
|---|---|
| All Stocks plans | Updated monthly, All history |
| All Options plans | Updated monthly, All history |
| All Indices plans | Updated monthly, All history |
| All Currencies plans | Updated monthly, All history |
| Stocks Business | Updated monthly, All history |
| Options Business | Updated monthly, All history |
| Indices Business | Updated monthly, All history |
| Currencies Business | Updated monthly, All history |
Columns¶
| Column | Type | Description |
|---|---|---|
Cpi |
double | Consumer Price Index (CPI) for All Urban Consumers — a standard measure of headline inflation based on a fixed basket of goods and services, not seasonally adjusted. |
CpiCore |
double | Core Consumer Price Index — the CPI excluding food and energy, used to understand underlying inflation trends without short-term volatility. |
CpiYearOverYear |
double | Year-over-year percentage change in the headline CPI — the most commonly cited inflation rate in public discourse and economic policy. |
Date |
String | Calendar date of the observation (YYYY‑MM‑DD). |
Pce |
double | Personal Consumption Expenditures (PCE) Price Index — a broader measure of inflation used by the Federal Reserve, reflecting actual consumer spending patterns and updated basket weights. |
PceCore |
double | Core PCE Price Index — excludes food and energy prices from the PCE index, and is the Fed's preferred measure of underlying inflation. |
PceSpending |
double | Nominal Personal Consumption Expenditures — total dollar value of consumer spending in the U.S. economy, reported in billions of dollars and not adjusted for inflation. |
TimestampInsert |
Instant | When the library received the row, by the local clock. Rows that arrive together share it. It isn't Massive's time, and later rows can carry earlier times. In a poll() table, it's the time of the poll the row's values came from. |
Massive fields
The Massive field behind each column, by source. An empty cell means the source doesn't carry the column, or the library computes it.
| Column | REST field |
|---|---|
Cpi |
cpi |
CpiCore |
cpi_core |
CpiYearOverYear |
cpi_year_over_year |
Date |
date |
Pce |
pce |
PceCore |
pce_core |
PceSpending |
pce_spending |
TimestampInsert |
Massive's documentation¶
The plan tables and most column descriptions are Massive's, from its documentation as fetched on 2026-12-01, with a few corrected where Massive's are wrong. The library writes its own descriptions of the columns it names or computes, such as Symbol and TimestampInsert.