Skip to main content

bls_series

Get time series data for one, or more, BLS series IDs.

Examples

from openbb import obb
obb.economy.survey.bls_series(provider='bls', symbol='CES0000000001')

Parameters

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): bls.False
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue

Returns

OBBject
results : List[BlsSeries]
Serializable results.

provider : Optional[Literal['bls']]
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.
titlestrTitle of the series.
valuefloatObservation value for the symbol and date.