quantlab.dataset.base.SymbolName#
- class quantlab.dataset.base.SymbolName(ticker, company=None)[source]#
Bases:
objectThe readable name of one symbol on one day: its ticker and company.
TickerLookup.namesreturns one per symbol. A symbol the lookup cannot name gets its own id asticker, so a name is never missing.Examples
>>> SymbolName(ticker="META", company=None) SymbolName(ticker='META', company=None)
- company = None#
The company’s name that day, or
Nonewhen the lookup records none.
- ticker#
The ticker the symbol traded under that day, or the symbol id as a string when none is known.