Inventories Cushing Drone

Note

available on platform : Platform.Liquids

class kpler.sdk.resources.inventories_cushing_drone.InventoriesCushingDrone(configuration, column_ids=True, log_level=None)[source]

The InventoriesCushingDrone endpoint returns crude inventories of Cushing for a specific periodicity over a chosen period of time.

get(start_date=None, end_date=None, period=None)[source]
Parameters
  • start_date – Optional[date] Start of the period (YYYY-MM-DD)

  • end_date – Optional[date] End of the period (YYYY-MM-DD)

  • period – Optional[Enum] InventoriesDronePeriod

Examples

>>> from datetime import date
... from kpler.sdk.resources.inventories_cushing_drone import InventoriesCushingDrone
... from kpler.sdk.enums import InventoriesDronePeriod
... inventories_tank_levels_client=InventoriesCushingDrone(config)
... inventories_tank_levels_client.get(
...     start_date=date(2021,6,14),
...     end_date=date(2020,8,14),
...     period=InventoriesDronePeriod.EiaWeeks
... )

Date

Level (kb)

Capacity (kb)

Capacity Utilization

2021-06-18

45690

96959

0.471

2021-06-25

44118

96959

0.455

2021-07-02

43677

96959

0.45

2021-07-09

42561

96959

0.439

2021-07-16

40842

96959

0.421

2021-07-23

39423

97365

0.405

2021-07-30

39005

97365

0.401

2021-08-06

39731

97365

0.408

2021-08-13

37946

97581

0.389

class kpler.sdk.enums.InventoriesDronePeriod(value)[source]
Days = 'days'
EiaWeeks = 'eia'
MidWeeks = 'midweeks'