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

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

Returns

OBBject
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

NameTypeDescription
dateUnion[date, str]The date of the data.
symbolstrSymbol representing the entity requested in the data.
valuefloat