from serenity_types.utils.serialization import CamelModel
[docs]
class SymbolAuthority(CamelModel):
"""
An authoritative source for asset symbols.
"""
name: str
"""
Name for the authority or symbology; used in enums.
"""
description: str
"""
Human-readable description of this authority or symbology.
"""
[docs]
class XRefSymbol(CamelModel):
"""
A simple that can be used for cross-referencing a Serenity asset ID to another,
external source's symbols.
"""
authority: str
"""
The short name for the owning authority.
"""
symbol: str
"""
The corresponding symbol.
"""