Skip to main content

search

Filter indices for rows containing the query.

Examples

from openbb import obb
obb.index.search(provider='cboe')
obb.index.search(query='SPX', provider='cboe')

Parameters

query: str
Search query.

is_symbol: bool
Default: False
Whether to search by ticker symbol.


Returns

results: list[IndexSearch]

Serializable results.

provider: Optional[Literal['cboe']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

symbol: str
Symbol representing the entity requested in the data.

name: str
Name of the index.