Skip to main content

equity_exposure

Get the exposure to ETFs for a specific stock.

Examples

from openbb import obb
obb.etf.equity_exposure(symbol='MSFT', provider='fmp')
# This function accepts multiple tickers.
obb.etf.equity_exposure(symbol='MSFT,AAPL', provider='fmp')

Parameters

symbol: str | list[str]
Symbol to get data for. (underlying equity) Multiple items allowed for provider(s): fmp.


Returns

results: list[EtfEquityExposure]

Serializable results.

provider: Optional[Literal['fmp']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

equity_symbol: str
The symbol of the equity requested.

etf_symbol: str
The symbol of the ETF with exposure to the requested equity.

weight: float
The weight of the equity in the ETF, as a normalized percent.

market_value: Union[float, int]
The market value of the equity position in the ETF.

shares: Union[float, int]
Number of reported shares controlled by the ETF.