code: def asset_class(self) -> str:
          
          result = self.parent.name if self.parent else ""
          # Iterate to the top asset class and add names.
          cursor = self.parent
          while cursor:
              result = cursor.name + ":" + result
              cursor = cursor.parent
          return result
docs: Returns the full asset class path for this stock