Skip to main content

port_volume

Daily port calls and estimates of trading volumes for ports around the world.

Examples

from openbb import obb
# Get average dwelling times and TEU volumes from the top ports.
obb.economy.shipping.port_volume(provider='econdb')
# Get daily port calls and estimated trading volumes for specific ports Get the list of available ports with `openbb shipping port_info`
obb.economy.shipping.port_volume(provider='imf', port_code=rotterdam,singapore)
# Get data for all ports in a specific country. Use the 3-letter ISO country code.
obb.economy.shipping.port_volume(provider='imf', country=GBR)

Parameters

start_date: date
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[PortVolume]

Serializable results.

provider: Optional[Literal['econdb', 'imf']]

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.

port_code: str
Port code.

port_name: str
Port name.

country: str
Country where the port is located.