Skip to main content
Version: v5

port_volume

Daily port calls and estimated trading volumes from IMF Port Watch.

Examples​

from openbb import obb
# Daily port calls and estimated trading volumes for specific ports.
obb.imf.port_volume(provider='imf', port_code='rotterdam,singapore')
# All ports in a specific country (ISO3 code).
obb.imf.port_volume(provider='imf', country='GBR')

Parameters​

start_date: date | None
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: ImfPortVolume

Serializable results.

provider: str | None

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 | None
Port code.

port_name: str | None
Port name.

country: str | None
Country where the port is located.