TransactionImpl

class app.portfolio.models.transaction.transaction_impl.TransactionImpl[source]

Bases: EntityImpl, EmptyClass

Inheritance diagram of TransactionImpl

Inheritance Diagram for TransactionImpl

Methods

get_consideration_in_currency(currency, *[, ...])

Attributes

currency

instrument

property currency: Currency
get_consideration_in_currency(currency: Currency, *, use_forex_annotation: bool = True) Decimal[source]
Parameters:
  • currency (Currency)

  • use_forex_annotation (bool)

Return type:

Decimal

property instrument: Instrument