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

NameTypeDescriptionDefaultOptional
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[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

NameTypeDescription
dateUnion[date, str]The date of the data.
tablestrTable name for the data.
symbolstrSymbol representing the entity requested in the data.
orderintPresented order of the data, relative to the table.
titlestrTitle of the data.
valueUnion[int, float]Value of the data.
unitstrUnit or scale of the data.