bayesline.api.equity.ExposureSettingsMenu#
- model ExposureSettingsMenu#
Contains the available settings that can be used to define exposures.
Fields# Field
Type
Required
Default
Yes
Yes
Yes
Validators# Validator
Mode
Fields
after
model
after
after
- field continuous_hierarchies: Mapping[str, Hierarchy] [Required]#
A dictionary where the key is the name of the continuous hierarchy (e.g. ‘style’) and the value is a N-level nested dictionary structure of the continuous hierarchy codes.
- field continuous_hierarchies_labels: Mapping[str, Mapping[str, str]] [Required]#
A dictionary where the key is the name of the continuous hierarchy and the value is a mapping from unique continuous code to a human readable name.
- Validated by:
- field universe_settings_menu: UniverseSettingsMenu [Required]#
The universe settings menu to use to define the exposures.
- Validated by:
- validator check_all_codes_have_labels(mode=after)#
- Validates:
entire model
- validator check_no_empty_branches(mode=after)#
- Validates:
- validator check_unique_hierarchy(mode=after)#
- Validates: