Skip to main content

equity_exposure

Get the exposure to ETFs for a specific stock.

Example​

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

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. (Stock) Multiple items allowed for provider(s): fmp.False
providerLiteral['fmp']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default.fmpTrue

Returns​

OBBject
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​

NameTypeDescription
equity_symbolstrThe symbol of the equity requested.
etf_symbolstrThe symbol of the ETF with exposure to the requested equity.
sharesintThe number of shares held in the ETF.
weightfloatThe weight of the equity in the ETF, as a normalized percent.
market_valueUnion[int, float]The market value of the equity position in the ETF.