Skip to main content

info

ETF Information Overview.

Example​

from openbb import obb
obb.etf.info("SPY", provider="fmp")
#### This function accepts multiple tickers. ####
obb.etf.info("SPY,IWM,QQQ,DJIA", provider="fmp")

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. (ETF) Multiple items allowed for provider(s): fmp, tmx, yfinance.False
providerLiteral['fmp', 'tmx', 'yfinance']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[EtfInfo]
Serializable results.

provider : Optional[Literal['fmp', 'tmx', 'yfinance']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data​

NameTypeDescription
symbolstrSymbol representing the entity requested in the data. (ETF)
namestrName of the ETF.
descriptionstrDescription of the fund.
inception_datestrInception date of the ETF.