Skip to main content

symbol_map

Map a CIK number to a ticker symbol, leading 0s can be omitted or included.

Example​

from openbb import obb
obb.regulators.sec.symbol_map("0000789019").results.symbol
MSFT

Parameters​

NameTypeDescriptionDefaultOptional
querystrSearch query.True
use_cacheboolWhether or not to use cache. If True, cache will store for seven days.TrueTrue
providerLiteral['sec']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'sec' if there is no default.secTrue

Returns​

OBBject
results : List[SymbolMap]
Serializable results.

provider : Optional[Literal['sec']]
Provider name.

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

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data​

NameTypeDescription