bayesline.api.equity.InteractionExposureGroupSettings#
- model InteractionExposureGroupSettings#
The settings for an interaction exposure group.
Interaction exposures are exposures that are a combination of two or more exposure groups. For example, we may want to create industry-specific style factors.
Fields# Field
Type
Required
Default
Constraints
list[ContinuousExposureGroupSettings|CategoricalExposureGroupSettings]No
[]min_length=2
Literal[‘interaction’]No
'interaction'No
''Validators# Validator
Mode
Fields
after
before
model
after
- field exposure_groups: list[ContinuousExposureGroupSettings | CategoricalExposureGroupSettings] [Optional]#
The exposure groups to use for the Cartesian product.
- Constraints:
min_length =
2
- Validated by:
- field factor_group: str [Optional]#
By default, the name of the factor group will be a concatenation of the names of the exposure groups separated by the a colon.
- Validated by:
- validator check_valid_factor_group(mode=after)#
- Validates:
- validator set_factor_group(mode=before)#
- Validates:
entire model
- validator validate_exposure_groups(mode=after)#
- Validates: