Skip to main content

search

Search for stock symbol, CIK, LEI, or company name.

Examples​

from openbb import obb
obb.equity.search(provider='intrinio')
obb.equity.search(query='AAPL', is_symbol=False, use_cache=True, provider='nasdaq')

Parameters​

NameTypeDescriptionDefaultOptional
querystrSearch query.True
is_symbolboolWhether to search by ticker symbol.FalseTrue
use_cacheboolWhether to use the cache or not.TrueTrue
providerLiteral['cboe', 'intrinio', 'nasdaq', 'sec', 'tmx', 'tradier']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: cboe, intrinio, nasdaq, sec, tmx, tradier.NoneTrue

Returns​

OBBject
results : List[EquitySearch]
Serializable results.

provider : Optional[Literal['cboe', 'intrinio', 'nasdaq', 'sec', 'tmx', 'tradier']]
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.
namestrName of the company.