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(provider='eia')
# Select the category of data, and filter for a specific table within the report.
obb.commodity.petroleum_status_report(category=weekly_estimates, table=imports, provider='eia')

Parameters

start_date: Union[date, str]

Start date of the data, in YYYY-MM-DD format.

Optional: True


end_date: Union[date, str]

End date of the data, in YYYY-MM-DD format.

Optional: True


Returns

results: list[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: Union[date, str]

The date of the data.

table: str

Table name for the data.

symbol: str

Symbol representing the entity requested in the data.

order: int

Presented order of the data, relative to the table.

title: str

Title of the data.

value: Union[int, float]

Value of the data.

unit: str

Unit or scale of the data.