ForexAnnotationSchema

class app.portfolio.models.annotation.forex.forex_annotation.ForexAnnotationSchema[source]

Bases: AnnotationSchema, Generic

Inheritance diagram of ForexAnnotationSchema

Inheritance Diagram for ForexAnnotationSchema

Methods

Attributes

considerations

exchange_rates

considerations: Annotated[frozendict[Currency, Decimal], PydanticFrozenDictAnnotation] = FieldInfo(annotation=NoneType, required=False, default_factory=frozendict, description='The considerations in various currencies associated with this annotation.')
exchange_rates: Annotated[frozendict[Currency, Decimal], PydanticFrozenDictAnnotation] = FieldInfo(annotation=NoneType, required=False, default_factory=frozendict, description='The exchange rates associated with this annotation.')