bayesline.api.equity.HierarchyGroups#
- model HierarchyGroups#
The hierarchy decscription for a custom nested grouping of the hierarchy.
The top level groupings will turn into factors, whereas any nested groupings will be retained for other uses (e.g. risk decomposition).
Validators# Validator
Mode
Fields
after
- field groupings: Mapping[str, Hierarchy] [Required]#
A nested structure of groupings where the keys are the group names and the leaf level is a list of hierarchy codes or labels (at any level) to include for this group.
- Validated by: