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

symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): bls.

start_date: date | str
Start date of the data, in YYYY-MM-DD format.

end_date: date | str
End date of the data, in YYYY-MM-DD format.


Returns

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

date: date | str
The date of the data.

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

title: str
Title of the series.

value: float
Observation value for the symbol and date.