ForexAnnotationImpl
- class app.portfolio.models.annotation.forex.forex_annotation.ForexAnnotationImpl[source]
Bases:
AnnotationImpl
,EmptyClass
Inheritance Diagram for ForexAnnotationImpl
Methods
get_consideration
(currency)get_consideration_in_currency
(currency)get_exchange_rate
(currency)Attributes
- get_consideration(currency: Currency) Decimal | None [source]
- Parameters:
currency (Currency)
- Return type:
Decimal | None
- get_consideration_in_currency(currency: Currency) Decimal [source]
- Parameters:
currency (Currency)
- Return type:
- get_exchange_rate(currency: Currency) Decimal | None [source]
- Parameters:
currency (Currency)
- Return type:
Decimal | None
- property transaction: Transaction