Skip to main content

available

All indices available from a given provider.

Example​

from openbb import obb
obb.index.available(provider="yfinance").to_df()

Parameters​

NameTypeDescriptionDefaultOptional
providerLiteral['cboe', 'fmp', 'tmx', 'yfinance']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'cboe' if there is no default.cboeTrue

Returns​

OBBject
results : List[AvailableIndices]
Serializable results.

provider : Optional[Literal['cboe', '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
namestrName of the index.
currencystrCurrency the index is traded in.