survey_professional_forecasters
Get the Philadelphia Fed Survey of Professional Forecasters consensus.
Examples
from openbb import obb
obb.federal_reserve.philadelphia.survey_professional_forecasters(provider='federal_reserve')
# Get the mean nominal GDP growth forecast.
obb.federal_reserve.philadelphia.survey_professional_forecasters(variable='NGDP', statistic='mean', transform='growth', provider='federal_reserve')
# Get the long-run CPI inflation projection.
obb.federal_reserve.philadelphia.survey_professional_forecasters(variable='CPI10', statistic='median', provider='federal_reserve')
Parameters
- standard
- federal_reserve
variable: str | None
Default: RGDP
The forecast variable code, e.g. 'RGDP' for real GDP. Codes ending in '10' (e.g. 'CPI10', 'RGDP10') are long-run, ten-year-average projections published only as a level.
statistic: str | None
Default: median
The cross-forecaster summary statistic.
transform: str | None
Default: level
The series transform; 'growth' is only published for level-and-growth variables.
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
Returns
results: FederalReservePhiladelphiaSpf
Serializable results.
provider: str | None
Provider name.
warnings: Optional[list[Warning_]]
List of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard
- federal_reserve
date: date | str
The survey quarter, as a quarter-start date.
horizon_1: float | None
The current-quarter forecast.
horizon_2: float | None
The one-quarter-ahead forecast.
horizon_3: float | None
The two-quarter-ahead forecast.
horizon_4: float | None
The three-quarter-ahead forecast.
horizon_5: float | None
The four-quarter-ahead forecast.
horizon_6: float | None
The five-quarter-ahead forecast.
annual_a: float | None
The forecast for the current year.
annual_b: float | None
The forecast for the next year.
annual_c: float | None
The forecast for two years ahead.
annual_d: float | None
The forecast for three years ahead.
long_run: float | None
The ten-year-average projection, for long-run variables.