code: def get_aggregate(self, security: Commodity) -> SecurityAggregate:
          
          assert security is not None
          assert isinstance(security, Commodity)
  
          return SecurityAggregate(self.book, security)
docs: Returns the aggregate for the entity