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
- standard
- fred
date
: Union[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.
• Optional: True
date
: Union[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.
• Optional: True
category
: Literal['personal_income', 'wages_by_industry', 'real_pce_percent_change', 'real_pce_quantity_index', 'pce_price_index', 'pce_dollars', 'real_pce_chained_dollars', 'pce_price_percent_change']
The category to query.
• Default: personal_income
• Optional: True
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
- standard
- fred
date
: Union[date, str]
The date of the data.
symbol
: str
Symbol representing the entity requested in the data.
value
: float
date
: Union[date, str]
The date of the data.
symbol
: str
Symbol representing the entity requested in the data.
value
: float
name
: str
The name of the series.
element_id
: str
The element id in the parent/child relationship.
parent_id
: str
The parent id in the parent/child relationship.
children
: str
The element_id of each child, as a comma-separated string.
level
: int
The indentation level of the element.
line
: int
The line number of the series in the table.