Skip to main content

pce

Get Personal Consumption Expenditures (PCE) reports.

Examples

from openbb import obb
obb.economy.pce(provider='fred')
# Get reports for multiple dates, entered as a comma-separated string.
obb.economy.pce(provider='fred', date='2024-05-01,2024-04-01,2023-05-01', category=pce_price_index)

Parameters

date: Union[date | str, list[date | str]]
A specific date to get data for. Default is the latest report. Multiple items allowed for provider(s): fred.


Returns

results: list[PersonalConsumptionExpenditures]

Serializable results.

provider: Optional[Literal['fred']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

date: date | str
The date of the data.

symbol: str
Symbol representing the entity requested in the data.

value: float