docs: def get_baserate(self):
          """Helper function to populate the base rate"""
          rateslist = self.rates['list']['resources']
          for rate in rateslist:
              rateobj = rate['resource']['fields']
              if rateobj['symbol'].partition('=')[0] == rateobj['name']:
                  return rateobj['name']
          raise RuntimeError("%s: baserate not found" % self.name)