original_docstring: Returns the exchange rate as a Decimal
docstring: Returns the exchange rate as a Decimal
docstring_tokens: Returns the exchange rate as a Decimal
code: def exchange_rate(self) -> Decimal:
          """Returns the exchange rate as a Decimal"""
          rate = self.exchange.quotes.get(self.ccy)
          if rate is None:
              return Decimal('NaN')
          return Decimal(rate)
code_tokens: def exchange_rate ( self ) -> Decimal : rate = self . exchange . quotes . get ( self . ccy ) if rate is None : return Decimal ( 'NaN' ) return Decimal ( rate )
short_docstring: Returns the exchange rate as a Decimal
short_docstring_tokens: Returns the exchange rate as a Decimal
comment: """Returns the exchange rate as a Decimal"""