code: def get_ratetimestamp(self, base, code):
          
          self.get_latestcurrencyrates(base)
          try:
              return datetime.fromtimestamp(self.rates["timestamp"])
          except KeyError:
              return None
docs: Return rate timestamp as a datetime/date or None