code: def get_cash_asset_class(self) -> AssetClass:
          
          for ac in self.asset_classes:
              if ac.name.lower() == "cash":
                  return ac
          return None
docs: Find the cash asset class by name.