code: def value(self) -> Decimal:
          
          assert isinstance(self.price, Decimal)
          
          return self.quantity * self.price
docs: Value of the holdings in exchange currency.
          Value = Quantity * Price