Documetation
This commit is contained in:
parent
144f9ba8ed
commit
3c72b38b15
|
@ -30,6 +30,11 @@ class StockExchange:
|
|||
@enforce_typing.enforce_types
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class Asset:
|
||||
"""An identifier representing some abstract financial asset.
|
||||
|
||||
Subtypes represent the various asset types in existence, for example fiat
|
||||
currencies, stocks or even crypto currencies.
|
||||
"""
|
||||
|
||||
def names(self) -> list[str]:
|
||||
return COMMON_NAMES.get(self, [])
|
||||
|
|
Loading…
Reference in New Issue
Block a user