Skip to main content
Version: v5

international_portfolio_investment

Get International Portfolio Investment holdings (Enhanced Financial Accounts).

Examples​

from openbb import obb
# Get foreign residents' holdings of total U.S. long-term securities by country.
obb.federal_reserve.international_portfolio_investment(table='table1', provider='federal_reserve')
# Get U.S. residents' holdings of foreign corporate stocks for a single country.
obb.federal_reserve.international_portfolio_investment(table='table2b', country='Japan', provider='federal_reserve')

Parameters​


Returns​

results: FederalReserveInternationalPortfolioInvestment

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​