Skip to main content

petroleum_status_report

EIA Weekly Petroleum Status Report.

Examples

from openbb import obb
# Get the EIA's Weekly Petroleum Status Report.
obb.commodity.petroleum_status_report()
# Select the category of data, and filter for a specific table within the report.
obb.commodity.petroleum_status_report(category='weekly_estimates', table='imports')

Parameters

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: PetroleumStatusReport

Serializable results.

provider: Optional[Literal['eia']]

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.

table: str | None
Table name for the data.

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

order: int | None
Presented order of the data, relative to the table.

title: str | None
Title of the data.

value: int | float
Value of the data.

unit: str | None
Unit or scale of the data.